:root {
  --salt: #f5f4ed;
  --salt-deep: #d8dedc;
  --sky: #176f9c;
  --sky-dark: #084967;
  --sky-pale: #91ced9;
  --orange: #e34e1a;
  --orange-deep: #9d250c;
  --ink: #092f42;
  --ink-soft: #284e5e;
  --hairline: rgba(9, 47, 66, .24);
  --progress: 0;
  --velocity: 0;
  --heat: 0;
  --travel-x: 0px;
  --record-pull: 0;
  --footer-h: 46px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--orange) var(--sky-dark);
  scrollbar-width: thin;
  background: var(--sky);
}
html::-webkit-scrollbar { width: 11px; }
html::-webkit-scrollbar-track { background: var(--sky-dark); }
html::-webkit-scrollbar-thumb { background: var(--orange); border: 3px solid var(--sky-dark); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sky);
  font-family: 'Space Mono', monospace;
  overflow-x: clip;
  cursor: crosshair;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: rgba(227, 78, 26, .22); }
button { color: inherit; }
a { color: inherit; }
::selection { color: #fff; background: var(--orange-deep); text-shadow: none; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  color: var(--salt);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--salt); outline-offset: 2px; box-shadow: 0 0 0 5px var(--orange); }

.instrument-bar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 92px;
  display: grid;
  grid-template-columns: 230px minmax(360px, 1fr) 220px;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  color: var(--salt);
  background: linear-gradient(180deg, rgba(3, 43, 64, .99), rgba(5, 55, 77, .94));
  border-bottom: 1px solid rgba(245, 244, 237, .28);
  box-shadow: 0 8px 35px rgba(5, 47, 68, .18);
}
.wordmark {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -.06em;
  font-size: 14px;
}
.wordmark svg { width: 51px; fill: var(--orange); overflow: visible; }
.wordmark b { color: #ff7440; font-weight: 700; }
.mile-nav { display: flex; align-items: center; justify-content: center; min-width: 0; }
.mile-nav button {
  position: relative;
  min-width: 54px;
  min-height: 48px;
  flex: 1;
  max-width: 104px;
  border: 0;
  padding: 26px 4px 0;
  color: rgba(245, 244, 237, .75);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  transition: color .2s ease, transform .2s ease;
}
.mile-nav button::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(245, 244, 237, .28);
}
.mile-nav button:first-child::before { left: 50%; }
.mile-nav button:last-child::before { right: 50%; }
.mile-nav i {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  background: var(--sky-dark);
  transform: translateX(-50%) rotate(45deg);
  transition: background .2s, scale .2s;
}
.mile-nav button.is-passed, .mile-nav button.is-active { color: var(--salt); }
.mile-nav button.is-passed i, .mile-nav button.is-active i { background: var(--orange); }
.mile-nav button.is-active i { scale: 1.32; }
.mile-nav button:hover { color: #fff; transform: translateY(-2px); }

.speed-readout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 42px 16px;
  align-items: end;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.speed-readout::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0 15%, rgba(245,244,237,.35) 15% 16%, transparent 16% 32%, rgba(245,244,237,.35) 32% 33%, transparent 33% 49%, rgba(245,244,237,.35) 49% 50%, transparent 50% 66%, rgba(245,244,237,.35) 66% 67%, transparent 67% 83%, var(--orange) 83% 100%);
  transform: scaleX(calc(.08 + var(--velocity) * .92));
  transform-origin: right;
}
.speed-number {
  font-family: 'Six Caps', sans-serif;
  font-size: 57px;
  line-height: .72;
  letter-spacing: .05em;
  transform-origin: right center;
  transform: scaleX(calc(1 + var(--velocity) * .18));
  text-shadow: calc(var(--heat) * 5px) 0 rgba(227, 78, 26, .7);
}
.speed-unit { padding-bottom: 2px; color: #b9dce2; font-size: 9px; text-transform: uppercase; }
.speed-status { grid-column: 1 / -1; color: #ff7440; font-size: 8px; letter-spacing: .16em; }

.scroll-shell { position: relative; height: 760vh; }
.viewport {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: var(--salt);
}
#salt-world { position: absolute; z-index: -5; inset: 0; width: 100%; height: 100%; }
.sun-flare {
  position: absolute;
  z-index: -3;
  top: 8%;
  left: calc(65% - var(--progress) * 18%);
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.85) 0 4%, rgba(255,244,197,.28) 19%, transparent 62%);
  filter: blur(6px);
  transform: translate3d(0, calc(var(--progress) * 18px), 0);
  pointer-events: none;
}
.grain {
  position: absolute;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  opacity: .095;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.mirage-bank {
  position: absolute;
  z-index: 9;
  top: 48.5%;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  color: var(--salt);
  opacity: var(--mirage-opacity, 0);
  text-shadow: 0 0 5px rgba(245,244,237,.24);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.mirage-bank span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Six Caps', sans-serif;
  font-size: clamp(72px, 9vw, 132px);
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
  transform: scaleX(calc(1 + var(--heat) * .32));
  animation: mirage-shear 1.35s ease-in-out infinite alternate;
}
.mirage-bank span:nth-child(1) { clip-path: inset(0 0 87.5%); animation-delay: -.1s; }
.mirage-bank span:nth-child(2) { clip-path: inset(12.5% 0 75%); animation-delay: -.48s; }
.mirage-bank span:nth-child(3) { clip-path: inset(25% 0 62.5%); animation-delay: -.22s; }
.mirage-bank span:nth-child(4) { clip-path: inset(37.5% 0 50%); animation-delay: -.76s; }
.mirage-bank span:nth-child(5) { clip-path: inset(50% 0 37.5%); animation-delay: -.34s; }
.mirage-bank span:nth-child(6) { clip-path: inset(62.5% 0 25%); animation-delay: -.62s; }
.mirage-bank span:nth-child(7) { clip-path: inset(75% 0 12.5%); animation-delay: -.18s; }
.mirage-bank span:nth-child(8) { clip-path: inset(87.5% 0 0); animation-delay: -.89s; }
@keyframes mirage-shear {
  from { translate: calc(var(--heat) * -18px) -2px; filter: blur(.15px); }
  to { translate: calc(var(--heat) * 22px) 3px; filter: blur(1.1px); }
}

.trap-exposure {
  position: absolute;
  z-index: 28;
  inset: 92px 0 var(--footer-h);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .38s cubic-bezier(.2,.75,.25,1), visibility 0s linear .38s;
}
.trap-active .trap-exposure {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.trap-ruler {
  position: absolute;
  inset: 0;
  opacity: .18;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(5% - 1px), rgba(245,244,237,.64) calc(5% - 1px) 5%),
    linear-gradient(180deg, transparent 0 6%, rgba(245,244,237,.7) 6% calc(6% + 1px), transparent calc(6% + 1px) 94%, rgba(245,244,237,.7) 94% calc(94% + 1px), transparent calc(94% + 1px));
  mask-image: linear-gradient(90deg, transparent 0 44%, #000 58% 100%);
}
.trap-gate {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 79%;
  width: 1px;
  background: rgba(245,244,237,.88);
  box-shadow: -3px 0 0 rgba(227,78,26,.65), 3px 0 0 rgba(133,221,231,.45), 0 0 24px rgba(255,255,255,.8);
}
.trap-gate::before,
.trap-gate::after { content: ''; position: absolute; left: -5px; width: 11px; height: 11px; background: var(--orange); transform: rotate(45deg); }
.trap-gate::before { top: 6%; }
.trap-gate::after { bottom: 6%; }
.trap-gate span { position: absolute; top: 10%; left: 11px; color: var(--salt); font-size: 8px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; writing-mode: vertical-rl; }
.trap-scan {
  position: absolute;
  inset: 0 auto 0 -12%;
  width: 10%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.84), rgba(255,113,62,.5), transparent);
  filter: blur(5px);
  transform: skewX(-9deg);
}
.trap-impact .trap-scan { animation: trap-scan .78s cubic-bezier(.18,.76,.12,1) both; }
.trap-impact .viewport { animation: trap-exposure .64s cubic-bezier(.2,.8,.2,1) both; }
.trap-certificate {
  position: absolute;
  z-index: 2;
  top: 17%;
  right: 4.5vw;
  width: min(270px, 21vw);
  padding: 13px 15px 15px;
  color: var(--ink);
  background: rgba(245,244,237,.91);
  border-top: 5px solid var(--orange);
  box-shadow: 9px 11px 0 rgba(4,57,80,.22);
  transform: translateX(22px) rotate(.7deg);
  opacity: 0;
  transition: opacity .46s ease .18s, transform .72s cubic-bezier(.16,.84,.17,1) .12s;
}
.trap-active .trap-certificate { opacity: 1; transform: translateX(0) rotate(-.7deg); }
.trap-certificate span,
.trap-certificate em,
.trap-certificate b { display: block; font-size: 7px; letter-spacing: .11em; font-style: normal; }
.trap-certificate strong { display: block; margin: 7px 0 0; font-family: 'Six Caps', sans-serif; font-size: clamp(58px,6vw,88px); font-weight: 400; line-height: .82; letter-spacing: .035em; }
.trap-certificate em { padding-bottom: 10px; border-bottom: 1px solid rgba(9,47,66,.34); }
.trap-certificate b { margin-top: 10px; color: var(--orange-deep); }
@keyframes trap-scan {
  0% { opacity: 0; translate: 0; }
  16% { opacity: .9; }
  100% { opacity: 0; translate: 122vw; }
}
@keyframes trap-exposure {
  0%, 100% { filter: brightness(1) saturate(1); }
  17% { filter: brightness(1.34) saturate(.72); }
  38% { filter: brightness(.96) saturate(1.18); }
}

