/* ============================================================
   ENRIL — flagship v3  ·  Direction: THE REFINISH
   The page loads in primer; the work applies the color.
   Grounds: booth shadow (dark) / masking paper (light).
   Motion contract: every hidden initial state is gated behind
   html.js — raw CSS hides nothing. IO adds .in as the base
   reveal layer; GSAP upgrades on boot. ?verify=1 forces finals.
   ============================================================ */

/* ── FONTS (self-hosted) ────────────────────────────────────── */
@font-face {
  font-family: 'Tanker';
  src: url('/fonts/tanker-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plexmono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/plexmono-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --booth:      #141518;
  --graphite:   #26282C;
  --primer:     #9DA2A8;
  --paper:      #EDE4CF;
  --bone:       #F4F1EA;
  --oxblood:    #B3361F;
  --oxblood-dk: #7E2617;
  --clear:      #F7F4ED;
  --ink:        #1E2022;
  --tape:       #C7A26B;
  --live:       #86A97C;

  --line-dark:  rgba(157, 162, 168, 0.28);
  --line-paper: rgba(30, 32, 34, 0.18);

  --font-disp:  'Tanker', 'Arial Black', 'Franklin Gothic Heavy', sans-serif;
  --font-body:  'Satoshi', system-ui, 'Segoe UI', sans-serif;
  --font-mono:  'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --pad-x: clamp(20px, 4vw, 72px);
  --sec-pad: clamp(96px, 12vh, 176px);
  --ease-out-io: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET / BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--booth);
  color: var(--clear);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--oxblood); color: var(--clear); }

/* grain — whole site, fixed tile */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px 280px;
  opacity: 0.045;
  mix-blend-mode: overlay;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--oxblood); color: var(--clear);
  padding: 12px 20px; font-family: var(--font-mono); font-size: 14px;
}
.skip-link:focus { left: 0; }

/* ── TYPE UTILITIES ─────────────────────────────────────────── */
.mono {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.disp { font-family: var(--font-disp); font-weight: 400; line-height: 0.92; letter-spacing: 0.005em; }
.num { font-variant-numeric: tabular-nums; }

.container { max-width: 1520px; margin-inline: auto; padding-inline: var(--pad-x); }

/* section plate — the mono spec label every section carries */
.plate {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; display: flex; align-items: center; gap: 12px;
  margin-bottom: clamp(28px, 4vh, 48px);
}
.sec--dark .plate { color: var(--primer); }
.sec--paper .plate { color: rgba(30,32,34,0.72); }
.plate::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: 0.35; }

/* ── SECTIONS / GROUNDS ─────────────────────────────────────── */
.sec { position: relative; padding-block: var(--sec-pad); }
.sec--dark  { background: var(--booth); color: var(--clear); }
.sec--paper { background: var(--paper); color: var(--ink); }

/* overspray — oxblood radial bleeding off section edges */
.sec--dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 400px at 108% -6%, rgba(179,54,31,0.10), transparent 68%),
    radial-gradient(480px 360px at -8% 106%, rgba(179,54,31,0.06), transparent 66%);
}
.sec--paper::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 420px at 106% 0%, rgba(179,54,31,0.07), transparent 70%);
}

/* torn kraft tape seam between grounds */
.tape-seam {
  position: relative; height: 26px; z-index: 5;
  background: var(--tape);
  background-image: linear-gradient(90deg, rgba(0,0,0,0.10) 0 2px, transparent 2px 64px);
  background-size: 64px 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,0.25) inset, 0 -1px 0 rgba(255,255,255,0.18) inset;
}
.tape-seam::before, .tape-seam::after {
  content: ''; position: absolute; left: 0; right: 0; height: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='5'%3E%3Cpath d='M0 5 L4 1 L9 4 L14 0 L20 4 L26 1 L31 5 L37 1 L42 4 L48 0 L48 5 Z' fill='%23C7A26B'/%3E%3C/svg%3E");
  background-size: 48px 5px;
}
.tape-seam::before { top: -4px; }
.tape-seam::after  { bottom: -4px; transform: scaleY(-1); }

/* ── REVEAL BASE LAYER (IO adds .in; GSAP upgrades) ─────────── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-io), transform 0.7s var(--ease-out-io);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].in { opacity: 1; transform: translateY(0); }
html.js.gsap [data-reveal] { transition: none; } /* GSAP takes over */
html.verify [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* masked line reveals — spans injected by JS */
.mask-line { display: block; overflow: hidden; }
.mask-line > .mask-inner { display: block; transform: translateY(112%); will-change: transform; }
html:not(.js) .mask-line > .mask-inner,
html.verify .mask-line > .mask-inner { transform: none !important; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 18px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.3s ease;
}
.nav.scrolled { padding-block: 10px; }
.nav-blend { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav .wordmark {
  font-family: var(--font-disp); font-size: 22px; letter-spacing: 0.02em;
  color: var(--clear); text-decoration: none; line-height: 1;
  transition: color 0.3s;
}
.nav.on-paper .wordmark { color: var(--ink); }
.wm-acc { color: var(--oxblood); }
.nav .wordmark .tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; margin-left: 10px; opacity: 0.7;
}
.nav-links { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav-links a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--clear);
  opacity: 0.72; transition: opacity 0.25s, color 0.3s;
  padding: 6px 2px;
}
.nav.on-paper .nav-links a { color: var(--ink); }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.btn-nav {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--oxblood); color: var(--clear); text-decoration: none;
  padding: 12px 20px; border-radius: 2px;
  transition: background 0.25s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--oxblood-dk); }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* mobile sticky action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: none; grid-template-columns: 1fr 1fr;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  background: rgba(20,21,24,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out-io);
}
.mobile-bar.on { transform: translateY(0); }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; text-decoration: none; border-radius: 2px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}
.mobile-bar .mb-call { border: 1px solid var(--line-dark); color: var(--clear); }
.mobile-bar .mb-audit { background: var(--oxblood); color: var(--clear); font-weight: 600; }
@media (max-width: 860px), (pointer: coarse) {
  .mobile-bar { display: grid; }
}
html:not(.js) .mobile-bar { transform: none; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--oxblood); color: var(--clear);
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  text-decoration: none; padding: 18px 32px; border: 0; border-radius: 2px;
  cursor: pointer; position: relative;
  transition: background 0.25s;
  will-change: transform;
}
.btn:hover { background: var(--oxblood-dk); }
.btn .arrow { font-family: var(--font-mono); font-weight: 400; }
.btn--ghost {
  background: transparent; font-weight: 500;
  border: 1px solid currentColor; color: inherit; opacity: 0.9;
}
.btn--ghost:hover { background: rgba(157,162,168,0.12); }

.tel-big {
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(17px, 2vw, 22px); letter-spacing: 0.04em;
  color: inherit; text-decoration: none;
  border-bottom: 1px solid var(--line-dark); padding-bottom: 3px;
  transition: border-color 0.25s;
  display: inline-block;
}
.tel-big:hover { border-color: var(--oxblood); }

/* proof footnote beside every CTA */
.foot-note {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.62; margin-top: 16px;
}

/* CTA row block used across sections */
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(16px, 3vw, 32px); }

/* inline tape-tab CTA (closes light sections) */
.tape-tab {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  margin-top: clamp(48px, 7vh, 88px);
  padding: 22px 26px;
  background: var(--tape);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,0.22) inset, 0 -1px 0 rgba(255,255,255,0.2) inset;
  background-image: linear-gradient(90deg, rgba(0,0,0,0.08) 0 2px, transparent 2px 64px);
  background-size: 64px 100%;
}
.tape-tab p { font-weight: 500; font-size: clamp(17px, 2vw, 21px); flex: 1; min-width: 220px; }

