/* ==========================================================================
   Stotte.ai — style.css
   Plain CSS, no build step. Brand is driven entirely by the tokens in :root.
   Structure:
     1. Font + tokens
     2. Base / reset
     3. Utilities (wrap, type, buttons, links)
     4. Nav + mobile menu
     5. Sections (in page order)
     6. Privacy / 404 pages
     7. Reduced motion + no-animation fallbacks
   ========================================================================== */

/* ---------- 1. Font + tokens ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/schibsted-grotesk-var.woff2") format("woff2-variations"),
       url("../assets/fonts/schibsted-grotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback so the swap causes no visible layout shift */
@font-face {
  font-family: "SG Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 99%;
  ascent-override: 98%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  /* Brand colours */
  --ink: #0a0a0a;          /* near-black: dark sections */
  --ink-2: #141416;        /* cards on dark */
  --ink-3: #1d1d20;        /* raised elements on dark */
  --paper: #f5f5f7;        /* off-white: light sections */
  --paper-2: #ffffff;      /* cards on light */
  --accent: #ff5b1f;       /* Signal orange: the one accent */
  --accent-deep: #c2410c;  /* accent for TEXT on light backgrounds (WCAG AA) */
  --accent-soft: rgba(255, 91, 31, 0.14);

  /* Neutrals (contrast-checked: AA on their own background) */
  --mute-on-dark: #9a9aa0;
  --mute-on-light: #6b6b70;
  --line-on-dark: rgba(255, 255, 255, 0.1);
  --line-on-light: rgba(10, 10, 10, 0.1);

  /* Type */
  --font: "Schibsted Grotesk", "SG Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-hero: clamp(2.6rem, 10.2vw, 9rem);
  --t-h2: clamp(2.3rem, 6vw, 5.75rem);
  --t-h2-md: clamp(2.1rem, 4.4vw, 4.25rem);
  --t-lede: clamp(1.125rem, 0.95rem + 0.55vw, 1.375rem);
  --t-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);   /* 17 → 19px */
  --t-small: 0.875rem;
  --track-tight: -0.045em;

  /* Space + shape */
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --section-y: clamp(104px, 13vw, 200px);
  --r-lg: 32px;
  --r-md: 24px;
  --r-sm: 14px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* expo-like */
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 68px;
}

/* Theme scopes: every section declares data-theme="dark|light" */
[data-theme="dark"] {
  --bg: var(--ink);
  --fg: var(--paper);
  --mute: var(--mute-on-dark);
  --line: var(--line-on-dark);
  --card: var(--ink-2);
  --acc-text: var(--accent);
}
[data-theme="light"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --mute: var(--mute-on-light);
  --line: var(--line-on-light);
  --card: var(--paper-2);
  --acc-text: var(--accent-deep);
}

/* ---------- 2. Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.5;
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color 0.7s var(--ease-inout);
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font-weight: 600;
  transform: translateY(-160%); transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Lenis (smooth scroll) required CSS */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 3. Utilities ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.section { position: relative; background: var(--bg); color: var(--fg); }
/* With JS motion on, the BODY carries the background so dark ↔ light can cross-fade */
html.themed .section, html.themed .footer { background: transparent; }

.i { width: 1.1em; height: 1.1em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-small); font-weight: 600; letter-spacing: 0.01em;
  color: var(--acc-text);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 91, 31, 0.6);
  animation: dotPulse 2.4s var(--ease-out) infinite;
}
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 91, 31, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 91, 31, 0); } }

.h2 {
  font-size: var(--t-h2); font-weight: 600; line-height: 0.98;
  letter-spacing: var(--track-tight); text-wrap: balance;
}
.h2--md { font-size: var(--t-h2-md); line-height: 1.02; }
.muted { color: var(--mute); }
.accent { color: var(--acc-text); }
.lede { font-size: var(--t-lede); line-height: 1.45; color: var(--mute); max-width: 40ch; margin-top: 24px; }
.lede a, .contact__intro a, .form__small a { color: var(--fg); }
.meta { font-size: var(--t-small); color: var(--mute); }

.sec-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 980px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lede { margin-inline: auto; }

/* Word-reveal wrappers created by main.js */
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.rw > span { display: inline-block; will-change: transform; }