.travel-line {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: var(--footer-h);
  height: 5px;
  background: rgba(9, 47, 66, .12);
}
.travel-line span { display: block; width: calc(var(--progress) * 100%); height: 100%; background: var(--orange); }

.machine-stage {
  position: absolute;
  z-index: 2;
  left: 12vw;
  bottom: 13.5vh;
  width: min(76vw, 1160px);
  transform: translate3d(calc(var(--progress) * 6vw), calc(var(--velocity) * -4px), 0) rotate(calc(var(--velocity) * -.18deg));
  transform-origin: center right;
  transition: opacity .5s ease;
  pointer-events: none;
}
.machine-stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 27%;
  right: 46%;
  width: 72vw;
  height: 44%;
  opacity: calc(var(--heat) * .7);
  background: repeating-linear-gradient(0deg, transparent 0 8px, rgba(245,244,237,.64) 9px, transparent 10px 15px), linear-gradient(90deg, transparent, rgba(255,108,52,.46));
  filter: blur(1px);
  transform: scaleX(calc(.2 + var(--heat) * .8)) skewX(-22deg);
  transform-origin: right;
}
.streamliner {
  display: block;
  width: 100%;
  filter: drop-shadow(0 15px 10px rgba(6, 48, 66, .19)) saturate(calc(1 + var(--heat) * .32)) brightness(calc(1 + var(--heat) * .16));
  transform-origin: 78% center;
  transform: scaleX(calc(1 + var(--heat) * .07));
}
.speed-shadow {
  position: absolute;
  left: 9%;
  right: -14%;
  bottom: 12%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(8,73,103,.38), transparent);
  filter: blur(calc(2px + var(--heat) * 5px));
  transform: scaleX(calc(.3 + var(--velocity) * .7));
  transform-origin: right;
}