/* ── STAMPS (cap: 4 on the page) ────────────────────────────── */
.stamp {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(12px, 1.3vw, 15px); letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 16px;
  border: 2.5px solid currentColor; border-radius: 3px;
  transform: rotate(var(--stamp-r, -4deg));
  white-space: nowrap;
}
.stamp--live   { color: var(--oxblood); --stamp-r: -4deg; text-decoration: none; }
.stamp--staged { color: rgba(30,32,34,0.75); --stamp-r: 2deg; }
.stamp--plate  { color: var(--oxblood); --stamp-r: -3deg; }
.stamp--received { color: var(--oxblood); --stamp-r: -5deg; font-size: 18px; }
.stamp .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
html.js .stamp[data-stamp] { opacity: 0; transform: rotate(var(--stamp-r, -4deg)) scale(1.15); }
html.js .stamp[data-stamp].in {
  opacity: 1; transform: rotate(var(--stamp-r, -4deg)) scale(1);
  transition: opacity 0.12s linear, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
html.verify .stamp[data-stamp] { opacity: 1 !important; transform: rotate(var(--stamp-r,-4deg)) !important; }

/* ── LOADER — one clean coat ────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--booth);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  will-change: clip-path;
}
html:not(.js) #loader, html.verify #loader { display: none; }
.ld-wordmark {
  position: relative;
  font-size: clamp(44px, 9.5vw, 132px);
  line-height: 1; text-transform: uppercase;
  --spray: 0;
  transition: --spray 0.85s cubic-bezier(0.7, 0, 0.3, 1);
}
.ld-wordmark.go { --spray: 130; }
.ldw-base { color: rgba(157,162,168,0.35); }
.ldw-coat {
  position: absolute; inset: 0; color: var(--clear);
  -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--spray, 0) * 1% - 6%), transparent calc(var(--spray, 0) * 1% + 4%));
  mask-image: linear-gradient(100deg, #000 calc(var(--spray, 0) * 1% - 6%), transparent calc(var(--spray, 0) * 1% + 4%));
}
.ldw-coat .acc { color: var(--oxblood); }
.ld-tag {
  color: var(--primer); font-size: 12px; letter-spacing: 0.3em;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s ease 0.45s, transform 0.4s var(--ease-out-io) 0.45s;
}
#loader.tag-in .ld-tag { opacity: 1; transform: none; }
.ld-sweep {
  position: absolute; top: 0; bottom: 0; width: 34%;
  background: linear-gradient(105deg, transparent, rgba(247,244,237,0.1), transparent);
  transform: translateX(-130%) skewX(-12deg);
  pointer-events: none;
}

/* ── ODOMETER DIGITS ────────────────────────────────────────── */
.odo { display: inline-flex; overflow: hidden; font-variant-numeric: tabular-nums; }
.odo-d { display: inline-block; position: relative; overflow: hidden; height: 1em; line-height: 1; }
.odo-strip { display: block; will-change: transform; }
.odo-strip span { display: block; height: 1em; line-height: 1; }
/* no-JS / pre-JS: strips rest at final value via CSS var set inline */
.odo-d .odo-strip { transform: translateY(calc(var(--final, 0) * -1em)); }

/* ── CURSOR ─────────────────────────────────────────────────── */
#cur-dot, #cur-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
}
#cur-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--oxblood); }
#cur-ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(179,54,31,0.55);
  transition: width 0.3s var(--ease-out-io), height 0.3s var(--ease-out-io), border-color 0.25s, opacity 0.25s;
}
#cur-ring svg { position: absolute; inset: -26px; width: 92px; height: 92px; opacity: 0; transition: opacity 0.25s; animation: curspin 9s linear infinite; }
#cur-ring svg text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; fill: var(--oxblood); }
@keyframes curspin { to { transform: rotate(360deg); } }
body.cur-stamp #cur-ring { width: 56px; height: 56px; border-color: var(--oxblood); }
body.cur-stamp #cur-ring svg { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  html.js.cursor-on body { cursor: none; }
  html.js.cursor-on a, html.js.cursor-on button, html.js.cursor-on summary { cursor: none; }
  html.js.cursor-on #cur-dot, html.js.cursor-on #cur-ring { display: block; }
}

/* ── HERO — THE BOOTH ───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px; padding-bottom: clamp(32px, 6vh, 72px);
}
#hero::before {
  background:
    linear-gradient(100deg, rgba(20,21,24,0.92) 30%, rgba(20,21,24,0.55) 70%, rgba(20,21,24,0.78)),
    linear-gradient(rgba(20,21,24,0.35), rgba(20,21,24,0.9) 88%),
    url('/assets/booth-hero.webp') center / cover no-repeat;
}
.hero-plate {
  position: absolute; top: 96px; left: var(--pad-x); right: var(--pad-x);
  display: flex; justify-content: space-between; gap: 16px;
  color: var(--primer);
}
.hero-h1 {
  position: relative;
  font-size: clamp(58px, 13.5vw, 232px);
  text-transform: uppercase;
  margin-bottom: clamp(20px, 3.5vh, 40px);
  will-change: transform;
}
.hero-h1 .h1-layer { display: block; }
/* primer base layer = the LCP text */
.h1-base { color: var(--primer); }
/* color coat layer, revealed by the spray mask */
.h1-coat {
  position: absolute; inset: 0; color: var(--clear);
  -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--spray, 0) * 1% - 6%), transparent calc(var(--spray, 0) * 1% + 4%));
  mask-image: linear-gradient(100deg, #000 calc(var(--spray, 0) * 1% - 6%), transparent calc(var(--spray, 0) * 1% + 4%));
}
.h1-coat .acc { color: var(--oxblood); }
/* pre-JS & reduced motion: full coat */
html:not(.js) .hero-h1 { --spray: 130; }
html.verify .hero-h1 { --spray: 130 !important; }
#spray-canvas {
  position: absolute; inset: -8% -4%; width: 108%; height: 116%;
  pointer-events: none; z-index: 3;
}
.hero-deck {
  max-width: 56ch; font-size: clamp(18px, 2vw, 22px); font-weight: 400;
  color: rgba(247,244,237,0.82);
  margin-bottom: clamp(28px, 4.5vh, 48px);
}
.hero-deck strong { color: var(--clear); font-weight: 700; }
.hero-cta-note { color: var(--primer); }
.hero-cue {
  position: absolute; right: var(--pad-x); bottom: clamp(32px, 6vh, 72px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--primer); text-decoration: none;
}
.hero-cue .tape-bit {
  width: 44px; height: 26px; background: var(--tape);
  box-shadow: 0 1px 0 rgba(0,0,0,0.25) inset;
  transition: transform 0.3s var(--ease-out-io);
  transform: rotate(-3deg);
}
.hero-cue:hover .tape-bit { transform: rotate(-11deg) translateY(-2px); }
.hero-cue .cue-line { width: 1px; height: 42px; background: linear-gradient(var(--oxblood), transparent); }
@media (max-width: 860px) { .hero-cue { display: none; } }