/* Links with a drawn underline */
.ulink {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 100% 100%;
  transition: background-size 0.45s var(--ease-out);
  padding-bottom: 2px;
}
.ulink:hover { background-size: 100% 1px; background-position: 0 100%; }
p .ulink, .footer .ulink { background-size: 100% 1px; background-position: 0 100%; }
p .ulink:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* Buttons */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
  white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform 0.4s var(--ease-out), background-color 0.3s, color 0.3s, box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.btn::before { /* liquid fill on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--paper); transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); box-shadow: 0 10px 40px -10px rgba(255, 91, 31, 0.55); }
.btn .i { transition: transform 0.45s var(--ease-out); }
.btn:hover .i { transform: translate(3px, -3px); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.9375rem; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }
.btn--xl { min-height: 68px; padding: 0 34px; font-size: 1.1875rem; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--dark::before { background: var(--accent); }
.btn--dark:hover { color: var(--ink); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--light::before { background: var(--accent); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink); }

/* ---------- 4. Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 12px var(--gutter) 0;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  height: 56px; padding: 0 10px 0 22px;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(16, 16, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: height 0.5s var(--ease-out), max-width 0.6s var(--ease-out), background-color 0.5s, color 0.5s, border-color 0.5s;
}
.nav.is-scrolled .nav__inner { height: 48px; max-width: 1100px; }
.nav[data-nav="light"] .nav__inner {
  color: var(--ink); background: rgba(245, 245, 247, 0.72); border-color: rgba(10, 10, 10, 0.08);
}
.nav.menu-open .nav__inner { color: var(--paper); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 0.9375rem; font-weight: 500; }
.nav__links a { opacity: 0.78; transition: opacity 0.3s; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__cta { flex: none; }
.nav__progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.nav__progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.logo { display: inline-flex; align-items: baseline; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.logo__tld { color: var(--accent); font-weight: 500; letter-spacing: -0.02em; }
.nav[data-nav="light"] .logo__tld { color: var(--accent-deep); }
.logo--lg { font-size: clamp(2.4rem, 5vw, 3.5rem); }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease-out); }
.nav__toggle span:first-child { transform: translateY(-4px); }
.nav__toggle span:last-child { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 48px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(2.2rem, 10vw, 3.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.12;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.5s, transform 0.7s var(--ease-out);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: 0.12s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.17s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.22s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.27s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.32s; }
.menu__n { font-size: 0.875rem; font-weight: 600; letter-spacing: 0; color: var(--accent); transform: translateY(-1.1em); }
.menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; color: var(--mute-on-dark); }
.menu__foot .btn { color: var(--ink); }

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
}
@media (max-width: 420px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
}

/* ---------- 5. Sections ---------- */

/* ===== 5.1 Hero ===== */
.hero {
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 96px)) 0 clamp(32px, 5vh, 56px);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0; margin-inline: auto;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  display: flex; justify-content: space-between; pointer-events: none;
}
.hero__grid i { width: 1px; background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 75%, transparent); }
.hero__inner { position: relative; }
.hero__title {
  font-size: var(--t-hero); font-weight: 600; line-height: 0.92;
  letter-spacing: -0.052em;
  margin-left: -0.04em;
}
.line { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.line__in { display: block; will-change: transform; }

/* Pipeline (chaos → order) */
.pipe {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: clamp(40px, 7vh, 88px) 0 clamp(36px, 6vh, 72px);
  padding: 8px 0;
}
.pipe__line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.pipe__draw { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 91, 31, 0), var(--accent) 30%, var(--accent) 70%, rgba(255, 91, 31, 0)); opacity: 0.55; transform-origin: 0 50%; }
.pipe__pulse { position: absolute; inset: 0; transform: translateX(-100%); }
.pipe__pulse::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 120px; height: 3px; margin-top: -1.5px;
  background: linear-gradient(90deg, transparent, var(--accent)); border-radius: 3px;
  box-shadow: 0 0 18px 2px rgba(255, 91, 31, 0.6);
}
.pipe.is-flowing .pipe__pulse { animation: pulseRun 3.6s var(--ease-inout) infinite; }
@keyframes pulseRun { 0% { transform: translateX(-10%); } 100% { transform: translateX(105%); } }

.chip {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 10px 10px 14px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9375rem; font-weight: 500; color: #d6d6db; white-space: nowrap;
  will-change: transform;
  transition: border-color 0.5s, color 0.5s;
}
.chip > .i { color: var(--mute-on-dark); width: 17px; height: 17px; }
.chip__st {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease-out);
}
.chip__st svg { width: 14px; height: 14px; }
.chip__st .st-alert { display: none; }
.chip.is-done { border-color: rgba(255, 91, 31, 0.35); color: var(--paper); }
/* Before the snap (motion only): grey warning badges */
.anim .chip:not(.is-done) .chip__st { background: rgba(255, 255, 255, 0.08); color: #c9c9ce; }
.anim .chip:not(.is-done) .st-alert { display: block; }
.anim .chip:not(.is-done) .st-ok { display: none; }
.anim .chip.is-done .chip__st { animation: pop 0.5s var(--ease-out); }
@keyframes pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

.hero__foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero__sub { font-size: var(--t-lede); line-height: 1.45; color: #c4c4c9; max-width: 38ch; }
.hero__sub strong { color: var(--paper); font-weight: 600; }
.hero__actions { display: flex; align-items: center; justify-content: flex-end; gap: 28px; flex-wrap: wrap; }
.hero__calc { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--mute-on-dark); transition: color 0.3s; }
.hero__calc:hover { color: var(--paper); }
.trust {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  margin-top: clamp(36px, 6vh, 64px); padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.9375rem; color: var(--mute);
}
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--accent); }

/* Pre-JS hidden state for the hero lines, only when motion is allowed */
.anim .hero__title .line__in { transform: translateY(110%); }
.anim .hero__foot, .anim .trust, .anim .pipe { opacity: 0; }

@media (max-width: 1179px) {
  .chip { font-size: 0.875rem; padding: 9px 9px 9px 12px; }
  .chip:nth-of-type(n+5) { display: none; }
}
@media (max-width: 759px) {
  .pipe { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; }
  .pipe__line { left: 26px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .pipe__draw { transform-origin: 50% 0; background: linear-gradient(180deg, rgba(255, 91, 31, 0), var(--accent) 30%, var(--accent) 70%, rgba(255, 91, 31, 0)); }
  .pipe__pulse { transform: translateY(-100%); }
  .pipe__pulse::after { right: auto; top: auto; bottom: 0; left: 50%; width: 3px; height: 80px; margin: 0 0 0 -1.5px; background: linear-gradient(180deg, transparent, var(--accent)); }
  .pipe.is-flowing .pipe__pulse { animation-name: pulseRunY; }
  @keyframes pulseRunY { 0% { transform: translateY(-10%); } 100% { transform: translateY(105%); } }
  .chip:nth-of-type(n+5) { display: inline-flex; }
  .chip { font-size: 0.875rem; padding: 7px 8px 7px 12px; }
  .chip:nth-of-type(even) { margin-left: 28px; }
  .hero__foot { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions { justify-content: flex-start; }
  .trust { flex-direction: column; gap: 10px; }
}

/* ===== 5.2 Scroll-lit statement ===== */
.statement { padding: clamp(80px, 12vw, 180px) 0 var(--section-y); }
.statement__text {
  font-size: clamp(1.9rem, 4.5vw, 4.4rem); font-weight: 600; line-height: 1.1;
  letter-spacing: -0.038em; max-width: 21em; text-wrap: pretty;
}
.statement__end { color: var(--accent); }
.statement__text .w { transition: none; }

/* ===== 5.3 Pinned before → after ===== */
.ba { padding: var(--section-y) 0; }
.ba__pin { position: relative; }
.ba__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.ba__head .h2 { font-size: var(--t-h2-md); }
.ba__cols, .ba__row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 64px);
}
.ba__cols { padding-bottom: 16px; font-size: var(--t-small); font-weight: 600; color: var(--mute); }
.ba__cols span:first-child { grid-column: 2; }
.ba__cols span:last-child { color: var(--acc-text); }
.ba__row {
  align-items: start; padding: clamp(18px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.2rem, 1.75vw, 1.7rem); font-weight: 550; line-height: 1.18; letter-spacing: -0.022em;
}
.ba__row:last-child { border-bottom: 1px solid var(--line); }
.ba__n { font-size: var(--t-small); font-weight: 600; color: var(--mute); padding-top: 0.4em; font-variant-numeric: tabular-nums; }
.ba__old { color: var(--mute); }
.ba__new { color: var(--fg); position: relative; }
.strike {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 58%;
  background-size: 100% 2px;
}
@media (max-width: 759px) {
  .ba__cols { display: none; }
  .ba__row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 12px; }
  .ba__old { grid-column: 2; font-size: 0.9em; }
  .ba__new { grid-column: 2; }
  .ba__new::before { content: "Instead"; display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; color: var(--acc-text); margin-bottom: 4px; }
}

