/* =========================================================================
   Unik Solutions — "Madurai after dark"  (see /DESIGN.md)
   Navy night + gold lamplight, warm paper bands. Mobile first: 360 → 768 → 1280.
   Colours only via the tokens below.
   ========================================================================= */

/* ---------- Fonts (self-hosted, subset: Latin + ₹ + arrows) ---------- */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* Widths use em, not ch: ch is the width of "0", which differs between a web font and
   its fallback and would change line breaks on swap.
   Metric-matched fallbacks keep the layout still while web fonts load (no shift on
   swap). Arial covers desktop, Roboto covers Android. */
@font-face { font-family: "SG Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700; size-adjust: 100.21%; ascent-override: 98.19%; descent-override: 29.14%; line-gap-override: 0%; }
@font-face { font-family: "SG Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 500; size-adjust: 106.14%; ascent-override: 92.71%; descent-override: 27.51%; line-gap-override: 0%; }
@font-face { font-family: "SG Fallback R"; src: local("Roboto Bold"), local("Roboto-Bold"); font-weight: 700; size-adjust: 106.44%; ascent-override: 92.44%; descent-override: 27.43%; line-gap-override: 0%; }
@font-face { font-family: "SG Fallback R"; src: local("Roboto Medium"), local("Roboto-Medium"), local("Roboto"); font-weight: 500; size-adjust: 108.02%; ascent-override: 91.10%; descent-override: 27.03%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400; size-adjust: 105.85%; ascent-override: 91.52%; descent-override: 22.79%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600; size-adjust: 101.46%; ascent-override: 95.48%; descent-override: 23.77%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback R"; src: local("Roboto"), local("Roboto-Regular"); font-weight: 400; size-adjust: 107.72%; ascent-override: 89.93%; descent-override: 22.39%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback R"; src: local("Roboto Medium"), local("Roboto-Medium"); font-weight: 600; size-adjust: 107.77%; ascent-override: 89.89%; descent-override: 22.38%; line-gap-override: 0%; }
@font-face { font-family: "JBM Fallback"; src: local("Courier New"), local("CourierNewPSMT"); size-adjust: 99.98%; ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --navy: #0B1F3A;
  --gold: #C9A227;
  --paper: #F7F3EA;
  --ink: #14181F;
  --muted: #5B6472;
  --line: rgba(11, 31, 58, .14);
  --surface: #FFFFFF;

  --night: #071427;                /* deepest navy: hero, header, footer */
  --night-2: #0E2547;              /* raised night surfaces */
  --navy-2: #13294A;
  --paper-2: #EFE6D2;              /* warm inset band */
  --gold-soft: #E4C766;            /* lamplight */
  --gold-ink: #7D6310;             /* gold as text on paper (5.2:1) */
  --on-navy: #E9EEF5;
  --on-navy-muted: #9FB0C6;        /* 7.4:1 on --night */
  --line-on-navy: rgba(233, 238, 245, .12);
  --danger: #B5452F;
  --todo-ink: #7A1E12;
  --todo-bg: #FBE3DC;
  --ok: #3DDC84;

  --shadow-1: 0 1px 2px rgba(7, 20, 39, .08), 0 8px 24px -8px rgba(7, 20, 39, .22);
  --shadow-2: 0 2px 6px rgba(7, 20, 39, .10), 0 30px 60px -20px rgba(7, 20, 39, .45);

  --font-display: "Space Grotesk", "SG Fallback", "SG Fallback R", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", "Inter Fallback R", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "JBM Fallback", ui-monospace, monospace;

  /* 1.25 scale, fluid 360px → 1280px */
  --fs-0: .8125rem;
  --fs-1: clamp(1.0625rem, 1.03rem + .14vw, 1.125rem);
  --fs-2: clamp(1.25rem, 1.2rem + .25vw, 1.375rem);
  --fs-3: clamp(1.4rem, 1.27rem + .55vw, 1.7rem);
  --fs-4: clamp(1.6rem, 1.4rem + .9vw, 2.1rem);
  --fs-5: clamp(1.9rem, 1.45rem + 1.9vw, 2.9rem);
  --fs-6: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --fs-7: clamp(2.75rem, 1.6rem + 4.9vw, 5.75rem);

  --gutter: 20px;
  --max: 1240px;
  --section: 64px;
  --radius: 14px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --section: 96px; } }
@media (min-width: 1200px) { :root { --section: 120px; --header-h: 84px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--fs-1)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: 64px;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 500; line-height: 1.04;
  letter-spacing: -.035em; margin: 0 0 .5em; color: var(--navy); text-wrap: balance;
}
h1 { font-size: var(--fs-7); line-height: 1; }
h2 { font-size: var(--fs-6); }
h3 { font-size: var(--fs-4); letter-spacing: -.025em; }
h4 { font-size: var(--fs-2); letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Primitives ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section--rule { border-top: 1px solid var(--line); }

/* Section label: small caps with a gold rule — never a "// code comment". */
.eyebrow, .kick {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.2rem;
  font: 600 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before, .kick::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.on-navy .eyebrow, .on-navy .kick { color: var(--gold); }
.label { font: 600 .74rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
/* .mono is a small text label (kept for template compatibility) — monospace is reserved for clock digits */
.mono { font: 600 .74rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.lede { font-size: var(--fs-2); line-height: 1.5; max-width: 32em; color: var(--muted); }
.on-navy .lede { color: var(--on-navy-muted); }
.muted { color: var(--muted); }
.measure { max-width: 40em; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: .95em; height: .95em; }
.todo { display: inline-block; font: 400 .75rem/1.4 var(--font-mono); color: var(--todo-ink); background: var(--todo-bg); border: 1px dashed var(--danger); border-radius: 4px; padding: 1px 6px; vertical-align: middle; }

.btn {
  --b-bg: var(--navy); --b-fg: var(--paper); --b-ring: transparent;
  display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 1.4em;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font: 600 .97rem/1.2 var(--font-body); color: var(--b-fg); background: var(--b-bg);
  box-shadow: inset 0 0 0 1.5px var(--b-ring);
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(2px); }
.btn--gold { --b-bg: var(--gold); --b-fg: var(--night); box-shadow: 0 10px 30px -12px rgba(201, 162, 39, .6); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--navy); --b-ring: rgba(11, 31, 58, .3); }
.btn--ghost:hover { --b-ring: var(--navy); }
.on-navy .btn--ghost { --b-fg: var(--on-navy); --b-ring: rgba(233, 238, 245, .3); }
.on-navy .btn--ghost:hover { --b-ring: var(--on-navy); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--navy); text-decoration: none; }
.link-arrow .icon { color: var(--gold-ink); transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.link-arrow:hover .icon { transform: translateX(3px); }
.on-navy .link-arrow { color: var(--gold); }
.on-navy .link-arrow .icon { color: var(--gold); }

.on-navy { background: var(--night); color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: var(--on-navy); }
.on-navy .muted, .on-navy .label { color: var(--on-navy-muted); }

/* Photo frame: real photo, or a labelled placeholder (never stock) */
.photo { width: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.photo-slot {
  position: relative; width: 100%; overflow: hidden;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(11, 31, 58, .06) 14px 15px), var(--paper-2);
  border-radius: var(--radius-lg); display: grid; place-items: end start;
}
.on-navy .photo-slot { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(233, 238, 245, .05) 14px 15px), var(--night-2); }
.photo-slot__mark { display: none; }
.photo-slot__label { position: relative; margin: 16px; font: 400 .6875rem/1.45 var(--font-mono); color: var(--muted); word-break: break-all; }
.on-navy .photo-slot__label { color: var(--on-navy-muted); }

/* ---------- Header (sits on the night band of every page) ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: var(--on-navy); transition: background-color .25s, box-shadow .25s; }
.site-header.is-scrolled { position: fixed; background: var(--night); box-shadow: 0 1px 0 var(--line-on-navy), 0 12px 30px -20px rgba(0, 0, 0, .6); }
.site-header__bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy); margin-right: auto; }
/* The logo hangs from the top edge on a white tab with a gold base line, like a shop name board. */
.brand { align-self: flex-start; }
.brand__tab, .site-footer__name {
  display: block; background: var(--surface); border-bottom: 3px solid var(--gold);
  border-radius: 0 0 16px 16px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .65);
  padding: 13px 14px 9px 11px;
}
.brand__tab img, .site-footer__name img { display: block; width: auto; height: 38px; }
@media (min-width: 768px) {
  .brand__tab { padding: 17px 18px 12px 14px; }
  .brand__tab img { height: 46px; }
}
.brand:focus-visible { outline: none; }
.brand:focus-visible .brand__tab { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.site-footer__name { width: max-content; margin-top: -64px; padding: 20px 20px 14px 16px; }
.site-footer__name img { height: 50px; }
.site-header__cta { display: none; min-height: 44px; padding: 0 1.15em; }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -8px; background: none; border: 0; cursor: pointer; color: var(--on-navy); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }
.nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--night); padding: 12px var(--gutter) 96px; overflow-y: auto; display: none; flex-direction: column; justify-content: space-between; border-top: 1px solid var(--line-on-navy); }
.nav-open { background: var(--night); }
.nav-open .nav { display: flex; }
.nav__list { list-style: none; }
.nav__item { border-bottom: 1px solid var(--line-on-navy); }
.nav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 500 var(--fs-3)/1.2 var(--font-display); letter-spacing: -.02em; color: var(--on-navy); text-decoration: none; }
.nav__link[aria-current], .nav__link[data-current] { color: var(--gold); }
.nav__sub { list-style: none; padding: 0 0 12px 2px; display: none; }
.nav__sub-toggle[aria-expanded="true"] + .nav__sub { display: block; }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub-link { display: block; padding: 8px 0; text-decoration: none; color: var(--on-navy-muted); }
.nav__sub-link[aria-current] { color: var(--gold); }
.nav__mobile-foot { padding-top: 28px; }
.nav__mobile-foot .mono { color: var(--on-navy-muted); font-family: var(--font-body); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--fs-3) var(--font-display); color: var(--on-navy); text-decoration: none; }
@media (min-width: 1000px) {
  .site-header__cta { display: inline-flex; }
  .nav-toggle, .nav__mobile-foot, .nav__item--mobile-only { display: none; }
  .nav { position: static; display: block; padding: 0; background: none; overflow: visible; border: 0; }
  .nav__list { display: flex; gap: 4px; }
  .nav__item { border: 0; position: relative; }
  .nav__link { font: 500 .95rem/1 var(--font-body); letter-spacing: 0; padding: 10px 12px; gap: 4px; color: var(--on-navy-muted); width: auto; border-radius: 999px; }
  .nav__link:hover { color: var(--on-navy); }
  .nav__link[aria-current], .nav__link[data-current] { color: var(--on-navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
  .nav__sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; padding: 8px; background: var(--night-2); border-radius: 18px; box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-on-navy); }
  .nav__sub-link { padding: 10px 14px; border-radius: 10px; font-size: .95rem; color: var(--on-navy); }
  .nav__sub-link:hover { background: rgba(233, 238, 245, .06); }
  .nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub { display: block; }
}

