/* ============================================================
   MOKHU.CA — Light Premium
   1 tokens → 2 reset/base → 3 utilities → 4 components
   → 5 sections (DOM order) → 6 motion states → 7 reduced-motion
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --paper: #F7F9FC;
  --surface: #FFFFFF;
  --ink: #0B1B33;
  --muted: #5A6B84;
  --accent: #2563EB;
  --accent-deep: #1D4ED8;
  --accent-sky: #0EA5E9;
  /* --maple: sanctioned uses ONLY — M apex dot, hero "Peak" underline,
     altimeter PEAK tick, "quit halfway" gradient. Nothing else. */
  --maple: #E11D48;
  --lines: #E3EAF3;
  --tint: #EDF3FE;
  --grad: linear-gradient(92deg, var(--accent-deep), var(--accent-sky));
  --grad-warn: linear-gradient(92deg, #E11D48, #7C3AED);
  --shadow-soft: 0 20px 60px rgba(11, 27, 51, .08);
  --shadow-lift: 0 30px 80px rgba(11, 27, 51, .12);
  --font-display: "Space Grotesk", "SG Fallback", Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", Arial, sans-serif;
  --nav-h: 80px;
  --nav-h-small: 64px;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --section-pad: clamp(90px, 9vw, 150px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- fonts ---------- */
@font-face { font-family: "Space Grotesk"; src: url("../assets/fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../assets/fonts/space-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../assets/fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* metric-matched fallbacks — keep CLS ≈ 0 while webfonts load */
@font-face { font-family: "SG Fallback"; src: local("Arial"); size-adjust: 101%; ascent-override: 96%; descent-override: 28%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; }

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* film grain — Paper only, 2.5%, never on cards */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
  transform: translateZ(0);
}
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--paper); }
  ::-webkit-scrollbar-thumb { background: rgba(11, 27, 51, .22); border-radius: 3px; }
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus-visible { top: 12px; }

/* ---------- 3. UTILITIES ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.container-narrow { max-width: 820px; }
.section { padding: var(--section-pad) 0; position: relative; }
.band-white { background: var(--surface); border-top: 1px solid var(--lines); border-bottom: 1px solid var(--lines); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); background: linear-gradient(180deg, var(--surface), var(--tint));
  padding: 11px 22px; border-radius: 100px; border: 1px solid rgba(37, 99, 235, .2);
  box-shadow: 0 2px 12px rgba(37, 99, 235, .07);
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-sub { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 640px; margin-top: 18px; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-warn {
  background: var(--grad-warn);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* split-text words: background-clip:text ignores transformed descendants,
   so each word inside a gradient span carries its own gradient */
.grad .word, .grad .peak-word {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sample-note { font-style: italic; font-size: .82em; color: var(--muted); opacity: .85; }
.icon { width: 20px; height: 20px; stroke-width: 1.8; flex: none; }
.chip {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: 100px;
  background: var(--tint); border: 1px solid rgba(37, 99, 235, .14);
  color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ---------- 4. COMPONENTS ---------- */

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 26px; border-radius: 100px;
  cursor: pointer; white-space: nowrap;
  transition: box-shadow .3s var(--ease-out), background .3s;
  will-change: transform;
}
.btn .icon { width: 17px; height: 17px; transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { padding: 19px 34px; font-size: 16px; }
.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(37, 99, 235, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
/* restrained hover: a quiet lift + a touch more depth, no glow, no cursor sheen */
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 99, 235, .30), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--lines);
  transition: transform .28s var(--ease-out), border-color .28s, box-shadow .28s;
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(37, 99, 235, .32); box-shadow: 0 8px 20px rgba(11, 27, 51, .07); }
.btn-ghost:active { transform: translateY(0); }
.btn .btn-label { display: inline-block; will-change: transform; }

/* nav */
/* Adaptive-tint glassmorphism: EVERY skin channel is a custom property on .nav;
   state classes (.over-hero / .scrolled / .menu-open) only re-point them, so the
   whole light<->dark morph is one shared crossfade on a single node. */
.nav {
  /* --- state channels: default = light frosted paper --- */
  --nav-bg-top: rgba(255, 255, 255, .68);
  --nav-bg-bot: rgba(247, 249, 252, .52);
  --nav-blur: 24px;
  --nav-sat: 172%;               /* frosted with real presence so the glass reads over every section */
  --nav-bright: 1.02;
  --nav-hair: rgba(255, 255, 255, .9);       /* top highlight — border */
  --nav-hair-in: rgba(255, 255, 255, .65);   /* top highlight — inner */
  --nav-edge: var(--lines);                  /* bottom hairline */
  --nav-shadow: 0 6px 24px rgba(11, 27, 51, .08), 0 1px 0 rgba(11, 27, 51, .04);
  --nav-link: var(--muted);
  --nav-link-on: var(--ink);
  --nav-accent: var(--accent);

  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center;
  color: var(--nav-link);
  background: linear-gradient(180deg, var(--nav-bg-top), var(--nav-bg-bot));
  -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(var(--nav-sat)) brightness(var(--nav-bright));
          backdrop-filter: blur(var(--nav-blur)) saturate(var(--nav-sat)) brightness(var(--nav-bright));
  border-top: 1px solid var(--nav-hair);
  border-bottom: 1px solid var(--nav-edge);
  box-shadow: inset 0 1px 0 var(--nav-hair-in), var(--nav-shadow);
  transition:
    background .42s var(--ease-out), box-shadow .42s var(--ease-out),
    border-color .42s var(--ease-out), color .42s var(--ease-out);
  will-change: background, box-shadow, color;
}
.nav-inner {
  width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
  transition: height .32s var(--ease-out);   /* height rides its own crisp line */
}
.nav.scrolled .nav-inner { height: var(--nav-h-small); }

/* OVER-HERO — smoked blue-charcoal glass; dark veil + near-opaque text keep links legible over the (dark-by-design) video */
.nav.over-hero {
  --nav-bg-top: rgba(11, 15, 20, .48);
  --nav-bg-bot: rgba(11, 15, 20, .34);
  --nav-blur: 18px;
  --nav-sat: 140%;
  --nav-bright: .94;
  --nav-hair: rgba(255, 255, 255, .16);
  --nav-hair-in: rgba(255, 255, 255, .12);
  --nav-edge: rgba(255, 255, 255, .08);
  --nav-shadow: 0 8px 30px rgba(0, 0, 0, .28);
  --nav-link: rgba(255, 255, 255, .86);
  --nav-link-on: #fff;
  --nav-accent: #38BDF8;         /* brightened so blue survives on charcoal */
}
/* SCROLLED shrink — densify the compressed light bar; shadow scoped off over-hero so the dark shadow survives when both are set */
.nav.scrolled:not(.over-hero) { --nav-shadow: 0 4px 20px rgba(11, 27, 51, .10); }
.nav.scrolled:not(.over-hero) {
  --nav-bg-top: rgba(255, 255, 255, .82);
  --nav-bg-bot: rgba(247, 249, 252, .72);
}
/* MENU-OPEN — force the ink recipe so chrome stays visible over the light overlay, even over the hero */
.nav.menu-open {
  --nav-bg-top: rgba(255, 255, 255, .72);
  --nav-bg-bot: rgba(247, 249, 252, .60);
  --nav-blur: 20px;
  --nav-sat: 160%;
  --nav-bright: 1.02;
  --nav-hair: rgba(255, 255, 255, .9);
  --nav-hair-in: rgba(255, 255, 255, .65);
  --nav-edge: var(--lines);
  --nav-shadow: 0 6px 24px rgba(11, 27, 51, .08), 0 1px 0 rgba(11, 27, 51, .04);
  --nav-link: var(--muted);
  --nav-link-on: var(--ink);
  --nav-accent: var(--accent);
}

/* logo image — swaps between the dark-nav variant (white wordmark) and the light-nav variant (ink wordmark) */
.nav-logo { display: inline-flex; align-items: center; }
.logo-img { display: block; height: 34px; width: auto; transition: height .32s var(--ease-out), opacity .3s; }
.nav.scrolled .logo-img { height: 30px; }
.logo-dark { display: none; }                                  /* default (light nav / footer) shows the ink logo */
.nav.over-hero .logo-light { display: none; }
.nav.over-hero .logo-dark { display: block; }                  /* over the dark hero → white-wordmark logo */
.nav.over-hero.menu-open .logo-light { display: block; }       /* light mobile overlay open → back to ink logo */
.nav.over-hero.menu-open .logo-dark { display: none; }
.nav-logo:hover .logo-img { opacity: .8; }

/* links + scroll-spy underline */
.nav-links { position: relative; display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav-link { font-size: 14.5px; font-weight: 500; color: var(--nav-link); transition: color .28s ease; }
.nav-link:hover, .nav-link.active { color: var(--nav-link-on); }
/* .flip container stays (it clips the duplicate span); the split-flap swap is removed —
   the hover feedback is now the accent underline gliding to the hovered link (see main.js) + colour */
.flip { display: inline-block; overflow: hidden; height: 1.45em; }
.flip > span { display: block; }
.nav-underline {
  position: absolute; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--nav-accent);
  left: 0; width: 0; opacity: 0;
  transition: left .38s var(--ease-out), width .38s var(--ease-out), background .42s ease, opacity .25s;
}
.nav.over-hero .nav-underline { box-shadow: 0 0 10px rgba(56, 189, 248, .55); }
.nav.over-hero .nav-link { text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
/* focus ring follows the adaptive accent so it stays visible on dark glass (#38BDF8) and light bar (#2563EB) */
.nav :focus-visible { outline-color: var(--nav-accent); }

/* actions + CTA — the one constant across both states; gains a ring over the hero to detach from the video */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn-nav { padding: 12px 22px; font-size: 14px; }
.nav.over-hero .btn-nav { box-shadow: 0 2px 8px rgba(37, 99, 235, .28), inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px rgba(255, 255, 255, .16); }

/* burger — currentColor so it inverts with the tint automatically */
.nav-burger { display: none; position: relative; width: 44px; height: 44px; color: var(--nav-link-on); }
.nav-burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 25px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* drop blur under 900px to protect frame-rate over the playing hero video (must beat .over-hero's 18px) */
@media (max-width: 900px) { .nav, .nav.over-hero { --nav-blur: 13px; } }
/* graceful fallback where backdrop-filter is unsupported — go near-opaque, contrast tokens unchanged */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(247, 249, 252, .97); }
  .nav.over-hero { background: rgba(11, 15, 20, .93); }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 890;
  background: rgba(247, 249, 252, .94);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 100px clamp(24px, 7vw, 48px) 48px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease-out), visibility .35s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-menu { background: var(--paper); }
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-links { display: flex; flex-direction: column; gap: 6px; }
.mobile-links a {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 8vw, 2.6rem);
  letter-spacing: -0.02em; padding: 8px 0; color: var(--ink);
  overflow: hidden;
}
.mobile-links a:active { color: var(--accent); }
.mobile-cta { justify-content: center; margin-top: auto; }

