@font-face {
  font-family: "DFB Sans Pro";
  src: url("../fonts/DFB-Sans-Pro.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "DFB Sans Pro";
  src: url("../fonts/DFB-Sans-Pro-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --deep: #001f23;
  --dark: #004941;
  --mint-2: #a6caba;
  --mint-1: #c8f2e0;
  --lime: #bdff00;
  --violet: #6100ff;
  --web-black: #212121;
  --white: #f7fbf8;
  --line: rgba(200, 242, 224, 0.22);
  --line-strong: rgba(200, 242, 224, 0.48);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  background: var(--deep);
  color: var(--white);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--deep);
  font-family: "DFB Sans Pro", Arial, sans-serif;
  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.42;
  text-rendering: optimizeLegibility;
}

button, a, summary { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

::selection {
  color: var(--deep);
  background: var(--lime);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 120;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--deep);
  background: var(--lime);
  font-weight: 760;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms;
}

.skip-link:focus { transform: translateY(0); }

.story-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 3.2vw, 56px);
  background: rgba(0, 31, 35, .94);
  border-bottom: 1px solid rgba(200, 242, 224, .12);
  backdrop-filter: blur(10px);
}

.brand-lockup {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mint-1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 700;
}

.brand-lockup img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.scene-counter {
  color: var(--mint-2);
  font-size: 12px;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}

.scene-counter b { color: var(--white); }

.text-button,
.dialog-close,
.replay-button,
.primary-button,
.segmented-control button,
.taxonomy-controls button,
.structure-controls button {
  border: 0;
  cursor: pointer;
}

.text-button {
  padding: 8px 0;
  color: var(--mint-1);
  background: transparent;
  border-bottom: 1px solid var(--mint-2);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 11px;
  font-weight: 720;
}

.text-button:hover { color: var(--lime); border-color: var(--lime); }

.scroll-progress {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: rgba(166, 202, 186, .12);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.chapter-nav {
  position: fixed;
  z-index: 70;
  top: 50%;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform: translateY(-50%);
}

.chapter-nav a {
  width: 42px;
  min-height: 34px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  overflow: hidden;
  padding: 5px 8px;
  color: var(--mint-2);
  background: rgba(0, 31, 35, .84);
  border-left: 2px solid rgba(166, 202, 186, .28);
  text-decoration: none;
  transition: width 220ms var(--ease), color 180ms, border-color 180ms, background 180ms;
}

.chapter-nav a:hover,
.chapter-nav a:focus-visible,
.chapter-nav a.is-active {
  width: 126px;
  color: var(--white);
  border-color: var(--lime);
  background: rgba(0, 73, 65, .94);
}

.chapter-nav span {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.chapter-nav b {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 10px;
  opacity: 0;
  transform: translateX(5px);
  transition: opacity 160ms, transform 220ms var(--ease);
}

.chapter-nav a:hover b,
.chapter-nav a:focus-visible b,
.chapter-nav a.is-active b { opacity: 1; transform: translateX(0); }

.story {
  position: relative;
  isolation: isolate;
}

.visual-stage {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--deep);
}

.visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,31,35,.98) 0, rgba(0,31,35,.90) var(--copy-w, 660px), rgba(0,31,35,.18) calc(var(--copy-w, 660px) + 160px), transparent calc(var(--copy-w, 660px) + 340px)),
    linear-gradient(180deg, rgba(0,31,35,.58) 0%, transparent 22%, transparent 78%, rgba(0,31,35,.72) 100%);
}

.visual-stage::after {
  content: attr(data-purpose);
  position: absolute;
  z-index: 0;
  right: 2vw;
  bottom: -3vw;
  color: rgba(166, 202, 186, .035);
  font-size: clamp(90px, 17vw, 320px);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -.075em;
  line-height: .72;
  text-transform: uppercase;
  white-space: nowrap;
}