/* Mobile sticky bottom bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--night); box-shadow: 0 -1px 0 var(--line-on-navy); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 62px; color: var(--on-navy); text-decoration: none; font: 600 .8125rem/1 var(--font-body); }
.mobile-bar a + a { box-shadow: -1px 0 0 var(--line-on-navy); }
.mobile-bar a:nth-child(2) { color: var(--gold); }
.mobile-bar .icon { width: 22px; height: 22px; }
@media (min-width: 992px) { .mobile-bar { display: none; } }

/* ---------- Madurai at night (shared scene strip) ---------- */
.city { position: relative; pointer-events: none; }
.city svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; }
.city--hero { height: clamp(220px, 28vw, 420px); margin-top: -10px; }
.city--strip { height: clamp(120px, 15vw, 200px); }

/* ---------- Page head (inner pages): night band + city strip ---------- */
.phead { position: relative; background: var(--night); color: var(--on-navy); padding-top: calc(var(--header-h) + 36px); overflow: hidden; }
.phead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 80% 0%, rgba(201, 162, 39, .10), transparent 65%); pointer-events: none; }
.phead .wrap { position: relative; z-index: 2; }
.phead h1, .phead h2 { color: var(--on-navy); }
.phead .lede { color: var(--on-navy-muted); }

/* ---------- Homepage: hero ---------- */
.h-hero { position: relative; background: var(--night); color: var(--on-navy); overflow: hidden; padding-top: calc(var(--header-h) + 48px); }
.h-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 600px at 78% 8%, rgba(201, 162, 39, .10), transparent 60%), linear-gradient(180deg, var(--night) 0%, #0A1C37 55%, #0D2344 100%); }
.h-hero__grid { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1080px) { .h-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.h-hero h1 { color: var(--on-navy); margin: 0 0 .4em; font-size: clamp(2.6rem, 1.4rem + 4vw, 4.6rem); line-height: 1.02; }
@media (min-width: 1080px) { .h-hero h1 { font-size: clamp(3rem, 1rem + 3.4vw, 4.6rem); } }
.h-hero h1 em { font-style: normal; color: var(--gold); }
.h-hero .lede { margin-bottom: 1.8rem; }
.h-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.clock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-on-navy); font: 400 .82rem var(--font-body); color: var(--on-navy-muted); }
.clock__now { display: flex; align-items: baseline; gap: 8px; color: var(--on-navy); }
.clock__now b { font: 400 1.6rem var(--font-mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.clock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 132, .15); align-self: center; }
.clock__z b { font: 400 .82rem var(--font-mono); color: var(--on-navy); margin-left: 4px; }