/* cursor */
.cursor { display: none; opacity: 0; transition: opacity .3s; }
.cursor.alive { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  html.js:not(.reduced) .cursor { display: block; position: fixed; inset: 0; z-index: 1100; pointer-events: none; }
  html.js:not(.reduced).cursor-on, html.js:not(.reduced).cursor-on a, html.js:not(.reduced).cursor-on button { cursor: none; }
}
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin: -3px 0 0 -3px; will-change: transform;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px; border-radius: 100px;
  border: 1.5px solid rgba(37, 99, 235, .55); margin: -18px 0 0 -18px;
  display: flex; align-items: center; justify-content: center;
  will-change: transform, width, height;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor-label {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; color: #fff;
  opacity: 0; transition: opacity .2s;
}
.cursor-ring.mode-drag, .cursor-ring.mode-view {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: var(--ink); border-color: var(--ink);
}
.cursor-ring.mode-drag .cursor-label, .cursor-ring.mode-view .cursor-label { opacity: 1; }

/* altimeter */
.altimeter {
  display: none;
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 800; height: min(420px, 55vh);
  transition: opacity .4s;
}
.altimeter.dimmed { opacity: .25; }
@media (min-width: 1280px) {
  html.js:not(.reduced) .altimeter { display: block; }
}
.alt-track { position: absolute; top: 0; bottom: 0; right: 0; width: 1px; background: var(--lines); }
.alt-fill { position: absolute; top: 0; width: 1px; height: 0%; background: var(--accent); }
.alt-ticks { position: absolute; inset: 0; }
.alt-tick {
  position: absolute; right: 0; width: 10px; height: 1px; background: var(--muted);
  opacity: .5; cursor: pointer; padding: 6px 0; background-clip: content-box;
  transition: opacity .25s, width .25s;
}
.alt-tick:hover, .alt-tick.active, .alt-tick:focus-visible { opacity: 1; width: 16px; background-color: var(--accent); }
.alt-tick.peak-tick.active { background-color: var(--maple); }
.alt-tick:focus-visible .alt-tick-label, .alt-tick:focus-visible + .alt-tick-label { opacity: 1; }
.alt-tick .alt-tick-label {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transition: opacity .25s; white-space: nowrap;
}
.alt-tick:hover .alt-tick-label { opacity: 1; }
.alt-readout {
  position: absolute; right: -8px; bottom: -34px;
  font-family: var(--font-display); font-variant-numeric: tabular-nums;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted);
  writing-mode: horizontal-tb; white-space: nowrap;
}

