/* ============================================================
   RAD SYNC AGENCY — premium landing styles
   Brand: Bebas Neue (display) · Inter (body) · Signal Red #E8001D
   Concept: the brand pulse becomes a rising growth chart.
   Theming: semantic OKLCH tokens, dark + light. Neutrals are
   tinted toward the brand-red hue (27) so nothing reads flat.
   Motion: GPU-only (transform/opacity), reduced-motion safe.
   ============================================================ */

/* ---------- Theme tokens ---------- */
:root, [data-theme="dark"] {
  --bg:        oklch(0.155 0.006 27);
  --bg-alt:    oklch(0.185 0.007 27);
  --surface:   oklch(0.214 0.008 27);
  --surface-2: oklch(0.252 0.009 27);

  --text:    oklch(0.968 0.004 27);   /* primary  */
  --text-2:  oklch(0.805 0.013 27);   /* secondary — brightened for readability */
  --text-3:  oklch(0.640 0.013 27);   /* dim / captions */

  --line:      oklch(1 0 0 / 0.10);
  --line-soft: oklch(1 0 0 / 0.055);
  --hairline:  oklch(1 0 0 / 0.14);

  --signal:      #E8001D;
  --signal-2:    oklch(0.66 0.235 29);   /* brighter tip */
  --signal-deep: oklch(0.50 0.205 27);
  --on-accent:   oklch(0.99 0.01 27);    /* text on red */
  --signal-tint: oklch(0.557 0.247 27 / 0.10);
  --signal-tint-2: oklch(0.557 0.247 27 / 0.22);

  --glass:        oklch(0.19 0.008 27 / 0.86);
  --menu:         oklch(0.15 0.008 27 / 0.985);
  --comet:        oklch(0.99 0.004 27);
  --grid-line:    oklch(1 0 0 / 0.025);
  --chart-grid:   oklch(1 0 0 / 0.05);
  --surface-grad: linear-gradient(180deg, oklch(1 0 0 / 0.04), transparent 70%);

  --elev-1: 0 10px 30px oklch(0 0 0 / 0.40);
  --elev-2: 0 22px 48px oklch(0 0 0 / 0.50);
  --glow:   0 0 34px oklch(0.557 0.247 27 / 0.20);
  --grain-opacity: 0.022;
  --vignette: radial-gradient(135% 130% at 50% 28%, transparent 60%, oklch(0 0 0 / 0.5) 100%);
  --hero-glow: 0.22;

  /* Premium surface system — cards catch light from the top */
  --card-top:      oklch(0.218 0.009 27);   /* ~#161616 lit top edge */
  --card-bottom:   oklch(0.162 0.006 27);   /* ~#0F0F0F base         */
  --card-bg:       linear-gradient(180deg, var(--card-top), var(--card-bottom));
  --card-line:     oklch(1 0 0 / 0.07);      /* hairline border       */
  --card-line-2:   oklch(1 0 0 / 0.13);      /* brighter on hover     */
  --card-edge:     linear-gradient(168deg, oklch(1 0 0 / 0.15), oklch(1 0 0 / 0.03) 55%); /* lit gradient border */
  --card-edge-2:   linear-gradient(168deg, oklch(1 0 0 / 0.24), oklch(1 0 0 / 0.05) 55%);
  --card-shadow:   0 20px 44px oklch(0 0 0 / 0.42);
  --card-shadow-2: 0 30px 60px oklch(0 0 0 / 0.52);
  --card-inset:    inset 0 1px 0 oklch(1 0 0 / 0.06);  /* machined top hairline */

  color-scheme: dark;
}

[data-theme="light"] {
  --bg:        oklch(0.973 0.004 60);
  --bg-alt:    oklch(0.998 0.0015 60);
  --surface:   oklch(1 0 0);
  --surface-2: oklch(0.957 0.004 40);

  --text:    oklch(0.205 0.014 27);
  --text-2:  oklch(0.430 0.020 27);
  --text-3:  oklch(0.560 0.016 27);

  --line:      oklch(0.20 0.02 27 / 0.12);
  --line-soft: oklch(0.20 0.02 27 / 0.07);
  --hairline:  oklch(0.20 0.02 27 / 0.16);

  --signal:      #E8001D;
  --signal-2:    oklch(0.56 0.245 28);
  --signal-deep: oklch(0.47 0.205 27);
  --on-accent:   oklch(0.99 0.01 27);
  --signal-tint: oklch(0.557 0.247 27 / 0.07);
  --signal-tint-2: oklch(0.557 0.247 27 / 0.16);

  --glass:        oklch(1 0 0 / 0.88);
  --menu:         oklch(1 0 0 / 0.985);
  --comet:        var(--signal);
  --grid-line:    oklch(0.20 0.02 27 / 0.04);
  --chart-grid:   oklch(0.20 0.02 27 / 0.06);
  --surface-grad: linear-gradient(180deg, oklch(0.20 0.02 27 / 0.018), transparent 70%);

  --elev-1: 0 10px 26px oklch(0.45 0.04 27 / 0.10);
  --elev-2: 0 22px 46px oklch(0.45 0.06 27 / 0.14);
  --glow:   0 0 30px oklch(0.557 0.247 27 / 0.16);
  --grain-opacity: 0.015;
  --vignette: radial-gradient(135% 130% at 50% 26%, transparent 70%, oklch(0.40 0.03 27 / 0.10) 100%);
  --hero-glow: 0.12;

  /* Premium surface system (light) */
  --card-top:      oklch(1 0 0);
  --card-bottom:   oklch(0.970 0.003 60);
  --card-bg:       linear-gradient(180deg, var(--card-top), var(--card-bottom));
  --card-line:     oklch(0.20 0.02 27 / 0.09);
  --card-line-2:   oklch(0.20 0.02 27 / 0.17);
  --card-edge:     linear-gradient(168deg, oklch(0.20 0.02 27 / 0.13), oklch(0.20 0.02 27 / 0.03) 55%);
  --card-edge-2:   linear-gradient(168deg, oklch(0.20 0.02 27 / 0.20), oklch(0.20 0.02 27 / 0.05) 55%);
  --card-shadow:   0 18px 40px oklch(0.45 0.04 27 / 0.12);
  --card-shadow-2: 0 28px 56px oklch(0.45 0.05 27 / 0.17);
  --card-inset:    inset 0 1px 0 oklch(1 0 0 / 0.7);

  color-scheme: light;
}

/* fonts + scale */
:root {
  --ff-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --ff-body:    "Inter", system-ui, -apple-system, sans-serif;
  --ff-label:   "Rajdhani", "Inter", system-ui, sans-serif;  /* tracked technical labels */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 18px;
  --radius-sm: 11px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--signal); color: var(--on-accent); }

/* Architecture grid motif */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 92px 92px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 26%, #000 28%, transparent 100%);
          mask-image: radial-gradient(ellipse 95% 75% at 50% 26%, #000 28%, transparent 100%);
}

/* Grain + vignette (fixed, never repaints on scroll) */
.fx { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.fx::before {
  content: "";
  position: absolute; inset: 0;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fx::after { content: ""; position: absolute; inset: 0; background: var(--vignette); }

/* Skip link */
.skip {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  background: var(--signal); color: var(--on-accent); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; z-index: 1; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }

/* ---------- Typography ---------- */
/* Color discipline: eyebrow text is neutral so Signal Red stays reserved
   for action (CTAs) + the pulse motif. The red dash carries the brand. */
.eyebrow {
  font-family: var(--ff-label);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  margin: 0;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--signal); border-radius: 2px; box-shadow: 0 0 8px var(--signal-tint-2); }
.eyebrow--center { justify-content: center; }

/* Tracked technical labels + index numbers use Rajdhani (brand label face) */
.bento__idx, .work__idx, .gstep__k, .path__tag, .hpath__tag, .hero__callout-k,
.marquee__label, .acronym__tag, .field label, .footer__col h4, .footer__slogan,
.tag, .hero__scroll {
  font-family: var(--ff-label);
}

h1, h2, h3 { margin: 0; font-weight: 400; }
.display { font-family: var(--ff-display); line-height: 0.88; letter-spacing: 0.014em; text-transform: uppercase; }
.h-hero    { font-size: clamp(3.7rem, 9vw, 8.4rem); }
.h-section { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.h-card { font-family: var(--ff-display); font-size: clamp(1.55rem, 2.4vw, 2.1rem); line-height: 0.96; letter-spacing: 0.012em; text-transform: uppercase; }

.lead { color: var(--text-2); font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.62; max-width: 52ch; }
.muted { color: var(--text-3); }
.r { color: var(--signal); }
.uline { position: relative; white-space: nowrap; }
.uline::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: 3px; border-radius: 3px; background: var(--signal); }

/* ---------- Spotlight (cursor glow on cards) ---------- */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--signal-tint-2), transparent 60%);
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none; z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* ---------- Buttons — ONE system, correct in both zones (dark hero /
   light body) and both themes via tokens. Primary = Signal Red fill +
   WHITE label (4.72:1 AA). Secondary = token outline. Tertiary = text. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--ff-label); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
  padding: 0.95em 1.5em; border-radius: var(--radius-sm); border: 1px solid transparent;
  background: var(--signal); color: #fff;
  position: relative; white-space: nowrap;
  box-shadow: 0 8px 22px var(--signal-tint-2);
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  will-change: transform;
}
.btn .arrow { display: inline-flex; transition: transform 0.25s var(--ease-out); }
.btn:hover { transform: translateY(-2px); filter: brightness(0.94); box-shadow: 0 13px 30px var(--signal-tint-2); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.btn--sm { padding: 0.7em 1.05em; font-size: 0.86rem; }
/* Secondary — outline; visible in BOTH zones because it reads --text/--hairline */
.btn--ghost { background: transparent; border-color: var(--hairline); color: var(--text); box-shadow: none; }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--text-3); transform: translateY(-2px); filter: none; box-shadow: none; }
/* Tertiary — text + arrow */
.btn--link { background: none; border: none; box-shadow: none; color: var(--text); padding: 0.3em 0; }
.btn--link:hover { color: var(--signal); transform: none; filter: none; box-shadow: none; }
/* WhatsApp — secondary/utility action: neutral ghost + green glyph for
   recognition (so it never competes with the single red primary CTA).
   #25D366 is the WhatsApp brand green — a deliberate one-off, not a palette token. */