/* hero device + three-beat animation */
.device { position: relative; justify-self: center; width: min(100%, 600px); aspect-ratio: 600 / 440; margin: 0; }
.device__laptop { position: absolute; inset: 0 7% 9% 0; border-radius: 14px; background: #0F2442; box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(233, 238, 245, .10); overflow: hidden; }
.device__bar { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid rgba(233, 238, 245, .08); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(233, 238, 245, .18); }
.device__bar span { margin-left: 12px; height: 14px; flex: 0 0 46%; border-radius: 7px; background: rgba(233, 238, 245, .07); font: 400 10px/14px var(--font-mono); color: var(--on-navy-muted); padding-left: 10px; }
.device__screen { position: absolute; inset: 30px 0 0 0; }
.device__screen svg { width: 100%; height: 100%; }
.device__phone { position: absolute; right: 0; bottom: 0; width: 30%; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #0B1C35; box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(233, 238, 245, .14); padding: 9px; overflow: hidden; }
.device__phone > div { position: absolute; inset: 9px; border-radius: 18px; overflow: hidden; background: var(--paper); }
.device__cap { position: absolute; left: 0; bottom: -8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 .82rem var(--font-body); color: var(--on-navy-muted); }
.device__cap b { color: var(--gold); font-weight: 600; }
.replay { background: none; border: 0; color: var(--on-navy-muted); font: 500 .82rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }
.replay[hidden] { display: none; }
.st-g { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) calc(var(--i) * 120ms), fill-opacity .6s 1.2s; }
.st-b1.on .st-g { stroke-dashoffset: 0; fill-opacity: 1; }
.st-ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s calc(var(--i, 0) * 90ms); }
.st-b3.on .st-ln { stroke-dashoffset: 0; }
.st-fl ellipse, .st-fl circle { transition: opacity .35s calc(var(--i) * 80ms); }
.st-b2.code .st-fl ellipse, .st-b2.code .st-fl circle { opacity: 0; }
.st-ch { transition: opacity .35s calc(var(--i) * 80ms); }
.st-b2.code .st-ch { opacity: 1; }
.st-cl { transform-box: fill-box; transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease) calc(var(--i) * 80ms); }
.st-code.on .st-cl { transform: none; }
.st-b, .st-code, .st-site { transition: opacity .5s; }