/* preloader */
.preloader { color: var(--ink); }
.preloader-logo { width: 72px; height: 72px; display: block; }
.preloader-track { width: min(280px, 60vw); height: 2px; background: var(--lines); border-radius: 2px; overflow: hidden; }
.preloader-line { width: 0%; height: 100%; background: var(--grad); }
.preloader-pct { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }

/* contour corners */
.contour-corner {
  position: absolute; width: min(420px, 34vw); aspect-ratio: 1; pointer-events: none;
  background: url("../assets/svg/contours/corner.svg") no-repeat center / contain;
  opacity: .08;
}
.contour-tr { top: -60px; right: -80px; }
.contour-bl { bottom: -60px; left: -90px; }

/* wave divider (video) */
/* negative margins pull the slim wave into the neighbouring section padding so it
   reads as a tight transition, not a lone ribbon floating in a tall empty gap */
.wave-divider { overflow: hidden; background: var(--paper); line-height: 0; margin: clamp(-120px, -8vw, -70px) 0; position: relative; z-index: 1; }
.wave-video {
  display: block; width: 100%;
  /* clip is the ribbon cropped to its envelope + squashed to a slim 1920×200.
     object-fit:fill shows the WHOLE wave edge-to-edge with no crop at any width;
     the height just sets how thin the ribbon reads (≈80px mobile → ≈200px wide) */
  height: clamp(110px, 15vw, 280px);
  object-fit: fill;
  /* clip is on white — multiply drops the white into the page background, leaving
     only the blue ribbon floating on --paper */
  mix-blend-mode: multiply;
}

/* tick / check lists */
.tick-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.tick-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) scale(.85); border-radius: 1px;
}
.check-list { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.check-list .icon { color: var(--accent); margin-top: 2px; }
.check-list strong { color: var(--ink); font-weight: 600; }

/* icon chips on cards */
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--tint); color: var(--accent);
  margin-bottom: 22px;
}
.icon-chip .icon { width: 24px; height: 24px; }

/* spotlight-hairline cards (shared card chrome) */
[data-spot] { position: relative; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, .75), rgba(14, 165, 233, .25) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  [data-spot-grid]:hover [data-spot]::after { opacity: 1; }
}
@media (hover: none) {
  [data-spot]:active::after { opacity: 1; }
}

/* cta slim bars */
.cta-bar { padding: 34px 0; border-top: 1px solid var(--lines); border-bottom: 1px solid var(--lines); background: var(--surface); }
.cta-bar.band-white { background: var(--tint); border-color: rgba(37, 99, 235, .12); }
.cta-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-bar-text { color: var(--muted); font-size: 16px; }

/* faq */
.faq-item { border-bottom: 1px solid var(--lines); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left;
  font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 20px); font-weight: 600;
  color: var(--ink); transition: color .25s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { color: var(--accent); transition: transform .4s var(--ease-out); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(135deg); }
.faq-a { overflow: hidden; height: auto; }
/* collapsed state is applied by JS (height+visibility) so a failed script load
   never leaves answers permanently hidden — see main.js FAQ block */
.faq-a p { padding: 0 4px 26px; color: var(--muted); max-width: 680px; }

/* footer */
.footer { background: var(--surface); border-top: 1px solid var(--lines); padding: clamp(56px, 6vw, 90px) 0 0; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(32px, 4vw, 64px); }
.footer-logo .logo-mark { width: 40px; height: 27px; }
.footer-blurb { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 340px; }
.footer-tagline { margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--accent); }
.footer-col h3 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; color: var(--ink); font-size: 15px; transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .icon { width: 17px; height: 17px; color: var(--accent); margin-top: 3px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 70px); padding: 26px clamp(20px, 4vw, 40px);
  border-top: 1px solid var(--lines);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--muted); font-size: 13.5px;
}
.footer-ridge { width: 30px; height: 30px; opacity: .55; }

/* sticky mobile cta */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  padding: 10px clamp(16px, 4vw, 24px) calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 249, 252, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--lines);
  transform: translateY(110%);
  transition: transform .4s var(--ease-out);
}
.sticky-cta .btn { width: 100%; justify-content: center; min-height: 48px; }
.sticky-cta.show { transform: translateY(0); }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- 5. SECTIONS ---------- */

/* hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 18% 20%, rgba(37, 99, 235, .075), transparent 65%),
    radial-gradient(50% 45% at 85% 70%, rgba(14, 165, 233, .07), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, .0), rgba(247, 249, 252, .9) 90%);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.hero-blob-a { width: 44vw; height: 44vw; max-width: 620px; max-height: 620px; left: -12vw; top: -14vw; background: rgba(37, 99, 235, .10); animation: blob-a 26s ease-in-out infinite alternate; }
.hero-blob-b { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; right: -8vw; bottom: -10vw; background: rgba(14, 165, 233, .10); animation: blob-b 32s ease-in-out infinite alternate; }
@keyframes blob-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 4vw, 0) scale(1.12); } }
@keyframes blob-b { from { transform: translate3d(0, 0, 0) scale(1.08); } to { transform: translate3d(-5vw, -3vw, 0) scale(.96); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero-peak {
  position: absolute; right: -4vw; bottom: 0; width: min(58vw, 900px); aspect-ratio: 900 / 560;
  pointer-events: none;
}
.hero-stipple { width: 100%; height: 100%; opacity: .5; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hero-inner { position: relative; z-index: 3; max-width: var(--container); width: 100%; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.4vw, 7rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.025em;
  max-width: 12ch;
}
.peak-word { position: relative; display: inline-block; }
.maple-underline { position: absolute; left: 2%; bottom: -0.08em; width: 96%; height: .12em; overflow: visible; }
.maple-underline path { stroke-dasharray: 130; stroke-dashoffset: 130; }
.hero.settled .maple-underline path { animation: draw-underline .7s var(--ease-out) forwards; }
@keyframes draw-underline { to { stroke-dashoffset: 0; } }
.hero-sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; margin-top: 30px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }
.hero-trust { display: flex; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; margin-top: 46px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.icon-check { width: 16px; height: 16px; color: var(--accent); }
.maple-emoji { font-size: 13px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; }
.scroll-cue-line { display: block; width: 1.5px; height: 52px; background: linear-gradient(var(--accent), transparent); overflow: hidden; position: relative; }
.scroll-cue-line::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(var(--paper), transparent);
  animation: cue 2s var(--ease-out) infinite;
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(110%); } }

/* --- cinematic video hero (scroll-scrubbed). Revert: drop .hero-cinematic in HTML + #heroVideo + this block + the heroVideo JS --- */
.hero-cinematic { background: #0B0F14; }
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; background: #0B0F14; z-index: 0;
}
.hero-cinematic .hero-wash {
  z-index: 1;
  background:
    linear-gradient(96deg, rgba(8,11,16,.95) 0%, rgba(8,11,16,.8) 30%, rgba(8,11,16,.34) 58%, rgba(8,11,16,.06) 82%, transparent 100%),
    linear-gradient(0deg, rgba(8,11,16,.9) 0%, rgba(8,11,16,.18) 32%, transparent 58%),
    radial-gradient(130% 92% at 50% -8%, rgba(37,99,235,.18), transparent 62%);
}
.hero-cinematic .hero-blob, .hero-cinematic .hero-peak { display: none; }
/* bottom fade blends the dark hero into the light page below */
.hero-cinematic::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 150px; z-index: 2;
  background: linear-gradient(0deg, var(--paper) 4%, rgba(247,249,252,.6) 46%, transparent);
  pointer-events: none;
}
/* light text over the dark cinematic bg */
.hero-cinematic .hero-inner { z-index: 3; }
.hero-cinematic .hero-title { color: #F4F8FF; }
.hero-cinematic .hero-sub { color: rgba(226,235,248,.74); }
.hero-cinematic .hero-trust li { color: rgba(226,235,248,.8); }
.hero-cinematic .icon-check { color: var(--accent-sky); }
.hero-cinematic .eyebrow {
  color: #C6D9FF; background: rgba(120,160,255,.1); border-color: rgba(150,180,255,.26);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-cinematic .btn-ghost {
  color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.hero-cinematic .btn-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.14); box-shadow: none; }
.hero-cinematic .scroll-cue-line { background: linear-gradient(rgba(255,255,255,.75), transparent); }
.hero-cinematic .scroll-cue-line::after { background: linear-gradient(rgba(8,11,16,.9), transparent); }

/* marquee */
.marquee {
  border-top: 1px solid var(--lines); border-bottom: 1px solid var(--lines);
  background: var(--surface);
  overflow: hidden; padding: 20px 0; position: relative; z-index: 3;
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(15px, 1.5vw, 18px); letter-spacing: .04em;
  color: var(--ink); white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--accent); padding: 0 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* results */