.track {
  position: relative;
  z-index: 5;
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  transform: translate3d(var(--travel-x), 0, 0);
}
.panel {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  min-height: 620px;
  padding: 132px clamp(28px, 6vw, 100px) calc(150px + var(--footer-h));
  overflow: hidden;
}
.panel h1, .panel h2 { margin: 0; font-family: 'Six Caps', sans-serif; font-weight: 400; text-transform: uppercase; text-wrap: balance; }
.panel h2 { font-size: clamp(72px, 9vw, 142px); line-height: .77; letter-spacing: .005em; }
.panel p { line-height: 1.68; text-wrap: pretty; }
.section-index { display: block; margin-bottom: 18px; color: var(--orange-deep); font-size: 10px; font-weight: 700; letter-spacing: .13em; }

.panel-hero { color: var(--salt); }
.panel-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 37% 0 0;
  background: linear-gradient(100deg, rgba(3, 57, 83, .98), rgba(5, 78, 105, .88) 63%, rgba(5, 78, 105, .16));
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
}
.panel-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 40%;
  width: 2px;
  background: linear-gradient(transparent 8%, rgba(255,108,52,.62) 42%, transparent 82%);
  transform: skewX(-13deg);
  transform-origin: top;
}
.hero-copy { max-width: 720px; }
.program-stamp { margin: 0 0 24px; color: #d5edf0; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.panel-hero h1 { font-size: clamp(104px, 14.5vw, 236px); line-height: .67; letter-spacing: -.015em; }
.panel-hero h1 em { color: #ff6c34; font-style: normal; }
.hero-deck { max-width: 530px; margin: 28px 0 24px; color: #e8f4f3; font-size: 13px; }
.start-lever {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto 54px;
  align-items: center;
  min-height: 52px;
  border: 1px solid rgba(245,244,237,.72);
  padding: 0 0 0 18px;
  color: var(--salt);
  background: rgba(8,73,103,.18);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .11em;
  overflow: hidden;
}
.start-lever i { position: relative; align-self: stretch; margin-left: 16px; background: var(--orange); }
.start-lever i::after { content: ''; position: absolute; top: 50%; left: 15px; width: 23px; height: 2px; background: white; box-shadow: 9px -5px 0 -1px white; transform: translateY(-50%); transition: transform .25s ease; }
.start-lever:hover i::after { transform: translate(9px, -50%); }
.start-lever:active { transform: translateY(1px); }
.hero-coordinate { position: absolute; top: 146px; right: 42px; display: grid; gap: 8px; color: rgba(8,73,103,.78); text-align: right; font-size: 9px; }
.vertical-caution { position: absolute; right: 22px; bottom: 140px; margin: 0; color: rgba(8,73,103,.58); font-size: 8px; letter-spacing: .14em; writing-mode: vertical-rl; }
.load-reveal { transition: transform 1.05s cubic-bezier(.16,.82,.16,1), opacity .75s ease, clip-path 1.05s cubic-bezier(.16,.82,.16,1); transition-delay: .12s; clip-path: inset(0); }
.booting .load-reveal { opacity: 0; transform: translateY(28px); }
.booting .hero-copy { clip-path: inset(0 100% 0 0); }
.streamliner { transition: opacity .8s ease .25s, translate 1.2s cubic-bezier(.12,.8,.18,1) .2s; }
.booting .streamliner { opacity: 0; translate: -18vw 0; }

.panel-machine { display: grid; grid-template-columns: 1fr minmax(260px, .5fr); align-content: start; gap: 6vw; }
.panel-machine::before { content: ''; position: absolute; z-index: -1; top: 92px; right: 10%; width: 1px; height: 38%; background: var(--hairline); transform: rotate(14deg); }
.machine-copy { max-width: 760px; }
.machine-copy p { max-width: 560px; margin: 24px 0; color: var(--ink-soft); font-size: 12px; }
.spec-stack { align-self: start; margin: 58px 0 0; border-top: 3px solid var(--ink); }
.spec-stack div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 4px; border-bottom: 1px solid var(--hairline); }
.spec-stack dt { color: var(--ink-soft); font-size: 9px; text-transform: uppercase; }
.spec-stack dd { margin: 0; font-family: 'Six Caps'; font-size: 31px; letter-spacing: .04em; }
.aero-annotation { position: absolute; left: 52%; bottom: 34%; width: 30vw; color: var(--orange-deep); font-size: 8px; }
.aero-annotation i { display: block; width: 100%; height: 1px; margin: 9px 0; background: currentColor; transform-origin: left; transform: scaleX(calc(.25 + var(--velocity) * .75)) skewX(-16deg); opacity: .4; }

.panel-timing { display: grid; grid-template-columns: .8fr 1fr 1fr; align-items: start; gap: 28px; }
.timing-head { padding-right: 3vw; }
.timing-head h2 { font-size: clamp(78px, 8vw, 125px); }
.timing-head p { max-width: 360px; color: var(--ink-soft); font-size: 11px; }
.record-card { position: relative; min-height: 390px; margin-top: 24px; padding: 22px; color: var(--ink); background: linear-gradient(112deg, rgba(255,255,249,.94), rgba(224,232,227,.82)); border: 1px solid rgba(8,73,103,.42); border-top: 7px solid var(--orange); box-shadow: 13px 19px 0 rgba(8,73,103,.1); transform: rotate(-1.1deg); }
.record-card::before { content: ''; position: absolute; inset: 8px; border: 1px dashed rgba(8,73,103,.24); pointer-events: none; }
.record-card::after { content: '|||| ||| || ||||| |||'; position: absolute; right: 16px; bottom: 49px; max-width: 72px; overflow: hidden; color: rgba(8,73,103,.38); font-size: 9px; letter-spacing: -1px; white-space: nowrap; transform: rotate(90deg) translateX(100%); transform-origin: right bottom; }
.record-kilo { margin-top: 67px; transform: rotate(1.4deg); }
.record-card header { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 8px; }
.record-card header b { color: var(--orange-deep); }
.record-kind { margin: 28px 0 8px; font-size: 10px; letter-spacing: .15em; }
.record-card strong { font-family: 'Six Caps'; font-size: clamp(86px, 8vw, 132px); font-weight: 400; line-height: .8; letter-spacing: .025em; }
.record-unit { margin-left: 8px; font-size: 9px; }
.record-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 0; }
.record-card dl div { border-top: 1px solid var(--hairline); padding-top: 8px; }
.record-card dt { font-size: 8px; text-transform: uppercase; }
.record-card dd { margin: 4px 0; font-size: 14px; font-weight: 700; }
.record-card footer { position: absolute; left: 22px; right: 22px; bottom: 20px; border-top: 1px solid var(--ink); padding-top: 10px; font-size: 8px; }

.panel-push { color: var(--salt); background: linear-gradient(96deg, rgba(3,58,83,.94), rgba(8,73,103,.79) 54%, rgba(8,73,103,.68)); }
.panel-push::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(104deg, transparent 0 88px, rgba(245,244,237,.035) 89px 90px); pointer-events: none; }
.ritual-number { position: absolute; z-index: 0; right: -1vw; bottom: 7%; color: transparent; font-family: 'Six Caps'; font-size: min(49vw, 700px); line-height: .66; letter-spacing: -.03em; -webkit-text-stroke: 2px rgba(245,244,237,.1); transform: scaleX(calc(1 + var(--heat) * .24)) skewX(-7deg); transform-origin: right; pointer-events: none; }
.ritual-copy, .ritual-sequence, .push-diagram { z-index: 1; }
.ritual-copy { position: relative; max-width: 720px; }
.panel-push .section-index { color: #ff7950; }
.ritual-copy p { max-width: 650px; color: #d8eced; font-size: 12px; }
.ritual-sequence { position: absolute; top: 150px; right: 5vw; width: min(32vw, 460px); margin: 0; padding: 0; list-style: none; border-top: 2px solid rgba(245,244,237,.74); }
.ritual-sequence li { display: grid; grid-template-columns: 105px 1fr; gap: 14px; padding: 14px 8px; border-bottom: 1px solid rgba(245,244,237,.3); font-size: 10px; }
.ritual-sequence li:last-child { color: var(--ink); background: var(--orange); border-color: var(--orange); transform: translateX(-14px); }
.ritual-sequence li:last-child b { color: var(--ink); }
.ritual-sequence b { color: #ff7950; }
.push-diagram { position: absolute; left: 38%; bottom: 14%; width: 51vw; color: rgba(245,244,237,.86); filter: drop-shadow(10px 0 0 rgba(255,108,52,.34)); transform: translateX(calc(var(--heat) * 4vw)); }

.panel-chute { background: linear-gradient(96deg, rgba(245,244,237,.97) 0 45%, rgba(245,244,237,.27) 76%, transparent); }
.chute-copy { position: relative; z-index: 2; max-width: 680px; }
.chute-copy p { max-width: 550px; color: var(--ink-soft); font-size: 12px; }
.chute-lines { position: absolute; z-index: -1; right: -4vw; top: 3vh; width: 64vw; height: 80vh; overflow: visible; }
.chute-lines path { fill: none; stroke: var(--orange); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chute-lines .chute-canopy { fill: rgba(227,78,26,.87); stroke: var(--orange-deep); }
.chute-sun { position: absolute; right: 19vw; top: 15vh; width: 14vw; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.68); box-shadow: 0 0 50px white; }
.decel-strip { position: absolute; z-index: 2; left: 8vw; right: 8vw; bottom: 20%; display: flex; align-items: center; gap: 10px; font-size: 8px; }
.decel-strip span { white-space: nowrap; }
.decel-strip b { display: block; font-family: 'Six Caps'; font-size: 36px; line-height: 1; }
.decel-strip i { height: 1px; flex: 1; background: var(--orange); }

.panel-essay { display: grid; grid-template-columns: 70px minmax(520px, 1fr) minmax(230px, .42fr); gap: 4vw; background: rgba(240,241,235,.88); }
.essay-rail { display: flex; align-items: center; gap: 14px; color: var(--orange-deep); font-size: 8px; white-space: nowrap; writing-mode: vertical-rl; }
.essay-rail span { width: 1px; min-height: 100px; flex: 1; background: var(--orange); }
.panel-essay article { max-width: 900px; }
.panel-essay h2 { border-bottom: 1px solid var(--hairline); padding-bottom: 24px; }
.essay-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.essay-columns p { font-size: 10px; }
.panel-essay blockquote { align-self: end; margin: 0 0 3vh; color: var(--orange-deep); font-family: 'Six Caps'; font-size: clamp(48px, 5vw, 76px); line-height: .9; }
.panel-essay cite { display: block; margin-top: 20px; color: var(--ink-soft); font-family: 'Space Mono'; font-size: 8px; font-style: normal; line-height: 1.4; text-transform: uppercase; }

.panel-finish { color: var(--salt); background: linear-gradient(90deg, rgba(8,73,103,.94), rgba(8,73,103,.72) 54%, rgba(8,73,103,.12)); }
.finish-copy { position: relative; z-index: 3; }
.panel-finish .section-index { color: #ff7950; }
.record-stretch { position: relative; display: inline-block; color: var(--salt); font-size: min(36vw, 540px) !important; line-height: .65 !important; letter-spacing: .01em !important; transform-origin: left center; transform: scaleX(calc(1 + var(--heat) * .22)) skewX(calc(var(--heat) * -5deg)); text-shadow: calc(var(--heat) * 16px) 0 0 rgba(255,109,55,.34), calc(var(--heat) * 32px) 0 0 rgba(137,207,219,.18); }
.record-stretch::before,
.record-stretch::after { content: attr(data-record); position: absolute; inset: 0; pointer-events: none; }
.record-stretch::before { color: #ff8054; opacity: calc(var(--heat) * .7); clip-path: inset(20% 0 58%); transform: translateX(calc(var(--heat) * 3vw + var(--record-pull) * 19px)) scaleX(calc(1 + var(--heat) * .3 + var(--record-pull) * .08)); }
.record-stretch::after { color: #9fe9ee; opacity: calc(var(--heat) * .48); clip-path: inset(63% 0 15%); transform: translateX(calc(var(--heat) * 5vw + var(--record-pull) * 31px)) scaleX(calc(1 + var(--heat) * .4 + var(--record-pull) * .12)); }
.finish-unit { margin: 8px 0 0; color: #ff9b75; font-size: 14px; font-weight: 700; letter-spacing: .15em; }
.finish-note { max-width: 520px; color: #d9e9e9; font-size: 10px; }
.return-trigger { display: inline-flex; align-items: center; gap: 18px; min-height: 50px; margin-top: 12px; border: 0; border-bottom: 2px solid var(--salt); padding: 0; color: var(--salt); background: transparent; cursor: pointer; font-size: 9px; letter-spacing: .12em; }
.return-trigger svg { width: 64px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s ease; }
.return-trigger:hover svg { transform: translateX(-10px); }
.finish-register { position: absolute; top: 16%; right: -1%; display: grid; color: transparent; font-family: 'Six Caps'; font-size: 22vw; line-height: .38; -webkit-text-stroke: 1px rgba(245,244,237,.16); transform: translateX(calc(var(--heat) * 3vw + var(--record-pull) * 15px)) scaleX(calc(1 + var(--heat) * .72 + var(--record-pull) * .08)); transform-origin: right; }
.finish-flare { position: absolute; top: 38%; left: 38%; right: -20%; height: 4px; background: linear-gradient(90deg, transparent, white, #ffb093, transparent); box-shadow: 0 0 20px 5px rgba(255,255,255,.6); transform: scaleX(var(--heat)); transform-origin: left; }

.site-footer {
  position: absolute;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: var(--footer-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 28px;
  color: #d9eaeb;
  background: #063b55;
  border-top: 1px solid rgba(245,244,237,.25);
  font-size: 9px;
  font-weight: 700;
}
.site-footer span { margin-right: auto; }
.site-footer a { min-height: 26px; display: inline-flex; align-items: center; text-decoration-color: rgba(245,244,237,.35); text-underline-offset: 4px; }
.site-footer a { transition: color .2s ease, text-underline-offset .2s ease; }
.site-footer a:hover { color: #ff9b79; text-underline-offset: 7px; }
.noscript-note { position: fixed; z-index: 100; inset: auto 20px 60px; padding: 16px; color: white; background: var(--orange-deep); }

@media (max-width: 900px) {
  :root { --footer-h: 62px; }
  .instrument-bar { height: 112px; grid-template-columns: 1fr 142px; grid-template-rows: 56px 45px; gap: 0 18px; padding: 0 18px; }
  .trap-exposure { top: 112px; }
  .wordmark { grid-column: 1; grid-row: 1; }
  .speed-readout { grid-column: 2; grid-row: 1; }
  .mile-nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .mile-nav::-webkit-scrollbar { display: none; }
  .mile-nav button { min-width: 0; max-width: none; flex: 1 1 0; }
  .panel { padding-top: 150px; }
  .panel-machine { grid-template-columns: 1fr 230px; }
  .panel-timing { grid-template-columns: .72fr 1fr 1fr; gap: 15px; }
  .record-card { min-height: 340px; padding: 15px; }
  .record-card footer { left: 15px; right: 15px; }
  .ritual-sequence { top: auto; bottom: 29%; width: 43vw; }
  .push-diagram { left: 6%; bottom: 15%; width: 54vw; }
  .panel-essay { grid-template-columns: 38px 1fr; }
  .panel-essay blockquote { grid-column: 2; margin: 0; }
  .essay-columns { gap: 16px; }
  .site-footer { gap: 16px; padding-inline: 16px; }
}

@media (max-width: 600px) {
  :root { --footer-h: 112px; }
  body { cursor: auto; }
  .instrument-bar { height: 108px; padding-inline: 12px; grid-template-columns: 1fr 108px; }
  .trap-exposure { inset: 108px 0 var(--footer-h); }
  .trap-ruler { opacity: .12; mask-image: linear-gradient(90deg, transparent 0 68%, #000 78%); }
  .trap-gate { left: 86%; }
  .trap-gate span { left: 8px; font-size: 7px; }
  .trap-certificate { top: 52%; right: 10px; width: 120px; padding: 8px 9px 10px; box-shadow: 6px 7px 0 rgba(4,57,80,.2); }
  .trap-certificate strong { font-size: 42px; }
  .trap-certificate span, .trap-certificate em, .trap-certificate b { font-size: 6px; letter-spacing: .06em; }
  .wordmark { font-size: 11px; }
  .wordmark svg { width: 40px; }
  .speed-number { font-size: 46px; }
  .speed-status { display: none; }
  .mile-nav { width: calc(100% + 24px); margin-inline: -12px; padding-inline: 5px; overflow: visible; }
  .mile-nav button { min-width: 0; max-width: none; min-height: 48px; flex: 1 1 0; padding-inline: 0; font-size: 8px; }
  .viewport, .panel { min-height: 640px; }
  .panel { padding: 134px 20px calc(150px + var(--footer-h)); }
  .panel h2 { font-size: clamp(74px, 24vw, 104px); line-height: .76; }
  .machine-stage { left: -12vw; bottom: 17%; width: 122vw; opacity: .68; }
  .hero-copy { margin-top: 2vh; }
  .program-stamp { max-width: 260px; margin-bottom: 19px; }
  .panel-hero h1 { font-size: clamp(100px, 31vw, 134px); line-height: .7; }
  .hero-deck { max-width: 315px; margin-top: 20px; font-size: 10px; }
  .panel-hero::before { inset-right: -25%; clip-path: polygon(0 0, 93% 0, 63% 100%, 0 100%); }
  .panel-hero::after { left: 63%; }
  .hero-coordinate { display: none; }
  .vertical-caution { right: 8px; bottom: calc(var(--footer-h) + 32px); }
  .start-lever { min-height: 50px; }
  .panel-machine { display: block; }
  .machine-copy p { font-size: 10px; max-width: 330px; }
  .spec-stack { width: 82%; margin: 22px 0 0 auto; }
  .spec-stack div { padding-block: 8px; }
  .spec-stack dd { font-size: 25px; }
  .aero-annotation { left: 5%; bottom: 27%; width: 85vw; }
  .panel-timing { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 12px; padding-inline: 14px; }
  .timing-head { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr .9fr; gap: 12px; align-items: end; }
  .timing-head .section-index { grid-column: 1 / -1; margin-bottom: 0; }
  .timing-head h2 { font-size: 65px; }
  .timing-head p { margin: 0 0 6px; font-size: 8px; }
  .record-card, .record-kilo { min-height: 285px; margin-top: 4px; padding: 12px; transform: none; }
  .record-card header { min-height: 37px; font-size: 7px; }
  .record-card header b { display: none; }
  .record-kind { margin-top: 18px; font-size: 8px; letter-spacing: .06em; }
  .record-card strong { font-size: 58px; }
  .record-unit { display: block; margin: 0; font-size: 8px; }
  .record-card dl { display: block; margin-top: 10px; }
  .record-card dl div { display: flex; justify-content: space-between; padding-top: 4px; }
  .record-card dt { font-size: 7px; }
  .record-card dd { margin: 0; font-size: 10px; }
  .record-card footer { bottom: 12px; left: 12px; right: 12px; font-size: 7px; }
  .ritual-copy p { max-width: 342px; font-size: 10px; }
  .ritual-number { right: -5vw; bottom: 26%; font-size: 65vw; -webkit-text-stroke-width: 1px; }
  .ritual-sequence { right: 20px; bottom: calc(var(--footer-h) + 88px); width: 70vw; }
  .ritual-sequence li { grid-template-columns: 85px 1fr; padding-block: 8px; }
  .push-diagram { left: -4%; bottom: 25%; width: 67vw; }
  .chute-copy p { max-width: 325px; font-size: 10px; }
  .chute-lines { right: -48vw; top: 20%; width: 120vw; }
  .chute-sun { right: 10vw; top: 28%; width: 24vw; }
  .decel-strip { left: 20px; right: 20px; bottom: calc(var(--footer-h) + 27px); gap: 4px; }
  .decel-strip b { font-size: 25px; }
  .decel-strip span { font-size: 7px; }
  .panel-essay { display: block; padding-left: 35px; }
  .essay-rail { position: absolute; left: 12px; top: 142px; bottom: calc(var(--footer-h) + 35px); }
  .panel-essay h2 { font-size: 77px; padding-bottom: 14px; }
  .essay-columns { display: block; }
  .essay-columns p { margin-block: 9px; font-size: 9px; line-height: 1.48; }
  .panel-essay blockquote { margin-top: 10px; font-size: 36px; max-width: 310px; }
  .panel-essay cite { margin-top: 8px; font-size: 7px; }
  .record-stretch { font-size: 64vw !important; transform: scaleX(calc(1 + var(--heat) * .15)) skewX(calc(var(--heat) * -4deg)); }
  .record-stretch::before { transform: translateX(calc(var(--heat) * 3vw)) scaleX(calc(1 + var(--heat) * .22)); }
  .record-stretch::after { transform: translateX(calc(var(--heat) * 5vw)) scaleX(calc(1 + var(--heat) * .3)); }
  .finish-note { max-width: 320px; font-size: 9px; }
  .finish-register { top: 30%; font-size: 46vw; }
  .mirage-bank { top: 49%; height: 86px; }
  .mirage-bank span { font-size: 72px; }
  .site-footer { flex-wrap: wrap; align-content: center; gap: 5px 14px; padding: 9px 12px; font-size: 8px; }
  .site-footer span { flex: 0 0 100%; margin: 0; }
  .site-footer a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scroll-shell { height: auto !important; }
  .viewport { position: relative; height: auto; overflow: visible; }
  #salt-world, .sun-flare, .machine-stage, .travel-line { position: fixed; }
  .mirage-bank { display: none; }
  .trap-exposure { display: none; }
  .track { display: block; width: 100%; height: auto; transform: none !important; }
  .panel { width: 100%; min-height: 100dvh; }
  .site-footer { position: relative; }
  .record-stretch, .speed-number, .streamliner { transform: none !important; text-shadow: none !important; }
}