/* numbers band */
.h-numbers { background: #0D2344; color: var(--on-navy); box-shadow: inset 0 1px 0 var(--line-on-navy); }
.h-numbers .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .h-numbers .wrap { grid-template-columns: repeat(4, 1fr); } }
.h-num { padding: 32px 0 36px; box-shadow: inset 0 -1px 0 var(--line-on-navy); }
@media (min-width: 900px) { .h-num { box-shadow: none; padding-left: 28px; border-left: 1px solid var(--line-on-navy); } .h-num:first-child { border-left: 0; padding-left: 0; } }
.h-num b { display: block; font: 500 clamp(2.4rem, 1.6rem + 2.6vw, 3.75rem)/1 var(--font-display); letter-spacing: -.05em; color: var(--on-navy); font-variant-numeric: tabular-nums; }
.h-num b sup { font-size: .45em; color: var(--gold); vertical-align: top; margin-left: 2px; }
.h-num > span { display: block; margin-top: 10px; color: var(--on-navy-muted); font-size: .95rem; max-width: 16em; }

/* section header (title left, intro right) */
.shead { display: grid; gap: 18px; margin-bottom: 56px; }
@media (min-width: 900px) { .shead { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; } }
.shead h2 { margin: 0; }
.shead p { margin: 0; max-width: 30em; font-size: var(--fs-2); line-height: 1.5; color: var(--muted); }
.on-navy .shead p { color: var(--on-navy-muted); }

/* two paths */
.h-paths { padding-block: var(--section); }
.pcards { display: grid; gap: 24px; }
@media (min-width: 960px) { .pcards { grid-template-columns: 1fr 1fr; } }
.pcard { position: relative; border-radius: var(--radius-lg); padding: 40px 32px 0; overflow: hidden; display: flex; flex-direction: column; background: var(--paper-2); }
@media (min-width: 768px) { .pcard { padding: 44px 40px 0; } }
.pcard--global { background: var(--navy); color: var(--on-navy); }
.pcard h3 { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.6rem); margin: 0 0 14px; }
.pcard--global h3 { color: var(--on-navy); }
.pcard p { margin: 0 0 22px; max-width: 26em; color: var(--muted); }
.pcard--global p { color: var(--on-navy-muted); }
.pcard__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.pcard__prices { list-style: none; margin: -6px 0 8px; padding: 0; max-width: 26em; }
.pcard__prices li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pcard__prices b { font: 500 1.15rem var(--font-display); color: var(--navy); }
.pcard p.pcard__small { font-size: .875rem; margin-bottom: 22px; }

