/* ===== Zapnupuaz — tokens ===== */
:root {
  --graphite-950: #0E0F11;
  --graphite-900: #16181B;
  --gunmetal-800: #22252A;
  --gunmetal-700: #2E3238;
  --steel-400: #8C939C;
  --steel-200: #C9CDD2;
  --bone-50: #F4F1EC;
  --bone-100: #E9E4DC;
  --ink-on-bone: #1A1B1E;
  --ink-soft-on-bone: #4E4A44;
  --orange-500: #F26A1B;
  --orange-400: #FF8A3D;
  --orange-700: #B5470D;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --nav-h: 64px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--graphite-950);
  color: var(--steel-200);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* browser surfaces, themed */
::selection { background: var(--orange-500); color: var(--graphite-950); }
html { scrollbar-color: var(--gunmetal-700) var(--graphite-950); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--graphite-950); }
::-webkit-scrollbar-thumb { background: var(--gunmetal-700); border-radius: 10px; border: 2px solid var(--graphite-950); }
:focus-visible { outline: 2px solid var(--orange-400); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-underline-offset: 0.2em; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bone-50); color: var(--graphite-950); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

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

/* ===== type ===== */
.display, .h2, .h3, .wordmark span {
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--bone-50);
  text-wrap: balance;
}
.display {
  font-size: clamp(2.6rem, min(1.2rem + 4.6vw, 11svh), 5.6rem);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
}
.h2 {
  font-size: clamp(1.9rem, min(1.1rem + 2.4vw, 7.5svh), 3.3rem);
  font-weight: 750;
  font-stretch: 112%;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 0.5em;
}
.h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.7rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; max-width: 38ch; color: var(--steel-200); }
.muted { color: var(--steel-400); }
p { max-width: 65ch; }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.4em;
  border-radius: 999px;
  background: var(--orange-500); color: #1A0C03;
  font-weight: 650; font-stretch: 104%; letter-spacing: -0.005em;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -6px rgba(0,0,0,.55);
  transition: background-color 200ms var(--ease-out), transform 140ms var(--ease-out), box-shadow 200ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--orange-400); }
}
.btn-small { min-height: 38px; padding: 0 1.1em; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 420px) { .nav .logo-nav { height: 20px; } .nav .btn-small { padding: 0 0.9em; font-size: 0.82rem; } }
.btn-large { min-height: 60px; padding: 0 2em; font-size: 1.15rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; text-decoration: none; color: var(--bone-50); min-height: 48px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }

/* ===== nav (the one glass surface) ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  background: rgba(14, 15, 17, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background-color 300ms var(--ease-out);
}
.nav.is-light { background: rgba(244, 241, 236, 0.72); border-bottom-color: rgba(0,0,0,.08); color: var(--ink-on-bone); }
.nav.is-light .wordmark, .nav.is-light nav a { color: var(--ink-on-bone); }
.nav .wordmark { transition: color 300ms var(--ease-out); }
.nav.is-light .wordmark span { color: var(--ink-on-bone); }
.nav ul { display: flex; gap: clamp(16px, 2.4vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav nav a { text-decoration: none; font-size: 0.92rem; color: var(--steel-200); transition: color 160ms var(--ease-out); }
@media (hover: hover) { .nav nav a:hover { color: var(--bone-50); } .nav.is-light nav a:hover { color: var(--orange-700); } }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone-50); }
.wordmark span { font-weight: 800; font-stretch: 122%; letter-spacing: -0.03em; font-size: 1.12rem; }
.mark { width: 24px; height: 24px; }
.logo-nav { height: 24px; width: auto; display: block; }
.footer .logo-nav { height: 22px; }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--graphite-950); backdrop-filter: none; } .nav.is-light { background: var(--bone-50); } }
@media (max-width: 860px) { .nav nav { display: none; } }

/* ===== pinned chapters ===== */
[data-pin] { position: relative; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ===== hero ===== */
.hero { height: 150vh; height: 150svh; }
.hero .pin { display: grid; place-items: center; }
.core-stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.core {
  position: relative;
  width: min(118vh, 112vw);
  width: min(118svh, 112vw);
  aspect-ratio: 1;
  transform: translate(22%, 4%);
  will-change: transform;
}
.core .layer { position: absolute; inset: 0; }
.core .ring, #coreBody { will-change: transform; }
.core svg { display: block; width: 100%; height: 100%; }
.core .spin { width: 100%; height: 100%; animation: spin 90s linear infinite; will-change: transform; }
.core .s2 { animation-duration: 150s; animation-direction: reverse; }
.core .s3 { animation-duration: 64s; }
.core .s4 { animation-duration: 82s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
#halo { opacity: .55; }

.hero-copy {
  position: relative; z-index: 2;
  width: min(var(--maxw), 100% - var(--gutter) * 2);
}
.hero-copy .lede { margin: 1.4rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* load-in: a visible default, then refined */
.js .hero-copy .display, .js .hero-copy .lede, .js .hero-copy .actions { animation: rise 900ms var(--ease-out) both; }
.js .hero-copy .lede { animation-delay: 90ms; }
.js .hero-copy .actions { animation-delay: 180ms; }
.js .core { animation: materialize 1400ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes materialize { from { opacity: 0; } }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 1px; height: 48px; background: rgba(255,255,255,.12); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--orange-500); transform: translateY(-100%); animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 60%, 100% { transform: translateY(100%); } }

@media (max-width: 860px) {
  .core { width: 150vw; transform: translate(18%, -18%); opacity: .9; }
  .hero-copy { align-self: end; padding-bottom: 14vh; }
  .hero .pin::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, rgba(14,15,17,0), rgba(14,15,17,.85) 55%); z-index: 1; pointer-events: none; }
  .flow { order: 0; }
}