/* ── PROOF — SPEC PLATE (paper) ─────────────────────────────── */
#problems { overflow: clip; }
.ghost-num {
  position: absolute; right: -2%; top: 46%;
  font-family: var(--font-disp);
  font-size: clamp(200px, 38vw, 640px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(157,162,168,0.5);
  pointer-events: none; user-select: none;
  will-change: transform;
}
.proof-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
  position: relative; z-index: 2;
}
.proof-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) { .proof-grid, .proof-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .proof-grid, .proof-grid--3 { grid-template-columns: 1fr; } }
.stat {
  position: relative;
  background: var(--bone);
  border: 1px solid var(--line-paper);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 34px) clamp(20px, 2.6vw, 32px);
}
.stat::before { /* kraft tape mount */
  content: ''; position: absolute; top: -13px; left: 50%;
  width: 96px; height: 26px; transform: translateX(-50%) rotate(var(--tr, -2deg));
  background: var(--tape); opacity: 0.94;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2) inset;
}
.stat:nth-child(2)::before { --tr: 1.5deg; }
.stat:nth-child(3)::before { --tr: -1deg; }
.stat:nth-child(4)::before { --tr: 2.5deg; }
.stat .num-row {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-disp);
  font-size: clamp(46px, 5.4vw, 84px); line-height: 1;
  color: var(--ink);
}
.stat .glyph { font-family: var(--font-mono); font-weight: 600; font-size: 0.42em; }
.stat .unit { font-family: var(--font-mono); font-weight: 600; font-size: 0.52em; align-self: center; }
.stat .glyph.up { color: var(--oxblood); }
.stat .glyph.down { color: var(--oxblood); }
.stat .chip {
  font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.08em;
  background: var(--oxblood); color: var(--clear);
  padding: 4px 9px; border-radius: 2px; align-self: center;
}
.stat .lbl {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(30,32,34,0.75);
  margin-top: 14px;
}
.stat .sub {
  font-family: var(--font-mono); font-size: 12.5px; color: rgba(30,32,34,0.78);
  margin-top: 5px;
}
.stat .loadbar {
  height: 3px; background: rgba(30,32,34,0.14); margin-top: 12px; position: relative; overflow: hidden;
}
.stat .loadbar i {
  position: absolute; inset: 0; transform-origin: left;
  background: var(--oxblood); display: block;
  transform: scaleX(var(--lb, 1));
}
.proof-foot {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em;
  color: rgba(30,32,34,0.75); margin-top: clamp(28px, 4vh, 44px);
  max-width: 90ch;
}
.proof-foot em { font-style: normal; color: var(--oxblood); }
/* "into the black" CPL color state */
.stat .cpl-after { color: var(--oxblood); transition: color 0.5s ease 0.9s; }
.stat .cpl-after.landed, html:not(.js) .stat .cpl-after, html.verify .stat .cpl-after { color: var(--ink); }

/* ── SYSTEM — THE BOOTH LINE (dark) ─────────────────────────── */
#pitch { overflow: clip; }
.booth-head { max-width: 900px; }
.booth-head h2 {
  font-size: clamp(40px, 6.5vw, 104px); text-transform: uppercase;
  margin-bottom: 18px;
}
.booth-head p { color: rgba(247,244,237,0.75); max-width: 58ch; }
.booth-stage {
  position: relative; margin-top: clamp(40px, 6vh, 72px);
  min-height: 60vh;
  display: grid; grid-template-rows: 1fr auto;
}
.booth-glyph {
  position: relative;
  justify-self: center; align-self: center;
  font-family: var(--font-disp);
  font-size: clamp(160px, 30vw, 460px); line-height: 1;
  text-transform: uppercase;
  user-select: none;
}
.booth-glyph .g {
  position: absolute; inset: 0;
}
.booth-glyph .g-stroke {
  position: relative;
  color: transparent;
  -webkit-text-stroke: 2px var(--primer);
}
.booth-glyph .g-primer { color: var(--primer); opacity: 0; }
.booth-glyph .g-color  { color: var(--oxblood); opacity: 0; }
.booth-glyph .g-gleam {
  color: var(--clear); opacity: 0;
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 50%, transparent 70%);
  mask-image: linear-gradient(105deg, transparent 30%, #000 50%, transparent 70%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-position: 120% 0; mask-position: 120% 0;
}
html:not(.js) .booth-glyph .g-color, html.verify .booth-glyph .g-color { opacity: 1; }
/* stations — swipe-snap carousel by default (touch-native);
   the pinned desktop context overrides to the translated row */
.booth-track {
  display: flex; flex-direction: row; gap: clamp(14px, 1.6vw, 24px);
  padding-block: clamp(24px, 4vh, 40px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  will-change: transform;
}
.booth-track::-webkit-scrollbar { display: none; }
.station {
  flex-shrink: 0; width: min(78vw, 340px);
  scroll-snap-align: center;
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  padding: 22px 24px 24px;
  transition: opacity 0.4s, transform 0.4s var(--ease-out-io), border-color 0.4s;
}
.station.active { opacity: 1; transform: scale(1); border-color: rgba(179,54,31,0.6); }
.swipe-hint {
  display: flex; align-items: center; gap: 8px;
  color: var(--tape); font-size: 11.5px; margin-top: 2px;
}
.station .st-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--tape); margin-bottom: 10px;
  display: flex; justify-content: space-between;
}
.station .st-tag b { color: var(--oxblood); font-weight: 600; }
.station h3 {
  font-family: var(--font-disp); font-size: clamp(22px, 2vw, 30px);
  text-transform: uppercase; font-weight: 400; letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.station p { font-size: 15px; line-height: 1.55; color: rgba(247,244,237,0.68); }
/* graduation rail */
.booth-rail {
  display: flex; align-items: center; gap: 8px;
  margin-top: clamp(20px, 3vh, 36px);
  font-family: var(--font-mono); font-size: 11px; color: var(--primer);
}
.booth-rail .rail-track { flex: 1; height: 2px; background: var(--line-dark); position: relative; }
.booth-rail .rail-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--oxblood); }
html:not(.js) .booth-rail .rail-fill, html.verify .booth-rail .rail-fill { transform: scaleX(1); }
.booth-rail .ticks { display: flex; gap: 0; position: absolute; inset: 0; justify-content: space-between; }
.booth-rail .ticks i { width: 1px; height: 8px; background: var(--primer); margin-top: -3px; }
.booth-endstamp { margin-top: clamp(20px, 3vh, 36px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.booth-exit { margin-top: clamp(16px, 2.5vh, 28px); }
/* small screens / touch: glyph becomes a faint backdrop behind the carousel */
@media (max-width: 1023px) {
  #pitch .container { position: relative; }
  .booth-stage {
    position: absolute; top: 90px; right: -4%; bottom: 0; left: 0;
    min-height: 0; display: flex; align-items: flex-start; justify-content: flex-end;
    pointer-events: none; z-index: 0;
  }
  .booth-glyph { font-size: clamp(200px, 60vw, 320px); opacity: 0.55; }
  .booth-head, .booth-track, .booth-rail, .booth-endstamp, .swipe-hint,
  .booth-exit-wrap { position: relative; z-index: 1; }
  .booth-endstamp { margin-top: clamp(20px, 3vh, 32px); }
}

/* ── TAPE PULL — DRIVE CASE ─────────────────────────────────── */
#case-drive { padding-block: 0; }
.tp-head { padding-block: var(--sec-pad) 0; }
.tp-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--primer); margin-bottom: 20px;
}
.tp-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); display: inline-block; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.tp-claim { font-size: clamp(36px, 5.4vw, 88px); text-transform: uppercase; max-width: 20ch; }
.tp-narr { max-width: 62ch; color: rgba(247,244,237,0.72); margin-top: 20px; }
.tp-wrap { position: relative; height: 220vh; }
@media (max-width: 1023px) { .tp-wrap { height: 165vh; } }
.tp-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: clip;
}
.tp-scene { position: relative; width: min(1240px, 92vw); margin-inline: auto; }
.tp-frame {
  position: relative; border: 1px solid var(--line-dark);
  background: var(--graphite);
  height: clamp(320px, 52vh, 720px); height: clamp(320px, 52svh, 720px); overflow: hidden;
}
.tp-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tp-before { position: absolute; inset: 0; }
.tp-before img { filter: grayscale(1) contrast(0.9); }
.tp-before::after { /* masking paper taped over the job */
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-35deg,
    rgba(237,228,207,0.88) 0 26px,
    rgba(226,214,190,0.88) 26px 52px);
}
.tp-after {
  position: absolute; inset: 0;
  clip-path: inset(0 calc((1 - var(--wipe, 0)) * 100%) 0 0);
}
.tp-after img { transform: scale(calc(1.25 - var(--wipe, 0) * 0.25)); transform-origin: center; }
html:not(.js) .tp-after, html.verify .tp-after { --wipe: 1; }
html:not(.js) .tp-after img, html.verify .tp-after img { transform: none; }
/* the tape strip riding the wipe edge */
.tp-tape {
  position: absolute; top: -3%; bottom: -3%;
  left: calc(var(--wipe, 0) * 100%);
  width: 58px; margin-left: -29px;
  background: var(--tape);
  background-image: linear-gradient(rgba(0,0,0,0.08) 0 2px, transparent 2px 56px);
  background-size: 100% 56px;
  box-shadow: 0 0 24px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.2) inset;
  transform: rotate(calc(var(--wipe, 0) * 4deg));
  display: flex; align-items: center; justify-content: center;
}
html:not(.js) .tp-tape, html.verify .tp-tape { display: none; }
.tp-tape span {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(30,32,34,0.7);
  writing-mode: vertical-rl;
}
/* before-facts chips (left, fade out) / counters (right) */
.tp-chips {
  position: absolute; left: 3%; bottom: 5%; z-index: 3;
  display: flex; flex-direction: column; gap: 8px;
  opacity: calc(1 - var(--wipe, 0) * 1.6);
}
.tp-label {
  position: absolute; top: 6%; left: 3%; z-index: 3;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(30,32,34,0.6);
  opacity: calc(1 - var(--wipe, 0) * 1.6);
}
html:not(.js) .tp-label, html.verify .tp-label { display: none; }
.tp-chips span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(20,21,24,0.82); color: var(--primer);
  padding: 7px 12px; width: max-content;
}
html:not(.js) .tp-chips, html.verify .tp-chips { display: none; }
.tp-counters {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px);
  margin-top: 26px; align-items: flex-end;
}
.tp-count .num-row {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-disp); font-size: clamp(44px, 5vw, 76px); line-height: 1;
}
.tp-count .lbl {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--primer); margin-top: 8px;
}
.tp-count .glyph { font-family: var(--font-mono); font-weight: 600; font-size: 0.42em; color: var(--oxblood); }
.tp-count .chip {
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  background: var(--oxblood); color: var(--clear); padding: 4px 9px; border-radius: 2px; align-self: center;
}
.tp-cpl { color: var(--oxblood); transition: color 0.4s; }
.tp-cpl.landed, html:not(.js) .tp-cpl, html.verify .tp-cpl { color: var(--clear); }
.tp-stamp-row { margin-top: 26px; display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; }
.tp-stamp-row .cap {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em;
  color: rgba(247,244,237,0.78); line-height: 1.6; max-width: 60ch;
}