/* Free website check band */
.h-check { padding: var(--section) 0; background: var(--surface); border-top: 1px solid var(--line); }
.h-check__grid { display: grid; gap: 28px 72px; }
.h-check h2 { margin-bottom: .75rem; }
.h-check p { color: var(--muted); max-width: 32em; }
.h-check__form { padding: 28px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-1); border-top: 3px solid var(--gold); }
@media (min-width: 992px) { .h-check__grid { grid-template-columns: 5fr 6fr; align-items: center; } }
.pcard__vis { margin-top: auto; position: relative; padding-top: 8px; }
.chat, .wclock { position: relative; margin: 0 auto -1px; width: min(100%, 420px); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-2); padding: 18px 18px 26px; }
.chat { background: var(--surface); }
.chat__hd { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.chat__av { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); position: relative; flex: none; }
.chat__av::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); }
.chat__hd b { font: 600 .9rem var(--font-body); }
.chat__hd small { display: block; color: #1F7A4A; font-size: .75rem; }
.bub { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.45; margin-bottom: 8px; }
.bub--me { margin-left: auto; background: #DCF7C5; border-bottom-right-radius: 4px; }
.bub--them { background: #F1EEE6; border-bottom-left-radius: 4px; }
.bub small { display: block; font-size: .7rem; color: var(--muted); text-align: right; margin-top: 2px; }
.wclock { background: var(--night-2); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-on-navy); }
.wclock__hd { display: flex; justify-content: space-between; font: 600 .82rem var(--font-body); color: var(--on-navy-muted); padding-bottom: 12px; border-bottom: 1px solid var(--line-on-navy); margin-bottom: 6px; }
.wclock__r { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-on-navy); font-size: .95rem; }
.wclock__r:last-child { border-bottom: 0; }
.wclock__r b { font: 400 1.1rem var(--font-mono); color: var(--on-navy); }
.wclock__r--ist, .wclock__r--ist b { color: var(--gold); }

/* services — pinned stage */
.h-svcs { background: var(--night); color: var(--on-navy); padding-block: var(--section); }
.svc-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: 5fr 6fr; gap: 72px; } }
.svc-list { list-style: none; }
.svc-item { padding: 34px 0; border-top: 1px solid var(--line-on-navy); transition: opacity .5s var(--ease); }
@media (min-width: 1000px) { .js .svc-item { opacity: .38; } .js .svc-item.active { opacity: 1; } }
.svc-item__no { font: 400 .85rem var(--font-mono); color: var(--gold); }
.svc-item h3 { margin: 10px 0 12px; }
.svc-item h3 a { color: var(--on-navy); text-decoration: none; }
.svc-item p { color: var(--on-navy-muted); margin: 0 0 14px; max-width: 30em; }
.svc-item ul { list-style: none; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-item li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: rgba(233, 238, 245, .05); box-shadow: inset 0 0 0 1px var(--line-on-navy); color: var(--on-navy); }
.svc-item__note { display: inline-block; font: 600 .72rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--night); background: var(--gold); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.svc-stage { position: relative; display: none; }
@media (min-width: 1000px) { .svc-stage { display: block; position: sticky; top: calc(var(--header-h) + 24px); height: min(600px, 76vh); } }
.svc-art { position: absolute; inset: 0; border-radius: var(--radius-lg); background: linear-gradient(160deg, #10294C, #0A1C37); box-shadow: inset 0 0 0 1px var(--line-on-navy); overflow: hidden; opacity: 0; transition: opacity .7s var(--ease); }
.svc-art.active { opacity: 1; }
.svc-art svg { width: 100%; height: 100%; }
.svc-art__lbl { position: absolute; left: 28px; bottom: 24px; font: 500 .82rem var(--font-body); color: var(--on-navy-muted); }
.dr { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svc-art .dr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.svc-art.active .dr { stroke-dashoffset: 0; }

/* products showcase */
.h-prods { padding-block: var(--section); }
.showcase { display: grid; gap: 28px; }
@media (min-width: 1000px) { .showcase { grid-template-columns: 4fr 7fr; gap: 48px; } }
.ptabs { list-style: none; border-top: 1px solid var(--line); }
.ptab { border-bottom: 1px solid var(--line); }
.ptab button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; width: 100%; padding: 16px 4px; }
.ptab b { font: 500 1.35rem/1.2 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.ptab small { grid-column: 1; color: var(--muted); font-size: .875rem; }
.ptab i { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.ptab i::after { content: ""; position: absolute; inset: 10px; border-top: 1.5px solid var(--navy); border-right: 1.5px solid var(--navy); transform: rotate(45deg) translate(-1px, 1px); }
.ptab button[aria-selected="true"] b { color: var(--navy); }
.ptab button[aria-selected="true"] i { background: var(--gold); box-shadow: none; }
.ptab button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.pview { position: relative; border-radius: var(--radius-lg); background: var(--navy); min-height: 560px; overflow: hidden; color: var(--on-navy); }
.pview::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 0%, rgba(201, 162, 39, .16), transparent 60%); }
.ppanel { position: absolute; inset: 0; padding: 40px; display: grid; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.ppanel.on { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 700px) { .ppanel { grid-template-columns: 1.05fr 1fr; gap: 28px; } }
.ppanel__txt { position: relative; z-index: 1; }
.ppanel__for { font: 600 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ppanel h3 { color: var(--on-navy); font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); margin: 12px 0 14px; }
.ppanel p { color: var(--on-navy-muted); margin: 0 0 18px; }
.ppanel ul { list-style: none; margin: 0 0 26px; }
.ppanel li { padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line-on-navy); font-size: .95rem; }
.ppanel li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.mock { position: relative; align-self: end; justify-self: center; width: min(100%, 270px); aspect-ratio: 9 / 18; border-radius: 34px; background: #0A1830; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(233, 238, 245, .14); transform: translateY(40px) rotate(-3deg); }
.mock > div { position: absolute; inset: 10px; border-radius: 26px; overflow: hidden; background: var(--surface); }
.pshot { position: relative; align-self: center; display: block; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(233, 238, 245, .12); }
.pshot img { display: block; width: 100%; height: auto; }
@media (min-width: 700px) { .pshot { margin-right: -64px; } }
.illu { position: absolute; right: 18px; bottom: 12px; font-size: .7rem; color: var(--on-navy-muted); z-index: 2; }
@media (max-width: 699px) { .pview { min-height: 0; } .ppanel { position: relative; display: none; padding: 32px 24px; } .ppanel.on { display: grid; } .mock { transform: none; margin-top: 12px; } .illu { position: static; padding: 0 24px 16px; display: block; } }

/* selected work */
.h-work { padding-bottom: var(--section); }
.work-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .work-grid { grid-template-columns: 1.25fr 1fr; } }
.wcard { position: relative; border-radius: 24px; overflow: hidden; min-height: 320px; background: var(--paper-2); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; transition: transform .35s var(--ease); }
.wcard:hover { transform: translateY(-4px); }
.wcard--big { min-height: 520px; grid-row: span 2; background: var(--navy); color: var(--on-navy); }
.wcard__ph { position: absolute; inset: 0; }
.wcard__ph .photo-slot, .wcard__ph img { position: absolute; inset: 0; height: 100%; border-radius: 0; }
.wcard--big .wcard__ph .photo-slot { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(233, 238, 245, .05) 14px 15px), var(--navy); }
.wcard--big .photo-slot__label { color: var(--on-navy-muted); }
.wcard .photo-slot { place-items: start; }
.wcard__place { position: relative; font: 600 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.wcard--big .wcard__place { color: var(--gold); }
.wcard h3 { position: relative; margin: 8px 0 6px; color: inherit; }
.wcard p { position: relative; margin: 0; color: var(--muted); max-width: 26em; }
.wcard--big p { color: var(--on-navy-muted); }
/* With a real cover screenshot: dark scrim behind the text, light type on top. */
.wcard--photo { color: var(--on-navy); background: var(--night); }
.wcard--photo .wcard__ph img { object-fit: cover; object-position: center top; }
.wcard--photo .wcard__ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 39, 0) 18%, rgba(7, 20, 39, .82) 52%, rgba(7, 20, 39, .97) 100%);
}
.wcard--photo .wcard__place { color: var(--gold-soft); }
.wcard--photo h3, .wcard--photo p { text-shadow: 0 1px 12px rgba(7, 20, 39, .6); }
.wcard--photo p { color: var(--on-navy); opacity: .85; }
.wcard:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .12em; }