/* ===== statement ===== */
.statement { height: 160vh; height: 160svh; }
.statement .pin { display: grid; place-items: center; }
.statement-text {
  width: min(1100px, 100% - var(--gutter) * 2);
  max-width: none;
  margin: 0;
  font-size: clamp(1.4rem, min(0.9rem + 1.9vw, 5svh), 2.6rem);
  font-weight: 650;
  font-stretch: 108%;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--bone-50);
}
.statement-text .w { opacity: 0.16; transition: opacity 240ms linear; }
.statement-text .w.on { opacity: 1; }
.statement-text .w.hot { color: var(--orange-400); }

/* ===== services ===== */
.services { height: 400vh; background: var(--graphite-950); }
.services .pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3.5vh, 44px); padding-top: var(--nav-h); }
.services-head { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.services-head .h2 { margin: 0; }
.services-head p { margin: 0 0 0.4em; }
.track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2);
  will-change: transform;
}
.panel {
  flex: 0 0 min(560px, 80vw);
  min-height: min(50svh, 500px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0) 40%),
    var(--graphite-900);
  border: 1px solid var(--gunmetal-700);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 30px 60px -30px rgba(0,0,0,.8);
  display: flex; flex-direction: column;
}
.panel:nth-child(2) { flex-basis: min(640px, 84vw); }
.panel:nth-child(3) { background: linear-gradient(180deg, rgba(242,106,27,.10), rgba(242,106,27,0) 55%), var(--graphite-900); border-color: rgba(242,106,27,.35); }
.panel-art { margin: -4px -4px 20px; border-radius: 18px; background: var(--graphite-950); border: 1px solid var(--gunmetal-800); }
.panel-art svg { display: block; width: 100%; height: auto; max-height: 18svh; }
.panel p { color: var(--steel-200); margin: 0 0 1.2em; }
.ticks-list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 10px; border-top: 1px solid var(--gunmetal-700); padding-top: 18px; }
.ticks-list li { display: flex; gap: 12px; align-items: baseline; color: var(--bone-50); font-size: 0.98rem; }
.ticks-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); transform: translateY(-1px); }