.btn--wa { gap: 0.6em; }
.btn--wa svg { flex: none; color: #25D366; }
.contact-wa { margin-top: 1.6em; display: flex; flex-direction: column; align-items: flex-start; gap: 0.7em; }
.contact-wa__note { font-size: 0.9rem; color: var(--text-3); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding-top: clamp(14px, 1.6vw, 22px); pointer-events: none;
}
.nav .container { pointer-events: none; }
.nav__pill {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; height: 72px; padding: 0 14px 0 22px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--elev-1);
  transition: height 0.35s var(--ease), background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.nav.is-scrolled .nav__pill { height: 62px; border-color: var(--signal-tint-2); box-shadow: var(--elev-1), 0 0 22px var(--signal-tint); }

/* nav entrance */
.js .nav__pill { animation: navIn 0.8s var(--ease-out) both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* Logo */
.logo { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 11px; align-items: center; line-height: 1; }
.logo__mark { grid-row: 1 / 3; width: 34px; height: 30px; display: block; }
.logo__mark svg { width: 100%; height: 100%; overflow: visible; }
.logo__pulse { filter: drop-shadow(0 0 5px var(--signal-tint-2)); }
.js .logo__pulse { stroke-dasharray: 360; stroke-dashoffset: 360; animation: drawMark 1.4s var(--ease-out) 0.25s forwards; }
@keyframes drawMark { to { stroke-dashoffset: 0; } }
.logo__word { grid-column: 2; grid-row: 1; align-self: end; font-family: var(--ff-display); font-size: 1.62rem; letter-spacing: 0.05em; color: var(--text); white-space: nowrap; }
.logo__sub { grid-column: 2; grid-row: 2; font-family: var(--ff-body); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; margin-top: 2px; }
.logo--footer .logo__word { font-size: 1.95rem; }
.logo--footer .logo__mark { width: 40px; height: 35px; }

/* Center links */
.nav__center { display: flex; }
.nav__links { display: flex; align-items: center; gap: clamp(2px, 1.1vw, 16px); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--ff-body); font-size: 0.92rem; font-weight: 500;
  color: var(--text-2); letter-spacing: 0.01em;
  background: none; border: 0; padding: 8px 6px; position: relative;
  transition: color 0.2s;
}
.nav__link::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); }
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__chev { transition: transform 0.3s var(--ease); margin-top: 1px; }
.has-mega.is-open .nav__chev { transform: rotate(180deg); }
.has-mega.is-open > .nav__link { color: var(--text); }

/* Mega-menu */
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  width: min(440px, 86vw); padding: 10px;
  background: var(--menu);
  border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: var(--elev-2);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  flex-direction: column; gap: 2px; display: none; z-index: 70;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-mega.is-open .mega { display: flex; animation: megaIn 0.28s var(--ease-out) both; }
@keyframes megaIn { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.mega__row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.mega__row:hover { background: var(--signal-tint); border-color: var(--signal-tint-2); }
.mega__ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--signal); background: var(--signal-tint); border: 1px solid var(--signal-tint-2); }
.mega__ic svg { width: 20px; height: 20px; }
.mega__txt { display: flex; flex-direction: column; gap: 2px; }
.mega__title { font-weight: 600; font-size: 0.94rem; color: var(--text); }
.mega__desc { font-size: 0.82rem; color: var(--text-2); }

.nav__cta { display: flex; align-items: center; gap: 10px; }

/* Theme toggle */
.theme-toggle {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-2); position: relative; overflow: hidden;
  transition: color 0.2s, border-color 0.25s, background 0.25s, transform 0.2s var(--ease);
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-3); transform: translateY(-1px); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.theme-toggle svg { position: absolute; width: 19px; height: 19px; transition: transform 0.4s var(--ease), opacity 0.3s; }
.theme-toggle .t-sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle .t-moon { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle .t-sun { opacity: 1; transform: none; }
[data-theme="light"] .theme-toggle .t-moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

.nav__toggle { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); transform-origin: center; }
.nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; z-index: 1; min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(80px, 12vh, 140px);
  overflow: hidden;
}
.hero__chart { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* brand glow for depth so the hero is never a flat field */
.hero__chart::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 72% 38%, oklch(0.557 0.247 27 / var(--hero-glow)), transparent 60%);
}
/* protect text legibility on the left */
.hero__chart::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 6%, color-mix(in oklab, var(--bg) 82%, transparent) 34%, color-mix(in oklab, var(--bg) 30%, transparent) 62%, transparent 80%),
    linear-gradient(0deg, var(--bg) 2%, transparent 24%);
}
.growth { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.growth__grid line { stroke: var(--chart-grid); stroke-width: 1; }
.growth__area { opacity: 0; transition: opacity 1.1s ease 0.5s; }
.growth.is-drawn .growth__area { opacity: 1; }
.growth__line { stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 7px oklch(0.557 0.247 27 / 0.55)); }
.growth__comet { fill: var(--comet); filter: drop-shadow(0 0 9px oklch(0.557 0.247 27 / 0.95)); }
.growth__pulse-ring { fill: oklch(0.557 0.247 27 / 0.35); transform-box: fill-box; transform-origin: center; }
.growth__head { opacity: 0; transition: opacity 0.6s ease 1.4s; }
.growth.is-drawn .growth__head { opacity: 1; }
.growth.is-drawn .growth__pulse-ring { animation: cometPulse 2.4s var(--ease-out) infinite; }
@keyframes cometPulse { 0% { transform: scale(0.5); opacity: 0.8; } 70% { transform: scale(2.6); opacity: 0; } 100% { transform: scale(2.6); opacity: 0; } }