/* ── MACHINE ANSWER ─────────────────────────────────────────── */
.ma-block { padding-block: 0 var(--sec-pad); }
.ma-card {
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  max-width: 1040px;
}
.ma-card::before {
  content: 'EST. SHEET — AI SEARCH · FIELD CHECK'; position: absolute; top: 14px; right: 18px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--primer);
}
.ma-q {
  font-family: var(--font-mono); font-size: clamp(15px, 1.8vw, 21px);
  color: var(--primer); letter-spacing: 0.04em; min-height: 1.6em;
}
.ma-q .caret { display: inline-block; width: 0.55em; height: 1.1em; background: var(--oxblood); vertical-align: text-bottom; margin-left: 3px; animation: caret 1s steps(2, start) infinite; }
@keyframes caret { 50% { opacity: 0; } }
html:not(.js) .ma-q .caret, html.verify .ma-q .caret { display: none; }
.ma-redact {
  height: clamp(22px, 2.6vw, 34px); width: min(46%, 380px);
  background: repeating-linear-gradient(45deg, rgba(157,162,168,0.35) 0 8px, rgba(157,162,168,0.22) 8px 16px);
  margin-top: clamp(20px, 3vh, 34px);
  position: relative;
}
.ma-redact::after {
  content: '1. — WITHHELD'; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.22em; color: rgba(247,244,237,0.5);
}
.ma-win {
  font-family: var(--font-disp);
  font-size: clamp(34px, 5.2vw, 84px); line-height: 1;
  text-transform: uppercase; color: var(--oxblood);
  margin-top: clamp(14px, 2vh, 24px);
}
.ma-losers {
  display: flex; flex-wrap: wrap; gap: clamp(14px, 2.4vw, 36px);
  margin-top: clamp(18px, 2.6vh, 30px);
}
.ma-losers span {
  font-family: var(--font-mono); font-size: clamp(14px, 1.6vw, 19px);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--primer);
  position: relative;
}
.ma-losers span i {
  position: absolute; left: -2%; right: -2%; top: 52%; height: 2.5px;
  background: var(--oxblood); display: block;
  transform: scaleX(0); transform-origin: left;
}
html:not(.js) .ma-losers span i, html.verify .ma-losers span i { transform: scaleX(1); }
.ma-cap {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: rgba(247,244,237,0.62); margin-top: clamp(22px, 3vh, 36px); max-width: 80ch;
}
.ma-cta { margin-top: clamp(28px, 4vh, 44px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ── ROJO CASE (paper) ──────────────────────────────────────── */
.rojo-card {
  position: relative;
  background: var(--bone);
  border: 1px solid var(--line-paper);
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
}
.rojo-card::before, .rojo-card::after { /* kraft corner tapes */
  content: ''; position: absolute; width: 120px; height: 30px; background: var(--tape);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2) inset; opacity: 0.95;
}
.rojo-card::before { top: 14px; left: -30px; transform: rotate(-40deg); }
.rojo-card::after  { top: 14px; right: -30px; transform: rotate(40deg); }
.rojo-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(30,32,34,0.72); margin-bottom: 18px;
}
.rojo-claim { font-size: clamp(30px, 4.4vw, 64px); text-transform: uppercase; color: var(--ink); max-width: 22ch; }
.rojo-narr { max-width: 62ch; color: rgba(30,32,34,0.78); margin-top: 18px; }
.rojo-fig {
  margin-top: clamp(26px, 4vh, 44px);
  border: 1px solid var(--line-paper);
  position: relative; overflow: hidden;
}
.rojo-fig img { filter: saturate(0.55) contrast(0.96); width: 100%; }
.rojo-fig::after { /* masking paper veil — design ghosts through */
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(-35deg,
    rgba(237,228,207,0.42) 0 26px,
    rgba(228,216,192,0.42) 26px 52px);
}
.rojo-chips { display: flex; flex-wrap: wrap; gap: clamp(20px, 3.5vw, 56px); margin-top: clamp(28px, 4vh, 44px); }
.rojo-chip .num-row { font-family: var(--font-disp); font-size: clamp(40px, 4.6vw, 72px); line-height: 1; color: var(--ink); }
.rojo-chip .lbl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(30,32,34,0.72); margin-top: 8px; }
.rojo-foot { font-family: var(--font-mono); font-size: 12.5px; color: rgba(30,32,34,0.75); margin-top: clamp(24px, 3.5vh, 36px); }
.rojo-stamp-row { margin-top: 26px; }

/* ── PROCESS (paper) ────────────────────────────────────────── */
.proc-card {
  background: var(--bone); border: 1px solid var(--line-paper);
  position: relative;
}
.proc-card::after { /* carbon-copy edge */
  content: ''; position: absolute; top: 0; bottom: 0; right: -7px; width: 7px;
  background: repeating-linear-gradient(rgba(30,32,34,0.22) 0 3px, transparent 3px 9px);
}
.proc-row {
  display: grid; grid-template-columns: minmax(72px, 120px) minmax(140px, 240px) 1fr minmax(180px, 260px);
  gap: clamp(14px, 2vw, 32px); align-items: start;
  padding: clamp(24px, 3.2vh, 40px) clamp(20px, 3vw, 48px);
  border-bottom: 1px solid var(--line-paper);
  position: relative; overflow: hidden;
}
.proc-row:last-of-type { border-bottom: 0; }
.proc-row .row-bg {
  position: absolute; inset: 0; background: rgba(199,162,107,0.13);
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}
html:not(.js) .proc-row .row-bg, html.verify .proc-row .row-bg { transform: scaleX(1); }
.proc-ord {
  font-family: var(--font-disp); font-size: clamp(34px, 3.6vw, 56px); line-height: 1;
  color: rgba(157,162,168,0.85);
}
.proc-verb { font-family: var(--font-disp); font-size: clamp(24px, 2.6vw, 40px); text-transform: uppercase; color: var(--ink); font-weight: 400; }
.proc-desc { color: rgba(30,32,34,0.8); font-size: 16.5px; position: relative; z-index: 1; }
.proc-desc .free-tag {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--oxblood); text-decoration: none;
  border-bottom: 1px solid rgba(179,54,31,0.4); padding-bottom: 2px;
}
.proc-deliver {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(30,32,34,0.72); text-align: right;
}
@media (max-width: 860px) {
  .proc-row {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "ord verb"
      "ord desc"
      "ord deliver";
    row-gap: 8px;
  }
  .proc-ord { grid-area: ord; }
  .proc-verb { grid-area: verb; }
  .proc-desc { grid-area: desc; }
  .proc-deliver { grid-area: deliver; text-align: left; opacity: 0.75; }
}
.proc-close { margin-top: clamp(24px, 3vh, 36px); font-size: clamp(17px, 1.9vw, 20px); color: rgba(30,32,34,0.8); }

