:root {
  --paper: #f4f0e7;
  --paper-2: #ebe4d6;
  --ink: #171714;
  --muted: #766f63;
  --line: #cfc6b6;
  --white: #fffdf8;
  --blue: #3154f4;
  --blue-soft: #cbd5ff;
  --red: #ec4b35;
  --red-soft: #f6c7bd;
  --acid: #d9ff57;
  --gold: #dfa323;
  --green: #19775a;
  --dark: #171714;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.62;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { color: inherit; }
canvas { display: block; width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 100; top: -5rem; left: 1rem; padding: .7rem 1rem; background: var(--acid); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.progress { position: fixed; z-index: 90; top: 0; left: 0; width: 100%; height: 4px; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--red); }

.masthead {
  min-height: 68px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.brand-box { display: grid; width: 35px; aspect-ratio: 1; place-items: center; color: var(--white); background: var(--ink); letter-spacing: -.04em; }
.mast-meta { display: flex; gap: 2rem; color: var(--muted); }
#data-status { color: var(--green); }

.hero {
  position: relative;
  min-height: calc(100vh - 69px);
  padding: clamp(70px, 10vh, 130px) clamp(24px, 7vw, 110px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: 6vw;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  right: -13vw;
  top: -18vw;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 5vw transparent, 0 0 0 calc(5vw + 1px) var(--line), 0 0 0 11vw transparent, 0 0 0 calc(11vw + 1px) var(--line);
  opacity: .6;
}
.hero-copy { position: relative; z-index: 2; max-width: 780px; }
.kicker, .eyebrow { margin: 0 0 1rem; font-size: 11px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.kicker::before, .eyebrow::before { content: ""; display: inline-block; width: 34px; height: 3px; margin: 0 .8rem .2rem 0; background: var(--red); }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(68px, 10.5vw, 166px);
  line-height: .82;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero h1 em { color: var(--red); font-style: normal; }
.lede { max-width: 650px; margin: 2.3rem 0 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 30px); line-height: 1.38; }
.hero-art { position: relative; min-height: 570px; z-index: 2; }
.card-stack { position: absolute; inset: 8% 7% 14% 5%; transform: rotate(4deg); }
.trade-card {
  position: absolute;
  width: clamp(62px, 6.5vw, 105px);
  aspect-ratio: .72;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 5px 7px 0 var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(15px, 1.5vw, 23px);
  transition: transform .3s ease;
}
.trade-card.win { color: var(--blue); }
.trade-card.loss { color: var(--red); }
.hero-art:hover .trade-card { transform: translateY(-6px) rotate(-2deg); }
.hero-scribble { position: absolute; right: -2%; bottom: 6%; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.2; transform: rotate(-7deg); }
.hero-scribble::before { content: "↖"; display: block; font-size: 44px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 1rem; font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.scroll-cue i { font-size: 24px; font-style: normal; animation: bob 1.4s infinite ease-in-out; }
@keyframes bob { 50% { transform: translateY(7px); } }

.prose-width { width: min(720px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.wide-card { width: min(1160px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.opening { padding: 130px 0 90px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 31px); line-height: 1.5; }
.dropcap::first-letter { float: left; margin: .12em .12em 0 0; font-family: var(--display); font-size: 4.6em; line-height: .7; color: var(--blue); }

.commitment, .replay-card, .specimen-card, .forecast-grid, .scramble-card, .guide-answer {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(23, 21, 20, .06);
}
.commitment { margin-bottom: 150px; }
.card-header { padding: 26px 30px; display: flex; justify-content: space-between; gap: 2rem; align-items: start; border-bottom: 1px solid var(--line); }
.card-header h2 { margin: .55rem 0 0; font-family: var(--display); font-size: clamp(26px, 3vw, 42px); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; }
.chapter-tag, .receipt, .specimen-label { font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.chapter-tag { display: inline-block; padding: .25rem .5rem; color: var(--white); background: var(--blue); transform: rotate(-1deg); }
.receipt { color: var(--muted); }
.commit-grid { display: grid; grid-template-columns: 1.5fr .8fr; }
.observed-figure { margin: 0; padding: 30px; border-right: 1px solid var(--line); }
.observed-figure canvas { height: 390px; }
figcaption { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.observed-figure figcaption { display: flex; justify-content: space-between; margin-top: .8rem; }
.quit-box { padding: clamp(30px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.quit-box p { margin-top: 0; font-family: var(--serif); font-size: 20px; }
.quit-box label { margin-top: 1rem; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quit-box output { margin: .2rem 0 .8rem; font-family: var(--display); font-size: clamp(44px, 5vw, 70px); line-height: 1; color: var(--red); letter-spacing: -.06em; }
input[type="range"] { width: 100%; accent-color: var(--red); }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.primary-button, .play-button {
  margin-top: 1.5rem;
  border: 0;
  padding: .95rem 1.2rem;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--blue);
}
.primary-button:hover, .play-button:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--blue); }
.primary-button.red { background: var(--red); box-shadow: 4px 4px 0 var(--ink); }
.text-button { border: 0; margin-top: 1rem; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.commit-reveal { display: none; padding: 20px 30px; background: var(--acid); align-items: center; gap: 1rem; }
.commit-reveal.open { display: flex; }
.commit-reveal span { font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.commit-reveal strong { font-family: var(--display); font-size: 28px; }
.commit-reveal p { margin: 0 0 0 auto; font-family: var(--serif); }
body.choice-pending .gated { opacity: .15; filter: blur(3px); pointer-events: none; user-select: none; }
.gated { transition: opacity .7s ease, filter .7s ease; }

.bridge { padding: 120px 0 60px; }
.bridge h2, .section-intro h2, .question-turn h2, .forecast-copy h2 {
  margin: 0 0 1.3rem;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 82px);
  line-height: .97;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.bridge p:not(.eyebrow), .section-intro > p:not(.eyebrow), .question-turn p, .forecast-copy p { font-family: var(--serif); font-size: 21px; }

.scrolly { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr); width: min(1440px, 100%); margin: 0 auto; padding: 80px clamp(20px, 3vw, 50px) 160px; gap: 5vw; }
.scrolly-stage { position: sticky; top: 7vh; height: 86vh; min-height: 600px; align-self: start; border: 1px solid var(--line); background: var(--white); overflow: hidden; }
.scrolly-stage canvas { height: 100%; }
.stage-ui { position: absolute; inset: 22px 24px auto; display: flex; justify-content: space-between; align-items: start; pointer-events: none; }
.stage-label { padding: .35rem .6rem; color: var(--white); background: var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.stage-stats { display: flex; gap: 1rem; }
.stage-stats div { min-width: 110px; padding: .45rem .65rem; border: 1px solid var(--line); background: rgba(255,253,248,.9); }
.stage-stats span { display: block; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.stage-stats strong { font-family: var(--display); font-size: 19px; }
.scrolly-steps { padding: 24vh 0; }
.scene { min-height: 74vh; padding: 32px; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .3s; }
.scene.active { opacity: 1; }
.scene > span { font-size: 10px; font-weight: 900; letter-spacing: .18em; color: var(--red); }
.scene h3 { margin: .6rem 0 1rem; font-family: var(--display); font-size: clamp(34px, 4vw, 58px); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.scene p { margin: 0; font-family: var(--serif); font-size: 19px; }
.verdict-scene { margin: 16vh 0; padding: 32px; min-height: 50vh; background: var(--acid); opacity: 1; transform: rotate(.5deg); }

.reveal-band { padding: 60px clamp(20px, 6vw, 100px); display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; text-align: center; color: var(--white); background: var(--blue); }
.reveal-band div span { display: block; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.reveal-band div strong { font-family: var(--display); font-size: clamp(38px, 5vw, 72px); }
.reveal-band p { max-width: 480px; margin: auto; font-family: var(--serif); font-size: 22px; }

.directors-cut { padding: 160px 0; }
.section-intro { margin-bottom: 65px; }
.replay-card { padding: 28px; }
.replay-screen { position: relative; min-height: 560px; }
.replay-screen canvas { height: 560px; }
.replay-caption { position: absolute; top: 15px; left: 15px; max-width: 340px; padding: 18px 20px; border-left: 5px solid var(--red); background: rgba(255,253,248,.93); }
.replay-caption span { font-size: 9px; font-weight: 900; letter-spacing: .18em; color: var(--red); }
.replay-caption p { margin: .35rem 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.35; }
.replay-controls { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; border-top: 1px solid var(--line); padding-top: 20px; }
.play-button { margin: 0; }
.play-button span { margin-right: .5rem; }
.timeline { height: 7px; background: var(--paper-2); }
.timeline i { display: block; width: 0; height: 100%; background: var(--red); }
#replay-counter { font-size: 10px; font-weight: 900; letter-spacing: .15em; }

.question-turn { position: relative; min-height: 100vh; padding: 180px 0; display: grid; place-items: center; color: var(--white); background: var(--ink); overflow: hidden; }
.giant-question { position: absolute; left: -2vw; top: -22vh; font-family: var(--display); font-size: 100vh; line-height: 1; color: #242421; }
.question-turn .prose-width { position: relative; z-index: 2; }
.question-turn blockquote, .selection-reveal blockquote { margin: 2.5rem 0; font-family: var(--serif); font-size: clamp(27px, 3vw, 42px); line-height: 1.3; }
.question-turn .caveat { padding: 1rem 1.2rem; border: 1px solid #45453f; color: #d1cbc0; font-size: 16px; }

.machines, .scramble { padding: 160px 0; color: var(--white); background: var(--dark); }
.light-copy .eyebrow { color: var(--acid); }
.light-copy .eyebrow::before { background: var(--acid); }
.machine-console { border-color: #42423e; color: var(--ink); background: var(--white); }
.machine-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.machine-tab { min-height: 108px; padding: 22px; display: flex; align-items: center; gap: 1rem; border: 0; border-right: 1px solid var(--line); background: var(--paper); text-align: left; cursor: pointer; }
.machine-tab:last-child { border-right: 0; }
.machine-tab b { font-family: var(--display); font-size: 30px; color: var(--line); }
.machine-tab span { font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.machine-tab small { display: block; margin-top: .2rem; color: var(--muted); font-family: var(--serif); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.machine-tab.active { color: var(--white); background: var(--blue); }
.machine-tab.active b, .machine-tab.active small { color: var(--white); }
.machine-body { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 480px; }
.machine-copy { padding: clamp(32px, 5vw, 70px); border-right: 1px solid var(--line); }
.machine-copy .machine-name { font-size: 10px; font-weight: 900; letter-spacing: .18em; color: var(--blue); }
.machine-copy h3 { margin: .7rem 0 1rem; font-family: var(--display); font-size: clamp(34px, 4vw, 54px); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.machine-copy p { font-family: var(--serif); font-size: 18px; }
.machine-body figure { margin: 0; padding: 35px; }
.machine-body canvas { height: 380px; }
.machine-body figcaption { display: flex; justify-content: space-between; align-items: center; }
.machine-body figcaption button { border: 0; padding: .45rem .7rem; background: var(--ink); color: var(--white); font-size: 9px; font-weight: 900; letter-spacing: .12em; cursor: pointer; }
.machine-footer { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.machine-footer div { padding: 22px 28px; border-right: 1px solid var(--line); }
.machine-footer div:last-child { border: 0; }
.machine-footer span { display: block; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.machine-footer strong { display: block; margin-top: .3rem; font-family: var(--serif); font-size: 16px; line-height: 1.35; }

.specimen, .forecast, .field-guide { padding: 160px 0; }
.specimen-card { padding: 28px; }
.specimen-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.approval-stamps { display: flex; gap: .5rem; }
.approval-stamps span { padding: .3rem .55rem; border: 2px solid var(--green); color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: .1em; transform: rotate(-1deg); }
.approval-stamps span:nth-child(2) { transform: rotate(1deg); }
.specimen-card canvas { height: 480px; }
.sealed { padding: 24px; display: flex; justify-content: center; align-items: center; gap: 2rem; border-top: 1px dashed var(--muted); background: repeating-linear-gradient(-45deg, #fffdf8, #fffdf8 12px, #f4f0e7 12px, #f4f0e7 24px); }
.sealed p { font-family: var(--serif); }
.sealed .primary-button { margin: 0; }
.oos-result { display: none; padding: 24px 28px; color: var(--white); background: var(--red); grid-template-columns: auto auto 1fr; align-items: center; gap: 1.5rem; }
.oos-result.open { display: grid; }
.oos-result span { font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.oos-result strong { font-family: var(--display); font-size: 44px; }
.oos-result p { margin: 0; font-family: var(--serif); }

.forecast { padding-top: 60px; }
.forecast-grid { display: grid; grid-template-columns: 1.5fr .5fr; padding: 30px; }
.forecast-grid figure { margin: 0; padding-right: 30px; border-right: 1px solid var(--line); }
.forecast-grid canvas { height: 380px; }
.forecast-number { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.forecast-number span { font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.forecast-number strong { font-family: var(--display); font-size: clamp(54px, 7vw, 90px); line-height: .9; color: var(--red); }
.forecast-number p { font-family: var(--serif); }
.punchline { margin-top: 50px; font-family: var(--serif); font-size: 23px; }

.scramble-card { padding: 28px; color: var(--ink); }
.research-desk { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.idea-tickets { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; align-items: end; }
.idea-ticket { aspect-ratio: .66; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 10px; font-weight: 900; transition: .45s ease; }
.idea-ticket.selected { border-color: var(--blue); color: var(--white); background: var(--blue); transform: translateY(-9px) rotate(-2deg); box-shadow: 3px 4px 0 var(--ink); }
.idea-ticket.hidden-idea { opacity: .11; transform: scale(.9); }
.desk-copy span { font-size: 9px; font-weight: 900; letter-spacing: .16em; color: var(--muted); }
.desk-copy strong { display: block; margin-top: .4rem; font-family: var(--display); font-size: 47px; color: var(--red); }
.desk-copy p { font-family: var(--serif); line-height: 1.4; }
.scramble-card figure { margin: 0; padding: 34px 0 15px; }
.scramble-card canvas { height: 410px; }
.contest-buttons { display: flex; gap: .7rem; border-top: 1px solid var(--line); padding-top: 20px; }
.contest-button { border: 1px solid var(--line); padding: .7rem 1rem; background: var(--paper); font-size: 10px; font-weight: 900; letter-spacing: .1em; cursor: pointer; }
.contest-button.active { color: var(--white); background: var(--ink); }
.contest-button.truth { border-color: var(--red); }
.selection-reveal { margin-top: 70px; font-family: var(--serif); font-size: 21px; }
.selection-reveal blockquote { padding-left: 1.4rem; border-left: 6px solid var(--acid); color: var(--acid); }

.guide-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.guide-grid button { min-height: 190px; padding: 22px; border: 0; border-right: 1px solid var(--line); background: var(--white); text-align: left; font-family: var(--serif); font-size: 16px; line-height: 1.35; cursor: pointer; }
.guide-grid button:last-child { border: 0; }
.guide-grid button:hover, .guide-grid button.active { color: var(--white); background: var(--blue); }
.guide-grid span { display: block; margin-bottom: 1rem; font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.guide-answer { margin-top: 18px; padding: 35px 40px; display: grid; grid-template-columns: .3fr .8fr 1.3fr; gap: 2rem; align-items: center; }
.guide-answer span { font-size: 9px; font-weight: 900; letter-spacing: .15em; color: var(--red); }
.guide-answer h3 { margin: 0; font-family: var(--display); font-size: 27px; line-height: 1; text-transform: uppercase; }
.guide-answer p { margin: 0; font-family: var(--serif); }

.closing { min-height: 100vh; padding: 170px 20px; display: grid; place-items: center; color: var(--white); background: var(--blue); text-align: center; }
.closing-inner { width: min(920px, 100%); }
.closing .eyebrow::before { display: none; }
.closing h2 { margin: 0; font-family: var(--display); font-size: clamp(65px, 10vw, 140px); line-height: .85; letter-spacing: -.07em; text-transform: uppercase; }
.closing h2 em { color: var(--acid); font-style: normal; }
.closing-personal { max-width: 690px; margin: 2rem auto 4rem; font-family: var(--serif); font-size: 23px; }
.closing-rule { padding: 40px; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.12); }
.closing-rule span { font-size: 9px; font-weight: 900; letter-spacing: .18em; color: var(--acid); }
.closing-rule blockquote { margin: 1rem 0 0; font-family: var(--serif); font-size: clamp(28px, 4vw, 50px); line-height: 1.22; }
.last-line { margin: 4rem 0 0; font-family: var(--serif); font-size: 21px; }

.methods { padding: 70px max(20px, 6vw); background: var(--paper-2); }
.methods details { width: min(1160px, 100%); margin: auto; }
.methods summary { cursor: pointer; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.methods-grid { margin-top: 35px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.methods-grid div { padding: 25px; background: var(--paper); }
.methods-grid h3 { margin: 0 0 .5rem; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.methods-grid p { margin: 0; color: #514c44; font-size: 14px; }
footer { padding: 50px max(20px, 5vw); display: grid; grid-template-columns: auto 1fr auto; gap: 3rem; align-items: center; color: var(--white); background: var(--ink); font-size: 12px; }
footer p { margin: 0; color: #aaa397; }
footer a { font-weight: 900; letter-spacing: .1em; text-decoration: none; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .mast-meta span:first-child { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; }
  .hero-art { min-height: 420px; }
  .hero::before { width: 75vw; height: 75vw; }
  .scroll-cue { display: none; }
  .commit-grid, .machine-body, .forecast-grid, .research-desk { grid-template-columns: 1fr; }
  .observed-figure { border-right: 0; border-bottom: 1px solid var(--line); }
  .commit-reveal { align-items: start; flex-wrap: wrap; }
  .commit-reveal p { width: 100%; margin: 0; }
  .scrolly { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
  .scrolly-stage { top: 0; height: 58vh; min-height: 430px; z-index: 3; border-left: 0; border-right: 0; }
  .scrolly-steps { padding: 0 20px; }
  .scene { min-height: 62vh; }
  .reveal-band { grid-template-columns: 1fr; gap: 2rem; }
  .machine-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .forecast-grid figure { padding: 0 0 25px; border: 0; border-bottom: 1px solid var(--line); }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid button { border-bottom: 1px solid var(--line); }
  .guide-answer { grid-template-columns: 1fr; gap: .7rem; }
  .methods-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .masthead { padding: 0 16px; }
  .mast-meta { display: none; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(58px, 20vw, 95px); }
  .hero-art { min-height: 330px; }
  .trade-card { width: 58px; }
  .opening { padding-top: 90px; }
  .card-header { flex-direction: column; }
  .observed-figure { padding: 18px; }
  .observed-figure canvas { height: 300px; }
  .commitment { width: calc(100% - 20px); }
  .stage-stats { display: none; }
  .scrolly-stage { height: 52vh; min-height: 360px; }
  .scene { padding: 24px 10px; }
  .replay-card, .specimen-card, .scramble-card { width: calc(100% - 20px); padding: 14px; }
  .replay-screen, .replay-screen canvas { min-height: 410px; height: 410px; }
  .replay-controls { grid-template-columns: 1fr auto; }
  .timeline { grid-column: 1 / -1; grid-row: 1; }
  .machine-tabs { grid-template-columns: 1fr; }
  .machine-tab { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
  .machine-footer { grid-template-columns: 1fr; }
  .machine-footer div { border-right: 0; border-bottom: 1px solid var(--line); }
  .specimen-top, .sealed { align-items: start; flex-direction: column; }
  .approval-stamps { flex-wrap: wrap; }
  .specimen-card canvas { height: 360px; }
  .oos-result { grid-template-columns: 1fr; gap: .4rem; }
  .idea-tickets { grid-template-columns: repeat(5, 1fr); }
  .contest-buttons { flex-direction: column; }
  .guide-grid, .methods-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