.pulse-dot, .needle, .ecg, .scroll-cue span { animation-play-state: paused; }
.is-live .pulse-dot, .is-live .needle, .is-live .ecg, .is-live.scroll-cue span { animation-play-state: running; }
.pulse-dot { animation: travel 2.6s var(--ease-in-out) infinite; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 55% { transform: translateX(80px); opacity: 1; } 70%, 100% { transform: translateX(80px); opacity: 0; } }
.needle { transform-origin: 200px 210px; transform-box: view-box; animation: sweep 5s var(--ease-in-out) infinite alternate; }
@keyframes sweep { from { transform: rotate(-12deg); } to { transform: rotate(6deg); } }
.ecg { stroke-dasharray: 520; stroke-dashoffset: 520; animation: ecg 3.2s var(--ease-out) infinite; }
@keyframes ecg { 70%, 100% { stroke-dashoffset: 0; } }

@media (max-width: 899px) {
  .services { height: auto; padding-block: 120px 80px; }
  .services .pin { position: static; height: auto; overflow: visible; }
  .track { flex-direction: column; transform: none; padding-inline: var(--gutter); }
  .panel, .panel:nth-child(2) { flex-basis: auto; min-height: 0; }
}

/* ===== how it works (light chapter) ===== */
.how { height: 190vh; height: 190svh; background: var(--bone-50); color: var(--ink-soft-on-bone); }
.how ::selection { background: var(--orange-700); color: var(--bone-50); }
.how .pin {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto;
  padding-top: var(--nav-h);
}
.how .h2 { color: var(--ink-on-bone); max-width: 14ch; }
.how-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 6px; }
.how-steps li {
  padding: 14px 0 14px 22px; position: relative; max-width: 46ch;
  color: rgba(78,74,68,.55);
  transition: color 300ms var(--ease-out);
}
.how-steps li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--bone-100); transition: background-color 300ms var(--ease-out); }
.how-steps li strong { color: inherit; font-weight: 700; }
.how-steps li.is-active { color: var(--ink-soft-on-bone); }
.how-steps li.is-active strong { color: var(--ink-on-bone); }
.how-steps li.is-active::before { background: var(--orange-500); }
.flow svg { width: 100%; height: auto; max-height: 76vh; display: block; margin-inline: auto; }
.flow .node rect { fill: #FFFFFF; stroke: #D9D4CC; stroke-width: 1.5; transition: fill 300ms var(--ease-out), stroke 300ms var(--ease-out); filter: drop-shadow(0 10px 18px rgba(26,27,30,.06)); }
.flow .node text { font-family: "Archivo", sans-serif; font-weight: 700; font-stretch: 110%; font-size: 21px; fill: var(--ink-on-bone); text-anchor: middle; letter-spacing: -0.02em; transition: fill 300ms var(--ease-out); }
.flow .node.on rect { fill: var(--ink-on-bone); stroke: var(--ink-on-bone); }
.flow .node.on text { fill: var(--bone-50); }
.flow .node.now rect { fill: var(--orange-500); stroke: var(--orange-500); }
.flow .node.now text { fill: #1A0C03; }

@media (max-width: 899px) {
  .how { height: auto; padding-block: 110px 80px; }
  .how .pin { position: static; height: auto; grid-template-columns: 1fr; padding-top: 0; overflow: visible; }
  .how-steps li { color: var(--ink-soft-on-bone); }
  .how-steps li strong { color: var(--ink-on-bone); }
  .how-steps li::before { background: var(--orange-500); }
  .flow { max-width: 420px; }
}

/* ===== audits ===== */
.audits { padding-block: clamp(72px, 10vh, 112px); background: var(--graphite-950); }
.audits-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.audits .lede { margin: 0 0 2rem; }
.report {
  margin: 0; padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  background: var(--graphite-900);
  border: 1px solid var(--gunmetal-700);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.05) inset;
}
.report figcaption { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; color: var(--bone-50); padding-bottom: 14px; border-bottom: 1px solid var(--gunmetal-700); }
.report ul { list-style: none; margin: 0; padding: 0; }
.report li {
  display: grid; grid-template-columns: 1fr 90px 64px; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--gunmetal-800);
  font-size: 0.95rem; color: var(--bone-50);
}
.report li:last-child { border-bottom: 0; padding-bottom: 0; }
.report .bar { position: relative; height: 6px; border-radius: 6px; background: var(--gunmetal-800); overflow: hidden; }
.report .bar::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--orange-500); transform-origin: left; transform: scaleX(0); transition: transform 1100ms var(--ease-out); }
.report.in .bar::after { transform: scaleX(1); }
.report li:nth-child(2) .bar::after { transition-delay: 80ms; }
.report li:nth-child(3) .bar::after { transition-delay: 160ms; }
.report li:nth-child(4) .bar::after { transition-delay: 240ms; }
.report li:nth-child(5) .bar::after { transition-delay: 320ms; }
.report em { font-style: normal; font-size: 0.8rem; font-weight: 600; color: var(--steel-400); text-align: right; font-variant-numeric: tabular-nums; }
.report li:last-child em { color: var(--orange-400); }
@media (max-width: 899px) { .audits-grid { grid-template-columns: 1fr; } .report li { grid-template-columns: 1fr 64px; } .report .bar { grid-column: 1 / -1; grid-row: 2; } }