/* ===== 5.4 Bento ===== */
.build { padding: var(--section-y) 0; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 340px; padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-lg); background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.4s;
}
.card::before { /* spotlight that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 91, 31, 0.13), transparent 42%);
  opacity: 0; transition: opacity 0.5s;
}
.card::after { /* spotlight edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 91, 31, 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card__n { font-size: var(--t-small); font-weight: 600; color: var(--acc-text); margin-bottom: 12px; }
.card__title { font-size: clamp(1.5rem, 2.1vw, 2.1rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 12px; text-wrap: balance; }
.card__text { color: var(--mute); max-width: 42ch; font-size: 1.0625rem; }
.card__viz { position: relative; flex: 1; min-height: 150px; display: flex; align-items: center; }

.card--voice { grid-column: 1 / 8; grid-row: 1 / 3; }
.card--voice .card__title { font-size: clamp(1.9rem, 3.2vw, 3.2rem); }
.card--auto { grid-column: 8 / 13; grid-row: 1; }
.card--agent { grid-column: 8 / 13; grid-row: 2; }
.card--app { grid-column: 1 / 7; grid-row: 3; }
.card--hybrid { grid-column: 7 / 13; grid-row: 3; }

/* Micro-animations run only while a card is on screen (.is-live set by main.js) */
.js .card:not(.is-live) * { animation-play-state: paused !important; }

/* Voice waveform */
.viz-voice { flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; }
.wave { display: flex; align-items: center; gap: 5px; height: 150px; width: 100%; }
.call-head { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; color: #d1d1d6; }
.call-head .ring { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); animation: ring 2.2s var(--ease-out) infinite; }
.call-head .ring .i { width: 18px; height: 18px; }
.call-head small { display: block; font-size: 0.8125rem; color: var(--mute-on-dark); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 91, 31, 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255, 91, 31, 0); } }
.wave i {
  flex: 1; max-width: 7px; height: 100%; border-radius: 4px; background: rgba(255, 255, 255, 0.22);
  transform: scaleY(0.12); animation: wave 1.3s ease-in-out infinite;
}
.wave i:nth-child(n+12):nth-child(-n+28) { background: var(--accent); }
.wave i:nth-child(n+41) { display: none; }
.wave i:nth-child(2n) { animation-duration: 1.05s; animation-delay: -0.3s; }
.wave i:nth-child(3n) { animation-duration: 1.5s; animation-delay: -0.7s; }
.wave i:nth-child(5n) { animation-duration: 0.9s; animation-delay: -0.15s; }
.wave i:nth-child(7n) { animation-duration: 1.7s; animation-delay: -1s; }
.wave i:nth-child(4n+1) { animation-delay: -0.5s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.12); } 50% { transform: scaleY(0.85); } }
.voice-steps { position: relative; height: 34px; width: 100%; }
.voice-steps span {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line);
  font-size: 0.875rem; font-weight: 500; opacity: 0; animation: stepCycle 7.5s infinite;
}
.voice-steps span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mute-on-dark); }
.voice-steps span:nth-child(2) { animation-delay: 2.5s; }
.voice-steps span:nth-child(3) { animation-delay: 5s; }
.voice-steps .is-accent { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.voice-steps .is-accent::before { background: var(--ink); }
@keyframes stepCycle { 0% { opacity: 0; transform: translateY(8px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-8px); } }

/* Invoice scan */
.viz-invoice { gap: 18px; justify-content: flex-start; }
.inv {
  position: relative; width: 104px; height: 132px; padding: 14px 12px; border-radius: 12px;
  background: var(--ink-3); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
}
.inv__head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.inv__head i { height: 8px; width: 38%; border-radius: 4px; background: rgba(255, 255, 255, 0.2); }
.inv__head i + i { width: 22%; }
.inv__row { display: flex; justify-content: space-between; gap: 8px; }
.inv__row i { height: 6px; flex: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.inv__row b { height: 6px; width: 20px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); }
.inv__scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent);
  box-shadow: 0 0 14px 3px rgba(255, 91, 31, 0.5); animation: scan 3s var(--ease-inout) infinite;
}
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 70% { transform: translateY(130px); opacity: 1; } 78%, 100% { transform: translateY(130px); opacity: 0; } }
.viz-arrow { width: 22px; height: 22px; color: var(--accent); transform: rotate(45deg); }
.bill {
  display: flex; flex-direction: column; gap: 8px; padding: 14px; width: 132px; border-radius: 12px;
  background: var(--paper); color: var(--ink); font-size: 0.8125rem; font-weight: 600;
}
.bill i { height: 6px; border-radius: 3px; background: #d9d9de; transform-origin: 0 50%; animation: billRow 3s var(--ease-out) infinite; }
.bill i:nth-of-type(2) { width: 80%; animation-delay: 0.15s; }
.bill i:nth-of-type(3) { width: 60%; background: var(--accent); animation-delay: 0.3s; }
@keyframes billRow { 0%, 45% { transform: scaleX(0); } 70%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* Agent task list */
.tasks { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.tasks li {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px;
  background: var(--ink-3); border: 1px solid var(--line); font-size: 0.9375rem; color: #cfcfd4;
}
.tasks b { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3); animation: tick 4.5s infinite; }
.tasks li:nth-child(2) b { animation-delay: 0.6s; }
@keyframes tick { 0%, 20% { background: transparent; border-color: rgba(255, 255, 255, 0.3); } 30%, 90% { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--ink-3); } 100% { background: transparent; } }
.tasks__wait { color: var(--paper) !important; border-color: rgba(255, 91, 31, 0.4) !important; }
.tasks__wait b { border-color: var(--accent); animation: waitPulse 1.6s ease-in-out infinite; }
@keyframes waitPulse { 50% { box-shadow: 0 0 0 6px rgba(255, 91, 31, 0.18); } }

/* Custom app: three tiles merge into one */
.viz-app { justify-content: center; }
.tile { position: absolute; width: 64px; height: 64px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--line); animation: merge 5s var(--ease-inout) infinite; }
.t1 { --tx: -120px; --ty: -18px; }
.t2 { --tx: 0px; --ty: 26px; animation-delay: 0.08s; }
.t3 { --tx: 120px; --ty: -10px; animation-delay: 0.16s; }
@keyframes merge {
  0%, 15% { transform: translate(var(--tx), var(--ty)) rotate(-6deg); opacity: 1; }
  45% { transform: translate(0, 0) scale(0.7); opacity: 0; }
  100% { transform: translate(var(--tx), var(--ty)) rotate(-6deg); opacity: 1; }
}
.tile--one {
  position: absolute; width: auto; height: auto; padding: 16px 22px; border-radius: 18px;
  background: var(--paper); color: var(--ink); font-size: 0.9375rem; font-weight: 600; border: 0;
  animation: one 5s var(--ease-out) infinite;
}
@keyframes one { 0%, 38% { opacity: 0; transform: scale(0.6); } 50%, 85% { opacity: 1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(0.9); } }