.point-field {
  position: absolute;
  z-index: 0;
  width: min(48vw, 720px);
  aspect-ratio: 1;
  opacity: .26;
  background-image: radial-gradient(circle, var(--mint-2) 0 1px, transparent 1.25px);
  background-size: 9px 9px;
  mask-image: radial-gradient(circle at center, #000 0, transparent 68%);
}

.point-field-a { top: -20%; right: -8%; transform: rotate(14deg); }
.point-field-b { left: 32%; bottom: -35%; transform: rotate(-18deg); opacity: .13; }

.pitch-shell {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: min(94vw, calc((100svh - 88px) * 1.5), 2000px);
  aspect-ratio: 111 / 74;
  transform: translate(calc(-50% + var(--camera-x, 13vw)), calc(-50% + var(--camera-y, 4vh))) scale(var(--camera-z, .92)) rotate(var(--camera-r, -5deg));
  transform-origin: center;
  transition: transform 440ms var(--ease), opacity 220ms ease;
  will-change: transform;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .28));
}

.tactical-pitch {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pitch-fill {
  fill: rgba(0, 73, 65, .17);
  stroke: none;
}

.pitch-lines {
  fill: none;
  stroke: rgba(189, 255, 0, .58);
  stroke-width: .22;
  vector-effect: non-scaling-stroke;
}

.pitch-lines .solid-mark { fill: rgba(189, 255, 0, .78); stroke: none; }
.pitch-lines .goal { stroke: rgba(200, 242, 224, .7); }

.scene-art {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scene-art.is-active {
  opacity: 1;
  visibility: visible;
}

.scene-art .trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: .42;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.trace.lime { stroke: var(--lime); }
.trace.mint { stroke: var(--mint-1); }
.trace.violet { stroke: var(--violet); }
.trace.white { stroke: var(--white); }
.trace.dashed { stroke-dasharray: 1.2 1.2; }

.evidence-grid .zone-cell {
  fill: rgba(166, 202, 186, .025);
  stroke: rgba(200, 242, 224, .28);
  stroke-width: .18;
  vector-effect: non-scaling-stroke;
}

.evidence-grid .zone-alt { fill: rgba(0, 73, 65, .16); }
.evidence-grid .zone-active { fill: rgba(189, 255, 0, .075); }
.throw-in-grid .zone-cell,
.throw-in-final-grid .zone-cell { stroke-dasharray: 1 1.25; }

.zone-label {
  fill: rgba(200, 242, 224, .82);
  stroke: rgba(0, 31, 35, .98);
  stroke-width: .38;
  paint-order: stroke;
  font-family: "DFB Sans Pro", Arial, sans-serif;
  font-size: 1.05px;
  font-weight: 760;
  letter-spacing: .08em;
}

.corner-grid .zone-cell { stroke: rgba(200, 242, 224, .34); }
.corner-grid .zone-label { font-size: .82px; }

.node {
  fill: var(--deep);
  stroke: var(--mint-1);
  stroke-width: .32;
  vector-effect: non-scaling-stroke;
}

.node.is-primary { fill: var(--lime); stroke: var(--deep); }
.restart-nodes .node { animation: node-pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.restart-nodes .node:nth-child(2n) { animation-delay: -1.4s; }
@keyframes node-pulse { 50% { opacity: .58; transform: scale(.78); } }

.zone-ring { fill: rgba(0,31,35,.25); stroke-width: .34; vector-effect: non-scaling-stroke; }
.lime-ring { stroke: var(--lime); }
.mint-ring { stroke: var(--mint-1); }
.violet-ring { stroke: var(--violet); }
.contest-ring { fill: rgba(97,0,255,.14); stroke: var(--violet); stroke-width: .34; vector-effect: non-scaling-stroke; }
.ball-ring { fill: var(--white); stroke: var(--lime); stroke-width: .42; vector-effect: non-scaling-stroke; }
.action-node { fill: var(--deep); stroke: var(--lime); stroke-width: .36; vector-effect: non-scaling-stroke; }
.violet-node { stroke: var(--violet); }
.contact-mark { fill: var(--white); stroke: var(--lime); stroke-width: .35; vector-effect: non-scaling-stroke; }
.recovery-mark { fill: var(--violet); stroke: var(--white); stroke-width: .35; vector-effect: non-scaling-stroke; }
.player-moving { fill: var(--lime); stroke: var(--deep); stroke-width: .3; vector-effect: non-scaling-stroke; }
.player-static { fill: var(--mint-2); stroke: var(--deep); stroke-width: .3; vector-effect: non-scaling-stroke; }
.lime-players circle { fill: var(--lime); stroke: var(--deep); stroke-width: .25; vector-effect: non-scaling-stroke; }
.pale-players circle { fill: var(--mint-1); stroke: var(--deep); stroke-width: .25; vector-effect: non-scaling-stroke; }
.violet-players circle { fill: var(--violet); stroke: var(--white); stroke-width: .22; vector-effect: non-scaling-stroke; }

.svg-label,
.action-label,
.svg-number,
.svg-word {
  font-family: "DFB Sans Pro", Arial, sans-serif;
  paint-order: stroke;
  stroke: rgba(0,31,35,.94);
  stroke-width: .45;
  stroke-linejoin: round;
  letter-spacing: .08em;
}

.svg-label { fill: var(--mint-1); font-size: 1.45px; font-weight: 720; }
.svg-number { fill: var(--white); font-size: 3.25px; font-weight: 850; letter-spacing: -.035em; }
.svg-word { fill: var(--mint-1); font-size: 2.3px; font-weight: 830; }
.action-label { fill: var(--white); font-size: 1.55px; font-weight: 800; }
.centre { text-anchor: middle; }
.lime-text { fill: var(--lime); color: var(--lime); }
.violet-text { fill: #a77dff; color: #a77dff; }

.timing-arc { fill: none; stroke: var(--violet); stroke-width: .34; stroke-dasharray: 1 1; vector-effect: non-scaling-stroke; }
.measure-line { stroke: var(--violet); stroke-width: .28; stroke-dasharray: 1 1; vector-effect: non-scaling-stroke; }
.shot-spark path { fill: none; stroke: var(--lime); stroke-width: .4; vector-effect: non-scaling-stroke; }
.violet-spark path { stroke: var(--violet); }
.focus-zone { fill: rgba(189,255,0,.04); stroke: var(--lime); stroke-width: .25; stroke-dasharray: 1 1; vector-effect: non-scaling-stroke; }
.zone-band { stroke: var(--mint-2); stroke-width: .18; vector-effect: non-scaling-stroke; }
.band-own { fill: rgba(166,202,186,.025); }
.band-mid { fill: rgba(166,202,186,.055); }
.band-final { fill: rgba(189,255,0,.07); }
.shot-row circle { fill: var(--lime); }
.outswing-shots circle { fill: #a77dff; }
.score-dots circle { fill: var(--lime); }

.compare-art[data-focus="direct"] [data-compare-art="other"],
.compare-art[data-focus="other"] [data-compare-art="direct"],
.structure-art[data-focus="build"] [data-structure-art]:not([data-structure-art="build"]),
.structure-art[data-focus="equal"] [data-structure-art]:not([data-structure-art="equal"]),
.structure-art[data-focus="press"] [data-structure-art]:not([data-structure-art="press"]) {
  opacity: .12;
}

[data-taxonomy-art] {
  opacity: 1;
  transform: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 180ms var(--ease), transform 260ms var(--ease);
}

.taxonomy-art[data-focus] [data-taxonomy-art] {
  opacity: .1;
  transform: scale(.96);
}

.taxonomy-art[data-focus="control"] [data-taxonomy-art="control"],
.taxonomy-art[data-focus="territory"] [data-taxonomy-art="territory"],
.taxonomy-art[data-focus="second"] [data-taxonomy-art="second"] {
  opacity: 1;
  transform: none;
}

.taxonomy-art.is-switching[data-focus="control"] [data-taxonomy-art="control"] {
  animation: taxonomy-control 620ms cubic-bezier(.22, 1, .36, 1);
}

.taxonomy-art.is-switching[data-focus="territory"] [data-taxonomy-art="territory"] {
  animation: taxonomy-territory 660ms cubic-bezier(.22, 1, .36, 1);
}

.taxonomy-art.is-switching[data-focus="second"] [data-taxonomy-art="second"] {
  animation: taxonomy-second 700ms cubic-bezier(.22, 1, .36, 1);
}

@keyframes taxonomy-control {
  0% { opacity: .25; transform: scale(.94); }
  55% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes taxonomy-territory {
  0% { opacity: .2; transform: translate(-10px, 8px); }
  100% { opacity: 1; transform: translate(0, 0); }
}

@keyframes taxonomy-second {
  0% { opacity: .2; transform: rotate(-7deg) scale(.94); }
  65% { opacity: 1; transform: rotate(2deg) scale(1.05); }
  100% { opacity: 1; transform: none; }
}

[data-compare-art], [data-structure-art] { transition: opacity 220ms; }

.stage-key {
  position: absolute;
  z-index: 2;
  right: clamp(68px, 6vw, 104px);
  bottom: clamp(30px, 4vw, 64px);
  display: flex;
  align-items: baseline;
  gap: 11px;
  color: var(--mint-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
}

.stage-key::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--lime);
}

.stage-index { color: var(--lime); font-size: 13px; font-weight: 820; }
.motion-hint {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 4vw, 64px);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mint-2);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  transition: opacity 260ms;
}
.motion-hint span { width: 1px; height: 34px; background: var(--lime); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 50% { transform: scaleY(.45); transform-origin: bottom; } }
body.has-progressed .motion-hint { opacity: 0; }

.story-steps { position: relative; z-index: 4; }

.story-step {
  min-height: 104vh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  padding: calc(var(--header-h) + 7vh) clamp(22px, 4vw, 64px) 8vh;
}

.story-step:nth-child(3n + 2) { min-height: 112vh; }
.hero-step { min-height: 122vh; align-items: start; padding-top: 19vh; }
.final-step { min-height: 116vh; }

.story-copy {
  grid-column: 1 / span 5;
  position: relative;
  max-width: 660px;
  padding: clamp(22px, 2.3vw, 38px) clamp(18px, 2.1vw, 32px) clamp(24px, 2.4vw, 40px) 28px;
  background: var(--deep);
  border-left: 1px solid rgba(189,255,0,.22);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  opacity: 1;
  transform: none;
  transition: border-color 380ms ease, box-shadow 380ms ease;
}

/* A keyline, not a caption: the ordinal leaked out as a stray numeral. */
.story-copy::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -1px;
  width: 1px;
  height: 18px;
  background: var(--lime);
}

.story-step.is-active .story-copy {
  border-left-color: var(--lime);
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
}

.hero-copy {
  grid-column: 1 / span 6;
  max-width: 820px;
  padding-left: 0;
  background: transparent;
  border-left: 0;
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: clamp(10px, .72vw, 13px);
  font-weight: 760;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 9ch;
  margin-bottom: 32px;
  font-size: clamp(88px, 11.5vw, 204px);
  font-weight: 890;
  font-stretch: condensed;
  letter-spacing: -.075em;
  line-height: .71;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(44px, 5.1vw, 86px);
  font-weight: 850;
  font-stretch: condensed;
  letter-spacing: -.055em;
  line-height: .88;
  text-transform: uppercase;
  text-wrap: balance;
}

.quiet-step h2 { max-width: 12ch; }
.climax-step h2 { color: var(--white); }

.lead,
.hero-deck {
  max-width: 40rem;
  color: var(--mint-1);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.42;
}

.hero-deck { max-width: 34rem; font-size: clamp(20px, 1.55vw, 28px); }

.evidence-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.evidence-row.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.evidence-row.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.evidence-row.single-stat { max-width: 340px; grid-template-columns: minmax(0, 1fr); }
.evidence-row > div { padding: 16px 12px 16px 0; }
.evidence-row > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.evidence-row strong {
  display: block;
  color: var(--lime);
  font-size: clamp(31px, 2.8vw, 50px);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
  line-height: .92;
}
.evidence-row span {
  display: block;
  margin-top: 7px;
  color: var(--mint-2);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 10px;
}
.evidence-row .violet-stat strong { color: #a77dff; }

.claim {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.claim p { margin: 0; color: var(--mint-1); font-size: .92em; }

.claim-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  color: var(--deep);
  background: var(--lime);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 9px;
  font-weight: 820;
  white-space: nowrap;
}

.claim-tag::before { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
.tag-interpretation { color: var(--deep); background: var(--mint-1); }
.tag-caution { color: var(--deep); background: var(--mint-2); }
.tag-caution::before { border-radius: 0; }

.coach-question {
  margin: 24px 0 0;
  padding-left: 16px;
  color: var(--white);
  border-left: 3px solid var(--violet);
  font-size: clamp(17px, 1.15vw, 21px);
  font-style: italic;
}

.micro-note {
  margin: 20px 0 0;
  color: var(--mint-2);
  font-size: 12px;
}

.source-note {
  margin-top: 20px;
  color: var(--mint-2);
  font-size: 12px;
}

.source-note summary {
  width: max-content;
  cursor: pointer;
  color: var(--mint-1);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
}

.taxonomy-controls,
.structure-controls {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.taxonomy-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.taxonomy-controls button,
.structure-controls button {
  min-height: 68px;
  padding: 12px;
  color: var(--mint-2);
  background: rgba(0, 73, 65, .28);
  border: 1px solid var(--line);
  text-align: left;
  transition: color 160ms, border-color 160ms, background 160ms, transform 160ms var(--ease);
}

.taxonomy-controls button:active,
.structure-controls button:active,
.replay-button:active { transform: scale(.97); }

.taxonomy-controls button[aria-pressed="true"],
.structure-controls button[aria-pressed="true"] {
  color: var(--white);
  background: rgba(0, 73, 65, .68);
  border-color: var(--lime);
}

.taxonomy-controls b,
.taxonomy-controls span,
.structure-controls b,
.structure-controls span { display: block; }
.taxonomy-controls b, .structure-controls b { color: var(--lime); font-size: 14px; }
.taxonomy-controls span, .structure-controls span { margin-top: 4px; font-size: 11px; }

.segmented-control {
  width: max-content;
  display: flex;
  margin: 26px 0 0;
  border: 1px solid var(--line-strong);
}

.segmented-control button {
  min-height: 44px;
  padding: 8px 16px;
  color: var(--mint-2);
  background: transparent;
}

.segmented-control button + button { border-left: 1px solid var(--line-strong); }
.segmented-control button[aria-pressed="true"] { color: var(--deep); background: var(--lime); font-weight: 760; }

.replay-button,
.primary-button {
  min-height: 44px;
  padding: 11px 16px;
  color: var(--deep);
  background: var(--lime);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
  font-weight: 820;
}

.replay-button:hover,
.primary-button:hover { background: var(--mint-1); }

.replay-button[aria-busy="true"] { cursor: wait; }

.delivery-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.delivery-list span {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding-bottom: 9px;
  color: var(--mint-2);
  border-bottom: 1px solid var(--line);
}

.delivery-list span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(var(--share) * 100%);
  height: 2px;
  background: var(--lime);
}
.delivery-list b { color: var(--white); font-weight: 650; }
.delivery-list em { color: var(--lime); font-style: normal; font-variant-numeric: tabular-nums; }

.structure-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.structure-controls button { text-align: center; }
.structure-controls button:last-child[aria-pressed="true"] { border-color: #a77dff; }
.structure-controls button:last-child b { color: #a77dff; }

.closing-principles {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: principles;
}

.closing-principles li {
  counter-increment: principles;
  display: grid;
  grid-template-columns: minmax(150px, .7fr) 1.3fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.closing-principles b { color: var(--lime); font-weight: 760; }
.closing-principles span { color: var(--mint-1); font-size: .88em; }

.final-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.secondary-link {
  color: var(--mint-1);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  font-size: 13px;
}
.secondary-link:hover { color: var(--lime); }

.methodology-dialog {
  width: min(1120px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 0;
  color: var(--white);
  background: var(--deep);
  border: 1px solid var(--mint-2);
  overflow: auto;
}

.methodology-dialog::backdrop { background: rgba(0, 15, 17, .82); backdrop-filter: blur(6px); }
.dialog-header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px 22px;
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}
.dialog-header .eyebrow { margin-bottom: 10px; }
.dialog-header h2 { max-width: none; margin: 0; font-size: clamp(32px, 4vw, 58px); }
.dialog-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--deep);
  background: var(--lime);
  font-size: 30px;
  line-height: 1;
}
.dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 8px 30px 26px;
}
.dialog-grid section { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.dialog-grid section:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.dialog-grid h3 { margin-bottom: 8px; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; font-size: 16px; }
.dialog-grid p { margin: 0; color: var(--mint-1); font-size: 14px; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.noscript-note {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: 30rem;
  padding: 12px;
  color: var(--deep);
  background: var(--lime);
}

@media (max-width: 1099px) {
  :root { --header-h: 68px; }
  .story-header { grid-template-columns: 1fr auto; }
  .brand-lockup span { display: none; }
  .chapter-nav { display: none; }
  .visual-stage::before {
    background: linear-gradient(180deg, rgba(0,31,35,.12) 0%, rgba(0,31,35,.22) 47%, rgba(0,31,35,.96) 65%, var(--deep) 100%);
  }
  .pitch-shell {
    left: 50%;
    top: 32%;
    width: min(120vw, 1240px);
    transform: translate(-50%, -50%) scale(var(--camera-z, 1)) rotate(0deg);
  }
  .stage-key { top: 46vh; right: 24px; bottom: auto; }
  .motion-hint { display: none; }
  .story-step {
    min-height: 105vh;
    align-items: end;
    padding: 52vh 24px 8vh;
  }
  .story-step:nth-child(3n + 2) { min-height: 105vh; }
  .hero-step { min-height: 112vh; padding-top: 15vh; align-items: start; }
  .story-copy, .hero-copy {
    grid-column: 1 / -1;
    max-width: 720px;
    background: var(--deep);
  }
  .hero-copy { background: transparent; }
  h1 { font-size: clamp(80px, 17vw, 150px); }
  h2 { font-size: clamp(42px, 8vw, 72px); }
}

@media (max-width: 719px) {
  :root { --header-h: 62px; }
  html { scroll-padding-top: 76px; }
  body { font-size: 16px; }
  .story-header { padding: 0 16px; }
  .brand-lockup img { width: 34px; height: 34px; }
  .header-actions { gap: 12px; }
  .scene-counter { font-size: 10px; }
  .text-button { font-size: 9px; }
  .visual-stage {
    position: fixed;
    height: 100vh;
  }
  .visual-stage::before { background: linear-gradient(180deg, rgba(0,31,35,.04) 0%, rgba(0,31,35,.12) 40%, rgba(0,31,35,.90) 68%, var(--deep) 100%); }
  .visual-stage::after { display: none; }
  .pitch-shell { top: 28%; width: min(104vw, 620px); opacity: 1; }
  .stage-key { display: none; }
  .story-steps { padding-top: 0; }
  .story-step,
  .story-step:nth-child(3n + 2),
  .hero-step,
  .final-step {
    min-height: 100svh;
    display: block;
    padding: 50vh 16px 10vh;
  }
  .hero-step { min-height: 108svh; padding-top: 18vh; }
  .story-copy,
  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 24px 0 26px 18px;
    opacity: 1;
    transform: none;
    background: var(--deep);
  }
  .hero-copy { padding-left: 0; padding-top: 0; background: transparent; }
  h1 { font-size: clamp(74px, 24vw, 116px); }
  h2 { max-width: 12ch; font-size: clamp(39px, 12vw, 62px); }
  .lead, .hero-deck { font-size: 18px; }
  .taxonomy-controls, .structure-controls { grid-template-columns: 1fr; }
  .evidence-row.four-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-row.three-up { grid-template-columns: 1fr; }
  .evidence-row.three-up > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .claim { grid-template-columns: 1fr; }
  .claim-tag { width: max-content; }
  .closing-principles li { grid-template-columns: 1fr; gap: 6px; }
  .final-actions { align-items: flex-start; flex-direction: column; }
  .dialog-header { padding: 20px; }
  .dialog-grid { grid-template-columns: 1fr; padding: 8px 20px 20px; }
  .dialog-grid section, .dialog-grid section:nth-child(even) { padding: 18px 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .scene-art .trace { stroke-dashoffset: 0 !important; }
}

@media print {
  :root { color-scheme: light; }
  body { color: var(--web-black); background: white; }
  .story-header, .chapter-nav, .visual-stage, .replay-button { display: none !important; }
  .story-step, .story-step:nth-child(3n + 2), .hero-step, .final-step {
    min-height: auto;
    display: block;
    padding: 24px 0;
    break-inside: avoid;
    border-bottom: 1px solid #ccc;
  }
  .story-copy, .hero-copy { max-width: none; padding: 0; color: var(--web-black); background: white; border: 0; opacity: 1; transform: none; box-shadow: none; }
  h1, h2, .lead, .hero-deck, .claim p, .coach-question, .micro-note, .delivery-list b, .closing-principles span { color: var(--web-black); }
  .methodology-dialog { position: static; display: block; width: auto; max-height: none; color: var(--web-black); background: white; border: 0; }
  .dialog-close { display: none; }
}
