/* Aparajey Campaigns — site styles
   Palette: ink indigo, marigold, leaf green on paper white.
   Type: Big Shoulders Display (poster headlines) + Hind (body, Latin + Devanagari). */

:root {
  --ink: #1A1F5C;
  --ink-2: #2B3178;
  --marigold: #F2A007;
  --marigold-soft: #FFF4DB;
  --leaf: #0E7A5A;
  --paper: #FFFFFF;
  --mist: #EEF1FA;
  --muted: #545A8C;
  --line: #D6DAEE;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Hind", "Noto Sans Devanagari", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 6px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.95; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.05; }

:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--muted); max-width: 56ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1; letter-spacing: .01em; }
.brand-name small { display: block; font-family: var(--body); font-weight: 500; font-size: .68rem; letter-spacing: .02em; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--marigold); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: var(--radius-sm);
  text-decoration: none; border: 2px solid var(--ink); cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-marigold { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn-marigold:hover { background: #ffb52a; border-color: #ffb52a; }
.nav .btn { padding: 9px 18px; font-size: .95rem; }

@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); padding: 24px var(--gutter) 32px; gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { font-size: 1.2rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.hero h1 {
  font-size: clamp(3.6rem, 10.5vw, 9.2rem);
  font-weight: 900; line-height: .86; letter-spacing: -.005em;
  text-transform: none;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: block; }
.hero h1 .line:nth-child(2) span { color: var(--ink-2); }
.hero .lede { margin-top: 28px; color: var(--ink); opacity: .82; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* The poster: Devanagari name on a marigold column */
.poster {
  position: relative; background: var(--marigold); color: var(--ink);
  border-radius: var(--radius-lg); padding: 28px 24px 24px;
  min-height: 420px; display: flex; flex-direction: column; justify-content: space-between;
}
.poster-word {
  font-family: "Hind", "Noto Sans Devanagari", sans-serif; font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1.15;
  font-size: clamp(3.4rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.01em;
}
.poster-meaning { font-size: .98rem; line-height: 1.4; max-width: 22ch; }
.poster-meaning strong { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line span { transform: translateY(105%); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero h1 .line:nth-child(2) span { animation-delay: .12s; }
  .hero h1 .line:nth-child(3) span { animation-delay: .24s; }
  .poster { clip-path: inset(100% 0 0 0 round 18px); animation: wipe .9s .35s cubic-bezier(.2,.7,.2,1) forwards; }
}
@keyframes rise { to { transform: none; } }
@keyframes wipe { to { clip-path: inset(0 0 0 0 round 18px); } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .poster { min-height: 0; flex-direction: row; align-items: flex-end; gap: 16px; }
  .poster { min-height: 260px; flex-direction: column; align-items: stretch; }
}

/* ---------- Two fronts (ground / digital) ---------- */
.fronts-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.fronts { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); }
.front { padding: 32px clamp(0px, 3vw, 40px) 8px 0; }
.front + .front { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); padding-right: 0; }
.front-tag { display: inline-block; font-weight: 600; font-size: .9rem; padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.front-ground .front-tag { background: var(--marigold-soft); color: #7A4F00; }
.front-digital .front-tag { background: #DDF2EA; color: var(--leaf); }
.front h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 20px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.svc-list li:first-child { border-top: 0; }
.svc-list b { display: block; font-size: 1.1rem; font-weight: 600; }
.svc-list span { color: var(--muted); font-size: .98rem; }
.bridge { margin-top: 48px; background: var(--mist); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.bridge svg { width: 120px; height: 60px; }
.bridge p { margin: 0; font-size: 1.12rem; }
@media (max-width: 880px) {
  .fronts-head, .fronts { grid-template-columns: 1fr; }
  .front + .front { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .bridge { grid-template-columns: 1fr; }
}

/* ---------- Process (true sequence) ---------- */
.band-ink { background: var(--ink); color: #fff; }
.band-ink .lede { color: #C9CDF0; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.steps li { counter-increment: step; padding: 0 20px 0 0; position: relative; }
.steps li::before {
  content: counter(step); display: block;
  font-family: var(--display); font-weight: 900; font-size: 4.2rem; line-height: 1; color: var(--marigold);
  border-bottom: 2px solid rgba(255,255,255,.25); padding-bottom: 14px; margin-bottom: 18px;
}
.steps h3 { font-size: 1.7rem; margin-bottom: 8px; }
.steps p { color: #C9CDF0; font-size: .98rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Who we work with ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.client { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.client:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.client h3 { font-size: 1.75rem; margin-bottom: 8px; }
.client p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 880px) {
  .clients { grid-template-columns: 1fr; }
  .client:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
}

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-list { display: grid; gap: 28px; }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.why-item svg { width: 44px; height: 44px; }
.why-item h3 { font-size: 1.6rem; margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--muted); }
@media (max-width: 880px) { .why { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.band-marigold { background: var(--marigold); }
.cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 880px) { .cta { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 64px); border-bottom: 3px solid var(--ink); }
.page-head h1 { font-size: clamp(3.2rem, 8vw, 6.5rem); font-weight: 900; line-height: .9; max-width: 14ch; }
.page-head .lede { margin-top: 22px; }

/* ---------- Services page ---------- */
.svc-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); padding-block: 56px; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-block h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.svc-block .front-tag { margin-bottom: 16px; }
.svc-detail h3 { font-size: 1.6rem; margin: 0 0 6px; }
.svc-detail > div { padding: 18px 0; border-top: 1px solid var(--line); }
.svc-detail > div:first-child { border-top: 0; padding-top: 0; }
.svc-detail p { margin: 0; color: var(--muted); }
@media (max-width: 880px) { .svc-block { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.meaning { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.meaning-word { font-family: "Hind", sans-serif; font-weight: 700; font-size: clamp(4rem, 12vw, 9rem); line-height: 1.1; color: var(--marigold); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.value { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.value:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.value h3 { font-size: 1.75rem; margin-bottom: 8px; }
.value p { margin: 0; color: var(--muted); }
.placeholder-note { background: var(--marigold-soft); border-left: 4px solid var(--marigold); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #5C3D00; font-size: .98rem; }
@media (max-width: 720px) {
  .meaning, .values { grid-template-columns: 1fr; }
  .value:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(242,160,7,.35); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #B42318; font-size: .88rem; min-height: 1em; }
.form-status { font-weight: 600; min-height: 1.4em; }
.contact-side { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.contact-side h3 { font-size: 1.9rem; margin-bottom: 18px; }
.contact-line { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line b { display: block; font-size: .9rem; color: var(--muted); font-weight: 500; }
.contact-line a, .contact-line span { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
@media (max-width: 880px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 2rem; margin: 40px 0 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9CDF0; padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #A9AEDF; }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 1.35rem; font-weight: 800; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(26,31,92,.25);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float[hidden] { display: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound h1 { font-size: clamp(4rem, 14vw, 10rem); font-weight: 900; line-height: .9; }
.front-tag.front-ground { background: var(--marigold-soft); color: #7A4F00; }
.front-tag.front-digital { background: #DDF2EA; color: var(--leaf); }