.hero__callout {
  position: absolute; top: 21%; right: clamp(20px, 7vw, 96px); z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 18px; background: var(--glass); border: 1px solid var(--line);
  border-radius: 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--elev-2);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.7s var(--ease) 1.1s, transform 0.7s var(--ease) 1.1s;
}
.hero.is-ready .hero__callout { opacity: 1; transform: none; }
.hero__callout-k { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.hero__callout-v { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.hero__callout-v strong { font-family: var(--ff-display); font-size: 1.85rem; letter-spacing: 0.02em; font-weight: 400; }
.hero__callout-v svg { color: var(--signal); }

.hero__inner { position: relative; z-index: 1; max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero .h-hero { margin-top: 0.3em; }
.hero__lead { margin-top: 1.4em; max-width: 50ch; color: var(--text-2); }
/* Proof strip — three concrete trust points, hairline-separated, with a
   small Signal accent icon each (replaces the old dot + star one-liner). */
.hero__proof { list-style: none; display: flex; align-items: center; justify-content: center; width: 100%; margin: 2.1em 0 0; padding: 0; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; line-height: 1.35; color: var(--text-2); padding: 2px clamp(12px, 1.6vw, 18px); border-left: 1px solid var(--hairline); white-space: nowrap; }
.hero__proof li:first-child { padding-left: 0; border-left: 0; }
.hero__proof b { color: var(--text); font-weight: 600; }
.hero__proof svg { width: 16px; height: 16px; color: var(--signal); flex: none; }
/* stack cleanly before the row could ever half-wrap */
@media (max-width: 768px) {
 .hero__proof { flex-direction: column; align-items: center; gap: 11px; }
  .hero__proof li { padding: 0; border-left: 0; white-space: normal; }
}

/* Two co-equal primary CTAs */
.hero__paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 620px; margin-top: 2.5em; }
.hpath {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.3em;
  min-height: 186px; padding: 22px 22px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-grad), var(--surface); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.hpath:hover { transform: translateY(-5px); border-color: var(--signal-tint-2); background: var(--surface-grad), var(--surface-2); box-shadow: var(--elev-2), 0 0 32px var(--signal-tint); }
.hpath:active { transform: translateY(-2px); }
.hpath:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.hpath__head { display: flex; align-items: center; justify-content: space-between; }
.hpath__ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--signal); background: var(--signal-tint); border: 1px solid var(--signal-tint-2); }
.hpath__ic svg { width: 20px; height: 20px; }
.hpath__arrow { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: var(--on-accent); box-shadow: 0 6px 18px var(--signal-tint-2); transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s; }
.hpath__arrow svg { width: 18px; height: 18px; }
.hpath:hover .hpath__arrow { transform: translate(3px, -3px); background: var(--signal-2); box-shadow: 0 10px 26px var(--signal-tint-2); }
.hpath__body { display: flex; flex-direction: column; gap: 0.35em; }
.hpath__tag { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.hpath__title { font-family: var(--ff-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 0.9; letter-spacing: 0.012em; text-transform: uppercase; color: var(--text); }
.hpath__keys { margin-top: 0.45em; font-size: 0.78rem; line-height: 1.35; color: var(--text-2); letter-spacing: 0.01em; }

.hero__scroll { position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); transform: translateX(-50%); z-index: 2; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3); }
.hero__scroll svg { color: var(--text-2); }
.hero__scroll-dot { animation: scrollDot 1.8s var(--ease-out) infinite; }
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(5px); opacity: 0.3; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-sec { position: relative; z-index: 1; padding-block: clamp(34px, 5vw, 56px); border-block: 1px solid var(--line-soft); background: var(--bg-alt); overflow: hidden; }
.marquee__label { text-align: center; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin: 0 0 26px; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--ff-display); font-size: clamp(1.6rem, 3.2vw, 2.5rem); letter-spacing: 0.04em; color: var(--text-2); opacity: 0.62; padding: 0 clamp(20px, 3vw, 40px); transition: opacity 0.3s, color 0.3s; }
.marquee__track span.sep { color: var(--signal); opacity: 0.8; padding: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span:hover { opacity: 1; color: var(--text); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: clamp(8px, 1.4vw, 18px) clamp(18px, 2.4vw, 34px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--ff-display); font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 0.9; letter-spacing: 0.01em; color: var(--text); }
.stat__num strong { font-weight: 400; }
.stat__label { font-size: 0.92rem; color: var(--text-2); line-height: 1.4; }
.stats__note { margin: clamp(26px, 4vw, 40px) 0 0; font-size: 0.84rem; color: var(--text-3); max-width: 64ch; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.shead { max-width: 800px; margin-bottom: clamp(42px, 5vw, 70px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead .h-section { margin-top: 0.3em; }
.shead p.lead { margin-top: 1em; }
.shead--center p.lead { margin-inline: auto; }

/* ============================================================
   SERVICES — bento
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: clamp(14px, 1.6vw, 20px); }
.bento__cell { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); background: var(--surface-grad), var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s; }
.bento__cell:hover { transform: translateY(-5px); border-color: var(--signal-tint-2); background: var(--surface-grad), var(--surface-2); box-shadow: var(--elev-1); }
.bento__cell--feature { grid-row: span 2; }
.bento__cell--wide { grid-column: span 2; }
.bento__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.bento__ic { width: 46px; height: 46px; display: grid; place-items: center; color: var(--signal); border: 1px solid var(--signal-tint-2); background: var(--signal-tint); border-radius: 12px; }
.bento__ic svg { width: 23px; height: 23px; }
.bento__idx { font-family: var(--ff-display); font-size: 1.1rem; letter-spacing: 0.1em; color: var(--text-3); }
.bento__cell h3 { margin-top: clamp(26px, 3vw, 44px); margin-bottom: 0.55em; color: var(--text); }
.bento__cell p { color: var(--text-2); font-size: 1rem; margin: 0; }
.bento__list { list-style: none; margin: 1.4em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bento__list li { font-size: 0.78rem; color: var(--text-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }

/* ============================================================
   ACRONYM band
   ============================================================ */
.acronym { margin: clamp(8px, 2vw, 20px) 0 clamp(50px, 6vw, 80px); }
.acronym__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 36px); }
.acronym__item { display: flex; align-items: baseline; gap: 0.4em; }
.acronym__letter { font-family: var(--ff-display); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 0.85; color: var(--signal); }
.acronym__word { font-family: var(--ff-display); font-size: clamp(1.25rem, 2.2vw, 1.9rem); letter-spacing: 0.02em; text-transform: uppercase; color: var(--text); }
.acronym__pulse { display: block; width: 100%; height: 40px; margin: clamp(22px, 3vw, 32px) 0 clamp(16px, 2vw, 22px); overflow: visible; }
.acronym__base { stroke: var(--line); stroke-width: 1.5; fill: none; }
.acronym__beat { stroke: var(--signal); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px oklch(0.557 0.247 27 / 0.6)); }
.acronym__tag { margin: 0; font-size: 0.94rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }

/* WHY / problem cells — surface cards (fill/shadow via the surface system) */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.why__cell { position: relative; padding: clamp(24px, 2.6vw, 32px); overflow: hidden; }
.why__cell::before { content: ""; position: absolute; top: 0; left: clamp(24px, 2.6vw, 32px); width: 26px; height: 2px; background: var(--signal); border-radius: 0 0 2px 2px; }
.why__num { font-family: var(--ff-label); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.16em; color: var(--signal); }
.why__cell h3 { margin: 0.65em 0 0.5em; color: var(--text); }
.why__cell p { color: var(--text-2); font-size: 0.97rem; margin: 0; }

/* ============================================================
   TWO PATHS (deep section)
   ============================================================ */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.path { position: relative; padding: clamp(34px, 4vw, 58px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-grad), var(--surface); overflow: hidden; display: flex; flex-direction: column; min-height: 340px; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.path::after { content: ""; position: absolute; right: -18%; top: -28%; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, var(--signal-tint-2), transparent 65%); opacity: 0.5; transition: opacity 0.4s; pointer-events: none; }
.path:hover { transform: translateY(-5px); border-color: var(--signal-tint-2); box-shadow: var(--elev-2); }
.path:hover::after { opacity: 1; }
.path__tag { font-family: var(--ff-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-2); }
.path__h { font-size: clamp(2.1rem, 3.6vw, 3.1rem); line-height: 0.92; margin: 0.55em 0 0.5em; color: var(--text); }
.path p { color: var(--text-2); margin: 0 0 auto; max-width: 40ch; }
.path__link { margin-top: 2em; display: inline-flex; align-items: center; gap: 0.6em; font-weight: 600; color: var(--text); width: fit-content; }
.path__link .arrow { color: var(--signal); transition: transform 0.25s var(--ease); }
.path:hover .path__link .arrow { transform: translateX(5px); }

/* ============================================================
   SELECTED WORK
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.work { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.work:hover { transform: translateY(-4px); border-color: var(--signal-tint-2); box-shadow: var(--elev-1); }
.work__media { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, var(--surface-2), var(--surface)); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.03); }
.work__media image-slot { width: 100%; height: 100%; display: block; transition: transform 0.45s var(--ease-out); }
.work:hover .work__media image-slot { transform: scale(1.06); }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, color-mix(in oklab, var(--bg) 88%, transparent)); opacity: 0.8; transition: opacity 0.35s; pointer-events: none; }
.work:hover .work__media::after { opacity: 0.5; }
.work__overlay { position: absolute; inset: 0; background: var(--signal-tint); opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none; z-index: 2; }
.work:hover .work__overlay { opacity: 1; }
.work__body { position: relative; z-index: 3; padding: 20px 22px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.work__name { font-family: var(--ff-display); font-size: 1.55rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; color: var(--text); }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); padding: 4px 10px; border: 1px solid var(--card-line); border-radius: 6px; background: oklch(1 0 0 / 0.02); transition: border-color 0.3s, color 0.3s, background 0.3s; }
.work:hover .tag { border-color: var(--signal-tint-2); color: var(--text); background: var(--signal-tint); }
.work__idx { flex: none; font-family: var(--ff-label); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; color: var(--text-3); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { position: relative; }

/* Rising growth chart — clean line + area with milestone pins */
.gflow { position: relative; }
.gflow__chart { position: relative; height: clamp(230px, 28vw, 320px); margin-bottom: clamp(26px, 3vw, 40px); }
.gflow__svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gflow__grid line { stroke: var(--chart-grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.gflow__line { stroke: var(--signal); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px oklch(0.557 0.247 27 / 0.45)); }
/* milestone dot sitting cleanly on the line */
.gflow__dot {
  position: absolute; transform: translate(-50%, -50%);
  width: clamp(36px, 4.2vw, 46px); height: clamp(36px, 4.2vw, 46px);
  display: grid; place-items: center;
  border-radius: 50%; background: var(--signal); color: var(--on-accent);
  font-family: var(--ff-display); font-size: clamp(1.05rem, 1.7vw, 1.45rem); line-height: 1;
  border: 3px solid var(--bg-alt); box-shadow: 0 5px 16px oklch(0 0 0 / 0.4);
  z-index: 3;
}
/* clean label pin above each dot, joined by a short stem */
.gflow__flag {
  position: absolute; bottom: calc(100% + 13px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; line-height: 1;
  font-family: var(--ff-display); font-size: clamp(0.95rem, 1.35vw, 1.25rem); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text); background: var(--surface); border: 1px solid var(--hairline);
  padding: 5px 12px; border-radius: 8px; box-shadow: var(--elev-1);
}
.gflow__flag::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 2px; height: 13px; background: var(--signal); border-radius: 2px; }

.gflow__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.gstep { background: var(--surface-grad), var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s; }
.gstep:hover { transform: translateY(-5px); border-color: var(--signal-tint-2); background: var(--surface-grad), var(--surface-2); box-shadow: var(--elev-1); }
.gstep__k { display: block; font-family: var(--ff-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); margin-bottom: 0.8em; }
.gstep__title { font-family: var(--ff-display); font-size: clamp(1.4rem, 2vw, 1.85rem); text-transform: uppercase; letter-spacing: 0.012em; margin: 0.5em 0 0.5em; color: var(--text); }
.gstep p { color: var(--text-2); font-size: 0.98rem; line-height: 1.55; margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Reviews rail — scroll-snap carousel: 3-up desktop, 2-up tablet,
   one full card per swipe on phones. Arrows + Write-a-review live in
   .quotes-foot; visitor reviews append here (pending verification). */
.quotes {
  display: flex; gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 10px 6px 44px; margin: -10px -6px -24px;
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quotes:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 8px; }
.quote { margin: 0; /* kill the UA figure margin (1em 40px) */ flex: 0 0 calc((100% - 2 * clamp(14px, 1.6vw, 22px)) / 3); scroll-snap-align: start; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 2.6vw, 36px); background: var(--surface-grad), var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
.quote:hover { transform: translateY(-4px); border-color: var(--signal-tint-2); box-shadow: var(--elev-1); }
.quote__stars { color: var(--signal); letter-spacing: 0.18em; font-size: 0.95rem; }
.quote blockquote { margin: 0; font-size: 1.06rem; line-height: 1.6; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 0.92rem; color: var(--on-accent); background: linear-gradient(145deg, var(--signal), var(--signal-deep)); letter-spacing: 0.02em; }
.quote__who { display: flex; flex-direction: column; line-height: 1.3; }
.quote__who strong { font-weight: 600; font-size: 0.96rem; color: var(--text); }
.quote__who span { font-size: 0.82rem; color: var(--text-2); }
.quotes__note { margin: clamp(24px, 3vw, 36px) 0 0; font-size: 0.84rem; color: var(--text-3); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; text-align: center; overflow: hidden; }
.final__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 58% 68% at 50% 64%, oklch(0.557 0.247 27 / 0.42) 0%, transparent 62%); opacity: 0.9; pointer-events: none; }
[data-theme="light"] .final__glow { background: radial-gradient(ellipse 58% 68% at 50% 64%, oklch(0.557 0.247 27 / 0.14) 0%, transparent 62%); }
.final .container { position: relative; z-index: 1; }
.final .h-section { max-width: 22ch; margin-inline: auto; }
.final__sub { margin: 1.2em auto 2.5em; text-align: center; max-width: 52ch; color: var(--text-2); }
.final__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(30px, 5vw, 84px); align-items: start; }
.contact-aside .h-section { margin: 0.3em 0 0; }
.contact-list { list-style: none; margin: 1.7em 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 0.98rem; }
.contact-list .tick { color: var(--signal); flex: none; font-weight: 700; }
.contact-mail { display: inline-block; margin-top: 1.8em; font-family: var(--ff-display); font-size: 1.5rem; letter-spacing: 0.02em; color: var(--text); border-bottom: 2px solid var(--signal-tint-2); padding-bottom: 3px; transition: border-color 0.25s, color 0.25s; }
.contact-mail:hover { border-color: var(--signal); color: var(--signal); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea { font-family: var(--ff-body); font-size: 1rem; color: var(--text); background: var(--surface); border: 1px solid var(--hairline); border-radius: 9px; padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-tint-2); }
.field textarea { resize: vertical; min-height: 124px; }
.field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-color: var(--surface); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field__err { display: none; font-size: 0.8rem; color: var(--signal); letter-spacing: 0.01em; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select, .field.is-invalid .csel__btn { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-tint-2); }
.field.is-invalid .field__err { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__note { font-size: 0.86rem; color: var(--text-2); }
.form__success { grid-column: 1 / -1; display: none; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--signal-tint-2); border-radius: 9px; background: var(--signal-tint); font-weight: 500; color: var(--text); }
.form.is-sent .form__success { display: flex; }
.form.is-sent .form__foot { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-block: clamp(58px, 7vw, 90px) 36px; background: var(--bg-alt); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(30px, 5vw, 64px); margin-bottom: 56px; }
.footer__tag { color: var(--text-2); margin-top: 22px; max-width: 34ch; }
.footer__col h4 { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--text-2); font-size: 0.95rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--signal); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 30px; border-top: 1px solid var(--line); }
.footer__slogan { font-family: var(--ff-body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.24em; color: var(--text); }
.footer__slogan .r { color: var(--signal); }
.footer__copy { font-size: 0.84rem; color: var(--text-3); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--text-2); transition: 0.25s var(--ease); }
.socials a:hover { color: var(--signal); border-color: var(--signal); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ============================================================
   PREMIUM SURFACE SYSTEM (elevation pass)
   Layered top-lit fill + hairline + soft diffuse shadow + a machined
   inset top highlight. One motion language (240ms ease-out).
   Applied after the component defaults above so it lands uniformly.
   ============================================================ */
.bento__cell, .quote, .gstep, .why__cell, .path, .hpath, .work {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow), var(--card-inset);
  transition: transform 0.24s var(--ease-out), border-color 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}