/* lab teaser */
.h-lab { background: var(--paper-2); padding-block: var(--section); }
.lab-row { display: grid; gap: 16px; }
@media (min-width: 900px) { .lab-row { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.lab-card { position: relative; border-radius: 24px; background: var(--surface); padding: 28px; box-shadow: var(--shadow-1); min-height: 210px; display: flex; flex-direction: column; }
.lab-card__st { display: inline-flex; align-items: center; gap: 8px; font: 600 .72rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.lab-card__st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 39, .18); }
.lab-card h3 { margin: 22px 0 8px; }
.lab-card p { margin: 0; color: var(--muted); }

/* since 2012 */
.h-story { background: var(--night); color: var(--on-navy); padding-block: var(--section); overflow: hidden; }
.tl { position: relative; display: grid; gap: 0; list-style: none; margin-top: 8px; }
@media (min-width: 900px) { .tl { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.tl__item { position: relative; padding: 28px 0 28px 36px; border-left: 1px solid var(--line-on-navy); }
@media (min-width: 900px) { .tl__item { padding: 44px 0 0; border-left: 0; border-top: 1px solid var(--line-on-navy); } }
.tl__item::before { content: ""; position: absolute; left: -7px; top: 34px; width: 13px; height: 13px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2px var(--gold); }
@media (min-width: 900px) { .tl__item::before { left: 0; top: -7px; } }
.tl__item--now::before { background: var(--gold); }
.tl__y { display: block; font: 500 clamp(3rem, 2.2rem + 3vw, 5rem)/.95 var(--font-display); letter-spacing: -.05em; color: var(--on-navy); }
.tl__item--now .tl__y { color: var(--gold); }
.tl__item h3 { font-size: var(--fs-2); color: var(--on-navy); margin: 14px 0 8px; }
.tl__item p { color: var(--on-navy-muted); margin: 0; max-width: 24em; }

/* founder */
.h-founder { background: var(--paper-2); padding-block: var(--section); overflow: hidden; }
.f-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .f-grid { grid-template-columns: 5fr 6fr; gap: 80px; } }
.portrait-frame { position: relative; }
.portrait-frame .photo-slot, .portrait-frame img { box-shadow: var(--shadow-2); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(233, 238, 245, .05) 14px 15px), var(--navy); }
.portrait-frame .photo-slot__label { color: var(--on-navy-muted); }
.f-txt h2 { margin: 0 0 .15em; }
.f-txt__alt { font: 500 1.1rem var(--font-body); color: var(--gold-ink); margin-bottom: 22px; }
.f-txt blockquote { margin: 0 0 28px; font: 500 clamp(1.25rem, 1.1rem + .6vw, 1.6rem)/1.45 var(--font-display); letter-spacing: -.015em; color: var(--navy); }
.roles2 { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 32px; border-top: 1px solid var(--line); }
.roles2 div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.roles2 b { display: block; color: var(--ink); font: 600 .95rem var(--font-body); }

/* giving back */
.h-give { padding-block: var(--section); }
.give-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .give-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; } }
.gcard { border-radius: 24px; padding: 32px 28px; background: var(--surface); box-shadow: var(--shadow-1); display: flex; flex-direction: column; min-height: 300px; }
.gcard--navy { background: var(--navy); color: var(--on-navy); }
.gcard__n { font: 500 clamp(3.25rem, 2.5rem + 3vw, 5rem)/.95 var(--font-display); letter-spacing: -.05em; color: var(--navy); font-variant-numeric: tabular-nums; }
.gcard__n sup { font-size: .45em; color: var(--gold-ink); vertical-align: top; margin-left: 2px; }
.gcard--navy .gcard__n { color: var(--gold); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); }
.gcard h3 { font-size: var(--fs-3); margin: auto 0 8px; padding-top: 24px; color: inherit; }
.gcard p { margin: 0; color: var(--muted); }
.gcard--navy p { color: var(--on-navy-muted); }
.gcard--navy a { color: var(--gold); }