/* FAQ */
.faq { margin-top: clamp(40px, 6vh, 72px); max-width: 900px; }
.faq h3 { font-family: var(--font-disp); text-transform: uppercase; font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); margin-bottom: 18px; color: var(--ink); }
.faq details {
  border-top: 1px solid var(--line-paper);
}
.faq details:last-of-type { border-bottom: 1px solid var(--line-paper); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 4px;
  font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--font-mono); font-size: 20px; color: var(--oxblood);
  transition: transform 0.3s var(--ease-out-io);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 20px; color: rgba(30,32,34,0.78); max-width: 68ch; }

/* ── ABOUT (paper) ──────────────────────────────────────────── */
.about-grid { display: block; max-width: 860px; }
.about-copy h2 { font-size: clamp(36px, 5vw, 72px); text-transform: uppercase; color: var(--ink); margin-bottom: 22px; }
.about-copy p { color: rgba(30,32,34,0.82); max-width: 60ch; margin-bottom: 16px; }
.about-copy .pull {
  font-family: var(--font-disp); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.2;
  text-transform: uppercase; color: var(--oxblood); margin: 26px 0;
}
.about-facts { display: flex; flex-direction: column; gap: 0; margin-top: 28px; border-top: 1px solid var(--line-paper); }
.about-facts .fact {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 2px; border-bottom: 1px solid var(--line-paper);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
}
.about-facts .k { color: rgba(30,32,34,0.72); }
.about-facts .v { color: var(--ink); font-weight: 600; text-align: right; }
.about-fig { position: relative; overflow: hidden; border: 1px solid var(--line-paper); background: var(--bone); }
.about-fig img { width: 100%; }
.about-fig::before { /* kraft corner tape */
  content: ''; position: absolute; top: 10px; left: -34px; z-index: 2;
  width: 130px; height: 30px; background: var(--tape);
  transform: rotate(-40deg); opacity: 0.95;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2) inset;
}
.about-fig figcaption {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clear); background: rgba(20,21,24,0.75); padding: 6px 10px;
}
html.js .clip-reveal { clip-path: inset(0 0 100% 0); }
html.js .clip-reveal.in { clip-path: inset(0 0 0% 0); transition: clip-path 1.1s var(--ease-out-io); }
html.js .clip-reveal img { transform: scale(1.3); transition: transform 1.3s var(--ease-out-io); }
html.js .clip-reveal.in img { transform: scale(1); }
html.verify .clip-reveal { clip-path: none !important; }
html.verify .clip-reveal img { transform: none !important; }

/* trades marquee on kraft stripe */
.marquee {
  margin-top: clamp(56px, 8vh, 96px);
  background: var(--tape);
  box-shadow: 0 1px 0 rgba(0,0,0,0.22) inset, 0 -1px 0 rgba(255,255,255,0.2) inset;
  overflow: hidden; white-space: nowrap;
  padding-block: 14px;
}
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track span {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(30,32,34,0.72);
  padding-inline: 18px;
}
.marquee-track span::after { content: '·'; margin-left: 36px; color: var(--oxblood); }
html:not(.js) .marquee { display: none; }

/* ── AUDIT — ROLL IT IN (dark, bone form card) ──────────────── */
#audit { overflow: clip; }
#audit .curtain {
  position: absolute; inset: 0; background: var(--oxblood); z-index: 4; pointer-events: none;
  clip-path: inset(0 0 0 0);
}
#audit::before {
  background:
    linear-gradient(90deg, rgba(20,21,24,0.96) 38%, rgba(20,21,24,0.55)),
    url('/assets/paint-macro.webp') 85% center / cover no-repeat;
  opacity: 0.5;
}
html:not(.js) #audit .curtain, html.verify #audit .curtain, #audit .curtain.done { clip-path: inset(0 0 100% 0); }
#audit .curtain.done { transition: clip-path 0.6s cubic-bezier(0.33, 1, 0.68, 1); }
#audit .sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background: linear-gradient(115deg, transparent 30%, var(--clear) 50%, transparent 70%);
  background-size: 300% 100%;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { from { background-position: 140% 0; } to { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { #audit .sheen { animation: none; } }
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); align-items: center; position: relative; z-index: 2; }
@media (max-width: 960px) { .audit-grid { grid-template-columns: 1fr; } }
.audit-intro h2 { font-size: clamp(52px, 8.5vw, 140px); text-transform: uppercase; }
.audit-intro .deck { color: rgba(247,244,237,0.78); max-width: 46ch; margin-top: 18px; font-size: clamp(17px, 1.9vw, 20px); }
.audit-intro .reassure { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primer); margin-top: 22px; }
.audit-phone { margin-top: clamp(28px, 4vh, 44px); }
.audit-phone .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primer); display: block; margin-bottom: 8px; }
.audit-phone a {
  font-family: var(--font-disp); font-size: clamp(28px, 3.6vw, 52px);
  color: var(--clear); text-decoration: none; will-change: transform; display: inline-block;
}
.audit-phone a:hover { color: var(--oxblood); }
/* the work order card */
.wo-card {
  background: var(--bone); color: var(--ink);
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: 2px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.wo-card::before { /* clipboard tape */
  content: ''; position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-1.5deg);
  width: 140px; height: 28px; background: var(--tape); opacity: 0.95;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2) inset;
}
.wo-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 22px;
}
.wo-head h3 { font-family: var(--font-disp); text-transform: uppercase; font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); }
.wo-head .mono { font-size: 10.5px; color: rgba(30,32,34,0.55); }
.field { margin-bottom: 18px; position: relative; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(30,32,34,0.6);
  margin-bottom: 7px;
}
.field label .opt { text-transform: none; letter-spacing: 0.04em; opacity: 0.75; }
.field input, .field textarea {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(30,32,34,0.4);
  font-family: var(--font-body); font-size: 17px; color: var(--ink);
  padding: 8px 2px 10px; border-radius: 0;
  outline: none;
}
.field textarea { resize: vertical; min-height: 74px; }
.field .focus-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--oxblood); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out-io);
}
.field input:focus ~ .focus-line, .field textarea:focus ~ .focus-line { transform: scaleX(1); }
.field .err-msg { display: none; font-family: var(--font-mono); font-size: 11.5px; color: var(--oxblood); margin-top: 6px; }
.field.error input, .field.error textarea { border-color: var(--oxblood); }
.field.error .err-msg { display: block; }
.hp { position: absolute; left: -9999px; }
.btn-submit {
  width: 100%; justify-content: center; margin-top: 6px;
  font-size: 18px;
}
.wo-foot { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(30,32,34,0.72); margin-top: 14px; text-align: center; }