.bento__cell:hover, .quote:hover, .gstep:hover, .why__cell:hover, .work:hover {
  transform: translateY(-6px);
  border-color: var(--card-line-2);
  box-shadow: var(--card-shadow-2), var(--card-inset);
  background: var(--card-bg);
}
/* primary path cards keep a faint red lift on hover (accent, used sparingly) */
.path:hover, .hpath:hover {
  transform: translateY(-6px);
  border-color: var(--signal-tint-2);
  box-shadow: var(--card-shadow-2), 0 0 36px var(--signal-tint), var(--card-inset);
  background: var(--card-bg);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
html.no-js .reveal { opacity: 1 !important; transform: none !important; }
[data-motion="off"] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track, .growth.is-drawn .growth__pulse-ring, .hero__scroll-dot, .js .nav__pill, .js .logo__pulse { animation: none !important; }
  .js .logo__pulse { stroke-dashoffset: 0 !important; }
  .hero__callout { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--feature { grid-row: span 1; }
  .bento__cell--wide { grid-column: span 2; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .quote { flex-basis: calc((100% - clamp(14px, 1.6vw, 22px)) / 2); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav__center { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn--sm { display: none; }

  .nav__center:has(.nav__links.is-open) {
    display: block; position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    background: var(--menu); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--hairline); border-radius: 18px; padding: 14px; box-shadow: var(--elev-2);
  }
  .nav__links.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__item { display: block; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px; border-radius: 12px; font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link:active { background: var(--surface-2); }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 2px 0 6px; }
  .has-mega.is-open .mega { animation: none; }
  .mega::before { display: none; }
  .mega__row { padding: 11px 12px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 30px) 0; }
  .stat { padding-block: 4px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }

  .why { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }
  .hero__callout { top: 16%; right: clamp(16px, 4vw, 40px); padding: 11px 15px; }
  .hero__callout-v strong { font-size: 1.5rem; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero__paths { grid-template-columns: 1fr; max-width: 480px; }
  .quote { flex-basis: 100%; }   /* one review per screen, swipe between */
  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide { grid-column: span 1; }
  .paths { grid-template-columns: 1fr; }
  .gflow__steps { grid-template-columns: 1fr; }
  .gflow__chart { height: clamp(150px, 46vw, 220px); }
  .form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .work__body { flex-direction: column; align-items: flex-start; }
  .acronym__row { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .hero__callout { display: none; }
  .hero__chart::after { background: linear-gradient(180deg, color-mix(in oklab, var(--bg) 55%, transparent), color-mix(in oklab, var(--bg) 80%, transparent)), linear-gradient(0deg, var(--bg) 4%, transparent 30%); }
}
@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding-left: 0 !important; }
  .why { grid-template-columns: 1fr; }
}

/* ============================================================
   PHASE 1 — GLOBAL SYSTEM
   Active nav state, funnel-nav variant, path-switch chip,
   scroll-to-top, sticky mobile CTA bar. Token-driven, GPU-only,
   reduced-motion safe. Appended last so the mobile rules win.
   ============================================================ */

/* 1.1 / 1.2 — active nav link (aria-current set on load + by scrollspy).
   "page" = static current page, "true" = current in-page section. */
.nav__link[aria-current="page"], .nav__link[aria-current="true"] { color: var(--text); }
.nav__link[aria-current="page"]::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }

/* (1.4/1.5 funnel-nav + path-switch chip removed — every page now uses the
   full nav and the segmented .pathseg; no markup referenced them.) */

/* 1.6 — scroll-to-top. Signal Red fill + white chevron (red = action),
   so it reads instantly on the carbon theme and the warm-white body alike. */
.to-top {
  position: fixed; z-index: 55;
  right: clamp(16px, 3vw, 28px);
  bottom: max(clamp(16px, 3vw, 28px), env(safe-area-inset-bottom, 0px));
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--signal); border: 1px solid oklch(1 0 0 / 0.18); color: #fff;
  box-shadow: 0 10px 26px oklch(0 0 0 / 0.35), 0 0 24px var(--signal-tint-2), inset 0 1px 0 oklch(1 0 0 / 0.22);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), filter 0.2s, box-shadow 0.25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { filter: brightness(0.94); transform: translateY(-3px); box-shadow: 0 14px 32px oklch(0 0 0 / 0.4), 0 0 30px var(--signal-tint-2), inset 0 1px 0 oklch(1 0 0 / 0.22); }