/* testimonials (only when published with permission) */
.quotes { padding-block: var(--section); }
.quotes__list { display: grid; gap: 24px; }
@media (min-width: 992px) { .quotes__list { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.quote { margin: 0; padding: 32px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-1); }
.quote blockquote { margin: 0 0 14px; font: 500 var(--fs-3)/1.45 var(--font-display); letter-spacing: -.015em; color: var(--navy); }
.quote figcaption { font-size: .95rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }

/* FAQ (shared) */
.faq__grid { display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: start; padding: 22px 0; font: 500 var(--fs-2)/1.35 var(--font-display); color: var(--navy); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), background-color .2s; color: var(--navy); }
.qa[open] summary .icon { transform: rotate(45deg); background: var(--gold); box-shadow: none; }
.qa__a { padding: 0 48px 24px 0; max-width: 42em; color: var(--ink); }
.qa__a p { margin: 0; }
@media (min-width: 992px) { .faq__grid { grid-template-columns: 7fr 4fr; gap: 72px; align-items: start; } }
.h-faq { padding-block: var(--section); }

/* closing CTA (home + inner pages) */
.ctaband, .h-cta { position: relative; background: var(--night); color: var(--on-navy); padding-top: var(--section); overflow: hidden; }
.ctaband h2, .h-cta h2 { color: var(--on-navy); max-width: 13em; }
.ctaband h2 em, .h-cta h2 em { font-style: normal; color: var(--gold); }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ctaband__tel { display: block; margin-top: 40px; font: 500 clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem) var(--font-display); letter-spacing: -.03em; color: var(--on-navy); text-decoration: none; }
.ctaband__tel small { display: block; font: 500 .875rem var(--font-body); letter-spacing: 0; color: var(--on-navy-muted); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #05101F; color: var(--on-navy-muted); padding-top: 64px; font-size: .9375rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer .label { color: var(--gold); margin-bottom: .7rem; }
.site-footer .icon { display: inline-block; vertical-align: -3px; margin-right: 6px; color: var(--gold); }
.site-footer__top { display: grid; gap: 36px; padding-bottom: 44px; }
.site-footer__brand .site-footer__name { margin-bottom: 1.25rem; }
.site-footer__since { color: var(--gold); font: 500 .875rem var(--font-body); }
.site-footer__cred { color: var(--on-navy-muted); max-width: 16em; }
.site-footer__nap p { margin-bottom: .55rem; color: var(--on-navy); }
.site-footer__chennai { color: var(--on-navy-muted) !important; }
.site-footer__links ul, .site-footer__social ul { list-style: none; margin-bottom: 1.4rem; }
.site-footer__links ul { columns: 2; column-gap: 20px; }
.site-footer__links li, .site-footer__social li { padding: 4px 0; break-inside: avoid; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line-on-navy); padding: 20px 0 24px; font-size: .82rem; }
.site-footer__bottom p { margin: 0; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .site-footer__top { grid-template-columns: 3fr 4fr 4fr 3fr; gap: 48px; } }