.section-results { overflow: clip; }
.results-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.brand-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: #0A0E1A;
  border: 1px solid rgba(37, 99, 235, .28); border-radius: var(--radius);
  padding: clamp(30px, 3vw, 46px);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px;
  box-shadow: 0 24px 60px rgba(11, 27, 51, .18);
  will-change: transform;
}
/* cinematic ops-centre photo behind a dark scrim so the wordmark stays legible */
.brand-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 14, 26, .32) 0%, rgba(10, 14, 26, .72) 60%, rgba(10, 14, 26, .93) 100%),
    url("../assets/img/brand-card-bg.jpg") left center / cover no-repeat;
}
.brand-card-name { color: #fff; font-family: var(--font-display); font-size: clamp(2.4rem, 3.2vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; }
.brand-card-type { color: #7FC4FF; font-size: 15px; font-weight: 600; margin-top: 6px; letter-spacing: .01em; }
.brand-card-def { color: rgba(233, 240, 250, .82); font-size: clamp(16px, 1.4vw, 18px); margin-top: 20px; font-style: italic; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.stat-card {
  background: var(--surface); border: 1px solid var(--lines); border-radius: var(--radius);
  padding: clamp(20px, 2.2vw, 32px);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

/* flip stat cards — rise + rotate on hover to reveal the back */
.stat-card.flip {
  position: relative; min-height: 236px;
  background: transparent; border: 0; padding: 0;
  perspective: 1500px;
  transition: none;
}
.stat-card.flip:hover { transform: none; box-shadow: none; }
/* elevation shadow sits on the (non-rotating) card and deepens as it lifts —
   this is what makes the card read as rising off the page */
.stat-card.flip::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(11, 27, 51, .05);
  transition: box-shadow .55s var(--ease-out);
}
.stat-card.flip:hover::before,
.stat-card.flip:focus-within::before,
.stat-card.flip.flipped::before { box-shadow: 0 32px 56px rgba(37, 99, 235, .24); }
.flip-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .62s cubic-bezier(.42, .8, .28, 1.06);
  will-change: transform;
}
/* CSS flip drives the no-JS / reduced-motion path; GSAP takes over when it's on */
html:not(.gsap-flip) .stat-card.flip:hover .flip-inner,
html:not(.gsap-flip) .stat-card.flip:focus-within .flip-inner,
html:not(.gsap-flip) .stat-card.flip.flipped .flip-inner { transform: translateY(-18px) scale(1.04) rotateY(180deg); }
html.gsap-flip .flip-inner { transition: none; } /* GSAP owns the tween — no CSS transition fighting it */
.flip-face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: var(--radius);
  padding: clamp(20px, 2vw, 22px);
  display: flex; flex-direction: column;
}
.flip-front { background: var(--surface); border: 1px solid var(--lines); }
/* size the number so the widest value ("1,200+") never clips in the tile */
.flip-front .stat-num { font-size: clamp(2.1rem, 3.1vw, 2.9rem); letter-spacing: -0.035em; }
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, var(--accent-deep), var(--accent-sky));
  color: #fff; justify-content: center; gap: 10px;
  overflow: hidden;
}
.flip-back p { font-size: clamp(14px, 1.15vw, 15.5px); line-height: 1.5; font-weight: 500; }
.flip-back .flip-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  opacity: .72; margin: 0;
}
/* reduced motion / no 3D: cross-fade the back in, no spin */
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
  .stat-card.flip:hover .flip-inner, .stat-card.flip:focus-within .flip-inner, .stat-card.flip.flipped .flip-inner { transform: none; }
  .flip-face { -webkit-backface-visibility: visible; backface-visibility: visible; }
  .flip-back { transform: none; opacity: 0; transition: opacity .25s; }
  .stat-card.flip:hover .flip-back, .stat-card.flip:focus-within .flip-back, .stat-card.flip.flipped .flip-back { opacity: 1; }
}
.stat-num {
  font-family: var(--font-display); font-variant-numeric: tabular-nums;
  font-size: clamp(2.4rem, 3.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { color: var(--muted); font-size: 13.5px; margin-top: 12px; line-height: 1.5; }
.incentive-chips { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.incentive-chips .chip {
  gap: 10px;
  padding: 14px 28px; font-size: clamp(15px, 1.3vw, 16.5px); font-weight: 600; color: var(--ink);
  background: linear-gradient(180deg, #fff, var(--tint));
  border-color: rgba(37, 99, 235, .18);
  box-shadow: 0 6px 18px rgba(37, 99, 235, .07);
}
.incentive-chips .chip .icon { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* who we help */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.help-card {
  background: var(--surface); border: 1px solid var(--lines); border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 38px);
  box-shadow: 0 6px 24px rgba(11, 27, 51, .04);
  transition: box-shadow .35s var(--ease-out);
  display: flex; flex-direction: column;
  will-change: transform;
}
.help-card:hover { box-shadow: var(--shadow-lift); }
.help-card h3 { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.help-card > p { color: var(--muted); font-size: 15px; margin-top: 14px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 26px;
  color: var(--accent); font-weight: 600; font-size: 14.5px;
}
.card-link .icon { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.card-link:hover .icon { transform: translateX(3px); }

/* services — THE set piece */
.services { background: var(--tint); border-top: 1px solid rgba(37, 99, 235, .1); border-bottom: 1px solid rgba(37, 99, 235, .1); position: relative; }
.services-pin { padding: var(--section-pad) 0; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) {
  .services-pin { min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 12px) 0 24px; }
  /* keep the head compact so the tallest card still fits a short/zoomed viewport */
  .services-head { margin-bottom: clamp(16px, 2vw, 30px); }
  .services-head .section-title { font-size: clamp(1.8rem, 2.9vw, 2.9rem); }
}
.services-head { width: 100%; margin-bottom: clamp(36px, 4vw, 56px); }
.services-rail { display: flex; gap: clamp(18px, 2vw, 30px); padding: 0 clamp(20px, 4vw, 40px); }
.service-panel {
  position: relative; flex: none;
  width: min(560px, 78vw);
  background: linear-gradient(158deg, #ffffff 0%, var(--paper) 54%, var(--tint) 100%);
  border: 1px solid rgba(37, 99, 235, .12); border-radius: 24px;
  padding: clamp(30px, 3.4vw, 54px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 22px 50px rgba(11, 27, 51, .10);
  overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(300px, 42vh, 430px);
}
/* soft brand glow in the upper-right gives the panel depth instead of a hollow feel */
.service-panel::after {
  content: ""; position: absolute; top: -28%; right: -14%; width: 62%; height: 74%; z-index: 0;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .13), transparent 72%);
  pointer-events: none;
}
@media (min-width: 1024px) { .service-panel { padding: clamp(26px, 2.6vw, 42px); } }
.service-index {
  position: absolute; top: -30px; right: 6px; z-index: 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(9rem, 14vw, 13rem); line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, rgba(37, 99, 235, .17), rgba(37, 99, 235, .03));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1px rgba(37, 99, 235, .14);
  pointer-events: none; user-select: none;
}
.service-body { position: relative; z-index: 1; }
.service-no {
  display: inline-flex; align-items: center;
  color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .12em;
  padding: 5px 13px; margin-bottom: 16px; border-radius: 100px;
  background: rgba(37, 99, 235, .09); border: 1px solid rgba(37, 99, 235, .16);
}
.service-body h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.015em; }
.service-body > p { color: var(--muted); font-size: clamp(15px, 1.3vw, 16.5px); margin-top: 13px; max-width: 46ch; }
.service-outcome {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 10px 18px; border-radius: 100px; background: var(--tint);
  color: var(--accent); font-weight: 600; font-size: 14px;
}
.service-outcome .icon { width: 17px; height: 17px; }
.service-body { display: flex; flex-direction: column; align-items: flex-start; }
.service-panel-cta { background: var(--ink); color: #fff; border-color: var(--ink); transition: border-radius .5s var(--ease-out); }
.service-panel-cta .eyebrow { background: rgba(255, 255, 255, .1); color: #9EC2FF; border-color: rgba(255, 255, 255, .14); }
.service-panel-cta h3 { color: #fff; }
.service-panel-cta p { color: rgba(255, 255, 255, .65); }
.service-panel-cta .btn { margin-top: 28px; }
/* full-width finale — the CTA stretches edge-to-edge and its content centers */
.service-panel-cta.expanded { align-items: center; border-radius: 6px; }
.service-panel-cta.expanded .service-body {
  max-width: 720px; margin-inline: auto; align-items: center; text-align: center;
  transition: max-width .4s var(--ease-out);
}

/* why mokhu */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.why-sticky { position: sticky; top: calc(var(--nav-h) + 48px); }
.why-answers { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px); }
.why-card {
  background: var(--paper); border: 1px solid var(--lines); border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 38px);
}
.why-no { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent); letter-spacing: .1em; }
.why-card h3 { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; margin-top: 10px; }
.why-card p:last-child { color: var(--muted); font-size: 15.5px; margin-top: 12px; }

/* buy box */
.buybox-panel {
  position: relative; overflow: hidden;
  background: var(--tint); border: 1px solid rgba(37, 99, 235, .12); border-radius: 28px;
  padding: clamp(32px, 4.5vw, 70px);
}
.buybox-orbits { position: absolute; inset: -20% -10%; opacity: .8; pointer-events: none; }
.buybox-orbits svg { width: 100%; height: 100%; animation: orbit-spin 60s linear infinite; transform-origin: center; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.buybox-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.buybox-dial { position: relative; width: min(320px, 70vw); margin: 0 auto; }
.dial { transform: rotate(-90deg); }
.dial-track, .dial-fill { fill: none; stroke-width: 10; stroke-linecap: round; }
.dial-track { stroke: rgba(37, 99, 235, .12); }
.dial-fill { stroke: url(#dialGrad); stroke: var(--accent); }
.dial-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial-num {
  font-family: var(--font-display); font-variant-numeric: tabular-nums;
  font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.dial-label { color: var(--muted); font-size: 14px; font-weight: 500; margin-top: 8px; }
.categories { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.categories-label { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
/* Real partner-brand logo wall. Both axes are capped (not just height) because the marks
   run from a thin 15:1 wordmark to a 0.8:1 square, so a shared height would blow the wide
   ones out and blur the small ones; capping both fits each into the same visual box. Shown
   in full colour, NOT greyed: the usual grey-until-hover treatment assumes flat wordmarks,
   and it erases MiraCell (white wordmark set inside its artwork) and washes out the
   sunflower, raspberry and rainbow marks. Ten logos wrap to a tidy two-row wall. */
/* Ten logos on a fixed 5-column grid so they read as a deliberate wall (a clean 5 + 5)
   rather than the top-heavy split flex-wrap gives when the compact marks pack together.
   Both 5 and 2 divide 10 evenly, so no row is ever left with a single stranded logo. */
.partner-logos {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(22px, 2.8vw, 36px) clamp(14px, 1.8vw, 28px);
  place-items: center;
  margin-bottom: clamp(26px, 3vw, 38px);
}
@media (max-width: 720px) { .partner-logos { grid-template-columns: repeat(2, 1fr); } }
.partner-logo {
  display: block; width: auto; height: auto;
  /* generous height so the stacked marks (MiraCell's wordmark sits inside its leaf,
     the raspberry, the sunflower) read clearly; wide wordmarks are width-capped and stay
     well under it, so the taller cap only lifts the ones that need it */
  max-height: clamp(38px, 4.4vw, 58px); max-width: clamp(90px, 10.5vw, 132px);
  object-fit: contain;
  opacity: .85;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.partner-logo:hover { opacity: 1; transform: translateY(-2px); }
.categories-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* compare */
.compare { overflow: clip; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 36px); }
.compare-col { border-radius: var(--radius); padding: clamp(26px, 3vw, 44px); border: 1px solid; }
.compare-diy { background: #FDF6F7; border-color: rgba(225, 29, 72, .12); }
.compare-mokhu { background: var(--tint); border-color: rgba(37, 99, 235, .14); }
.compare-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.compare-head h3 { font-family: var(--font-display); font-size: clamp(20px, 2vw, 25px); font-weight: 700; }
.compare-hours { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 700; display: inline-flex; align-items: baseline; gap: 8px; }
.hours-num { font-size: clamp(2.2rem, 3vw, 3.1rem); letter-spacing: -0.02em; line-height: 1; }
.hours-unit { font-size: clamp(18px, 1.7vw, 23px); color: var(--muted); font-weight: 600; letter-spacing: .005em; }
.compare-hours-red .hours-num { color: #BE123C; }
.compare-hours-blue .hours-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.compare-list { display: flex; flex-direction: column; gap: 16px; }
.compare-list li { color: var(--muted); font-size: 15px; padding-left: 22px; position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.compare-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; }
.compare-diy .compare-list li::before { background: rgba(225, 29, 72, .35); }
.compare-mokhu .compare-list li::before { background: rgba(37, 99, 235, .45); }
.compare-list strong { color: var(--ink); font-weight: 600; }
.compare-list .cmp-txt { flex: 1; }
.price-tag {
  flex: none; margin-top: 1px; align-self: flex-start;
  font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  padding: 5px 11px; border-radius: 100px;
  font-variant-numeric: tabular-nums;
}
.compare-diy .price-tag { background: rgba(225, 29, 72, .1); color: #BE123C; }
.price-tag-free { background: rgba(37, 99, 235, .12); color: var(--accent); }
.compare-note { margin-top: clamp(22px, 3vw, 34px); max-width: 940px; }

/* testimonials */
.testimonials { overflow: clip; }
.rail-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.rail-wrap::-webkit-scrollbar { display: none; }
.rail-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rail-wrap.no-drag { cursor: default; }            /* every card already fits */
/* while dragging, snap would fight the pointer — turn it off until release */
.rail-wrap.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail-wrap.dragging .quote-card { transition: none; }
.rail {
  display: flex; gap: clamp(18px, 2vw, 28px);
  padding: 10px max(calc((100vw - var(--container)) / 2 + clamp(20px, 4vw, 40px)), 20px) 30px;
  width: max-content;
}
.quote-card {
  flex: none; width: min(520px, 82vw); scroll-snap-align: center;
  background: var(--surface); border: 1px solid var(--lines); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease-out);
  user-select: none;
}
.quote-card blockquote { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; }
.quote-card figcaption { margin-top: 26px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
.quote-stats { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--lines); color: var(--accent); font-weight: 600; font-size: 14px; }
.rail-controls { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.6vw, 20px); padding: 6px 0 0; }
.rail-controls[hidden] { display: none; }
.rail-arrow {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--lines); border-radius: 50%; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-soft); cursor: pointer;
  transition: transform .25s var(--ease-out), border-color .25s, color .25s, opacity .25s;
}
.rail-arrow .icon { width: 17px; height: 17px; }
.rail-prev .icon { transform: rotate(180deg); }
.rail-arrow:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.rail-arrow:disabled { opacity: .3; cursor: default; box-shadow: none; }
.rail-dots { display: flex; gap: 8px; justify-content: center; }
.rail-dot {
  position: relative; flex: none; width: 7px; height: 7px; padding: 0;
  border: 0; border-radius: 50%; background: var(--lines); cursor: pointer;
  transition: background .3s, transform .3s;
}
/* invisible 25px hit target so a 7px dot is still comfortably clickable/tappable */
.rail-dot::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; }
.rail-dot:hover { background: var(--accent); }
.rail-dot.active { background: var(--accent); transform: scale(1.25); }
.cta-after-rail { margin-top: clamp(30px, 4vw, 48px); justify-content: center; }

/* playbook */
.playbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.phase-card {
  background: var(--paper); border: 1px solid var(--lines); border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 38px);
}
.phase-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--tint); padding: 6px 12px; border-radius: 100px; }
.phase-card h3 { font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 23px); font-weight: 600; margin-top: 16px; }

/* next steps */
.steps-track { position: relative; }
.steps-line { position: absolute; top: 7px; left: 0; width: 100%; height: 4px; opacity: .9; }
.steps-line line { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
html:not(.js) .steps-line line, html.reduced .steps-line line, html.no-motion .steps-line line { stroke-dashoffset: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.step { position: relative; padding-top: 34px; }
.step-dot {
  position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 2.5px solid var(--accent);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, .25);
}
.step.lit .step-dot { animation: dot-glow .9s var(--ease-out) forwards; }
@keyframes dot-glow { 50% { box-shadow: 0 0 0 10px rgba(37, 99, 235, .15); } 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, .08); background: var(--accent); } }
.step-no {
  font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px rgba(37, 99, 235, .4);
}
.step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-top: 12px; }
.step p:last-child { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* about */
.about { overflow: clip; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.value-card {
  background: var(--surface); border: 1px solid var(--lines); border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 34px);
}
.value-card h3 { font-family: var(--font-display); font-size: 18.5px; font-weight: 600; }
.value-card p:last-child { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.value-card .icon-chip { width: 46px; height: 46px; margin-bottom: 18px; }

/* final cta */
.final-cta { padding-bottom: var(--section-pad); }
.final-panel {
  background: linear-gradient(160deg, var(--tint), var(--surface) 75%);
  border: 1px solid rgba(37, 99, 235, .16); border-radius: 32px;
  box-shadow: var(--shadow-soft);
  padding: clamp(48px, 7vw, 110px) clamp(28px, 5vw, 90px);
  text-align: center;
}
.final-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.025em;
  max-width: 18ch; margin: 0 auto;
  text-wrap: balance;
}
.final-sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 18.5px); max-width: 560px; margin: 22px auto 0; }
.final-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* ---------- subpage shared ---------- */
.page-hero { background: var(--tint); border-bottom: 1px solid rgba(37, 99, 235, .1); padding: calc(var(--nav-h) + clamp(60px, 8vw, 110px)) 0 clamp(50px, 6vw, 90px); }
.page-hero .section-sub { max-width: 620px; }

