/* IAS Getting Started | engagement scroll v2
   Forest-like motion · placeholder image slots · brand tokens */

:root {
  --forest: #05110D;
  --forest-2: #13221D;
  --forest-3: #1B523D;
  --cream: #F8F4EE;
  --sand: #F1E9DD;
  --paper: #FFFDF9;
  --bronze: #B89055;
  --bronze-2: #B2976A;
  --bronze-hover: #C89C5A;
  --bronze-light: #DDC49D;
  --ink: #222222;
  --muted: #575760;
  --line: rgba(34, 34, 34, 0.12);
  --teal: #4E9F8D;
  --gold: #EFBF67;
  --white: #fff;
  --shadow: 0 25px 70px rgba(5, 17, 13, 0.12);
  --radius: 20px;
  --sans: "Libre Franklin", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --display: Spectral, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --reveal-dist: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 9px 13px; border-radius: 8px;
  background: var(--gold); color: var(--forest);
  transform: translateY(-180%); transition: transform .2s;
}
.skip:focus { transform: translateY(0); }

/* ── Password gate ── */
.gate {
  position: fixed; inset: 0; z-index: 99;
  display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(circle at 75% 20%, rgba(184,144,85,.28), transparent 34%),
    linear-gradient(135deg, var(--forest), #0b1e17 55%, #152c23);
  color: var(--white);
}
.gate.is-gone {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s, visibility .45s;
}
.gate-card {
  position: relative; width: min(480px, 100%);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(221,196,157,.35);
  border-radius: 28px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 25px 90px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.gate-card::after {
  content: ""; position: absolute; width: 210px; height: 210px;
  right: -90px; top: -100px;
  border: 1px solid rgba(221,196,157,.35); border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(221,196,157,.06), 0 0 0 52px rgba(221,196,157,.04);
}
.eyebrow {
  margin: 0 0 15px; color: var(--bronze);
  text-transform: uppercase; letter-spacing: .16em;
  font-size: 11px; font-weight: 800;
}
.gate h1 {
  position: relative; z-index: 1; margin: 0 0 13px;
  font: 500 clamp(34px, 7vw, 54px)/.98 var(--display);
  letter-spacing: -.04em;
}
.gate p { margin: 0 0 27px; color: #d8e1da; max-width: 38ch; }
.gate-form { position: relative; z-index: 1; display: grid; gap: 10px; }
.gate-label { font-size: 12px; font-weight: 700; color: #d8e1da; }
.gate-row { display: flex; gap: 10px; }
.gate input {
  min-width: 0; flex: 1; padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 11px;
  background: rgba(255,255,255,.1); color: white; outline: none;
}
.gate input::placeholder { color: #aec0b5; }
.gate input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(239,191,103,.2);
}
.gate button {
  padding: 12px 17px; border: 0; border-radius: 11px;
  background: var(--gold); color: var(--forest);
  font-weight: 800; cursor: pointer;
}
.gate button:hover { background: #ffd58a; }
.gate-error { min-height: 20px; margin: 4px 0 0; color: #ffc1a9; font-size: 13px; }
.gate-meta { margin-top: 26px; color: #afc1b6; font-size: 12px; }
.gate-meta strong { color: #e7d1a8; }

/* ── Topbar ── */
.topbar {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 70px);
  color: var(--white);
  transition: background .35s, box-shadow .35s, color .35s;
}
.topbar.scrolled {
  background: rgba(5,17,13,.9);
  box-shadow: 0 8px 25px rgba(5,17,13,.16);
  backdrop-filter: blur(12px);
}
.topbar.is-cream { color: var(--forest); }
.topbar.is-cream.scrolled {
  background: rgba(248,244,238,.92);
  box-shadow: 0 8px 25px rgba(5,17,13,.08);
}
.topbar.is-cream .topbar-note { color: var(--muted); }
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.wordmark-logo {
  width: auto; height: 32px;
  filter: brightness(0) invert(1);
  transition: filter .35s;
}
.topbar.is-cream .wordmark-logo {
  filter: none;
}
.wordmark-text { opacity: .9; }
.topbar-note {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #cfdbd2;
}

/* ── Progress dots ── */
.dots {
  position: fixed; z-index: 18; top: 50%;
  right: clamp(16px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 11px;
  transform: translateY(-50%);
}
.dot {
  position: relative; width: 10px; height: 10px; padding: 0;
  border: 1px solid rgba(5,17,13,.42); border-radius: 50%;
  background: transparent; cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}
.dot::after {
  content: attr(aria-label);
  position: absolute; right: 20px; top: 50%;
  padding: 5px 8px; border-radius: 6px;
  background: var(--forest); color: white;
  font-size: 10px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transform: translateY(-50%) translateX(4px);
  transition: opacity .2s, transform .2s;
}
.dot:hover::after, .dot:focus-visible::after {
  opacity: 1; transform: translateY(-50%) translateX(0);
}
.dot.active {
  border-color: var(--bronze); background: var(--bronze); transform: scale(1.45);
}
.dot:focus-visible { outline: 3px solid rgba(184,144,85,.35); outline-offset: 4px; }
body[data-theme="dark"] .dot { border-color: rgba(255,255,255,.45); }
body[data-theme="dark"] .dot.active { border-color: var(--bronze); background: var(--bronze); }

/* ── Shared section chrome ── */
.section {
  position: relative;
  min-height: 100vh;
  padding: clamp(110px, 13vw, 170px) max(7vw, 24px) clamp(84px, 10vw, 140px);
  overflow: hidden;
}
.section-inner { position: relative; z-index: 1; width: min(1120px, 100%); margin: 0 auto; }
.section-kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  color: var(--bronze); font-size: 11px; font-weight: 800;
  letter-spacing: .17em; text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h2 {
  margin: 0; max-width: 14ch;
  font: 500 clamp(40px, 5.8vw, 78px)/.98 var(--display);
  letter-spacing: -.045em;
}
h3 { margin: 0; font-size: 20px; line-height: 1.15; }
.lead {
  max-width: 52ch; margin: 23px 0 0;
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 99px;
  background: var(--sand); color: var(--forest-2);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.grid-2 {
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: clamp(40px, 8vw, 120px);
}
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.68);
  box-shadow: 0 14px 45px rgba(5,17,13,.06);
}

/* Soft theme fades */
.section-cream { background: var(--cream); color: var(--ink); }
.section-sand { background: var(--sand); color: var(--ink); }
.section-dark {
  color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(184,144,85,.28), transparent 27%),
    linear-gradient(135deg, var(--forest), #1a362a);
}
.section-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-size: cover; background-position: center;
}
.section-bg-cream { background-image: url("assets/backgrounds/03-ias-bg-cream-field.svg"); opacity: .7; }
.section-bg-ruled { background-image: url("assets/backgrounds/04-ias-bg-cream-ruled.svg"); opacity: .45; }
.section-bg-chapter { background-image: url("assets/backgrounds/08-ias-bg-chapter-opener.svg"); opacity: .4; }
.section-dark .lead { color: #d2dfd6; }

/* Soft fade seams between themes */
.section-cream::before,
.section-sand::before,
.section-dark::before,
.scrolly::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 72px;
  pointer-events: none; z-index: 2;
}
.section-cream::before,
.section-sand::before {
  background: linear-gradient(to bottom, rgba(5,17,13,.18), transparent);
}
.section-dark::before,
.scrolly-dark::before {
  background: linear-gradient(to bottom, rgba(248,244,238,.35), transparent);
}
.scrolly-sand::before {
  background: linear-gradient(to bottom, rgba(5,17,13,.12), transparent);
}

/* ── Reveal motion ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-dist));
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Art slots ── */
.art-slot { position: relative; }
.art-slot-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(184,144,85,.12), transparent 45%),
    linear-gradient(180deg, #1a2e26, #0d1a15);
  border: 1px dashed rgba(184,144,85,.45);
}
.section-cream .art-slot-frame,
.section-sand .art-slot-frame,
.scrolly-sand .art-slot-frame {
  background:
    linear-gradient(145deg, rgba(27,82,61,.08), transparent 50%),
    linear-gradient(180deg, #ebe3d6, #ddd3c3);
  border-color: rgba(27,82,61,.28);
}
.art-slot-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.art-slot-placeholder {
  position: absolute; inset: 0;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 20px; text-align: center;
  color: var(--bronze-light);
}
.art-slot-frame.is-empty .art-slot-placeholder { display: flex; }
.section-cream .art-slot-frame.is-empty .art-slot-placeholder,
.section-sand .art-slot-frame.is-empty .art-slot-placeholder,
.scrolly-sand .art-slot-frame.is-empty .art-slot-placeholder { color: var(--forest-3); }
.slot-drop {
  font: 800 13px/1.25 var(--sans);
  letter-spacing: .04em;
  color: inherit;
}
.slot-file {
  display: inline-block;
  margin-top: 2px;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid currentColor;
  font: 700 11px/1.2 var(--sans);
  letter-spacing: .06em;
  opacity: .92;
}
.slot-aspect {
  margin-top: 4px;
  font: 700 11px/1.3 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
}
.slot-label {
  font: 700 12px/1.2 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
}
.slot-hint {
  max-width: 30ch; font-size: 12px; line-height: 1.4; opacity: .78;
}
.art-slot figcaption {
  margin-top: 10px; color: var(--muted); font-size: 12px;
}
.section-dark .art-slot figcaption,
.scrolly-dark .art-slot figcaption { color: #a8b9af; }
.art-slot-sm .art-slot-frame { aspect-ratio: 16 / 9; border-radius: 12px; margin-bottom: 14px; }
.art-slot-frame-soft { aspect-ratio: 16 / 10; margin-bottom: 14px; }
.art-slot-bg .art-slot-frame {
  position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0;
  opacity: .35;
}
.art-slot-bg .art-slot-placeholder { opacity: .55; }

/* Screenshot / QBO drop slots: stronger dashed frame + window chrome */
.art-slot-shot { margin-bottom: 4px; }
.art-slot-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px 0;
  border: 2px dashed var(--bronze);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: rgba(5,17,13,.55);
}
.art-slot-chrome span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(221,196,157,.45);
}
.art-slot-chrome span:nth-child(1) { background: rgba(184,144,85,.7); }
.art-slot-chrome span:nth-child(2) { background: rgba(239,191,103,.55); }
.art-slot-chrome span:nth-child(3) { background: rgba(78,159,141,.5); }
.scrolly-sand .art-slot-chrome,
.section-cream .art-slot-chrome,
.section-sand .art-slot-chrome {
  background: rgba(248,244,238,.92);
  border-color: var(--bronze);
}
.art-slot-frame-shot {
  aspect-ratio: 16 / 9;
  border-radius: 0 0 14px 14px;
  border: 2px dashed var(--bronze);
  border-top: 1px dashed rgba(184,144,85,.55);
  min-height: 160px;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(184,144,85,.04) 10px,
      rgba(184,144,85,.04) 20px
    ),
    linear-gradient(160deg, rgba(184,144,85,.1), transparent 40%),
    linear-gradient(180deg, #14241e, #0b1712);
}
.section-cream .art-slot-frame-shot,
.section-sand .art-slot-frame-shot,
.scrolly-sand .art-slot-frame-shot {
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(184,144,85,.06) 10px,
      rgba(184,144,85,.06) 20px
    ),
    linear-gradient(160deg, rgba(27,82,61,.06), transparent 45%),
    linear-gradient(180deg, #f3ebe0, #e5d9c8);
  border-color: var(--bronze);
}
.art-slot-shot .slot-drop {
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--gold);
}
.section-cream .art-slot-shot .slot-drop,
.section-sand .art-slot-shot .slot-drop,
.scrolly-sand .art-slot-shot .slot-drop { color: var(--forest-3); }
.art-slot-shot .art-slot-placeholder { gap: 8px; padding: 24px 18px; }
.art-slot-sm.art-slot-shot .art-slot-frame-shot { margin-bottom: 0; }
.art-slot-plate .art-slot-frame {
  border-style: dashed;
  border-width: 1.5px;
}


/* When a plate/shot is present, drop chrome settles into a quiet frame */
.art-slot-frame:not(.is-empty) {
  border-style: solid;
  border-color: rgba(184,144,85,.28);
}
.section-cream .art-slot-frame:not(.is-empty),
.section-sand .art-slot-frame:not(.is-empty),
.scrolly-sand .art-slot-frame:not(.is-empty) {
  border-color: rgba(5,17,13,.12);
}
.art-slot-shot:not(:has(.art-slot-frame.is-empty)) .art-slot-chrome {
  display: none;
}
.art-slot-shot:not(:has(.art-slot-frame.is-empty)) .art-slot-frame-shot {
  border-radius: 14px;
  border-style: solid;
  border-width: 1px;
  border-top-width: 1px;
}

/* ── Sticky scrolly ── */
.scrolly {
  position: relative;
  background: var(--forest);
  color: white;
}
.scrolly-dark {
  background:
    url("assets/backgrounds/01-ias-bg-forest-deep.svg") center / cover no-repeat,
    radial-gradient(circle at 76% 18%, rgba(184,144,85,.28), transparent 28%),
    linear-gradient(140deg, var(--forest), var(--forest-2) 68%, #1d3b2f);
}
.scrolly-sand {
  background:
    url("assets/backgrounds/06-ias-bg-bronze-line-motif.svg") center / cover no-repeat,
    var(--sand);
  color: var(--ink);
}
.scrolly-track {
  position: relative;
  height: 200vh;
}
#stop-1 .scrolly-track { height: 210vh; }
#stop-4 .scrolly-track { height: 220vh; }
#stop-6 .scrolly-track { height: 200vh; }

.scrolly-sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 100px max(7vw, 24px) 72px;
}
.scrolly-visual { position: relative; }
.scrolly-copy { position: relative; min-height: 280px; }
.scrolly-step {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(18px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
  pointer-events: none;
}
.scrolly-step.is-active {
  opacity: 1; visibility: visible; transform: translateY(0);
  pointer-events: auto;
}
.scrolly-step h1 {
  margin: 0; max-width: 12ch;
  font: 500 clamp(42px, 6.5vw, 88px)/.9 var(--display);
  letter-spacing: -.055em;
}
.scrolly-step h2 { max-width: 12ch; }
.scrolly-step .dek {
  max-width: 42ch; margin: 22px 0 0;
  color: #d9e4dc; font-size: clamp(15px, 1.5vw, 19px);
}
.scrolly-sand .scrolly-step .dek { color: var(--muted); }
.scrolly-progress {
  margin-top: 22px; height: 3px; border-radius: 99px;
  background: rgba(255,255,255,.15); overflow: hidden;
}
.scrolly-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--bronze), var(--gold));
  transition: width .08s linear;
}
.scrolly-progress-dark { background: rgba(5,17,13,.12); }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 28px;
  color: var(--bronze-light); font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; font-size: 12px;
}
.scroll-cue i { display: block; width: 27px; height: 1px; background: currentColor; }

/* Persistent scroll cue on scrolly stops (1 / 4 / 6) */
.scrolly-nudge {
  position: absolute;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  color: var(--bronze-light);
  font: 800 10px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .72;
  transition: opacity .55s var(--ease), visibility .55s;
}
.scrolly-nudge.is-faded {
  opacity: 0;
  visibility: hidden;
}
.scrolly-nudge-dark { color: var(--forest-3); }
.nudge-chevron {
  display: block;
  animation: nudge-bounce 1.7s var(--ease) infinite;
}
@keyframes nudge-bounce {
  0%, 100% { transform: translateY(0); opacity: .55; }
  45% { transform: translateY(7px); opacity: 1; }
  70% { transform: translateY(3px); opacity: .8; }
}

/* Light mouse-wheel hint on password gate */
.gate-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  color: rgba(221,196,157,.7);
  font: 700 10px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gate-scroll-dot {
  animation: gate-wheel 1.8s var(--ease) infinite;
}
@keyframes gate-wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(6px); opacity: .15; }
  100% { transform: translateY(0); opacity: 0; }
}