.to-top:active { transform: scale(0.94); }
.to-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.to-top svg { width: 20px; height: 20px; }

/* 1.7 — sticky mobile CTA bar (phones only; toggled by JS / media query) */
.cta-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 54; display: none;
  padding: 10px clamp(14px, 4vw, 20px);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid var(--hairline);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.cta-bar .btn { width: 100%; }
.cta-bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

@media (max-width: 600px) {
  .cta-bar { display: block; }
  body { padding-bottom: 76px; }                                   /* room for the bar */
  .to-top { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } /* sit above the bar */
}
@media (prefers-reduced-motion: reduce) {
  .to-top, .cta-bar { transition: opacity 0.2s; }
}

/* ============================================================
   PHASE 2–6 — shared page components (token-driven, both themes)
   Used by services / work / free-audit / thank-you / legal / 404
   and the Home lead-magnet band + social-proof + risk lines.
   ============================================================ */

/* Lead-magnet band (Home) — deliberately SECONDARY to the booking CTA
   (surface panel + ghost CTA, no red glow, so the two CTAs don't compete) */
.leadmag {
  max-width: 760px; margin-inline: auto; text-align: center;
  padding: clamp(34px, 5vw, 60px);
  border: 1px solid var(--card-line); border-radius: var(--radius);
  background: var(--card-bg); box-shadow: var(--card-shadow), var(--card-inset);
}
.leadmag .eyebrow { justify-content: center; }
.leadmag .h-section { margin: 0.3em 0 0; }
.leadmag .lead { margin: 1em auto 1.8em; }

/* Client-logo strip (muted / grayscale; placeholders until real logos land) */
.logos { margin: 0 0 clamp(34px, 4vw, 56px); }
.logos__note { text-align: center; font-size: 0.74rem; font-family: var(--ff-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin: 0 0 24px; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(22px, 4vw, 56px); }
.logos__row svg { height: 24px; width: auto; color: var(--text-2); opacity: 0.5; filter: grayscale(1); transition: opacity 0.3s var(--ease), color 0.3s; }
.logos__row svg:hover { opacity: 0.92; color: var(--text); }

/* Risk-reversal one-liner (Home final CTA + landings near pricing) */
.risk-line {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin: 1.7em auto 0; padding: 11px 20px;
  border: 1px solid var(--hairline); border-radius: 999px;
  background: var(--surface); color: var(--text-2);
  font-size: 0.9rem; line-height: 1.4; text-align: left;
}
.risk-line svg { flex: none; width: 17px; height: 17px; color: var(--signal); }
.final .risk-line { background: var(--glass); }
.pkgs__risk { display: flex; justify-content: center; margin-top: clamp(18px, 2vw, 26px); }

/* Legal / prose pages (privacy, terms) */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-family: var(--ff-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); text-transform: uppercase; letter-spacing: 0.012em; color: var(--text); margin: 1.9em 0 0.5em; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); font-size: 1rem; line-height: 1.72; }
.prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--signal); border-bottom: 1px solid var(--signal-tint-2); }
.prose__meta { font-size: 0.85rem; color: var(--text-3); margin: 0 0 2.2em; }
.prose__todo { margin: 0 0 2.2em; padding: 14px 18px; border: 1px dashed var(--signal-tint-2); border-radius: var(--radius-sm); background: var(--signal-tint); color: var(--text-2); font-size: 0.9rem; }

/* 404 */
.errpage { min-height: 76vh; display: grid; place-items: center; text-align: center; }
.errpage__code { font-family: var(--ff-display); font-size: clamp(5rem, 17vw, 11rem); line-height: 0.82; letter-spacing: 0.02em; color: var(--text); }
.errpage__code .r { color: var(--signal); }
.errpage .eyebrow { margin: 0.7em 0 0; }
.errpage .h-section { margin: 0.3em 0 0; }
.errpage .lead { margin: 1.1em auto 2em; }
.errpage__links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* small utilities (avoid one-off inline styles) */
.page-top { padding-top: clamp(150px, 18vh, 220px); }
.center-cta { text-align: center; margin-top: clamp(28px, 3.5vw, 46px); }
.prose .h-section { margin: 0.3em 0 0.4em; }

/* ============================================================
   SECTION TONE SYSTEM — white-dominant editorial rhythm
   In the LIGHT (default) theme, .tone-dark sections invert to carbon
   anchors (final-CTA band + footer) while .tone-light sections sit on
   the warm-white canvas. These overrides are scoped to the light theme
   ONLY, so toggling to dark still yields the original fully-dark site
   (the tones simply follow the page theme). Child components adapt
   automatically because the tokens are re-declared on the subtree.
   Values mirror the [data-theme] blocks at the top of this file.
   ============================================================ */
[data-theme="light"] .tone-light { background-color: var(--bg); color: var(--text); }
[data-theme="light"] .tone-light.section--alt { background-color: var(--bg-alt); }

[data-theme="light"] .tone-dark {
  --bg:        oklch(0.155 0.006 27);
  --bg-alt:    oklch(0.185 0.007 27);
  --surface:   oklch(0.214 0.008 27);
  --surface-2: oklch(0.252 0.009 27);
  --text:    oklch(0.968 0.004 27);
  --text-2:  oklch(0.805 0.013 27);
  --text-3:  oklch(0.640 0.013 27);
  --line:      oklch(1 0 0 / 0.10);
  --line-soft: oklch(1 0 0 / 0.055);
  --hairline:  oklch(1 0 0 / 0.14);
  --signal-2:    oklch(0.66 0.235 29);
  --signal-deep: oklch(0.50 0.205 27);
  --signal-tint:   oklch(0.557 0.247 27 / 0.10);
  --signal-tint-2: oklch(0.557 0.247 27 / 0.22);
  --glass: oklch(0.19 0.008 27 / 0.86);
  --menu:  oklch(0.15 0.008 27 / 0.985);
  --comet: oklch(0.99 0.004 27);
  --chart-grid:   oklch(1 0 0 / 0.05);
  --surface-grad: linear-gradient(180deg, oklch(1 0 0 / 0.04), transparent 70%);
  --elev-1: 0 10px 30px oklch(0 0 0 / 0.40);
  --elev-2: 0 22px 48px oklch(0 0 0 / 0.50);
  --glow:   0 0 34px oklch(0.557 0.247 27 / 0.20);
  --hero-glow: 0.22;
  --card-top:    oklch(0.218 0.009 27);
  --card-bottom: oklch(0.162 0.006 27);
  --card-bg:     linear-gradient(180deg, var(--card-top), var(--card-bottom));
  --card-line:   oklch(1 0 0 / 0.07);
  --card-line-2: oklch(1 0 0 / 0.13);
  --card-edge:   linear-gradient(168deg, oklch(1 0 0 / 0.15), oklch(1 0 0 / 0.03) 55%);
  --card-edge-2: linear-gradient(168deg, oklch(1 0 0 / 0.24), oklch(1 0 0 / 0.05) 55%);
  --card-shadow:   0 20px 44px oklch(0 0 0 / 0.42);
  --card-shadow-2: 0 30px 60px oklch(0 0 0 / 0.52);
  --card-inset:    inset 0 1px 0 oklch(1 0 0 / 0.06);
  color-scheme: dark;
  background-color: var(--bg);
  color: var(--text);
}
[data-theme="light"] .tone-dark.section--alt { background-color: var(--bg-alt); }

/* (Hero is a dark band again — see DARK HERO BAND below — so the chart
   keeps its dramatic dark tuning even on a light page.) */

/* ============================================================
   FINAL PASS — DARK HERO BAND + NAV INVERSION + PATH SWITCH + RESPONSIVE
   ============================================================ */

/* ---- Dark hero band (light theme): carbon hero, rounded seam into the
   warm-white body with a soft elevation shadow. Dark theme = just the page. */
[data-theme="light"] .hero.tone-dark {
  z-index: 2;                                   /* so the seam shadow sits over the next section */
  border-radius: 0 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px);
  box-shadow: 0 34px 64px -30px oklch(0 0 0 / 0.6);
}
/* restore the dramatic dark-tuned chart inside the dark hero on a light page */
[data-theme="light"] .tone-dark .growth.is-drawn .growth__area { opacity: 1; }
[data-theme="light"] .tone-dark .growth__line { filter: drop-shadow(0 0 7px oklch(0.557 0.247 27 / 0.55)); }
[data-theme="light"] .tone-dark .growth__comet { filter: drop-shadow(0 0 9px oklch(0.557 0.247 27 / 0.95)); }