/* ── FOOTER — LIGHTS OUT ────────────────────────────────────── */
footer {
  background: var(--booth); color: var(--clear);
  position: relative; overflow: clip;
  padding: clamp(72px, 10vh, 140px) var(--pad-x) 32px;
}
.lights { display: flex; gap: clamp(10px, 1.6vw, 24px); margin-bottom: clamp(48px, 8vh, 96px); }
.lights i {
  flex: 1; height: 8px; background: var(--clear); opacity: 0.85; display: block;
  box-shadow: 0 0 24px rgba(247,244,237,0.35);
}
.lights i.off { opacity: 0.10; box-shadow: none; transition: opacity 0.5s ease, box-shadow 0.5s ease; }
.ft-wordmark {
  font-family: var(--font-disp);
  font-size: clamp(52px, 11.5vw, 200px); line-height: 0.85;
  text-transform: uppercase; color: var(--clear);
  position: relative; user-select: none;
}
.ft-wordmark .wm-gleam {
  position: absolute; inset: 0; color: var(--oxblood);
  -webkit-mask-image: linear-gradient(105deg, transparent 38%, #000 50%, transparent 62%);
  mask-image: linear-gradient(105deg, transparent 38%, #000 50%, transparent 62%);
  -webkit-mask-size: 320% 100%; mask-size: 320% 100%;
  -webkit-mask-position: 130% 0; mask-position: 130% 0;
}
.ft-cta { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3.5vw, 44px); margin-top: clamp(36px, 6vh, 64px); }
.ft-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px;
  margin-top: clamp(48px, 8vh, 96px);
  padding-top: 22px; border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primer);
}
.ft-clock { display: inline-flex; align-items: center; gap: 10px; }
.ft-clock .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: pulse 2.4s ease-in-out infinite; }
.ft-links { display: flex; gap: 24px; }
.ft-links a { color: var(--primer); text-decoration: none; transition: color 0.25s; }
.ft-links a:hover { color: var(--clear); }

/* ── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal-wait] { opacity: 1; transform: none; transition: none; }
  .mask-line > .mask-inner { transform: none !important; }
  html.js .ma-redact { opacity: 1; transform: none; }
  html.js .ma-cap, html.js .ma-cta { opacity: 1; }
  html.js .stat .loadbar i { transform: scaleX(1); }
  html.js .proc-row .row-bg { transform: scaleX(1); }
  .odo-strip { transition: none !important; }
  .hero-h1 { --spray: 130 !important; }
  #spray-canvas { display: none; }
  .tp-after { --wipe: 1 !important; }
  .tp-after img { transform: none !important; }
  .tp-tape, .tp-chips { display: none; }
  .tp-wrap { height: auto !important; }
  .tp-sticky { position: static; height: auto; padding-block: 40px; }
  .booth-glyph .g-color { opacity: 1 !important; }
  .booth-rail .rail-fill { transform: scaleX(1); }
  .station { opacity: 1; transform: none; }
  .ma-losers span i { transform: scaleX(1); }
  .ma-q .caret { display: none; }
  .proc-row .row-bg { transform: scaleX(1); }
  html.js .clip-reveal { clip-path: none; }
  html.js .clip-reveal img { transform: none; }
  .marquee { display: none; }
  #audit .curtain { clip-path: inset(0 0 100% 0); }
  html.js .stamp[data-stamp] { opacity: 1; transform: rotate(var(--stamp-r, -4deg)); }
  .lights i { opacity: 0.10; box-shadow: none; }
  .ghost-num { transform: none !important; }
  #cur-dot, #cur-ring { display: none !important; }
  .odo-d .odo-strip { transform: translateY(calc(var(--final, 0) * -1em)) !important; }
}

/* ============================================================
   RUNTIME-DRIVEN STATES (classes added by main.js)
   ============================================================ */

/* data-reveal-wait — hero elements held until the loader lifts */
html.js [data-reveal-wait] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-io), transform 0.8s var(--ease-out-io);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal-wait].in { opacity: 1; transform: translateY(0); }
html.verify [data-reveal-wait] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* spray progress — registered so it transitions */
@property --spray {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}
.hero-h1 { --spray: 0; transition: --spray 2.4s cubic-bezier(0.45, 0, 0.3, 1); }
.hero-h1.sprayed { --spray: 130; }
.h1-line { display: block; }

/* masked line reveals (CSS transitions, IO-triggered) */
html.js [data-lines].lines-ready .mask-inner {
  transform: translateY(112%);
  transition: transform 0.9s var(--ease-out-io);
  transition-delay: calc(var(--i, 0) * 0.1s);
}
html.js [data-lines].lines-ready.lines-in .mask-inner { transform: translateY(0); }

/* odometer strips */
.odo-strip.rolling {
  transition: transform 1.6s var(--ease-out-io);
  transition-delay: calc(var(--col, 0) * 0.09s);
}
.odo-strip.ld-roll.rolling {
  transition-duration: 0.55s;
  transition-delay: calc(var(--col, 0) * 0.06s);
}

/* work-order rows */
html.js .proc-row .row-bg { transition: transform 0.55s var(--ease-out-io) 0.05s; }
html.js .proc-row.in .row-bg { transform: scaleX(1); }

/* mobile-load bar */
html.js .stat .loadbar i { transform: scaleX(0.14); }
html.js .stat.in .loadbar i { transform: scaleX(1); transition: transform 0.4s var(--ease-out-io) 1.1s; }
html:not(.js) .stat .loadbar i, html.verify .stat .loadbar i { transform: scaleX(1) !important; }

/* loader count swap (100 → 2×) */
#loader .ld-count { height: 1em; overflow: hidden; }
.ld-swap { display: block; transition: transform 0.55s var(--ease-out-io); }
.ld-swap.go { transform: translateY(-1em); }
.ld-line { display: block; height: 1em; line-height: 1; }
.ld-line--new { color: var(--oxblood); }
.ld-line .unit { font-family: var(--font-mono); font-weight: 600; font-size: 0.5em; }

/* ── MACHINE ANSWER — recreated chat UI ─────────────────────── */
.chatui { padding: 0 0 clamp(20px, 3vw, 32px); }
.chatui::before { display: none; }
.chat-head {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-dark);
}
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(157,162,168,0.32); }
.chat-title { margin-left: 10px; color: var(--primer); font-size: 10.5px; letter-spacing: 0.18em; }
.chat-body {
  padding: clamp(18px, 3vw, 32px) clamp(16px, 3vw, 32px) 4px;
  display: flex; flex-direction: column; gap: 18px;
}
.msg--user {
  align-self: flex-end; max-width: 86%;
  background: var(--oxblood); color: var(--clear);
  padding: 12px 16px; border-radius: 14px 14px 3px 14px;
}
.msg--user p { font-family: var(--font-mono); font-size: clamp(13px, 1.6vw, 16px); letter-spacing: 0.02em; }
.msg--ai {
  align-self: flex-start; width: min(600px, 100%);
  background: rgba(157,162,168,0.08); border: 1px solid var(--line-dark);
  padding: 16px 18px 18px; border-radius: 14px 14px 14px 3px;
}
.ai-lede { font-size: clamp(14px, 1.6vw, 16px); color: rgba(247,244,237,0.85); margin-bottom: 6px; }
.ai-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 8px; margin-top: 9px;
  background: rgba(20,21,24,0.55); border: 1px solid transparent;
}
.ai-row--ghost i { display: block; height: 12px; border-radius: 6px; background: rgba(157,162,168,0.28); filter: blur(1.5px); }
.ai-row--win { background: rgba(179,54,31,0.15); border-color: rgba(179,54,31,0.55); flex-wrap: wrap; }
.ai-row--win b {
  font-family: var(--font-disp); font-weight: 400; letter-spacing: 0.02em;
  font-size: clamp(19px, 2.2vw, 26px); text-transform: uppercase; color: var(--clear);
}
.tagchip {
  font-family: var(--font-mono); font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--oxblood); color: var(--clear);
  padding: 5px 10px; border-radius: 100px; white-space: nowrap;
}
/* choreography: rows land, then the win row lights up */
html.js .msg--ai { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease-out-io), transform 0.5s var(--ease-out-io); }
html.js .ma-card.ma-redacted .msg--ai { opacity: 1; transform: none; }
html.js .ai-row { opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease-out-io), transform 0.45s var(--ease-out-io); }
html.js .ma-card.ma-redacted .ai-row:nth-child(2) { transition-delay: 0.1s; }
html.js .ma-card.ma-redacted .ai-row:nth-child(3) { transition-delay: 0.25s; }
html.js .ma-card.ma-redacted .ai-row:nth-child(4) { transition-delay: 0.4s; }
html.js .ma-card.ma-redacted .ai-row:nth-child(5) { transition-delay: 0.55s; }
html.js .ma-card.ma-redacted .ai-row { opacity: 1; transform: none; }
html.js .tagchip { opacity: 0; transition: opacity 0.4s ease; }
html.js .ma-card.ma-struck .tagchip { opacity: 1; }
html.js .ai-row--win { transition: box-shadow 0.45s ease, background 0.45s ease; }
html.js .ma-card.ma-struck .ai-row--win { box-shadow: 0 0 0 2px rgba(179,54,31,0.45), 0 0 28px rgba(179,54,31,0.25); background: rgba(179,54,31,0.22); }
html.verify .msg--ai, html.verify .ai-row, html.verify .tagchip { opacity: 1 !important; transform: none !important; }