/* case studies — each panel follows the source document: head, results, overview,
   challenge vs what-we-did, outcome. */
.case-list { display: flex; flex-direction: column; }
.case-panel { padding: clamp(56px, 7vw, 100px) 0; border-bottom: 1px solid var(--lines); }
.case-panel:nth-child(even) { background: var(--surface); }
/* head: copy on the left (capped at the site's usual 760px reading width), the brand's
   category motif filling the space to its right */
.case-head { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: clamp(24px, 3vw, 52px); align-items: center; }
.case-head-copy { min-width: 0; }
.case-cat { color: var(--accent); font-weight: 600; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; }

/* Category line art, one family across the three cases: same viewBox, same stroke
   language, same accent. Decorative only, so aria-hidden and never load-bearing.
   With no JS or reduced motion it simply renders finished (no dash offsets are set). */
.case-motif { min-width: 0; color: var(--accent); }
.motif { display: block; width: 100%; height: auto; max-height: 210px; overflow: visible; }
.m-draw { stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .42; }
.m-axis { stroke: currentColor; stroke-width: 1; opacity: .14; }
.m-arc { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: .26; }
.m-grid { stroke: currentColor; stroke-width: 1; opacity: .12; }
.m-dot { fill: currentColor; opacity: .5; }
.m-ripple { stroke: currentColor; stroke-width: 1.6; opacity: .26; }