/* ---------- Motion: reveal, line draw ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .motif .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) calc(var(--i, 0) * 90ms); }
.js .motif.is-in .draw { stroke-dashoffset: 0; }
.js .motif .pop { opacity: 0; transition: opacity .4s calc(.6s + var(--i, 0) * 90ms); }
.js .motif.is-in .pop { opacity: 1; }
.motif { width: 100%; max-width: 440px; aspect-ratio: 3 / 2; }
.motif .draw { fill: none; stroke: var(--on-navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.motif .gold { stroke: var(--gold); }
.motif .soft { stroke: var(--on-navy-muted); opacity: .6; }
.motif .dot { fill: var(--gold); }
.motif .node { fill: var(--night); stroke: var(--on-navy); stroke-width: 1.25; }
.motif .mono-t { font: 600 10px var(--font-body); letter-spacing: .14em; text-transform: uppercase; fill: var(--on-navy-muted); }
.motif--wide { aspect-ratio: 600 / 160; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .motif .draw, .svc-art .dr { stroke-dashoffset: 0; }
  .js .motif .pop { opacity: 1; }
}

/* Below-the-fold homepage sections: the browser skips their style/layout work
   until they approach the viewport (keeps the long, illustrated page fast).
   Light sections only: on dark ones, audits would read the page cream as the background. */
/* ---------- Forms (shared: homepage free check + inner pages) ---------- */
.form { margin-top: 1rem; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field > span { font: 600 .82rem var(--font-body); color: var(--muted); }
.field em { font-style: normal; opacity: .8; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--surface); border: 1px solid rgba(11, 31, 58, .2); border-radius: 12px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input[type="file"] { padding: 10px; background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.form__note { margin: 0; font-size: .875rem; color: var(--muted); max-width: 25.2em; }
.form__status { margin: 12px 0 0; font-weight: 600; color: var(--navy); min-height: 1.5em; }
.on-navy .field > span, .on-navy .form__note { color: var(--on-navy-muted); }
.on-navy .form__status { color: var(--paper); }

.h-check, .h-prods, .h-work, .h-lab, .h-founder, .h-give, .quotes, .h-faq {
  content-visibility: auto; contain-intrinsic-size: auto 900px;
}