/* machine answer — win row + behind-tags */
.ma-win-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 16px 28px; margin-top: clamp(14px, 2vh, 24px);
}
.ma-stamp { font-size: clamp(11px, 1.2vw, 14px); }
.ma-tag {
  font-family: var(--font-mono); font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--oxblood); margin-left: 10px;
}
html.js .ma-tag { opacity: 0; }
html.js .ma-card.ma-struck .ma-tag { opacity: 1; transition: opacity 0.45s ease calc(var(--k, 0) * 0.12s); }
html.verify .ma-tag { opacity: 1 !important; }

/* machine answer choreography */
html.js .ma-redact {
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.5s var(--ease-out-io), transform 0.5s var(--ease-out-io);
}
html.js .ma-card.ma-redacted .ma-redact { opacity: 1; transform: none; }
html.js .ma-card.ma-struck .ma-losers span i {
  transform: scaleX(1);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(var(--k, 0) * 0.12s);
}
html.js .ma-cap, html.js .ma-cta { opacity: 0; transition: opacity 0.6s ease 0.1s; }
html.js .ma-card.ma-done .ma-cap, html.js .ma-card.ma-done .ma-cta { opacity: 1; }
.ma-card.ma-done .caret { display: none; }
html.verify .ma-cap, html.verify .ma-cta { opacity: 1 !important; }
html.verify .ma-redact { opacity: 1 !important; transform: none !important; }

/* booth glyph — mobile/touch completion */
.booth-stage.booth-done .g-color { opacity: 1; transition: opacity 1.2s ease; }

/* trades marquee */
.marquee-track.run { animation: marqueeMove 40s linear infinite; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* footer wordmark gleam */
.wm-gleam.gleam-run {
  -webkit-mask-position: -60% 0; mask-position: -60% 0;
  transition: -webkit-mask-position 2.2s ease, mask-position 2.2s ease;
}

/* ── BOOTH LINE — pinned layout (desktop) ───────────────────── */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  #pitch { padding-block: clamp(40px, 6vh, 80px); }
  #pitch .container {
    position: relative;
    min-height: calc(100vh - 2 * clamp(40px, 6vh, 80px));
    min-height: calc(100svh - 2 * clamp(40px, 6vh, 80px));
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 72px; /* clear the fixed nav while pinned */
  }
  #pitch .booth-stage {
    position: absolute; inset: 0; min-height: 0;
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 3vw;
    pointer-events: none; z-index: 0;
  }
  #pitch .booth-glyph { font-size: clamp(260px, 34vw, 540px); }
  #pitch .booth-head, #pitch .booth-track, #pitch .booth-rail,
  #pitch .booth-endstamp { position: relative; z-index: 1; }
  #pitch .booth-track { margin-top: 4vh; overflow: visible; flex-direction: row; scroll-snap-type: none; }
  #pitch .station { width: clamp(340px, 34vw, 470px); opacity: 0.45; transform: scale(0.97); scroll-snap-align: none; }
  #pitch .station.active { opacity: 1; transform: scale(1); }
  html:not(.js) #pitch .station, html.verify #pitch .station { opacity: 1; transform: none; }
  #pitch .booth-head h2 { font-size: clamp(36px, 4.6vw, 72px); }
  #pitch .swipe-hint { display: none; }
  /* no-JS on desktop: keep the carousel so all 10 stations stay reachable */
  html:not(.js) #pitch .booth-track { overflow-x: auto; scroll-snap-type: x mandatory; }
  html:not(.js) #pitch .swipe-hint { display: flex; }
}

/* ── SUBPAGES (cases, thanks, 404, privacy) ─────────────────── */
.case-hero { padding-top: clamp(140px, 20vh, 220px); }
.crumb { display: flex; gap: 10px; flex-wrap: wrap; color: var(--primer); margin-bottom: 22px; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: var(--clear); }
.case-h1 { font-size: clamp(44px, 8vw, 128px); text-transform: uppercase; max-width: 14ch; }
.case-lede { max-width: 62ch; color: rgba(247,244,237,0.78); margin-top: 22px; font-size: clamp(17px, 1.9vw, 21px); }
.prose h2 { font-family: var(--font-disp); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 52px); color: var(--ink); margin-bottom: 16px; }
.prose p { max-width: 66ch; color: rgba(30,32,34,0.82); margin-bottom: 16px; }
.prose .block { margin-bottom: clamp(40px, 6vh, 72px); }
.ledger { border: 1px solid var(--line-paper); background: var(--bone); }
.ledger-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid var(--line-paper);
  font-family: var(--font-mono);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(30,32,34,0.6); }
.ledger-row .v { font-size: clamp(17px, 2vw, 22px); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger-row .v em { font-style: normal; color: var(--oxblood); }
.pullquote {
  border-left: 3px solid var(--oxblood); padding: 6px 0 6px 22px;
  font-family: var(--font-disp); font-size: clamp(20px, 2.6vw, 34px); line-height: 1.25;
  text-transform: uppercase; color: var(--ink); max-width: 30ch;
  margin-block: clamp(32px, 5vh, 56px);
}
.case-fig { border: 1px solid var(--line-paper); margin-block: clamp(28px, 4vh, 48px); }
.case-fig figcaption { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(30,32,34,0.55); padding: 10px 2px; }
.util-hero {
  min-height: 100vh;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px;
}
.util-hero .kicker { color: var(--primer); margin-bottom: 22px; }
.util-hero h1 { font-size: clamp(40px, 8vw, 120px); text-transform: uppercase; max-width: 16ch; }
.util-hero p { max-width: 56ch; color: rgba(247,244,237,0.78); margin-top: 20px; font-size: clamp(17px, 1.9vw, 20px); }
.util-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; align-items: center; }
.footer-lite {
  background: var(--booth); color: var(--primer);
  padding: 28px var(--pad-x);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-lite a { color: inherit; text-decoration: none; }
.footer-lite a:hover { color: var(--clear); }

/* ── FOCUS VISIBILITY ───────────────────────────────────────── */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
  border-radius: 2px;
}
.sec--dark a:focus-visible, .sec--dark button:focus-visible,
footer a:focus-visible, .nav a:focus-visible {
  outline-color: var(--clear);
}