/* the document's pull quote; the accent rule carries it without needing quotation marks */
.case-quote {
  margin-top: clamp(18px, 2vw, 24px); padding-left: clamp(16px, 1.6vw, 22px);
  border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.45; color: var(--ink);
}
.case-overview { max-width: 760px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }

.case-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(34px, 4vw, 52px); }
.case-h3 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 12px; border-bottom: 1px solid var(--lines);
}
.case-points { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.case-points li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.case-points li strong { color: var(--ink); font-weight: 600; }
/* problem side: a plain dot. solution side: a drawn check in the accent. */
.case-points li::before {
  content: ''; position: absolute; left: 4px; top: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--lines);
  border: 1px solid var(--muted); opacity: .55;
}
.case-points-did li::before {
  left: 5px; top: 4px; width: 6px; height: 11px;
  border: solid var(--accent); border-width: 0 2px 2px 0; border-radius: 1px;
  background: none; opacity: 1; transform: rotate(45deg);
}
.case-outcome { margin-top: clamp(34px, 4vw, 52px); max-width: 860px; }
.case-outcome p { margin-top: 18px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
/* Partner logo. The marks differ wildly in aspect: a stacked mark at 1.7:1 (wordmark set
   INSIDE the artwork) next to wordmarks at 3.6:1 and 5.9:1. Cap both axes and let each sit
   at its natural size inside that box. A fixed height would upscale the smallest source
   mark into a blur; the height cap is generous so the stacked mark's wordmark stays
   readable, and only that mark is tall enough to reach it. */
.case-logo {
  display: block; width: auto; height: auto;
  max-height: clamp(60px, 6.5vw, 92px); max-width: clamp(130px, 13vw, 168px);
  object-fit: contain; object-position: left center;
  margin-bottom: clamp(16px, 1.8vw, 22px);
}
.case-panel h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-top: 14px; }
.case-panel .case-copy p { color: var(--muted); margin-top: 18px; font-size: 16px; }
/* The document's RESULTS row. Columns are declared per tile count rather than left to
   auto-fit: auto-fit packs by available width and cannot know the count, so a 4-tile case
   dropped to 3 columns on narrower screens and stranded the 4th alone on its own row.
   Below the breakpoint everything halves instead (4 -> 2+2), and a 3-tile case lets its
   last tile run full width so it never sits alone in a half-empty row. */