/* ---- Nav inversion: transparent + off-white content over the dark hero,
   flipping to the solid glass bar with carbon content after the seam.
   Default (.nav) is already the solid bar (used on non-hero pages + scrolled);
   body.hero-dark + nav.is-over (set by an IntersectionObserver in main.js)
   produces the over-hero state. */
.nav__pill, .logo__word, .logo__sub, .nav__link, .nav__megabtn, .theme-toggle, .nav__toggle span {
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
body.hero-dark .nav.is-over .nav__pill {
  background: transparent; border-color: oklch(1 0 0 / 0.16); box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.hero-dark .nav.is-over .logo__word { color: oklch(0.972 0.004 27); }
body.hero-dark .nav.is-over .logo__sub { color: oklch(0.80 0.013 27); }
body.hero-dark .nav.is-over .nav__link,
body.hero-dark .nav.is-over .nav__megabtn { color: oklch(0.86 0.01 27); }
body.hero-dark .nav.is-over .nav__link:hover,
body.hero-dark .nav.is-over .nav__megabtn:hover { color: #fff; }
body.hero-dark .nav.is-over .theme-toggle { color: oklch(0.93 0.01 27); border-color: oklch(1 0 0 / 0.18); background: oklch(1 0 0 / 0.06); }
body.hero-dark .nav.is-over .nav__toggle span { background: oklch(0.95 0.01 27); }
/* keep ONE red per viewport: the nav's red CTA becomes a white outline over the
   hero (the hero's own CTA / path cards carry the page), red again once scrolled. */
body.hero-dark .nav.is-over .nav__cta > .btn {
  background: transparent; color: #fff; border-color: oklch(1 0 0 / 0.45); box-shadow: none;
}
body.hero-dark .nav.is-over .nav__cta > .btn:hover { background: oklch(1 0 0 / 0.10); border-color: #fff; filter: none; }

/* ---- Segmented path switch (launch <-> level-up), centered on the seam ---- */
.pathseg-band {
  position: relative; z-index: 4;
  display: flex; justify-content: center;
  margin-top: calc(-1 * clamp(22px, 3.2vw, 34px));    /* bridge up onto the seam */
  padding: 0 var(--gutter) clamp(18px, 3vw, 30px);
}
.pathseg {
  display: inline-flex; gap: 4px; padding: 5px;
  border-radius: 999px; background: var(--surface);
  border: 1px solid var(--card-line); box-shadow: var(--card-shadow-2), var(--card-inset);
}
.pathseg__opt {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0 clamp(1.1em, 3vw, 1.6em);
  border-radius: 999px; white-space: nowrap;
  font-family: var(--ff-label); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.03em;
  color: var(--text-2); transition: background 0.2s, color 0.2s, transform 0.15s;
}
.pathseg__opt:hover { color: var(--text); background: var(--surface-2); }
.pathseg__opt.is-active { background: var(--signal); color: #fff; }
.pathseg__opt:active { transform: scale(0.97); }
.pathseg__opt:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

/* ---- Mobile drawer scroll-lock ---- */
body.nav-locked { overflow: hidden; }

/* ============================================================
   RESPONSIVE REFINEMENTS (final pass)
   ============================================================ */
/* never let a flex/grid child or long string force horizontal scroll */
.hero__inner, .shead, .lead, .bento__cell, .pkg, .quote, .case, .svc, .vstack__col, .gstep { min-width: 0; }
.lead, .pkg__sub, .case__v, .svc__lead, .quote blockquote, .footer__tag { overflow-wrap: anywhere; }

@media (max-width: 600px) {
  /* gentler seam radius + drop the seam shadow weight on phones */
  [data-theme="light"] .hero.tone-dark { border-radius: 0 0 clamp(14px, 4vw, 20px) clamp(14px, 4vw, 20px); box-shadow: 0 22px 42px -26px oklch(0 0 0 / 0.55); }
  /* segmented switch goes full-width, segments share the row */
  .pathseg { width: 100%; }
  .pathseg__opt { flex: 1 1 0; padding-inline: 0.6em; }
  /* tighten section rhythm so pages don't feel cavernous */
  .section { padding-block: clamp(54px, 13vw, 84px); }
}
@media (max-width: 380px) {
  .pathseg__opt { font-size: 0.84rem; }
}
@media (max-width: 920px) {
  /* In the open mobile drawer (a light --menu panel), the nav links must read
     dark even while the pill is inverted (light) over the hero. The logo and
     toggle stay light in the transparent pill; only the dropdown links flip. */
  body.hero-dark .nav.is-over .nav__link,
  body.hero-dark .nav.is-over .nav__link:hover,
  body.hero-dark .nav.is-over .nav__megabtn { color: var(--text); }
}

/* ============================================================
   ABOUT / PROCESS PAGES — compact dark-hero band + step detail +
   FAQ accordion + founder row. All token-driven, both themes.
   ============================================================ */
/* Compact dark-hero band (title + intro + CTA; no growth chart). Reuses the
   .hero.tone-dark seam (rounded bottom + shadow) defined above. */
.hero--compact { min-height: auto; padding-top: clamp(140px, 18vh, 200px); padding-bottom: clamp(56px, 8vh, 100px); }
.hero--compact .hero__inner { max-width: 820px; }
.hero--compact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(56% 80% at 82% 22%, var(--signal-tint-2), transparent 62%);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }

/* Story / narrative block (StoryBrand guide voice) */
.story { max-width: 720px; margin-inline: auto; }
.story p { color: var(--text-2); font-size: clamp(1.04rem, 1.4vw, 1.2rem); line-height: 1.72; margin: 0 0 1.1em; }
.story p .r, .story strong { color: var(--text); font-weight: 600; }

/* Expanded process-step detail cards */
.psteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.pstep { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--card-line); border-radius: var(--radius); background: var(--card-bg); box-shadow: var(--card-shadow), var(--card-inset); transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), border-color 0.24s; }
.pstep:hover { transform: translateY(-6px); border-color: var(--card-line-2); box-shadow: var(--card-shadow-2), var(--card-inset); }
.pstep__n { font-family: var(--ff-label); font-weight: 700; letter-spacing: 0.16em; font-size: 0.8rem; text-transform: uppercase; color: var(--signal); }
.pstep__h { font-family: var(--ff-display); font-size: clamp(1.4rem, 2vw, 1.85rem); text-transform: uppercase; letter-spacing: 0.012em; color: var(--text); margin: 0.5em 0 0.5em; }
.pstep p { color: var(--text-2); font-size: 0.97rem; line-height: 1.55; margin: 0 0 1.2em; }
.pstep__deliv { list-style: none; margin: 0 0 1.3em; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pstep__deliv li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; line-height: 1.45; color: var(--text-2); }
.pstep__deliv .ck { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; box-sizing: border-box; background: var(--signal-tint); color: var(--signal); margin-top: 1px; }
.pstep__time { margin-top: auto; font-family: var(--ff-label); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding-top: 1.1em; border-top: 1px solid var(--card-line); }
.pstep__time b { color: var(--text-2); font-weight: 700; }

/* FAQ — native <details> accordion (keyboard-accessible) */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border: 1px solid var(--card-line); border-radius: var(--radius-sm); background: var(--card-bg); margin-bottom: 12px; box-shadow: var(--card-shadow), var(--card-inset); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--ff-label); font-weight: 600; font-size: 1.02rem; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--signal); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq__a { padding: 0 22px 20px; color: var(--text-2); font-size: 0.98rem; line-height: 1.62; }