/* Hybrid: draft + two checks */
.viz-hybrid { flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; }
.draft { display: flex; flex-direction: column; gap: 9px; padding: 16px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--line); }
.draft i { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.draft .short { width: 55%; }
.guards { display: flex; gap: 10px; }
.guards span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; color: var(--mute-on-dark);
  animation: guard 4s infinite;
}
.guards span + span { animation-delay: 0.7s; }
@keyframes guard { 0%, 25% { border-color: var(--line-on-dark); color: var(--mute-on-dark); } 35%, 85% { border-color: var(--accent); color: var(--paper); } 100% { border-color: var(--line-on-dark); } }
.guards .i { width: 16px; height: 16px; color: var(--accent); }

@media (max-width: 1023px) {
  .card--voice { grid-column: 1 / -1; grid-row: auto; }
  .card--auto, .card--agent, .card--app, .card--hybrid { grid-column: span 6; grid-row: auto; }
}
@media (max-width: 679px) {
  .bento { gap: 12px; }
  .card--auto, .card--agent, .card--app, .card--hybrid { grid-column: 1 / -1; }
  .card { min-height: 0; border-radius: var(--r-md); }
  .wave { height: 100px; }
  .wave i:nth-child(n+29) { display: none; }
}

/* ===== 5.4b The Review Engine ===== */
.rv { padding: var(--section-y) 0; }
.rv__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.rv__stage { position: sticky; top: calc(var(--nav-h) + 40px); display: flex; justify-content: center; }