.path-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.path-pill {
  padding: 7px 12px; border-radius: 99px;
  border: 1px solid rgba(221,196,157,.28);
  background: rgba(255,255,255,.06);
  color: #a8b9af; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.path-pill.is-on {
  border-color: var(--gold);
  background: rgba(239,191,103,.16);
  color: var(--gold);
}

.money-wash {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.money-visual .total-lockup { margin-bottom: 28px; }
.total-lockup .label {
  display: block; color: var(--muted); font-size: 11px;
  font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.total {
  display: block; color: var(--forest);
  font: 500 clamp(47px, 7vw, 92px)/.95 var(--display);
  letter-spacing: -.06em;
}
.bars { display: grid; gap: 16px; }
.bar-row {
  display: grid; grid-template-columns: 145px 1fr auto;
  align-items: center; gap: 13px; font-size: 13px;
}
.bar-name { font-weight: 700; }
.bar-track {
  height: 13px; overflow: hidden; border-radius: 99px;
  background: rgba(5,17,13,.1);
}
.bar-fill {
  width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--forest-2), var(--teal));
  transition: width 1.1s cubic-bezier(.2,.8,.2,1);
}
.bar-row:nth-child(2) .bar-fill { background: linear-gradient(90deg, #3a7569, #7ebda8); }
.bar-row:nth-child(3) .bar-fill { background: linear-gradient(90deg, var(--bronze), #d7bb8a); }
.bar-row:nth-child(4) .bar-fill { background: linear-gradient(90deg, #a87143, #e1b873); }
.bar-value { min-width: 69px; text-align: right; color: var(--forest-2); font-weight: 800; }

/* ── Stop 2 doors ── */
.doors {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: -8px; position: relative; z-index: 1;
}
.door {
  min-height: 88px; display: grid; place-items: end center;
  padding: 12px; border-radius: 12px 12px 4px 4px;
  border: 1px solid rgba(5,17,13,.14);
  background: linear-gradient(180deg, #e8e0d4, #d5cbb8);
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
}
.door.is-open {
  background: linear-gradient(180deg, var(--forest-3), var(--forest-2));
  color: var(--bronze-light); border-color: var(--bronze);
  box-shadow: 0 12px 28px rgba(5,17,13,.18);
}
.split-story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 42px;
}
.story-pane { min-height: 280px; padding: 28px; border-radius: 17px; }
.story-pane.bad { background: #f1ede8; color: #576057; }
.story-pane.good {
  background: var(--forest-2); color: white;
  transform: translateY(-12px);
  box-shadow: 0 18px 35px rgba(5,17,13,.18);
}
.story-pane h3 { margin: 19px 0 22px; font: 500 31px/.98 var(--display); }
.story-pane ul { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; font-size: 14px; }
.story-pane li { display: flex; gap: 9px; }
.story-pane li::before { content: "•"; color: var(--bronze); font-weight: 800; }
.outcome { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.outcome .card { padding: 20px; }
.outcome strong { display: block; margin-bottom: 5px; font-size: 15px; }
.outcome p { margin: 0; color: var(--muted); font-size: 13px; }

/* ── Stop 3 people ── */
.people-layout {
  display: grid; grid-template-columns: .85fr 1.15fr;
  align-items: start; gap: clamp(40px, 9vw, 100px);
}
.people-quote {
  margin: 36px 0 24px; padding-left: 21px;
  border-left: 2px solid var(--bronze);
  color: var(--forest-2);
  font: italic 22px/1.35 var(--display);
}
.roles { display: grid; gap: 10px; }
.role {
  display: grid; grid-template-columns: 35px 1fr auto;
  align-items: center; gap: 16px; padding: 18px 20px;
  border: 1px solid rgba(5,17,13,.12); border-radius: 13px;
  background: rgba(255,255,255,.62);
}
.role .role-num { color: var(--bronze); font: 500 17px var(--display); }
.role strong { display: block; font-size: 15px; }
.role span { color: var(--muted); font-size: 12px; }
.role em {
  color: var(--forest-3); font-size: 11px; font-style: normal;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

/* ── Stop 5 listen ── */
.listen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.gate-card-small { padding: 29px; }
.gate-card-small.included { border-top: 3px solid var(--teal); }
.gate-card-small .round { color: var(--bronze); font: 500 38px var(--display); }
.gate-card-small h3 { margin: 10px 0; }
.gate-card-small p { margin: 0; color: var(--muted); font-size: 14px; }
.timeline {
  display: flex; align-items: flex-start; gap: 0; margin: 42px 0 0;
}
.time-step { flex: 1; position: relative; padding-right: 28px; }
.time-step:not(:last-child)::after {
  content: ""; position: absolute; top: 10px; left: 39px; right: 11px;
  height: 1px; background: var(--bronze-light);
}
.time-dot {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 20px; height: 20px; border: 5px solid var(--cream);
  border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}
.time-dot-bronze { background: var(--bronze); box-shadow: 0 0 0 1px var(--bronze); }
.time-step strong { display: block; margin-top: 12px; font-size: 13px; }
.time-step span { color: var(--muted); font-size: 11px; }
.pitstop {
  margin: 43px 0 0; padding: 20px 24px; border-radius: 12px;
  background: var(--forest-2); color: white;
  font: italic 18px var(--display);
}

/* ── Stop 7 reach ── */
.reach-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 48px; }
.reach-panel { min-height: 200px; padding: 26px; border-radius: 17px; }
.reach-panel.road { background: var(--forest-2); color: white; }
.reach-panel.fuel { background: #e9f1ec; color: var(--forest-2); }
.reach-panel .icon {
  display: grid; place-items: center; width: 43px; height: 43px;
  margin-bottom: 28px; border-radius: 50%;
  background: rgba(239,191,103,.17); color: var(--gold); font-size: 20px;
}
.fuel .icon { background: rgba(78,159,141,.18); color: var(--teal); }
.reach-panel h3 { font: 500 29px/.98 var(--display); }
.reach-panel p { max-width: 31ch; margin: 12px 0 0; color: #bdd0c4; font-size: 13px; }
.fuel p { color: var(--muted); }
.vignettes { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }
.vignette {
  padding: 21px 24px; border: 1px solid var(--line); border-radius: 13px;
  background: rgba(255,255,255,.55);
}
.vignette .label {
  color: var(--bronze); font-size: 10px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.vignette strong { display: block; margin: 8px 0 4px; font: 500 22px var(--display); }
.vignette > span:last-child { color: var(--muted); font-size: 12px; }
.caveat { margin-top: 18px; color: var(--muted); font-size: 12px; }

/* ── Stop 8 close ── */
.close-layout {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 70px; align-items: center;
}
.decisions { display: grid; gap: 10px; margin-top: 35px; padding: 0; list-style: none; }
.decisions li {
  display: flex; align-items: start; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: #cedbd2; font-size: 14px;
}
.decisions li::before { content: "→"; color: var(--gold); font-weight: 800; }
.cta-card {
  padding: 32px; border: 1px solid rgba(221,196,157,.35);
  border-radius: 18px; background: rgba(255,255,255,.08);
}
.cta-card .eyebrow { color: var(--bronze-light); }
.cta-card h3 { margin: 0 0 14px; font: 500 37px/.98 var(--display); }
.cta-card p { color: #c4d2c8; font-size: 13px; }
.cta-button {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 14px;
  padding: 13px 17px; border-radius: 10px;
  background: var(--gold); color: var(--forest);
  font-size: 13px; font-weight: 800;
  transition: background .2s;
}
.cta-button:hover { background: var(--bronze-hover); color: var(--forest); }

.footer {
  padding: 25px max(7vw, 24px); background: #030b08;
  color: #95a69c; font-size: 11px;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 15px;
  width: min(1120px, 100%); margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .topbar-note { display: none; }
  .dots { right: 10px; }
  .scrolly-sticky {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    padding-top: 88px;
  }
  .scrolly-visual { max-width: 420px; }
  .scrolly-copy { min-height: 220px; }
  .scrolly-track { height: 240vh !important; }
  .grid-2, .people-layout, .close-layout { grid-template-columns: 1fr; gap: 36px; }
  .split-story, .listen-grid, .reach-panels, .vignettes { grid-template-columns: 1fr; }
  .story-pane.good { transform: none; }
  .outcome { grid-template-columns: 1fr; }
  .doors { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 110px 1fr auto; }
}
@media (max-width: 500px) {
  .section, .scrolly-sticky { padding-left: 22px; padding-right: 36px; }
  .gate-row { flex-direction: column; }
  .gate button { width: 100%; }
  .role { grid-template-columns: 25px 1fr; }
  .role em { grid-column: 2; }
  .bar-row { grid-template-columns: 90px 1fr; gap: 7px; }
  .bar-value { grid-column: 2; text-align: left; margin-top: -5px; }
  .footer-inner { flex-direction: column; }
  .timeline { flex-wrap: wrap; gap: 18px; }
  .time-step { flex: 1 1 40%; }
  .time-step::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1; transform: none; transition: none;
  }
  .scrolly-step {
    position: relative; opacity: 1; visibility: visible;
    transform: none; pointer-events: auto;
    margin-bottom: 28px;
  }
  .scrolly-copy { min-height: 0; }
  .scrolly-track { height: auto !important; }
  .scrolly-sticky { position: relative; height: auto; padding-bottom: 80px; }
  .scrolly-nudge { display: none; }
  .gate-scroll-hint { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