.case-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  margin-top: clamp(30px, 3.6vw, 44px); margin-bottom: clamp(30px, 3.6vw, 44px);
}
.case-stats[data-count="3"] > :last-child { grid-column: 1 / -1; }
@media (min-width: 620px) {
  .case-stats[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
  .case-stats[data-count="3"] > :last-child { grid-column: auto; }
}
@media (min-width: 820px) {
  .case-stats[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
}
.case-stat { background: var(--surface); border: 1px solid var(--lines); border-radius: var(--radius-sm); padding: 20px 24px; box-shadow: 0 6px 24px rgba(11,27,51,.04); }
.case-panel:nth-child(even) .case-stat { background: var(--paper); }
.case-stat .stat-num { font-size: clamp(1.7rem, 2.3vw, 2.3rem); }
.case-stat .stat-label { margin-top: 6px; }

/* contact */
/* vertical padding only (longhand): this div is also .container, and a `padding` shorthand
   here would wipe the container's left/right padding, letting the panel hit the screen edge */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(50px, 6vw, 90px); padding-bottom: var(--section-pad); }
.info-panel { display: flex; flex-direction: column; gap: 8px; }
.info-panel .footer-col { display: contents; }
.info-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 15.5px; }
.info-item .icon { color: var(--accent); margin-top: 3px; }
.info-reply { color: var(--muted); font-size: 14px; margin-top: 10px; font-style: italic; }
.next-box {
  margin-top: 30px; background: var(--tint); border: 1px solid rgba(37, 99, 235, .14);
  border-radius: var(--radius); padding: 26px;
}
.next-box h2 { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.next-box p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.next-box .tick-list { margin-top: 14px; }
.contact-form {
  background: var(--surface); border: 1px solid var(--lines); border-radius: 24px;
  padding: clamp(26px, 3vw, 44px); box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field .hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--lines); border-radius: 12px;
  padding: 13px 16px; min-height: 48px;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.form-field.error input, .form-field.error select { border-color: #DC2626; }
.field-error { color: #DC2626; font-size: 13px; display: none; }
.form-field.error .field-error { display: block; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.form-success .icon-chip { margin: 0 auto 20px; }
.form-success h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.form-success p { color: var(--muted); margin-top: 12px; }
.form-success .btn { margin-top: 24px; }
.form-error-banner {
  display: none; background: #FDF2F4; border: 1px solid rgba(220, 38, 38, .25); color: #9F1239;
  border-radius: 12px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 18px;
}
.form-error-banner.show { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* legal / 404 */
.legal-body { max-width: 760px; padding-bottom: var(--section-pad); }
.legal-body h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 15.5px; }
.legal-body ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.nf-hero { min-height: 100svh; display: flex; align-items: center; text-align: center; position: relative; overflow: clip; }
.nf-hero .container { position: relative; z-index: 2; }
.nf-art { position: absolute; inset: auto 0 0; opacity: .35; pointer-events: none; }

/* ---------- 6. MOTION STATES (JS-applied only) ---------- */
html.js .line-mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
html.js .line-mask .word { display: inline-block; will-change: transform; }
[data-reveal], [data-reveal-left], [data-reveal-right] { will-change: transform, opacity; }

/* ---------- 7. REDUCED MOTION — always last, always wins ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee-track { animation: none; transform: none; }
  .hero-blob { animation: none; }
  .scroll-cue { display: none; }
  .steps-line line { stroke-dashoffset: 0 !important; }
  .preloader { display: none !important; }
  .altimeter { display: none !important; }
  .cursor { display: none !important; }
  .hero-canvas { display: none; }
  .hero-stipple { opacity: .5 !important; }
}
html.reduced .marquee-track { animation: none; }
html.reduced .hero-blob { animation: none; }
html.reduced .preloader { display: none !important; }
/* CSS backstop: if the motion stack fails to load, never trap users behind the overlay */
html.no-motion .preloader { display: none !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1279px) {
  .altimeter { display: none !important; }
}
@media (max-width: 1023px) {
  .nav-links { display: none; }
  /* burger only when JS can open the menu — otherwise it'd be an inert control */
  html.js .nav-burger { display: block; }
  .btn-nav { padding: 10px 18px; font-size: 13.5px; }
  .results-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .why-sticky { position: static; margin-bottom: 34px; }
  .buybox-grid { grid-template-columns: 1fr; }
  .buybox-dial { order: -1; width: min(260px, 62vw); margin-bottom: 10px; }
  .playbook-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .steps-line { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .case-cols { grid-template-columns: 1fr; }
  /* head stacks: copy first, then the category motif as a slim band beneath it. It still
     draws on scroll (the JS targets the SVG regardless of layout), just capped shorter so
     it reads as an accent, not a hero. */
  .case-head { grid-template-columns: 1fr; }
  .case-motif { margin-top: clamp(16px, 5vw, 26px); }
  .case-motif .motif { max-height: clamp(72px, 22vw, 104px); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
  .contact-form-wrap { order: 1; }
  /* services: vertical stack — no pin, no horizontal scroll */
  .services-rail { flex-direction: column; align-items: stretch; }
  .service-panel { width: 100%; min-height: 0; }
  .service-index { font-size: 8rem; top: -22px; }
  .hero-peak { right: -16vw; width: 88vw; opacity: .55; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-bar-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding-bottom: 120px; }
  .hero-trust { flex-direction: column; gap: 12px; }
  .final-ctas .btn { width: 100%; justify-content: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px; }
  .stat-num { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