/* Phone */
.rv-phone {
  position: relative; width: min(340px, 100%); aspect-ratio: 9 / 18.5;
  border-radius: 52px; background: #050505; padding: 12px;
  box-shadow: 0 60px 100px -40px rgba(10, 10, 10, 0.55), 0 0 0 1px rgba(10, 10, 10, 0.9), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.rv-phone::before { /* dynamic-island style pill */
  content: ""; position: absolute; top: 24px; left: 50%; width: 92px; height: 26px; margin-left: -46px;
  border-radius: 20px; background: #000; z-index: 3;
}
.rv-screen {
  position: absolute; inset: 12px; border-radius: 41px; overflow: hidden;
  background: #111113; color: var(--paper);
  display: flex; flex-direction: column; padding: 64px 14px 18px;
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
}
.rv-screen--owner { opacity: 0; transform: scale(0.96); pointer-events: none; background: #0c0c0e; }
.rv-phone.is-owner .rv-screen--customer { opacity: 0; transform: scale(1.04); }
.rv-phone.is-owner .rv-screen--owner { opacity: 1; transform: none; }

.rv-head { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }
.rv-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #3a3a3f; font-size: 0.875rem; font-weight: 600; color: var(--paper); }
.rv-head__txt b, .rv-head b { display: block; font-size: 0.875rem; font-weight: 600; }
.rv-head small { display: block; font-size: 0.6875rem; color: var(--mute-on-dark); }
.rv-head--owner { align-items: flex-start; text-align: left; border: 0; }
.rv-head--owner b { font-size: 1.5rem; letter-spacing: -0.03em; }

.rv-feed { display: flex; flex-direction: column; gap: 10px; }
.msg {
  align-self: flex-start; max-width: 86%;
  padding: 10px 14px; border-radius: 20px; border-bottom-left-radius: 6px;
  background: #26262a; font-size: 0.875rem; line-height: 1.38;
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.msg--link { padding: 10px 10px 10px 14px; }
.msg--link p { padding-right: 4px; margin-bottom: 10px; }
.rv-card { display: block; padding: 12px; border-radius: 14px; background: var(--paper); color: var(--ink); }
.rv-card b { display: block; font-size: 0.875rem; margin: 6px 0 2px; }
.rv-card small { display: block; font-size: 0.6875rem; color: var(--mute-on-light); }
.rv-stars { display: inline-flex; gap: 2px; color: var(--accent); vertical-align: -2px; }
.rv-stars svg { width: 15px; height: 15px; }
.rv-stars--sm svg { width: 11px; height: 11px; }
.rv-sys { align-self: center; margin-top: 4px; font-size: 0.6875rem; color: var(--mute-on-dark); text-align: center; transition: opacity 0.5s; }

.ntf {
  padding: 12px 14px; border-radius: 18px; background: #1f1f23; color: var(--paper);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.ntf__app { display: flex; align-items: center; gap: 7px; font-size: 0.6875rem; font-weight: 600; color: #c7c7cc; margin-bottom: 6px; }
.ntf__app small { margin-left: auto; font-weight: 400; color: var(--mute-on-dark); }
.ntf__dot { width: 16px; height: 16px; border-radius: 5px; background: var(--accent); }
.ntf__t { font-size: 0.875rem; font-weight: 600; }
.ntf__b { font-size: 0.8125rem; color: #c7c7cc; line-height: 1.35; }
.ntf--hold { box-shadow: inset 0 0 0 1px rgba(255, 91, 31, 0.55); }
.ntf__btns { display: flex; gap: 8px; margin-top: 10px; }
.ntf__btns i { flex: 1; padding: 7px 0; border-radius: 10px; text-align: center; font-style: normal; font-size: 0.75rem; font-weight: 600; background: #2c2c31; }
.ntf__btns i:first-child { background: var(--accent); color: var(--ink); }

/* Steps */
.rv__steps { display: flex; flex-direction: column; }
.rv-step { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); transition: opacity 0.5s; }
.rv-step:last-child { border-bottom: 1px solid var(--line); }
.rv-step__n { font-size: var(--t-small); font-weight: 600; color: var(--acc-text); margin-bottom: 12px; }
.rv-step__t { font-size: clamp(1.7rem, 3vw, 2.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 14px; }
.rv-step > p:last-of-type { color: var(--mute); font-size: var(--t-lede); line-height: 1.45; max-width: 40ch; }
.rv-inline { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; max-width: 340px; }

/* Desktop scroll-driven mode (class added by main.js) */
@media (min-width: 900px) {
  .rv-step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; }
}
.rv--live .rv-inline { display: none; }
.rv--live .rv-step { opacity: 0.28; }
.rv--live .rv-step.is-active { opacity: 1; }
.rv--live .msg, .rv--live .ntf, .rv--live .rv-sys { opacity: 0; transform: translateY(14px) scale(0.97); }
.rv--live .msg.is-in, .rv--live .ntf.is-in, .rv--live .rv-sys.is-in { opacity: 1; transform: none; }

/* Benefits */
.rv-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(80px, 10vw, 140px); }
.rv-benefits li { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.rv-benefits__n { display: block; font-size: var(--t-small); font-weight: 600; color: var(--acc-text); margin-bottom: 36px; }
.rv-benefits h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 10px; }
.rv-benefits p { color: var(--mute); font-size: 1rem; }
.rv-honest {
  display: flex; align-items: center; gap: 18px; margin-top: 16px;
  padding: 22px clamp(22px, 2.6vw, 34px); border-radius: var(--r-md);
  background: var(--ink); color: var(--paper);
}
.rv-honest .i { width: 28px; height: 28px; color: var(--accent); }
.rv-honest p { font-size: 1.0625rem; color: #c7c7cc; }
.rv-honest strong { color: var(--paper); font-weight: 600; }
.rv-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); }

@media (max-width: 1023px) { .rv-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .rv__layout { grid-template-columns: 1fr; }
  .rv__stage { position: static; margin-bottom: 24px; }
  .rv-phone { width: min(300px, 82vw); }
}
@media (max-width: 599px) {
  .rv-benefits { grid-template-columns: 1fr; }
  .rv-honest { align-items: flex-start; }
}

/* ===== 5.5 Integrations marquee ===== */
.tools { padding: var(--section-y) 0; overflow: hidden; }
.marquee {
  display: flex; flex-direction: column; gap: clamp(8px, 1.2vw, 16px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__row { display: flex; overflow: hidden; }
.marquee__track { display: flex; flex: none; width: max-content; animation: marq 46s linear infinite; }
.marquee__row[data-dir="1"] .marquee__track { animation-direction: reverse; animation-duration: 52s; }
.marquee__track span {
  display: inline-flex; align-items: center; flex: none;
  font-size: clamp(2.1rem, 5.6vw, 5.25rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.12;
  padding-right: 0.5em;
}
.marquee__track span::after {
  content: ""; width: 0.14em; height: 0.14em; border-radius: 2px; background: var(--accent);
  margin-left: 0.5em;
}
.marquee__row[data-dir="1"] span { color: var(--mute); }
.marquee__track .m-api { color: var(--acc-text) !important; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== 5.6 Calculator ===== */
.calc { padding: var(--section-y) 0; }
.calc__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.calc__group { border: 0; padding: 0; margin: 0 0 44px; min-width: 0; }
.calc__group legend { padding: 0; margin-bottom: 8px; font-size: var(--t-small); font-weight: 600; color: var(--acc-text); }
.range {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px;
  padding: 18px 0 8px; border-bottom: 1px solid var(--line);
}
.range label { font-size: 1rem; color: #d1d1d6; }
.range output { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; }

input[type="range"] {
  --fill: 0%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 36px; margin: 0; background: transparent; cursor: pointer;
  touch-action: pan-y;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(to right, var(--accent) 0 var(--fill), rgba(255, 255, 255, 0.14) var(--fill) 100%);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -11px; border-radius: 50%;
  background: var(--paper); border: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(255, 91, 31, 0.25);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(255, 91, 31, 0.22); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 0 12px rgba(255, 91, 31, 0.22); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
input[type="range"]:focus { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--accent); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--accent); }

.calc__result { position: sticky; top: calc(var(--nav-h) + 32px); }
.calc__panel {
  container-type: inline-size;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.calc__panel::before { /* faint warm glow behind the figure */
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: -20%; top: -40%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 91, 31, 0.16), transparent); pointer-events: none;
}
.calc__panel > * { position: relative; }
.calc__label { font-size: 1rem; font-weight: 500; color: var(--mute); }
.calc__big {
  margin: 10px 0 36px;
  font-size: min(11.2cqi, 6.75rem); font-weight: 650; line-height: 1; letter-spacing: -0.055em;
  color: var(--accent); white-space: nowrap;
  margin-left: -0.04em;
}
/* Odometer digits (built by calculator.js) */
.odo { display: inline-flex; }
.odo-d { display: inline-block; height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.odo-col { display: flex; flex-direction: column; transition: transform 1s var(--ease-out); }
.odo-col span { display: block; height: 1em; line-height: 1; }
.odo-c { display: inline-block; font-variant-numeric: proportional-nums; font-feature-settings: "tnum" 0; }

.calc__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-bottom: 36px; }
.calc__stats div { padding: 16px 0; border-top: 1px solid var(--line); }
.calc__stats dt { font-size: 0.875rem; color: var(--mute); margin-bottom: 4px; }
.calc__stats dd { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; letter-spacing: -0.025em; }
.calc__stat-wide { grid-column: 1 / -1; }
.calc__cta { white-space: normal; text-align: left; min-height: 60px; padding: 14px 24px; }
.calc__note { margin-top: 16px; font-size: 0.875rem; color: var(--mute); }
.calc__mini { display: none; }

@media (max-width: 899px) {
  .calc__layout { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .calc__mini {
    position: sticky; bottom: 14px; z-index: 5;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 20px; border-radius: 999px;
    background: rgba(29, 29, 32, 0.88); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    font-size: 0.8125rem; color: var(--mute);
  }
  .calc__mini strong { font-size: 1.125rem; color: var(--accent); letter-spacing: -0.02em; }
  .calc__stats { grid-template-columns: 1fr; }
}

/* ===== 5.7 Work: horizontal case studies ===== */
.work { padding: var(--section-y) 0; }
.work__pin { position: relative; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.work__head .sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.work__hint { margin-bottom: clamp(44px, 5vw, 68px); font-size: var(--t-small); color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.work__count b { color: var(--fg); font-weight: 600; }
.work__viewport {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.work__viewport::-webkit-scrollbar { display: none; }
.work__track {
  display: flex; gap: clamp(16px, 2vw, 28px); width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
.case {
  scroll-snap-align: center;
  flex: none; width: min(80vw, 1040px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: min(64vh, 540px);
  border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden;
}
.case__viz { background: #ebebef; display: grid; place-items: center; padding: clamp(20px, 3vw, 44px); overflow: hidden; }
.case__viz svg { width: 100%; height: auto; max-height: 100%; font-family: var(--font); will-change: transform; }
.case__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: clamp(28px, 3.6vw, 52px); }
.case__tag { font-size: var(--t-small); font-weight: 600; color: var(--acc-text); }
.case__title { font-size: clamp(1.75rem, 2.8vw, 2.75rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.case__body p:last-child { color: var(--mute); font-size: 1.0625rem; max-width: 46ch; }

/* SVG illustration palette (case studies) */
.v-dim rect { fill: none; stroke: #b9b9c0; stroke-width: 1.5; }
.v-dim text, .v-small, .v-small text { fill: #6b6b70; font-size: 15px; font-weight: 500; }
.v-dash { fill: none; stroke: #b9b9c0; stroke-width: 1.5; stroke-dasharray: 4 6; }
.v-acc-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.v-card { fill: #fff; stroke: #dadadf; stroke-width: 1; }
.v-strong { fill: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.v-bar { fill: #e4e4e9; }
.v-acc { fill: var(--accent); }
.v-dimfill { fill: #f1f1f4; stroke: #cfcfd5; }
.v-dim2 path { stroke: #c6c6cc; stroke-width: 6; stroke-linecap: round; }
.v-ring { fill: none; stroke: #c6c6cc; stroke-width: 2; }
.v-rows rect { fill: #f2f2f5; }
.v-flag { fill: rgba(255, 91, 31, 0.1); stroke: var(--accent); stroke-width: 1.5; }
.v-flag-t { fill: var(--accent-deep); font-size: 14px; font-weight: 600; }
.v-slots rect { fill: #fff; stroke: #dcdce1; }
.v-taken { fill: #dcdce2; }
.v-clash { fill: rgba(255, 91, 31, 0.08); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 4; }
.v-cross { stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; fill: none; }
.v-acc-fill { fill: var(--accent); }
.v-on-acc { fill: var(--ink); font-size: 14px; font-weight: 600; }
.v-guard rect { fill: #fff; stroke: var(--accent); stroke-width: 1.5; }

/* Desktop + motion: the section pins and the track is driven by vertical scroll */
.work--pinned .work__viewport { overflow: visible; scroll-snap-type: none; }
.work--pinned .work__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.work--pinned { padding: 0; overflow: hidden; }

@media (max-width: 899px) {
  .work__hint { display: none; }
  .case { width: 86vw; grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; border-radius: var(--r-md); }
  .case__viz { aspect-ratio: 16 / 10; }
  .case__body { justify-content: flex-start; }
}

/* ===== 5.8 Process ===== */
.process { padding: var(--section-y) 0; }
.process__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.process__head { position: sticky; top: calc(var(--nav-h) + 48px); margin-bottom: 0; }
.process__head .h2 { font-size: var(--t-h2-md); }
.timeline { position: relative; padding-left: 64px; }
.timeline__rail { position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 50% 0; border-radius: 2px; }
.step { position: relative; padding-bottom: clamp(64px, 9vw, 120px); }
.step:last-child { padding-bottom: 0; }
.step__dot {
  position: absolute; left: -64px; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px var(--ink);
  transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out);
}
.anim .step:not(.is-on) .step__dot { background: var(--ink); border-color: rgba(255, 255, 255, 0.25); transform: scale(0.8); }
.step__n { font-size: var(--t-small); font-weight: 600; color: var(--acc-text); margin-bottom: 12px; }
.step__title { font-size: clamp(1.7rem, 3vw, 2.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 14px; }
.step p:last-child { color: var(--mute); max-width: 40ch; font-size: var(--t-lede); line-height: 1.45; }

.principles__title { margin: clamp(96px, 12vw, 180px) 0 28px; font-size: var(--t-small); font-weight: 600; color: var(--acc-text); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.principles li { padding: 28px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.principles .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 40px; }
.principles h4 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 8px; }
.principles p { color: var(--mute); font-size: 1rem; }
@media (max-width: 1023px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .process__layout { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .timeline { padding-left: 48px; }
  .step__dot { left: -48px; }
  .principles { grid-template-columns: 1fr; }
  .principles .i { margin-bottom: 20px; }
}

/* ===== 5.9 Audit offer ===== */
.audit { padding: var(--section-y) 0; }
.audit__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.portrait__frame { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #dcdce0; }
.portrait__frame picture, .portrait__frame img { width: 100%; height: 100%; }
.portrait__frame img { object-fit: cover; object-position: 50% 20%; transform-origin: 50% 50%; will-change: transform; }
.portrait figcaption { margin-top: 18px; font-size: 0.9375rem; color: var(--mute); max-width: 36ch; }
.portrait figcaption strong { color: var(--fg); font-weight: 600; }
.audit__list { margin: 28px 0 0; border-bottom: 1px solid var(--line); }
.audit__list li {
  display: flex; align-items: baseline; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 550; letter-spacing: -0.02em;
}
.audit__list span { font-size: var(--t-small); font-weight: 600; color: var(--acc-text); font-variant-numeric: tabular-nums; }
.audit__report { margin: 28px 0 36px; font-size: var(--t-lede); max-width: 42ch; line-height: 1.45; }
.audit__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
@media (max-width: 899px) {
  .audit__layout { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

/* ===== Testimonials placeholder (hidden by default) ===== */
.quotes { padding: var(--section-y) 0; }
.quotes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote { padding: 40px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.quote blockquote p { font-size: 1.5rem; font-weight: 550; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 24px; }
.quote figcaption { color: var(--mute); font-size: 0.9375rem; }

/* ===== 5.10 FAQ ===== */
.faq { padding: var(--section-y) 0; }
.faq__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 48px); margin-bottom: 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(20px, 2.2vw, 28px) 0; cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1.6vw, 1.4rem); font-weight: 550; letter-spacing: -0.02em; line-height: 1.25;
  transition: color 0.3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--acc-text); }
.qa summary .i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s; }
.qa[open] summary .i { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qa__a { overflow: hidden; }
.qa.is-closing summary .i { transform: none; background: transparent; color: inherit; border-color: var(--line); }
.qa__a p { padding-bottom: 28px; color: var(--mute); max-width: 60ch; font-size: 1.0625rem; }
@media (max-width: 899px) {
  .faq__layout { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ===== 5.11 Final CTA + contact ===== */
.final { padding: var(--section-y) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.final__title { font-size: clamp(2.7rem, 8.6vw, 8.25rem); font-weight: 600; line-height: 0.94; letter-spacing: -0.055em; margin-left: -0.04em; }
.final__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); }
.contact {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(104px, 13vw, 180px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
}
.contact__title { font-size: clamp(1.6rem, 2.4vw, 2.25rem); font-weight: 600; letter-spacing: -0.035em; margin-bottom: 12px; }
.contact__intro p { color: var(--mute); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--mute); }
.field input, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: var(--r-sm);
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--paper);
  font-size: 1.0625rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.22); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 91, 31, 0.18); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form__small { font-size: 0.875rem; color: var(--mute); }
.form__error { color: #ff8a5c; font-size: 0.9375rem; }
.form__success {
  grid-column: 2; padding: clamp(32px, 4vw, 52px); border-radius: var(--r-lg);
  background: var(--ink-2); border: 1px solid rgba(255, 91, 31, 0.35);
}
.form__success:focus { outline: none; }
.form__tick { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--ink); margin-bottom: 24px; }
.form__tick .i { width: 26px; height: 26px; }
.form__success h3 { font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 8px; }
.form__success p { color: var(--mute); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
@media (max-width: 899px) {
  .contact { grid-template-columns: 1fr; }
  .form__success { grid-column: 1; }
}
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }

/* ===== 5.12 Footer ===== */
.footer {
  background: var(--bg); color: var(--fg);
  padding: clamp(48px, 6vw, 72px) 0 calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px 64px; align-items: end; }
.footer__brand p { color: var(--mute); margin-top: 12px; }
.footer__dk { font-size: 0.9375rem; }
.footer__dk span[lang] { color: var(--fg); font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 32px; font-size: 0.9375rem; }
.footer__copy { grid-column: 1 / -1; font-size: 0.875rem; color: var(--mute); padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 759px) { .footer__inner { grid-template-columns: 1fr; } .footer__links { flex-direction: column; } }

/* ---------- 6. Privacy + 404 pages ---------- */
.page { padding: calc(var(--nav-h) + clamp(80px, 12vw, 160px)) 0 var(--section-y); min-height: 80vh; }
.page__title { font-size: var(--t-h2); font-weight: 600; letter-spacing: var(--track-tight); line-height: 0.98; margin-bottom: 24px; }
.prose { max-width: 70ch; margin-top: 56px; }
.prose h2 { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; margin: 52px 0 14px; }
.prose p, .prose li { color: #c8c8cd; margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.placeholder-note {
  margin-top: 40px; padding: 20px 24px; border-radius: var(--r-sm);
  border: 1px dashed var(--accent); color: var(--paper); background: rgba(255, 91, 31, 0.07); font-size: 0.9375rem;
}
.nf { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.nf__code { font-size: clamp(7rem, 28vw, 22rem); font-weight: 650; letter-spacing: -0.07em; line-height: 0.82; color: var(--accent); margin-left: -0.05em; }
.nf__code span { display: inline-block; }
.nf__title { font-size: var(--t-h2-md); font-weight: 600; letter-spacing: var(--track-tight); line-height: 1.02; margin: 32px 0 16px; }
.nf__actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.nav--simple .nav__inner { padding-right: 10px; }

/* ---------- 7. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .eyebrow .dot { animation: none; }
  .pipe__pulse { display: none; }
  /* Marquee becomes a calm, static wrapped list */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__row { justify-content: center; overflow: visible; }
  .marquee__track { animation: none !important; flex: 1 1 auto; flex-wrap: wrap; justify-content: center; width: auto; max-width: 100%; padding-inline: var(--gutter); }
  .marquee__track span { font-size: clamp(1.6rem, 3.8vw, 3.25rem); }
  .marquee__track span:nth-child(n+7) { display: none; }
  /* Bento micro-animations: show a sensible still frame */
  .wave i { transform: scaleY(0.5); }
  .wave i:nth-child(3n) { transform: scaleY(0.8); }
  .wave i:nth-child(2n) { transform: scaleY(0.3); }
  .voice-steps span { opacity: 0; }
  .voice-steps .is-accent { opacity: 1; }
  .inv__scan { display: none; }
  .bill i { transform: none; }
  .tile { display: none; }
  .tile--one { display: block; opacity: 1; transform: none; }
  .tasks li:not(.tasks__wait) b { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--ink-3); }
  .guards span { border-color: var(--accent); color: var(--paper); }
}

/* ==========================================================================
   8. Multi-page additions (Nov 2026)
   ========================================================================== */

/* First section on a sub-page clears the fixed nav */
.section--first { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 140px)) !important; }
h1.h2, h1.final__title { margin: 0; }

/* Nav: 7 links need a little more room, so switch to the menu earlier */
.nav__links { gap: 22px; }
.nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px; background: var(--accent); }
.nav__cta-short { display: none; }
@media (max-width: 1179px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
}
/* Small phones: keep a compact Book button instead of hiding it */
@media (max-width: 420px) {
  .nav__cta { display: inline-flex; margin-left: auto; padding-inline: 16px; }
  .nav__toggle { margin-left: 0; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .nav__inner { gap: 10px; padding-left: 18px; }
}
.menu__links a[aria-current="page"] { color: var(--accent); }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 0.37s; }
.menu.is-open .menu__links a:nth-child(7) { transition-delay: 0.42s; }
.menu.is-open .menu__links a:nth-child(8) { transition-delay: 0.47s; }
.menu__links a { font-size: clamp(2rem, 8.4vw, 3.5rem); }
@media (max-height: 700px) { .menu__links a { font-size: clamp(1.6rem, 7vw, 2.6rem); } }

/* Home: explore cards */
.explore { padding: var(--section-y) 0; }
.explore__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.explore__card {
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  padding: clamp(26px, 3vw, 44px); border-radius: var(--r-lg);
  background: var(--ink-2); border: 1px solid var(--line);
  transition: border-color 0.4s, transform 0.6s var(--ease-out);
}
.explore__card:hover { border-color: var(--accent); transform: translateY(-4px); }
.explore__n { font-size: var(--t-small); font-weight: 600; color: var(--accent); }
.explore__card h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; }
.explore__card p { color: var(--mute); max-width: 40ch; }
.explore__go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9375rem; }
.explore__go .i { width: 18px; height: 18px; transition: transform 0.4s var(--ease-out); }
.explore__card:hover .explore__go .i { transform: translate(3px, -3px); }
@media (max-width: 679px) { .explore__grid { grid-template-columns: 1fr; } }

/* Work: grid of case studies (replaces the horizontal scroller) */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.cases .case {
  width: auto; min-height: 0; flex: initial; scroll-snap-align: none;
  grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: var(--r-lg);
}
.cases .case__viz { aspect-ratio: 16 / 10; }
.cases .case__body { justify-content: flex-start; gap: 12px; }
.cases .case__title { font-size: clamp(1.5rem, 2.1vw, 2.1rem); }
.cases .case__body p:last-child { font-size: 1rem; }
.case__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.case__status {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; padding: 4px 10px; border-radius: 999px;
  color: #166534; background: #dcfce7;
}
.case__status--proto { color: #3f3f46; background: #e4e4e7; }
@media (max-width: 899px) {
  .cases { grid-template-columns: 1fr; }
  .cases .case { border-radius: var(--r-md); }
}

/* CTA band at the foot of each page */
.final--band { padding: var(--section-y) 0 clamp(64px, 8vw, 120px); }
.final__title--sm { font-size: clamp(2.4rem, 6.4vw, 6rem); }
.next-link {
  display: flex; align-items: center; gap: 16px; margin-top: clamp(56px, 7vw, 96px);
  padding-top: 28px; border-top: 1px solid var(--line);
}
.next-link__k { font-size: var(--t-small); color: var(--mute); }
.next-link__v { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.04em; }
.next-link .i { width: 26px; height: 26px; margin-left: auto; color: var(--accent); transition: transform 0.4s var(--ease-out); }
.next-link:hover .i { transform: translate(4px, -4px); }

/* Contact details */
.contact__details { margin-top: 28px; display: grid; gap: 14px; }
.contact__details li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; color: var(--fg); }
.contact__details span { color: var(--mute); font-size: 0.9375rem; }

/* Footer: two link columns */
.footer__cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer__links { flex-direction: column; gap: 12px; }
.footer__links li:not(:has(a)) { color: var(--mute); }

/* ---------- Mobile: tighter rhythm, no dead space ---------- */
@media (max-width: 759px) {
  :root { --section-y: 72px; --nav-h: 64px; }
  .statement { padding: 56px 0 72px; }
  .sec-head { margin-bottom: 36px; }
  .section--first { padding-top: calc(var(--nav-h) + 48px) !important; }
  .final__title--sm { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .final__actions { gap: 14px; }
  .final__actions .btn--xl { width: 100%; justify-content: center; }
  .footer__cols { gap: 28px; }
  .contact__details li { grid-template-columns: 80px 1fr; }
  .calc__mini { margin-top: 24px; }
}