/* ── PRINT-ISH SMALL FIXES ──────────────────────────────────── */
@media (max-width: 767px) {
  /* hero spec plate duplicates the nav on mobile — hide it */
  .hero-plate { display: none; }
  /* tape-pull: desktop-style wide frame, fitted to mobile width.
     Whole scene fits above the sticky action bar, centered, no dead band. */
  .tp-wrap { height: 135vh; }
  .tp-sticky { padding-bottom: 72px; }
  .tp-frame {
    height: auto; aspect-ratio: 1400 / 875;
    width: 100%; margin-inline: auto;
  }
  .tp-scene { width: 100%; padding-inline: var(--pad-x); }
  .tp-frame img { object-position: left top; }
  .tp-chips span { font-size: 10px; padding: 5px 9px; }
  .tp-label { font-size: 10px; }
  .tp-tape { width: 42px; margin-left: -21px; }
  .tp-counters {
    flex-wrap: nowrap; gap: 10px 26px; margin-top: 18px;
    justify-content: center; text-align: center;
  }
  .tp-count .num-row { font-size: clamp(30px, 9vw, 40px); justify-content: center; }
  .tp-count .lbl { font-size: 10px; margin-top: 5px; }
  .tp-stamp-row { justify-content: center; text-align: center; margin-top: 16px; gap: 10px 16px; }
  .tp-stamp-row .stamp { font-size: 11px; padding: 8px 12px; }
  .tp-stamp-row .cap { font-size: 11px; }
  .ma-block { padding-top: 12px; }
  .tp-head { padding-top: clamp(36px, 6vh, 64px); }
  /* audit backdrop: let the paint macro actually show on narrow screens */
  #audit::before {
    background:
      linear-gradient(rgba(20,21,24,0.94) 45%, rgba(20,21,24,0.45)),
      url('/assets/paint-macro.webp') center 88% / cover no-repeat;
    opacity: 0.6;
  }
}
/* scroll-driven booth slider (mobile pin) */
#pitch.booth-pinned .swipe-hint { display: none; }
@media (max-width: 1023px) {
  #pitch.booth-pinned { padding-block: 20px 6px; }
  #pitch.booth-pinned .container {
    min-height: calc(100svh - 48px);
    display: flex; flex-direction: column; justify-content: center;
  }
  .booth-exit-wrap .booth-exit { margin-top: 0; justify-content: center; }
  #pitch { padding-bottom: 12px; }
}

/* late-page life: FAQ + facts stagger in row by row */
html.js .faq details {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out-io), transform 0.55s var(--ease-out-io);
}
html.js .faq details:nth-of-type(2) { transition-delay: 0.1s; }
html.js .faq details:nth-of-type(3) { transition-delay: 0.2s; }
html.js .faq details:nth-of-type(4) { transition-delay: 0.3s; }
html.js .faq.in details { opacity: 1; transform: none; }
html.js .about-facts .fact {
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.5s var(--ease-out-io), transform 0.5s var(--ease-out-io);
}
html.js .about-facts .fact:nth-of-type(2) { transition-delay: 0.12s; }
html.js .about-facts .fact:nth-of-type(3) { transition-delay: 0.24s; }
html.js .about-facts.in .fact { opacity: 1; transform: none; }
html.verify .faq details, html.verify .about-facts .fact { opacity: 1 !important; transform: none !important; }

/* footer wordmark slides in from behind its own baseline */
html.js .ft-wordmark {
  clip-path: inset(0 0 100% 0);
  transform: translateY(14%);
  transition: clip-path 0.9s var(--ease-out-io), transform 0.9s var(--ease-out-io);
}
html.js .ft-wordmark.in { clip-path: inset(0 0 -10% 0); transform: none; }
html.verify .ft-wordmark { clip-path: none !important; transform: none !important; }
@media (max-width: 560px) {
  :root { --pad-x: 18px; }
  .nav .tag { display: none; }
  .hero-h1 { font-size: clamp(52px, 16.5vw, 96px); }
  .btn { width: 100%; justify-content: center; }
  .cta-row { align-items: stretch; }
  .tp-claim { font-size: clamp(30px, 9vw, 44px); }
}

/* ── PITCH REBUILD ADDITIONS ────────────────────────────────── */
/* pain tiles (the mirror) */
.stat .pain {
  font-size: clamp(34px, 4vw, 58px); line-height: 1;
  text-transform: uppercase; color: var(--ink);
}
.stat .pain + .sub {
  margin-top: 14px;
  font-family: var(--font-body); font-size: 15px; line-height: 1.55;
  letter-spacing: 0; text-transform: none; color: rgba(30,32,34,0.8);
}

/* station promise line */
.st-handled {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--oxblood);
  border-bottom: 2px solid rgba(179,54,31,0.5); padding-bottom: 3px;
}

/* the hollow "not in the answer" row */
.ai-row--miss {
  background: transparent;
  border: 2px dashed rgba(179,54,31,0.6);
  flex-wrap: wrap;
}
.ai-row--miss b {
  font-family: var(--font-disp); font-weight: 400; letter-spacing: 0.02em;
  font-size: clamp(19px, 2.2vw, 26px); text-transform: uppercase; color: var(--primer);
}
.tagchip--miss { background: transparent; border: 1.5px solid var(--oxblood); color: var(--oxblood); }
html.js .ai-row--miss { transition: box-shadow 0.45s ease, border-color 0.45s ease; }
html.js .ma-card.ma-struck .ai-row--miss {
  border-color: var(--oxblood);
  box-shadow: 0 0 28px rgba(179,54,31,0.22);
}

/* select fields on the work-order card */
.field select {
  width: 100%; background: transparent; appearance: none; -webkit-appearance: none;
  border: 0; border-bottom: 1.5px solid rgba(30,32,34,0.4);
  font-family: var(--font-body); font-size: 17px; color: var(--ink);
  padding: 8px 28px 10px 2px; border-radius: 0; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2022' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
  cursor: pointer;
}
.field select:invalid { color: rgba(30,32,34,0.45); }
.field.error select { border-color: var(--oxblood); }

/* footer closing line */
.ft-line {
  font-family: var(--font-body); font-size: clamp(17px, 2vw, 22px);
  color: rgba(247,244,237,0.8); max-width: 40ch;
  margin-top: clamp(24px, 4vh, 40px);
}

/* ── SERVICES — THE TOOLBOX ─────────────────────────────────── */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
  margin-top: clamp(32px, 5vh, 56px);
}
@media (max-width: 1023px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  position: relative; overflow: hidden;
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  padding: 24px 26px 30px;
  transition: transform 0.35s var(--ease-out-io), border-color 0.35s;
}
/* cursor spotlight (fine pointers) */
.svc-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 120%),
    rgba(179,54,31,0.16), transparent 65%);
  opacity: 0; transition: opacity 0.35s ease;
}
/* gleam sweep on hover */
.svc-card::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(247,244,237,0.06), transparent);
  transform: translateX(-160%) skewX(-14deg);
  pointer-events: none;
}
/* giant ghost numeral */
.svc-card .ghost-d {
  position: absolute; right: -8px; bottom: -26px;
  font-family: var(--font-disp); font-size: 120px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(179,54,31,0.3);
  pointer-events: none; user-select: none;
  transform: translateY(14px);
  transition: transform 0.45s var(--ease-out-io), -webkit-text-stroke-color 0.35s;
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover { transform: translateY(-6px); border-color: rgba(179,54,31,0.65); }
  .svc-card:hover::before { opacity: 1; }
  .svc-card:hover::after { transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); transform: translateX(320%) skewX(-14deg); }
  .svc-card:hover .ghost-d { transform: translateY(0); -webkit-text-stroke-color: rgba(179,54,31,0.6); }
}
/* on touch: numerals live by default, top hairline draws on reveal */
@media (hover: none), (pointer: coarse) {
  .svc-card .ghost-d { transform: translateY(0); -webkit-text-stroke-color: rgba(179,54,31,0.45); }
}
html.js .svc-card { clip-path: inset(0 0 12% 0); }
html.js .svc-card.in { clip-path: inset(0 0 0% 0); transition: opacity 0.7s var(--ease-out-io), transform 0.7s var(--ease-out-io), clip-path 0.7s var(--ease-out-io); transition-delay: var(--d, 0s); }
html.verify .svc-card { clip-path: none !important; }
.svc-card .st-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--tape); margin-bottom: 10px;
  display: flex; justify-content: space-between;
}
.svc-card .st-tag b { color: var(--oxblood); font-weight: 600; }
.svc-card h3 {
  font-family: var(--font-disp); font-size: clamp(22px, 2vw, 30px);
  text-transform: uppercase; font-weight: 400; letter-spacing: 0.01em;
  margin-bottom: 8px; color: var(--clear);
}
.svc-card p { font-size: 15px; line-height: 1.55; color: rgba(247,244,237,0.68); }