/* ===== process ===== */
.process { padding-block: clamp(64px, 9vh, 104px); background: var(--graphite-950); border-top: 1px solid var(--gunmetal-800); }
.rail { position: relative; margin-top: 3rem; }
.rail-line { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--gunmetal-700); border-radius: 2px; overflow: hidden; }
.rail-line span { position: absolute; inset: 0; background: var(--orange-500); transform-origin: left; transform: scaleX(0); will-change: transform; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { padding-top: 40px; position: relative; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--graphite-950); border: 2px solid var(--orange-500); }
.steps p { margin: 0; color: var(--steel-200); }
@media (max-width: 899px) {
  .rail-line { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .rail-line span { transform-origin: top; transform: scaleY(0); }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 44px; }
  .steps li::before { top: 4px; }
}

/* ===== close ===== */
.close { position: relative; overflow: hidden; padding-block: clamp(72px, 10vh, 112px); background: var(--graphite-950); }
.close-glow { position: absolute; left: 30%; bottom: -70vw; width: 120vw; height: 120vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(242,106,27,.32), rgba(242,106,27,.08) 50%, rgba(242,106,27,0)); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.close .display { font-size: clamp(2.3rem, min(1.2rem + 3.4vw, 10svh), 4.2rem); max-width: 12ch; }
.contact-copy .lede { margin: 1.5rem 0 1.8rem; }
.contact-alt { margin-top: 1.6rem; color: var(--steel-400); font-size: .95rem; }
.contact-alt .mono-ish { color: var(--bone-50); user-select: all; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }

/* intake form */
.intake { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--graphite-900); border: 1px solid var(--gunmetal-700); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.05) inset; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--bone-50); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--bone-50);
  background: var(--graphite-950); border: 1px solid var(--gunmetal-700); border-radius: 12px;
  padding: 12px 14px; min-height: 48px; transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%238C939C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.field ::placeholder { color: #8C939C; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(242,106,27,.22); }
.field [aria-invalid="true"] { border-color: #E5533D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.intake .btn { justify-self: start; }
.intake .btn[disabled] { opacity: .6; cursor: progress; }
.form-msg { margin: 0; min-height: 1.5em; font-size: .95rem; color: var(--bone-50); }
.form-msg.ok { color: #7FD6A2; }
.form-msg.err { color: #F59A86; }
.form-fine { margin: 0; font-size: .82rem; color: var(--steel-400); }
.form-fine a { color: var(--steel-200); }

/* footer */
.footer { border-top: 1px solid var(--gunmetal-800); padding-block: 56px 28px; background: var(--graphite-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand { display: grid; gap: 10px; align-content: start; }
.footer-brand p, .footer-base p { margin: 0; font-size: .9rem; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { margin: 0 0 4px; font-size: .82rem; font-weight: 650; color: var(--bone-50); letter-spacing: .01em; }
.footer-col a { color: var(--steel-400); text-decoration: none; font-size: .92rem; transition: color 160ms var(--ease-out); }
@media (hover: hover) { .footer-col a:hover { color: var(--bone-50); } }
.footer-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--gunmetal-800); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ===== hero additions ===== */
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--steel-200); }
.trust svg { width: 16px; height: 16px; color: var(--orange-500); flex: none; }
.status-card {
  position: absolute; z-index: 2; right: max(var(--gutter), (100vw - var(--maxw)) / 2); bottom: 13vh;
  width: 330px; padding: 18px 18px 14px; border-radius: 20px;
  background: rgba(22,24,27,.92); border: 1px solid var(--gunmetal-700);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.05) inset;
}
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: .9rem; font-weight: 650; color: var(--bone-50); }
.pill-ok { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(127,214,162,.1); color: #7FD6A2; font-size: .76rem; font-weight: 600; }
.pill-ok i, .status-card .dot { width: 7px; height: 7px; border-radius: 50%; background: #5BC88A; display: inline-block; }
.status-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.status-card li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--graphite-950); border: 1px solid var(--gunmetal-800); }
.status-card li b { font-size: .88rem; color: var(--bone-50); font-weight: 600; }
.status-card li span { grid-row: 2; font-size: .8rem; color: var(--steel-400); }
.status-card li .dot { grid-row: 1 / 3; grid-column: 2; align-self: center; box-shadow: 0 0 0 4px rgba(91,200,138,.12); }
.status-note { margin: 10px 2px 0; font-size: .74rem; color: #8C939C; }
.js .status-card { animation: rise 900ms 260ms var(--ease-out) both; }
@media (max-width: 1100px) { .status-card { display: none; } }

/* ===== shared ===== */
.accent { color: var(--orange-500); }
.how .accent { color: var(--orange-700); }

/* ===== problems ===== */
.problems { padding-block: clamp(64px, 9vh, 104px) clamp(32px, 5vh, 56px); background: var(--graphite-950); }
.problems .h2 { text-align: center; margin-inline: auto; }
.problem-grid { margin-top: clamp(32px, 5vh, 56px); display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--gunmetal-700); border-radius: 24px; background: var(--graphite-900); overflow: hidden; }
.problem { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.problem + .problem { border-left: 1px solid var(--gunmetal-700); }
.problem .h3 { margin: 0; }
.problem .quote { margin: 0; color: var(--steel-400); font-style: italic; border-left: 2px solid var(--gunmetal-700); padding-left: 14px; }
.x-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-list li { display: flex; gap: 10px; align-items: baseline; font-size: .97rem; color: var(--steel-200); }
.x-list svg { width: 13px; height: 13px; color: #E5533D; flex: none; transform: translateY(1px); }
.x-list b { color: var(--bone-50); font-weight: 650; }
.pivot { margin: clamp(44px, 7vh, 72px) auto 0; text-align: center; max-width: none; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); font-weight: 700; font-stretch: 110%; letter-spacing: -.03em; line-height: 1.1; color: var(--bone-50); }
@media (max-width: 899px) { .problem-grid { grid-template-columns: 1fr; } .problem + .problem { border-left: 0; border-top: 1px solid var(--gunmetal-700); } }

/* ===== before / after ===== */
.week { padding-block: clamp(32px, 5vh, 56px) clamp(64px, 9vh, 104px); background: var(--graphite-950); }
.week .h2 { text-align: center; }
.week-grid { margin-top: clamp(32px, 5vh, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.week-col { border-radius: 24px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.week-col .h3 { margin: 0; }
.week-col p { margin: 0; }
.week-col.before { background: var(--graphite-900); border: 1px solid var(--gunmetal-700); }
.week-col.after { background: linear-gradient(180deg, rgba(242,106,27,.10), rgba(242,106,27,0) 60%), var(--graphite-900); border: 1px solid rgba(242,106,27,.35); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 4px; min-height: 210px; align-content: flex-start; }
.chips span { position: relative; padding: 9px 13px; border-radius: 10px; background: var(--gunmetal-800); border: 1px solid var(--gunmetal-700); color: var(--steel-200); font-size: .9rem; transform: rotate(var(--r)); box-shadow: 0 8px 16px -10px rgba(0,0,0,.8); }
.chips span.urgent { border-color: rgba(229,83,61,.5); color: var(--bone-50); }
.chips span.urgent::after { content: "Urgent"; position: absolute; top: -9px; right: -6px; padding: 2px 6px; border-radius: 6px; background: #C8331B; color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.js .week-col.before .chips span { opacity: 0; transform: translateY(-14px) rotate(var(--r)); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.js .week-col.before.in .chips span { opacity: 1; transform: rotate(var(--r)); }
.week-col.before.in .chips span:nth-child(2) { transition-delay: 90ms; } .week-col.before.in .chips span:nth-child(3) { transition-delay: 180ms; }
.week-col.before.in .chips span:nth-child(4) { transition-delay: 270ms; } .week-col.before.in .chips span:nth-child(5) { transition-delay: 360ms; }
.week-col.before.in .chips span:nth-child(6) { transition-delay: 450ms; } .week-col.before.in .chips span:nth-child(7) { transition-delay: 540ms; }
.done-list { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 12px; }
.done-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--bone-50); }
.done-list svg { width: 20px; height: 20px; flex: none; color: var(--orange-500); padding: 3px; border-radius: 50%; background: rgba(242,106,27,.14); }
.js .week-col.after .done-list li { opacity: .25; transition: opacity 400ms var(--ease-out); }
.js .week-col.after.in .done-list li { opacity: 1; }
.week-col.after.in .done-list li:nth-child(2) { transition-delay: 220ms; } .week-col.after.in .done-list li:nth-child(3) { transition-delay: 440ms; }
.week-col.after.in .done-list li:nth-child(4) { transition-delay: 660ms; } .week-col.after.in .done-list li:nth-child(5) { transition-delay: 880ms; }
.week-foot { color: var(--steel-400); font-size: .93rem; }
@media (max-width: 899px) { .week-grid { grid-template-columns: 1fr; } }

/* ===== demo ===== */
.demo { padding-block: clamp(72px, 10vh, 112px); background: var(--graphite-950); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.demo-copy .lede { margin: 1.2rem 0 1.8rem; }
.demo-picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pick { font: inherit; font-size: .93rem; font-weight: 600; color: var(--steel-200); background: var(--graphite-900); border: 1px solid var(--gunmetal-700); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 140ms var(--ease-out); }
.pick:active { transform: scale(.97); }
@media (hover: hover) { .pick:hover { color: var(--bone-50); border-color: var(--steel-400); } }
.pick.is-on { color: #1A0C03; background: var(--orange-500); border-color: var(--orange-500); }
.console { border-radius: 22px; overflow: hidden; background: var(--graphite-900); border: 1px solid var(--gunmetal-700); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--gunmetal-800); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--gunmetal-700); }
.console-bar span { margin-left: 8px; font-size: .78rem; color: var(--steel-400); }
.console-body { padding: clamp(18px, 2.6vw, 28px); display: grid; gap: 18px; }
.ask { margin: 0; padding: 14px 16px; border-radius: 14px 14px 14px 4px; background: var(--gunmetal-800); color: var(--bone-50); max-width: 46ch; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stages li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--gunmetal-800); background: var(--graphite-950); transition: border-color 300ms var(--ease-out), opacity 300ms var(--ease-out); opacity: .55; }
.stages b { font-size: .85rem; color: var(--bone-50); }
.stages span { font-size: .88rem; color: var(--steel-200); min-height: 1.3em; }
.stages em { font-style: normal; font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--gunmetal-800); color: var(--steel-400); white-space: nowrap; }
.stages li.run { opacity: 1; border-color: rgba(242,106,27,.5); }
.stages li.run em { background: rgba(242,106,27,.16); color: var(--orange-400); }
.stages li.ok { opacity: 1; }
.stages li.ok em { background: rgba(127,214,162,.1); color: #7FD6A2; }
.console-done { display: flex; align-items: center; gap: 10px; color: #7FD6A2; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.console-done svg { width: 18px; height: 18px; }
.console-done.show { opacity: 1; transform: none; }
@media (max-width: 899px) { .demo-grid { grid-template-columns: 1fr; } .stages li { grid-template-columns: 56px 1fr; } .stages em { grid-column: 2; justify-self: start; } }

/* ===== AI vs team ===== */
.split { padding-block: 0 clamp(72px, 10vh, 112px); background: var(--graphite-950); }
.split .h2 { text-align: center; }
.split-grid { margin-top: clamp(32px, 5vh, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-col { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--graphite-900); border: 1px solid var(--gunmetal-700); display: grid; gap: 16px; align-content: start; }
.split-col .h3 { margin: 0; }
.split-col.people { border-color: rgba(242,106,27,.35); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 10px; align-items: baseline; color: var(--steel-200); }
.tick-list svg { width: 15px; height: 15px; color: var(--orange-500); flex: none; transform: translateY(2px); }
@media (max-width: 899px) { .split-grid { grid-template-columns: 1fr; } }

/* ===== industries ===== */
.industries { padding-block: clamp(64px, 9vh, 104px); background: var(--graphite-950); border-top: 1px solid var(--gunmetal-800); }
.ind-grid { margin-top: clamp(28px, 4vh, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--gunmetal-700); }
.ind { padding: 26px 22px 6px 0; display: grid; gap: 12px; align-content: start; }
.ind + .ind { padding-left: 22px; border-left: 1px solid var(--gunmetal-800); }
.ind .h3 { margin: 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.ind ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ind li { color: var(--steel-200); font-size: .95rem; padding-left: 16px; position: relative; }
.ind li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 2px; background: var(--orange-500); }
.ind-more { margin-top: 36px; color: var(--steel-400); }
.ind-more a { color: var(--bone-50); }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: 1fr 1fr; } .ind:nth-child(3) { padding-left: 0; border-left: 0; } .ind:nth-child(n+3) { border-top: 1px solid var(--gunmetal-800); margin-top: 18px; } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } .ind, .ind + .ind { padding-left: 0; border-left: 0; } .ind + .ind { border-top: 1px solid var(--gunmetal-800); margin-top: 14px; } }

/* ===== reveal ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.steps li.reveal:nth-child(2) { transition-delay: 70ms; }
.steps li.reveal:nth-child(3) { transition-delay: 140ms; }
.steps li.reveal:nth-child(4) { transition-delay: 210ms; }

/* ===== reduced motion: everything readable, nothing pinned ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }

  .hero, .statement, .services, .how { height: auto; }
  .pin { position: static; height: auto; min-height: 100svh; overflow: visible; }
  .statement .pin, .services .pin, .how .pin { min-height: 0; padding-block: 120px; }
  .statement-text .w { opacity: 1; }
  .track { flex-direction: column; transform: none !important; padding-inline: var(--gutter); }
  .panel, .panel:nth-child(2) { flex-basis: auto; min-height: 0; }
  .how-steps li { color: var(--ink-soft-on-bone); }
  .how-steps li::before { background: var(--orange-500); }
  .js .reveal { opacity: 1; transform: none; transition: opacity 300ms ease; }
  .report .bar::after { transform: scaleX(1); transition: none; }
  .ecg { stroke-dashoffset: 0; }
  .js .week-col .chips span, .js .week-col.after .done-list li { opacity: 1 !important; transform: rotate(var(--r, 0deg)) !important; transition: none !important; }
}

/* short, wide windows: keep the hero from crowding */
@media (max-height: 820px) { .status-card { display: none; } }

/* ===== phones: show everything immediately, no scroll-gated content ===== */
@media (max-width: 899px) {
  .hero { height: auto; }
  .hero .pin { position: relative; height: auto; min-height: 0; padding: calc(var(--nav-h) + 40px) 0 48px; }
  .hero-copy { align-self: start; padding-bottom: 0; }
  .scroll-cue { display: none; }
  .statement { height: auto; }
  .statement .pin { position: static; height: auto; min-height: 0; padding-block: 48px; overflow: visible; }
  .problems, .week, .demo, .audits, .industries, .process, .close { padding-block: 56px; }
  .split { padding-block: 0 56px; }
  .services { padding-block: 56px 48px; }
  .how { padding-block: 56px 48px; }
  .pivot { margin-top: 36px; }
  .week .h2, .problems .h2, .split .h2 { margin-bottom: .6em; }
  .statement-text .w { opacity: 1; transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .week-col .chips span, .js .week-col.after .done-list li { opacity: 1 !important; transform: rotate(var(--r, 0deg)) !important; transition: none !important; }
  .report .bar::after { transform: scaleX(1); transition: none; }
}