/* Founder / team row */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
.team__card { display: flex; gap: clamp(16px, 2vw, 22px); align-items: flex-start; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--card-line); border-radius: var(--radius); background: var(--card-bg); box-shadow: var(--card-shadow), var(--card-inset); }
.team__photo { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, var(--surface-2), var(--surface)); border: 1px solid var(--card-line); }
.team__photo image-slot { width: 100%; height: 100%; display: block; }
.team__name { font-family: var(--ff-display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--text); line-height: 1; }
.team__role { font-family: var(--ff-label); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); margin: 0.45em 0 0.6em; }
.team__bio { color: var(--text-2); font-size: 0.94rem; line-height: 1.55; margin: 0; }
@media (max-width: 680px) { .team { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .psteps { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   3D PREMIUM MOTION PASS
   Pointer-tilt cards + glare, hero pointer-depth, scroll progress,
   CTA sheen, living ambience. GPU-only (transform/opacity), driven
   by rAF in main.js, disabled on touch and reduced-motion. Applied
   via shared classes so every page inherits with zero markup edits.
   ============================================================ */

/* ---- Pointer-tilt cards (class + glare span are added by JS) ---- */
.tilt { position: relative; transform-style: preserve-3d; }
.tilt.is-tilting { z-index: 3; will-change: transform; }
.tilt__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  background: radial-gradient(460px circle at var(--gx, 50%) var(--gy, 50%),
              oklch(1 0 0 / 0.10), oklch(1 0 0 / 0.035) 38%, transparent 62%);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.tilt.is-tilting .tilt__glare { opacity: 1; }

/* ---- Scroll progress (element injected by JS; modal is 99999, nav 60) ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 75;
  background: linear-gradient(90deg, var(--signal-deep), var(--signal) 55%, var(--signal-2));
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}

/* ---- Hero pointer-depth: layers ride CSS vars set by main.js. The long
   ease makes the follow feel damped and weighty rather than stuck to the
   cursor. Callout keeps its fade-in entrance (delay on opacity only). ---- */
.hero__inner { transform: translate3d(var(--hx, 0px), var(--hy, 0px), 0); transition: transform 0.9s var(--ease-out); }
.hero.is-ready .hero__callout {
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: opacity 0.7s var(--ease) 1.1s, transform 0.9s var(--ease-out);
}

/* ---- Red headline span gets physical depth on the carbon hero ---- */
.hero .h-hero .r { text-shadow: 0 0 30px oklch(0.557 0.247 27 / 0.38); }

/* ---- Sheen sweep on filled CTAs (one pass per hover, never on ghost/link) ---- */
.btn:not(.btn--ghost):not(.btn--link) { overflow: hidden; }
.btn:not(.btn--ghost):not(.btn--link)::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%;
  background: linear-gradient(105deg, transparent, oklch(1 0 0 / 0.30), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn:not(.btn--ghost):not(.btn--link):hover::before { animation: btnSheen 0.7s var(--ease-out); }
@keyframes btnSheen { from { transform: skewX(-18deg) translateX(-30%); } to { transform: skewX(-18deg) translateX(360%); } }

/* ---- Hero consult escape hatch (under the path cards) ---- */
.hero__consult { margin-top: 1.7em; font-size: 0.95rem; color: var(--text-2); }
.hero__consult a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--signal); padding-bottom: 1px; transition: color 0.2s; }
.hero__consult a:hover { color: var(--signal); }
.hero__consult + .hero__proof { margin-top: 1.4em; }

/* ---- Living ambience: hero glow drifts, final-CTA glow breathes ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero__chart::before { animation: heroDrift 12s ease-in-out infinite alternate; }
  .final__glow { animation: finalBreath 7s ease-in-out infinite alternate; }
}
@keyframes heroDrift {
  from { transform: translate3d(-1.2%, -0.8%, 0) scale(1); opacity: 0.92; }
  to   { transform: translate3d(1.4%, 1%, 0) scale(1.06); opacity: 1; }
}
@keyframes finalBreath {
  from { opacity: 0.72; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.045); }
}

/* ---- Reveal settle: a touch of scale makes rises read as depth ---- */
.reveal { transform: translateY(26px) scale(0.985); }

@media (prefers-reduced-motion: reduce) {
  .tilt__glare { display: none; }
  .btn:not(.btn--ghost):not(.btn--link):hover::before { animation: none; }
  .hero__inner, .hero.is-ready .hero__callout { transform: none; transition: opacity 0.7s; }
}

/* ============================================================
   SCROLL CINEMA + FOOTER WORDMARK
   1) Footer carries the official brand lockup (RAD SYNC + the
      Signal-Red sync bar + spaced AGENCY) as a quiet watermark;
      the element is injected by main.js on every page.
   2) In browsers with CSS scroll-driven animations, body-section
      reveals become scroll-scrubbed entrances, work tiles enter
      with 3D depth, the hero cinematically dims on scroll-away,
      the process chart wipes in, and the sync bar draws itself.
      Everything degrades to the existing IO reveal system.
   ============================================================ */

/* ---- Footer wordmark lockup (base, all browsers) ---- */
.footer__mark { display: flex; justify-content: center; margin-bottom: clamp(34px, 5vw, 64px); overflow: hidden; }
.footer__mark-lockup { display: inline-flex; flex-direction: column; align-items: center; min-width: 0; }
.footer__mark-word {
  font-family: var(--ff-display); font-size: clamp(4rem, 15vw, 12.5rem);
  line-height: 0.86; letter-spacing: 0.045em; white-space: nowrap;
  color: var(--text); opacity: 0.075;
}
/* sync-bar weight ≈ cap height / 22, per the brand book */
.footer__mark-bar { width: 100%; height: clamp(3px, 0.45vw, 6px); border-radius: 2px; background: var(--signal); margin-top: clamp(8px, 1.2vw, 16px); transform-origin: left center; }
.footer__mark-agency {
  margin-top: clamp(8px, 1.2vw, 14px);
  font-size: clamp(0.6rem, 1.4vw, 0.85rem); font-weight: 600;
  letter-spacing: 0.88em; text-indent: 0.88em; /* indent balances the trailing tracking */
  text-transform: uppercase; color: var(--text-3);
}

/* ---- Scroll-scrubbed motion (progressive enhancement) ---- */
@keyframes cinemaRise { from { opacity: 0; transform: translateY(34px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes cinemaTile { from { opacity: 0; transform: perspective(900px) rotateX(6deg) translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes cinemaHeroDim { to { opacity: 0.18; } }
@keyframes cinemaChartAway { to { transform: translateY(-46px); opacity: 0.55; } }
@keyframes cinemaCueOut { to { opacity: 0; } }
@keyframes cinemaWipe { from { clip-path: inset(-110px 100% -20px 0); } to { clip-path: inset(-110px 0% -20px 0); } }
@keyframes cinemaBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {

    /* Body-section reveals scrub with scroll (reversible, settle as you
       read). fill-mode backwards releases the element after entry so the
       pointer-tilt inline transforms and CSS hovers take over. The hero
       keeps its time-based entrance (it's above the fold at load). */
    .section .reveal {
      opacity: 1; transform: none; transition: none;
      animation-name: cinemaRise; animation-duration: 1ms;
      animation-timing-function: linear; animation-fill-mode: backwards;
      animation-timeline: view(); animation-range: entry 0% entry 50%;
    }
    .section .reveal[data-d="1"] { animation-range: entry 6% entry 56%; }
    .section .reveal[data-d="2"] { animation-range: entry 12% entry 62%; }
    .section .reveal[data-d="3"] { animation-range: entry 18% entry 68%; }
    .section .reveal[data-d="4"] { animation-range: entry 24% entry 74%; }

    /* Work tiles enter on a 3D plane */
    .section .work.reveal { animation-name: cinemaTile; }

    /* Hero scroll-away: copy dims, chart drifts up and softens, cue fades */
    .hero__inner { animation: cinemaHeroDim 1ms linear both; animation-timeline: scroll(); animation-range: 0vh 85vh; }
    .hero__chart { animation: cinemaChartAway 1ms linear both; animation-timeline: scroll(); animation-range: 0vh 90vh; }
    .hero__scroll { animation: cinemaCueOut 1ms linear both; animation-timeline: scroll(); animation-range: 0vh 30vh; }

    /* Process growth chart wipes in as it enters (negative vertical insets
       keep the milestone pins unclipped — see the earlier pin lesson).
       The chart carries .reveal in markup, so this selector must match
       .section .reveal's specificity to take over (it's later in the file). */
    .section .gflow__chart { animation: cinemaWipe 1ms linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }

    /* The sync bar draws itself across the wordmark */
    .footer__mark-bar { animation: cinemaBar 1ms linear both; animation-timeline: view(); animation-range: entry 20% entry 90%; }
  }
}

/* ============================================================
   PAGE LOADER + SKELETON SHIMMER
   Branded load-in: theme-aware overlay where the growth-pulse
   mark draws on a loop above a sweeping sync bar. Dismissed by
   main.js on window load (hard-capped at 2s; 450ms for returning
   visitors in the same session). CSS fail-open at 3.4s means it
   can NEVER block the page if JS dies; hidden for no-js and
   reduced-motion. Skeleton shimmer flows across empty image
   slots and stops by itself once a real image is dropped in
   (image-slot sets data-filled).
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 100000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
  animation: loaderFailOpen 0.01s linear 3.4s forwards;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
html.no-js .loader { display: none; }
@keyframes loaderFailOpen { to { opacity: 0; visibility: hidden; } }

.loader__core { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.loader__pulse { width: 76px; height: 76px; overflow: visible; }
.loader__path {
  stroke-dasharray: 460; stroke-dashoffset: 460;
  filter: drop-shadow(0 0 12px var(--signal-tint-2));
  animation: loaderDraw 1.5s var(--ease-out) infinite;
}
@keyframes loaderDraw {
  0%   { stroke-dashoffset: 460; opacity: 1; }
  58%  { stroke-dashoffset: 0;   opacity: 1; }
  80%  { stroke-dashoffset: 0;   opacity: 0; }
  81%  { stroke-dashoffset: 460; opacity: 0; }
  100% { stroke-dashoffset: 460; opacity: 1; }
}
.loader__word { font-family: var(--ff-display); font-size: 1.15rem; letter-spacing: 0.2em; text-indent: 0.2em; color: var(--text); opacity: 0.9; }
.loader__track { position: relative; width: 150px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader__fill { position: absolute; inset: 0 auto 0 0; width: 42%; border-radius: 2px; background: var(--signal); animation: loaderSweep 1.05s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes loaderSweep { from { transform: translateX(-110%); } to { transform: translateX(360%); } }

/* ---- Skeleton shimmer on empty media slots (flowing sweep) ---- */
.work__media, .case__media, .team__photo { position: relative; overflow: hidden; }
.work__media::before, .case__media::before, .team__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, oklch(1 0 0 / 0.06) 50%, transparent 70%);
  animation: shimmerFlow 2.4s var(--ease) infinite;
}
[data-theme="light"] :is(.work__media, .case__media, .team__photo)::before {
  background: linear-gradient(100deg, transparent 30%, oklch(0.25 0.02 27 / 0.05) 50%, transparent 70%);
}
/* a dropped image ends the skeleton state */
.work__media:has(image-slot[data-filled])::before,
.case__media:has(image-slot[data-filled])::before,
.team__photo:has(image-slot[data-filled])::before { animation: none; opacity: 0; }
@keyframes shimmerFlow { to { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .work__media::before, .case__media::before, .team__photo::before { animation: none; opacity: 0; }
}

/* ============================================================
   REVIEWS — rail controls, pending chip, write-a-review modal
   ============================================================ */
.quotes-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 22px; flex-wrap: wrap; margin-top: clamp(16px, 2vw, 24px); }
.quotes-foot .quotes__note { margin: 0; max-width: 52ch; font-size: 0.84rem; color: var(--text-3); }
.quotes-ctrls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.qnav {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--hairline); color: var(--text);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}
.qnav:hover:not(:disabled) { border-color: var(--signal); color: var(--signal); transform: translateY(-2px); }
.qnav:active:not(:disabled) { transform: scale(0.94); }
.qnav:disabled { opacity: 0.35; cursor: default; }
.qnav:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.qnav svg { width: 18px; height: 18px; }

/* dimmed remainder stars + pending chip on visitor reviews */
.quote__stars .off { opacity: 0.25; }
.quote__pending {
  margin-top: 4px; align-self: flex-start;
  font-family: var(--ff-label); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
  border: 1px dashed var(--hairline); border-radius: 999px; padding: 4px 11px;
}

/* Write-a-review modal */
.rvm { position: fixed; inset: 0; z-index: 99998; display: grid; place-items: center; padding: 18px; }
.rvm[hidden] { display: none; }
.rvm__backdrop { position: absolute; inset: 0; background: oklch(0.1 0.01 27 / 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rvm__box {
  position: relative; width: min(520px, 100%); max-height: min(88dvh, 740px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--hairline); border-top: 3px solid var(--signal);
  border-radius: var(--radius); padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--elev-2); animation: rvmIn 0.35s var(--ease-out);
}
@keyframes rvmIn { from { opacity: 0; transform: translateY(16px); } }
.rvm__close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--text-3); font-size: 1.7rem; line-height: 1; padding: 6px 10px; transition: color 0.2s; }
.rvm__close:hover { color: var(--text); }
.rvm__close:focus-visible { outline: 2px solid var(--signal); border-radius: 8px; }
.rvm__title { font-family: var(--ff-display); font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 0.95; text-transform: uppercase; letter-spacing: 0.012em; color: var(--text); margin: 0 0 0.35em; }
.rvm__sub { color: var(--text-2); font-size: 0.94rem; line-height: 1.55; margin: 0 0 1.5em; }
#reviewForm { display: flex; flex-direction: column; gap: 16px; }
.rvm__stars { display: flex; gap: 2px; }
.rvm__star { background: none; border: 0; font-size: 1.8rem; line-height: 1; padding: 2px 5px; color: var(--text-3); opacity: 0.4; transition: transform 0.15s var(--ease), color 0.15s, opacity 0.15s; }
.rvm__star.is-on { color: var(--signal); opacity: 1; }
.rvm__star:hover { transform: scale(1.18); }
.rvm__star:focus-visible { outline: 2px solid var(--signal); border-radius: 6px; }
.rvm__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 2px; }
.rvm__note { font-size: 0.82rem; color: var(--text-3); }
.rvm__success { display: flex; align-items: flex-start; gap: 13px; }
.rvm__success[hidden] { display: none; }
.rvm__success p { margin: 0; color: var(--text-2); line-height: 1.55; }
.rvm__success strong { color: var(--text); }
.rvm__ok { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--signal); background: var(--signal-tint); border: 2px solid var(--signal-tint-2); }
.rvm__ok svg { width: 19px; height: 19px; }
body.rvm-locked { overflow: hidden; }
@media (max-width: 600px) {
  .quotes-ctrls { width: 100%; }
  .quotes-ctrls .btn--ghost { margin-left: auto; }
}

/* ============================================================
   PER-SCREEN LAYOUT PASS — layouts designed for each screen
   class, not just shrunk. Audited at 320/390/480/600/768/920/
   1080/1280 across every page.
   ============================================================ */

/* ---- Small phones (≤480): compact nav tier. The full lockup +
   both toggles need ~360px, so below that the hamburger used to
   hang past the pill edge (fixed nav, so no scrollbar betrayed it).
   Tighten the pill, drop the sub-tagline, shrink the mark. ---- */
@media (max-width: 480px) {
  .nav__pill { padding: 0 10px 0 16px; gap: 12px; }
  .logo { column-gap: 9px; }
  .logo__mark { width: 28px; height: 25px; }
  .logo__word { font-size: 1.34rem; }
  .logo__sub { display: none; }
  .theme-toggle { width: 38px; height: 38px; }
}

/* ---- Tablets (768–920): keep the Book CTA in the nav. The drawer
   already holds it below 768, and the sticky bar takes over ≤600,
   but this range had no persistent CTA at all (conversion gap). ---- */
@media (min-width: 768px) and (max-width: 920px) {
  .nav__cta .btn--sm { display: inline-flex; }
}

/* (681–1080 testimonial grid tier removed — the reviews rail handles
   per-screen card counts via flex-basis now.) */

/* ---- Short viewports (landscape phones, small laptops in split
   view): the hero compacts instead of forcing 100dvh of scroll. ---- */
@media (max-height: 560px) {
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 60px; }
  .hero__scroll, .hero__callout { display: none; }
  .h-hero { font-size: clamp(2.4rem, 7vw, 4.4rem); }
}

/* ---- Big screens (≥1680): the whole system scales up a notch so
   the site keeps its presence on 1440p/4K, instead of floating as
   a small island in whitespace. rem-based type follows html. ---- */
@media (min-width: 1680px) {
  :root { --container: 1380px; }
  html { font-size: 18px; }
  body { font-size: 18px; }
}


/* ============================================================
   Review carousel — visual polish (v30)
   ============================================================ */
.quotes { scroll-behavior: smooth; }
@media (min-width: 761px) {
  .quotes {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
  }
}
.quote { position: relative; overflow: hidden; }
.quote::after {
  content: "C";
  position: absolute; top: -0.16em; right: 0.12em;
  font-family: var(--ff-display); font-size: 6rem; line-height: 1;
  color: var(--signal); opacity: 0.09; pointer-events: none; z-index: 0;
}
.quote > * { position: relative; z-index: 1; }
.quote blockquote { font-style: italic; }
.quote:hover { box-shadow: var(--elev-2); border-color: var(--signal-tint-2); }
.quote__avatar { box-shadow: 0 0 0 3px var(--signal-tint); }
@media (prefers-reduced-motion: reduce) { .quotes { scroll-behavior: auto; } }


/* ============================================================
   Custom select - identical dropdown on mobile + desktop (v32)
   ============================================================ */
.field.csel-host > select { display: none; }
.csel { position: relative; }
.csel__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--ff-body); font-size: 1rem; color: var(--text); text-align: left;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 9px;
  padding: 14px 16px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.csel.is-open .csel__btn, .csel__btn:focus-visible {
  outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-tint-2);
}
.csel__label.is-placeholder { color: var(--text-3); }
.csel__arrow { flex: none; color: var(--text-3); transition: transform 0.25s var(--ease); }
.csel.is-open .csel__arrow { transform: rotate(180deg); }
.csel__list {
  list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; z-index: 50;
  top: calc(100% + 2px); left: 0; right: 0; max-height: 320px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 11px;
  box-shadow: var(--elev-2); animation: cselIn 0.16s var(--ease-out);
}
@keyframes cselIn { from { opacity: 0; transform: translateY(-6px); } }
.csel__opt {
  padding: 11px 12px; border-radius: 7px; font-size: 0.97rem; color: var(--text);
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.csel__opt:hover, .csel__opt:focus-visible { background: var(--surface-2); outline: none; }
.csel__opt[aria-selected="true"] { color: var(--signal); font-weight: 600; }
.csel__opt.is-placeholder { color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { .csel__list { animation: none; } .csel__arrow { transition: none; } }


/* ============================================================
   Service cards - themed background motifs (v34)
   ============================================================ */
.bento__cell .bento__bg {
  position: absolute; right: -10px; bottom: -12px; z-index: 0;
  width: clamp(120px, 15vw, 200px); color: var(--signal);
  opacity: 0.07; pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.bento__cell--feature .bento__bg, .bento__cell--wide .bento__bg { width: clamp(150px, 18vw, 240px); }
.bento__cell .bento__bg svg { width: 100%; height: auto; display: block; }
.bento__cell:hover .bento__bg { opacity: 0.14; transform: translate(-4px, -6px) scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .bento__cell .bento__bg { transition: opacity 0.4s; }
  .bento__cell:hover .bento__bg { transform: none; }
}
