/* Endless Coast
   Tech noir on the Pacific: a black starfield behind the whole page, thin phosphor-green HUD
   lines, neon orange type, and the coast itself in full colour wherever it appears. */

/* ------------------------------------------------------------------ tokens */
:root {
  --void: #050706;
  --void-2: #0A0F0C;
  --glass: rgba(6, 11, 9, .74);
  --line: rgba(52, 224, 122, .28);
  --line-2: rgba(52, 224, 122, .55);
  --green: #34E07A;
  --green-dim: #1F7A3B;
  --orange: #FF5B14;
  --orange-hot: #FF8A3D;
  --magenta: #FF2D7A;
  --violet: #6B2BD9;
  --cyan: #23D5E6;
  --amber: #FFB020;
  --text: #E9F3ED;
  --text-dim: #9DB3A7;
  --text-mute: #6E8378;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1rem, 3.6vw, 3rem);
  --measure: 36rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dusk: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0; font-family: var(--font); font-stretch: 100%; font-size: clamp(1rem, .95rem + .25vw, 1.16rem);
  line-height: 1.6; color: var(--text); background: var(--void); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
a { color: inherit; text-decoration-thickness: .06em; text-underline-offset: .2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--orange); color: #000; }
q { quotes: "“" "”"; }
cite { font-style: italic; }
b, strong { font-weight: 700; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--green); color: #000; padding: .6rem 1rem; font-family: var(--mono); font-size: .8rem; }
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------------ the void behind everything */
.void { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 80% at 50% 120%, #0B1712 0%, var(--void) 60%); }
.void__stars {
  position: absolute; inset: 0; opacity: .75;
  background:
    radial-gradient(1px 1px at 12% 18%, #d8ffe9 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 62%, #9fd9b8 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 41% 31%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 12%, #b9f5d3 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 66% 47%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 79% 24%, #9fd9b8 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 88% 68%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 77%, #b9f5d3 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 86%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 9%, #9fd9b8 50%, transparent 51%);
  background-size: 620px 520px, 540px 610px, 700px 480px, 480px 560px, 660px 640px, 520px 500px, 740px 580px, 600px 660px, 560px 540px, 680px 600px;
}
.void__glow {
  position: absolute; inset: auto 0 0; height: 70vh; opacity: calc(.15 + var(--dusk) * .7); transition: opacity 1.2s linear;
  background: radial-gradient(70% 90% at 50% 100%, rgba(255, 45, 122, .35), rgba(107, 43, 217, .15) 45%, transparent 75%);
}

/* film grain over everything (the same moving grain as smithrobinson.org) */
body::after {
  content: ""; position: fixed; top: 0; left: 0; width: 300%; height: 300%; z-index: 99999; pointer-events: none;
  background-image: url("../assets/img/ui/grain.png"); opacity: .07; animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10%, 30%, 50%, 70%, 90% { transform: translate(-5%, -10%); }
  20%, 40%, 60%, 80% { transform: translate(-15%, -20%); }
}
@media (max-width: 48rem) { body::after { animation: none; opacity: .04; } }

/* ------------------------------------------------------------------ type */
.mono { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45; }
.eyebrow { color: var(--green); margin-bottom: 1rem; }
.display {
  font-stretch: 125%; font-weight: 900; text-transform: uppercase; color: var(--text);
  font-size: clamp(2rem, 1rem + 4.2vw, 4.9rem); line-height: .94; letter-spacing: -.02em; text-wrap: balance;
}
.lede { font-size: clamp(1.18rem, 1rem + .7vw, 1.6rem); line-height: 1.42; text-wrap: pretty; }
.link-arrow { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green); text-decoration: none; cursor: pointer; }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(.3em); }
.bleep { display: inline-block; width: 2.1em; height: .62em; vertical-align: -.04em; overflow: hidden; color: transparent; background: var(--orange); margin: 0 .06em; user-select: none; }

/* HUD corner brackets: eight 1px gradients, no extra markup */
.hudbox {
  --c: var(--line-2); --s: 14px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--s) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--s) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--s) no-repeat;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .82em 1.25em .78em; min-height: 2.9rem;
  font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1;
  color: #050706; background: var(--green); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background .25s, color .25s, translate .25s var(--ease); text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #7DF2AA; translate: 0 -2px; }
.btn--primary { background: var(--orange); color: #0B0300; }
.btn--primary:hover { background: var(--orange-hot); }
.btn--ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--line-2); clip-path: none; }
.btn--ghost:hover { background: rgba(52, 224, 122, .1); }
.btn--small { font-size: .7rem; padding: .62em .95em .58em; min-height: 2.3rem; }
.btn__icon { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.btn__aside { opacity: .65; font-weight: 400; }
.btn[aria-pressed="true"] { background: var(--green); color: #000; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 1.5rem;
  padding: .75rem var(--gutter); background: linear-gradient(rgba(5, 7, 6, .86), rgba(5, 7, 6, .55) 70%, transparent);
  transition: translate .45s var(--ease);
}
.nav--hidden { translate: 0 -110%; }
.nav__mark { display: inline-flex; gap: .3em; align-items: baseline; text-decoration: none; font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; color: var(--orange); }
.nav__mark i { font-style: normal; color: var(--green); font-family: var(--mono); font-weight: 400; font-stretch: 100%; }
.nav__links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav__links a { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--text-dim); padding: .3rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--green); border-color: var(--green); }
.nav__rec { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--text-dim); white-space: nowrap; }
.rec { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--magenta); margin-right: .3rem; animation: rec 1.6s steps(2) infinite; vertical-align: .05em; }
@keyframes rec { 50% { opacity: .15; } }
@media (max-width: 52rem) { .nav__links { display: none; } .nav__rec { margin-left: auto; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: max(100svh, 44rem); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.62) contrast(1.05); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(5, 7, 6, .8) 0%, rgba(5, 7, 6, .25) 30%, rgba(5, 7, 6, .3) 60%, var(--void) 100%);
}
.hero__grid {
  position: absolute; inset: 4.4rem var(--gutter) 1.4rem; z-index: -1; pointer-events: none; border: 1px solid var(--line);
  background:
    linear-gradient(var(--line), var(--line)) 0 5.2rem / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) 36% 0 / 1px 5.2rem no-repeat;
}
.hero__frame { position: relative; min-height: max(100svh, 40rem); display: flex; flex-direction: column; gap: 1.5rem; padding: 5.2rem calc(var(--gutter) + 1.2rem) 2.4rem; }

.hero__top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 2rem; }
.hero__tl { display: flex; align-items: flex-start; gap: 1.2rem; }
.hero__sys { font-stretch: 100%; font-weight: 900; text-transform: uppercase; color: var(--green); font-size: clamp(1.2rem, .6rem + 1.6vw, 2.3rem); line-height: .9; letter-spacing: -.01em; }
.hero__code { display: grid; gap: .35rem; }
.barcode { width: 6rem; height: 2.3rem; }
.barcode rect { fill: var(--green); }
.hero__serial { color: var(--green); font-size: .6rem; white-space: nowrap; }
.hero__star { width: clamp(3.2rem, 5vw, 5.2rem); fill: none; stroke: var(--green); stroke-width: 2; }
.hero__star path { fill: var(--green); stroke: none; }
.hero__tr { justify-self: end; text-align: right; color: var(--green); }

.hero__title {
  margin: auto 0; font-stretch: 125%; font-weight: 900; text-transform: uppercase; color: var(--orange);
  font-size: clamp(4rem, 15.2vw, 17rem); line-height: .8; letter-spacing: -.035em; text-shadow: 0 6px 60px rgba(0, 0, 0, .35);
}
.hero__word { display: block; }
.hero__word--2 { text-align: right; }

.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.hero__copy { width: min(30rem, 46%); }
.hero__stat { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.hero__coil { width: 5.6rem; height: auto; overflow: visible; flex: none; }
.hero__coil ellipse { fill: none; stroke: var(--green-dim); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: coil 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.2s); }
@keyframes coil { 50% { transform: scale(.6, .9); stroke: var(--green); } }
.hero__stat-n { font-stretch: 125%; font-weight: 900; color: var(--orange); font-size: clamp(2.3rem, 3.4vw, 3.3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__stat-l { color: var(--green); font-size: .62rem; }
.hero__kicker { font-size: clamp(.98rem, .9rem + .3vw, 1.15rem); line-height: 1.5; color: var(--text); text-shadow: 0 1px 12px rgba(0, 0, 0, .9); margin-bottom: 1.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__sign { display: grid; justify-items: end; gap: 1.2rem; text-align: right; }
.hero__tag { display: grid; justify-items: end; font-stretch: 125%; font-weight: 900; text-transform: uppercase; color: var(--orange); font-size: clamp(1.8rem, 1rem + 3.2vw, 4.4rem); line-height: .86; letter-spacing: -.02em; }
.hero__care { color: var(--green); font-size: .78rem; }

@media (max-width: 64rem) {
  .hero__tr { display: none; }
  .hero__top { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 52rem) {
  .hero__frame { min-height: auto; padding: 5rem var(--gutter) 2.2rem; gap: 1.6rem; }
  .hero__grid { inset: 4rem calc(var(--gutter) * .5) .6rem; background: none; }
  .hero__sys { font-size: 1.2rem; }
  .barcode { width: 4.6rem; height: 1.8rem; }
  .hero__star { width: 2.8rem; }
  .hero__title { font-size: 14.8vw; line-height: .84; margin: 1.4rem 0 .6rem; }
  .hero__foot { flex-direction: column; align-items: stretch; gap: 2.2rem; }
  .hero__copy { width: auto; }
  .hero__sign { justify-items: start; text-align: left; }
  .hero__tag { justify-items: start; font-size: 10.5vw; }
}

/* ------------------------------------------------------------------ sections */
.section-head { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.section-head .display { max-width: 18em; }

/* ------------------------------------------------------------------ reel */
.reel { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 9vw, 8rem); }
.reel__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.ticket { display: grid; width: 100%; text-align: left; height: 100%; align-content: start; background-color: var(--glass); border: 1px solid var(--line); transition: border-color .3s, translate .4s var(--ease); }
.ticket:hover { border-color: var(--line-2); translate: 0 -4px; }
.ticket__poster { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.ticket__poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .8s var(--ease), filter .5s; }
.ticket:hover .ticket__poster img { transform: scale(1.05); filter: saturate(1.1); }
.ticket__play { position: absolute; left: 1rem; bottom: 1rem; width: 2.8rem; height: 2.8rem; background: var(--orange); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: background .3s; }
.ticket:hover .ticket__play { background: var(--orange-hot); }
.ticket__body { display: grid; gap: .45rem; padding: 1.1rem 1.2rem 1.4rem; }
.ticket__meta { color: var(--green); font-size: .66rem; }
.ticket__name { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.22rem; line-height: 1.05; }
.ticket__blurb { color: var(--text-dim); font-size: .95rem; line-height: 1.5; }
@media (max-width: 52rem) {
  .reel__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80vw, 22rem); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
  .reel__list > li { scroll-snap-align: center; }
}

/* ------------------------------------------------------------------ brief */
.brief { padding: clamp(3rem, 8vw, 7rem) 0; }
.brief__lede { max-width: 76rem; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: start; }
.brief__lede > p:last-child { color: var(--text-dim); }
@media (max-width: 52rem) { .brief__lede { grid-template-columns: none; gap: 1.2rem; } }

.telemetry { max-width: 76rem; margin: clamp(3rem, 7vw, 5.5rem) auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; }
.tm { display: grid; gap: .6rem; align-content: start; padding: 1.3rem 1.1rem 1.4rem; background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); }
.tm__n { font-stretch: 125%; font-weight: 900; color: var(--orange); font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); line-height: .9; font-variant-numeric: tabular-nums; }
.tm__n sup { font-size: .45em; vertical-align: .9em; margin-left: .05em; }
.tm__l { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); line-height: 1.5; }
@media (max-width: 64rem) { .telemetry { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.dossier { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.dossier__card { padding: 1.6rem 1.5rem 1.8rem; background-color: var(--glass); border-top: 2px solid var(--orange); }
.dossier__n { color: var(--orange); font-size: .9rem; }
.dossier__h { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin: .5rem 0 .9rem; }
.dossier__card p:last-child { color: var(--text-dim); }
@media (max-width: 52rem) { .dossier { grid-template-columns: none; } }

.machines { max-width: 76rem; margin: clamp(3.5rem, 8vw, 6.5rem) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.machines__photo { position: relative; }
.machines__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.machines__photo figcaption { position: absolute; left: .8rem; bottom: .7rem; color: var(--text); font-size: .62rem; background: rgba(0, 0, 0, .55); padding: .3rem .5rem; }
.machine { padding: 1.6rem 1.5rem; background-color: var(--glass); display: flex; flex-direction: column; gap: 1rem; }
.machine__name { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); line-height: .95; color: var(--orange); }
.machine__spec { display: grid; gap: 0; }
.machine__spec div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-family: var(--mono); font-size: .76rem; }
.machine__spec dt { color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.machine__spec dd { color: var(--text); text-align: right; }
.machine__note { color: var(--text-dim); font-size: .95rem; margin-top: auto; }
.gauge { height: .7rem; background: repeating-linear-gradient(90deg, rgba(52, 224, 122, .14) 0 6px, transparent 6px 8px); position: relative; }
.gauge span { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 8px); }
.machine--ls .gauge span { background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 8px); }
@media (max-width: 64rem) { .machines { grid-template-columns: 1fr 1fr; } .machines__photo { grid-column: span 2; } .machines__photo img { aspect-ratio: 16 / 9; } }
@media (max-width: 40rem) { .machines { grid-template-columns: none; } .machines__photo { grid-column: auto; } }

.operators { max-width: 76rem; margin: clamp(3.5rem, 8vw, 6.5rem) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.operators__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; flex-wrap: wrap; }
.operators__head .eyebrow { margin: 0; }
.operators__note { color: var(--text-dim); max-width: 34rem; }
.op { background-color: var(--glass); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-rows: auto 1fr; }
.op__photo { position: relative; aspect-ratio: 1; overflow: hidden; }
.op__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.9); transition: filter .6s var(--ease); }
.op__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(5, 7, 6, .7)), var(--green); mix-blend-mode: multiply; opacity: .55; transition: opacity .6s; }
.op__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 3px); pointer-events: none; }
.op:hover .op__photo img { filter: grayscale(0) contrast(1) brightness(1); }
.op:hover .op__photo::after { opacity: 0; }
.op__body { padding: 1.3rem 1.3rem 1.6rem; display: grid; gap: .55rem; align-content: start; }
.op__id { color: var(--green); }
.op__name { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.7rem; line-height: .95; }
.op__call { color: var(--text-dim); }
.op__call b { color: var(--orange); font-weight: 600; }
.op__body > p:not(.mono) { color: var(--text-dim); font-size: .95rem; }
.op__fields { display: grid; gap: .3rem; margin-top: .4rem; }
.op__fields div { display: flex; gap: .6rem; }
.op__fields dt { color: var(--text-mute); min-width: 4.2rem; }
.op--guest .op__name { color: var(--cyan); }
@media (max-width: 64rem) { .operators { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .operators { grid-template-columns: none; } }

.manifesto { max-width: 62rem; margin: clamp(4rem, 9vw, 8rem) auto 0; padding: 0 var(--gutter); }
.manifesto blockquote p { font-stretch: 112%; font-weight: 600; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); line-height: 1.22; text-wrap: balance; }
.manifesto blockquote p::before { content: "“"; color: var(--orange); }
.manifesto blockquote p::after { content: "”"; color: var(--orange); }
.manifesto figcaption { color: var(--green); margin-top: 1rem; }

/* ------------------------------------------------------------------ route (the map) */
.route { position: relative; padding-top: clamp(3rem, 7vw, 6rem); }
.route__intro { margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.route__how { color: var(--text-dim); max-width: 40rem; margin-top: 1.1rem; }
.route__skip { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1rem; }
.route__track { position: relative; }
.js .route__track { height: 1200vh; }      /* the same as the map sets, so nothing below jumps when it loads */
html:not(.js) .route__track { display: none; }
.route__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.js .route--log .route__track { display: none; }
.route__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.route__sun {
  position: absolute; left: var(--sun-x, 50%); top: 1%; width: min(30vw, 19rem); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  opacity: calc(var(--dusk) * .75); translate: -50% calc(-20% + var(--dusk) * 30%);
  background: linear-gradient(#FFD36B 0%, #FF8A3D 42%, #FF2D7A 82%);
  -webkit-mask: linear-gradient(#000 0 52%, transparent 52% 55%, #000 55% 63%, transparent 63% 67%, #000 67% 74%, transparent 74% 79%, #000 79% 85%, transparent 85% 91%, #000 91%);
          mask: linear-gradient(#000 0 52%, transparent 52% 55%, #000 55% 63%, transparent 63% 67%, #000 67% 74%, transparent 74% 79%, #000 79% 85%, transparent 85% 91%, #000 91%);
  filter: drop-shadow(0 0 60px rgba(255, 45, 122, .45));
}
.route__labels, .route__pins { position: absolute; inset: 0; pointer-events: none; }
.route__pins { z-index: 1; isolation: isolate; }
.lbl { position: absolute; left: 0; top: 0; translate: -50% -50%; font-family: var(--mono); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; color: rgba(233, 243, 237, .66); text-shadow: 0 0 6px #000, 0 0 2px #000; will-change: transform; }
.lbl--city { color: rgba(233, 243, 237, .85); font-size: .66rem; }
.lbl--water, .lbl--seafloor { color: rgba(35, 213, 230, .62); letter-spacing: .4em; }
.lbl--range, .lbl--island, .lbl--point { color: rgba(255, 176, 32, .55); }

.pin { position: absolute; left: 0; top: 0; pointer-events: auto; display: block; text-align: left; will-change: transform; --k: var(--green); }
.pin[hidden] { display: none; }
.pin--charge { --k: var(--amber); }
.pin--incident { --k: var(--orange); }
.pin--interview { --k: var(--cyan); }
.pin--side { --k: var(--magenta); }
.pin__ring { position: absolute; left: 0; top: 0; width: 1.5rem; height: .82rem; translate: -50% -50%; border-radius: 50%; border: 1.5px solid var(--k); box-shadow: 0 0 10px var(--k), inset 0 0 6px var(--k); }
.pin__stem { position: absolute; left: 0; bottom: 0; width: 1px; height: 1.5rem; background: var(--k); translate: 0 0; }
.pin__tag {
  position: absolute; left: 0; bottom: 1.5rem; translate: -50% 0; display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .06em; white-space: nowrap; color: #EFFFF5;
  padding: .32rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--k) 22%, rgba(4, 10, 7, .86)); border: 1px solid var(--k);
  box-shadow: 0 0 14px color-mix(in srgb, var(--k) 55%, transparent); transition: transform .25s var(--ease);
}
.pin:hover .pin__tag, .pin:focus-visible .pin__tag { transform: scale(1.1); }
.pin--future .pin__tag { opacity: .55; box-shadow: none; }
.pin--future .pin__ring { opacity: .5; box-shadow: none; }
.pin__card { position: absolute; left: 1.3rem; bottom: 2.9rem; width: 15rem; padding: .7rem .85rem .8rem; background: rgba(4, 9, 7, .9); border: 1px solid var(--k); display: none; }
.pin--near .pin__card { display: grid; gap: .25rem; }
.pin--flip .pin__card { left: auto; right: 1.3rem; }
.pin__card b { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: .92rem; line-height: 1.1; }
.pin__card span { color: var(--text-dim); font-size: .82rem; line-height: 1.4; }
.pin__card i { font-family: var(--mono); font-style: normal; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--k); }
.pin--active .pin__tag { background: var(--k); color: #000; }
.route--overview .pin__tag, .route--overview .pin__stem, .route--overview .pin__card { display: none; }
.route--overview .pin__ring { width: .7rem; height: .4rem; }
.riders { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; will-change: transform; }
.riders i { position: absolute; left: 0; top: 0; width: .9rem; height: .9rem; translate: -50% -50%; border-radius: 50%; background: #FFF4E8; box-shadow: 0 0 0 3px var(--orange), 0 0 20px 6px rgba(255, 91, 20, .8); }
.riders--car i { background: #fff; box-shadow: 0 0 0 3px #fff, 0 0 18px 5px rgba(255, 255, 255, .55); }
.riders--after i { background: #FFE3EE; box-shadow: 0 0 0 3px var(--magenta), 0 0 20px 6px rgba(255, 45, 122, .8); }
.riders i::after { content: ""; position: absolute; inset: -.8rem; border-radius: 50%; border: 1px solid var(--orange); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { scale: .4; opacity: 1; } to { scale: 1.6; opacity: 0; } }

/* the HUD around the map */
.hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-family: var(--mono); }
.hud[hidden] { display: none; }
.hud > * { pointer-events: auto; }
.hud__title { color: var(--green); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .45rem; }
.hud__chips { position: absolute; left: var(--gutter); top: 4.6rem; display: flex; gap: .4rem; }
.chip { display: grid; padding: .45rem .7rem .4rem; background: var(--glass); border: 1px solid var(--line); min-width: 5.2rem; }
.chip b { color: var(--orange); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.chip i { font-style: normal; color: var(--text-dim); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.hud__legend { position: absolute; left: var(--gutter); bottom: 12.4rem; width: 19.9rem; padding: .6rem .8rem .7rem; background: var(--glass); border: 1px solid var(--line); }
.hud__legend ul { display: grid; grid-template-columns: 1fr 1fr; gap: .32rem 1rem; }
.hud__legend li { display: flex; align-items: center; gap: .55rem; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.k { width: .8rem; height: .8rem; border-radius: 50%; border: 1.5px solid var(--green); flex: none; }
.k--charge { border-color: var(--amber); }
.k--incident { border-color: var(--orange); }
.k--interview { border-color: var(--cyan); }
.k--side { border-color: var(--magenta); }
.k--line { border: 0; border-radius: 0; height: 3px; background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.k--car { border: 0; border-radius: 0; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 4px, transparent 4px 7px); }
.hud__power { position: absolute; left: var(--gutter); bottom: 5.4rem; width: 13.5rem; padding: .7rem .8rem .75rem; background: var(--glass); border: 1px solid var(--line); }
.cell { display: grid; grid-template-columns: 4.2rem 1fr 2.6rem; align-items: center; gap: .5rem; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.cell + .cell { margin-top: .4rem; }
.cell__bar { height: .55rem; background: repeating-linear-gradient(90deg, rgba(52, 224, 122, .14) 0 4px, transparent 4px 6px); position: relative; }
.cell__bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v, 1) * 100%); background: repeating-linear-gradient(90deg, var(--c, var(--green)) 0 4px, transparent 4px 6px); transition: width .25s linear; }
.cell__v { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.cell--low { --c: var(--orange); }
.cell--dead { --c: var(--magenta); }
.cell--dead .cell__v { color: var(--magenta); }
.cell--car .cell__v { color: var(--cyan); }
.profile { position: absolute; left: var(--gutter); right: calc(min(27rem, 38vw) + var(--gutter) + 1.4rem); bottom: 1.2rem; height: 3.2rem; cursor: ew-resize; touch-action: none; border-bottom: 1px solid var(--line); }
.profile svg { width: 100%; height: 100%; overflow: visible; }
.profile [data-profile-fill] { fill: rgba(255, 91, 20, .12); }
.profile [data-profile-line] { fill: none; stroke: var(--orange); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.profile [data-profile-now] { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.profile [data-profile-ticks] line { stroke-width: 2; vector-effect: non-scaling-stroke; }
.locator { position: absolute; left: calc(var(--gutter) + 14.2rem); bottom: 5.4rem; width: 5.7rem; height: auto; aspect-ratio: 200 / 228; border: 1px solid var(--line); background: var(--glass); }
.hud__explore { position: absolute; right: calc(min(27rem, 38vw) + var(--gutter) + 1.4rem); top: 4.6rem; }
.compass { position: absolute; right: calc(min(27rem, 38vw) + var(--gutter) + 1.4rem); top: 7.9rem; width: 3rem; height: 3rem; border-radius: 50%; }
.compass svg { width: 100%; height: 100%; overflow: visible; transition: transform .2s linear; }
.compass circle { fill: var(--glass); stroke: var(--line-2); stroke-width: 1.5; }
.compass__n { fill: var(--orange); }
.compass__s { fill: rgba(233, 243, 237, .4); }
.compass text { font: 700 8px var(--mono); fill: #fff; }
.compass--north circle { stroke: var(--orange); }

/* the story panel / bottom sheet */
.panel {
  position: absolute; z-index: 5; top: 4.4rem; right: var(--gutter); width: min(27rem, 38vw); max-height: calc(100svh - 5.6rem);
  display: grid; grid-template-rows: 1fr auto; background: rgba(5, 9, 7, .9); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  transition: translate .5s var(--ease), opacity .35s;
}
.panel[hidden] { display: grid; visibility: hidden; opacity: 0; translate: 110% 0; transition: translate .4s var(--ease), opacity .3s, visibility 0s .4s; }
.panel__close { position: absolute; z-index: 2; right: .6rem; top: .6rem; width: 2.2rem; height: 2.2rem; background: rgba(0, 0, 0, .65); border: 1px solid var(--line-2); color: var(--green); font-size: 1.3rem; line-height: 1; }
.panel__scroll { overflow-y: auto; overscroll-behavior: contain; padding-bottom: 1.2rem; scrollbar-width: thin; scrollbar-color: var(--green-dim) transparent; }
.panel__nav { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .7rem .9rem .8rem; border-top: 1px solid var(--line); }
.panel__count { color: var(--text-dim); }
.panel .stop__media { margin: 0; position: relative; }
.panel .stop__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.panel .stop__media::after { content: ""; position: absolute; inset: .55rem; pointer-events: none;
  background:
    linear-gradient(var(--green), var(--green)) top left / 14px 1px no-repeat, linear-gradient(var(--green), var(--green)) top left / 1px 14px no-repeat,
    linear-gradient(var(--green), var(--green)) top right / 14px 1px no-repeat, linear-gradient(var(--green), var(--green)) top right / 1px 14px no-repeat,
    linear-gradient(var(--green), var(--green)) bottom left / 14px 1px no-repeat, linear-gradient(var(--green), var(--green)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--green), var(--green)) bottom right / 14px 1px no-repeat, linear-gradient(var(--green), var(--green)) bottom right / 1px 14px no-repeat; }
.panel .stop__meta, .panel .stop__title, .panel .stop__body, .panel .stop__quote, .panel .stop__watch { margin-left: 1.25rem; margin-right: 1.25rem; }
.panel .stop__meta { margin-top: 1rem; }
.panel .stop__teaser { display: none; }

/* on phones the caption for the stop just reached sits at the bottom */
.nowcard { display: none; }
@media (max-width: 52rem) {
  .hud__legend, .locator, .hud__power .hud__title { display: none; }
  .hud__chips { top: 4rem; left: .6rem; }
  .chip { min-width: 0; padding: .35rem .5rem .3rem; }
  .chip b { font-size: .86rem; }
  .hud__power { left: .6rem; right: 3.8rem; bottom: auto; top: 7.05rem; width: auto; display: flex; gap: .9rem; padding: .35rem .55rem; }
  .cell { grid-template-columns: auto 1.8rem auto; gap: .35rem; font-size: .55rem; }
  .cell + .cell { margin-top: 0; }
  .cell__bar { height: .45rem; }
  .profile { left: .6rem; right: .6rem; bottom: .6rem; height: 2.4rem; }
  .compass { right: .6rem; top: 4rem; width: 2.6rem; height: 2.6rem; }
  .hud__explore { right: .6rem; top: 7.05rem; width: 2.6rem; min-height: 2.1rem; padding: 0; justify-content: center; }
  .hud__explore [data-explore-label] { display: none; }
  .pin__card { display: none !important; }
  .panel { top: auto; right: .5rem; left: .5rem; bottom: max(.5rem, env(safe-area-inset-bottom)); width: auto; max-height: min(46svh, calc(100svh - 13rem)); }
  .panel .stop__media img { aspect-ratio: 2 / 1; }
  .panel[hidden] { translate: 0 110%; }
  .nowcard {
    display: grid; gap: .2rem; position: absolute; left: .7rem; right: .7rem; bottom: 3.6rem; text-align: left; padding: .6rem .8rem .7rem;
    background: rgba(4, 9, 7, .9); border: 1px solid var(--line-2); transition: opacity .3s, translate .3s var(--ease);
  }
  .nowcard[hidden] { display: grid; opacity: 0; translate: 0 10px; pointer-events: none; }
  .nowcard b { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: .95rem; line-height: 1.1; }
  .nowcard b::after { content: " →"; color: var(--orange); }
  .nowcard span { color: var(--text-dim); font-size: .82rem; line-height: 1.35; }
  .nowcard i { font-family: var(--mono); font-style: normal; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
}

/* the logbook (also the no-JS and reduced-motion version of the map) */
.stop__meta { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.stop__place { color: var(--text-dim); }
.stop__title { font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1.02; margin-top: .45rem; text-wrap: balance; }
.stop__teaser { color: var(--text-dim); margin-top: .4rem; }
.stop__body { margin-top: .8rem; font-size: .98rem; line-height: 1.6; color: #D3E2D9; }
.stop__body p + p { margin-top: .8em; }
.stop__quote { margin-top: 1rem; padding-left: .9rem; border-left: 2px solid var(--orange); }
.stop__quote p { font-size: 1.02rem; line-height: 1.4; font-weight: 600; }
.stop__quote footer { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-top: .35rem; }
.stop__quote footer::before { content: "— "; }
.stop__watch { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.stop__watch .btn { white-space: normal; text-align: left; }

.log { max-width: 76rem; margin: 0 auto; padding: 2rem var(--gutter) 4rem; }
.js .log { display: none; }
.js .route--log .log { display: block; }
.log__title { color: var(--green); margin-bottom: 1.6rem; }
.log__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.2rem; }
.log .stop { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--line); padding-bottom: 1.3rem; content-visibility: auto; contain-intrinsic-size: auto 34rem; }
.log .stop > * { margin-left: 1.2rem; margin-right: 1.2rem; }
.log .stop__media { order: -1; margin: 0 0 1rem; }
.log .stop__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.log .stop__meta { margin-top: 0; }

/* ------------------------------------------------------------------ film */
.film { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.film__len { font-size: .38em; color: var(--green); font-family: var(--mono); font-weight: 400; font-stretch: 100%; letter-spacing: .06em; vertical-align: .55em; margin-left: .3em; }
.film__blurb { color: var(--text-dim); max-width: 40rem; margin-top: 1.1rem; }
.screen { position: relative; max-width: 78rem; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: 0 var(--gutter); }
.screen__picture, .screen__player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.screen__picture img { width: 100%; height: 100%; object-fit: cover; transition: filter 1s var(--ease), transform 6s var(--ease); }
.screen__picture::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px), radial-gradient(80% 80% at 50% 50%, transparent 40%, rgba(0, 0, 0, .55)); pointer-events: none; }
.screen__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.screen__start { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; }
.film--open .screen__picture img { filter: brightness(.8); }
.terminal {
  position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: min(24rem, calc(100% - 2 * var(--gutter) - 2rem));
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; padding: 0 1.3rem 1.25rem;
  background: rgba(2, 6, 4, .88); border: 1px solid var(--line-2); backdrop-filter: blur(8px); box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  transition: opacity .6s var(--ease), translate .6s var(--ease);
}
.terminal__head { display: flex; justify-content: space-between; align-items: center; margin: 0 -1.3rem; padding: .6rem 1.3rem; border-bottom: 1px solid var(--line); color: var(--text-dim); font-size: .6rem; }
.terminal__dots { display: flex; gap: .3rem; }
.terminal__dots i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--green-dim); }
.terminal__dots i:first-child { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.terminal__boot { display: grid; gap: .3rem; font-size: .64rem; }
.terminal__boot div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(52, 224, 122, .14); padding-bottom: .3rem; }
.terminal__boot dt { color: var(--text-mute); }
.terminal__boot dd { color: var(--green); text-align: right; }
.terminal__warn { color: var(--orange); font-size: .66rem; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.terminal__row { display: flex; gap: .6rem; align-items: stretch; }
/* five slots, one per letter: every glyph is 1ch wide plus 1ch of letter-spacing, and the slots are drawn
   behind on the same 2ch rhythm */
.terminal__input {
  flex: none; width: calc(11ch + 6px); min-width: 0; margin: 0; border-radius: 0; appearance: none;
  font: 700 1.55rem/1 var(--mono); letter-spacing: 1ch; text-transform: uppercase; color: var(--orange); caret-color: var(--orange);
  padding: .62em calc(.5ch + 1px) .56em; border: 1px solid var(--line-2);
  background:
    repeating-linear-gradient(90deg, var(--green) 0 calc(2ch - 6px), transparent 0 2ch) 4px calc(100% - .38em) / 10ch 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(52, 224, 122, .07) 0 calc(2ch - 6px), transparent 0 2ch) 4px .3em / 10ch calc(100% - .6em) no-repeat,
    rgba(0, 0, 0, .6);
}
.terminal__input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 0 22px rgba(255, 91, 20, .35); }
.terminal__input::placeholder { color: var(--green-dim); opacity: 1; }
.terminal__go { flex: 1; justify-content: center; }
.terminal__hint { font-size: .86rem; line-height: 1.45; color: var(--text-dim); }
.terminal__msg { font-size: .64rem; color: var(--green); }
.terminal__msg:empty { margin-top: -.9rem; }
.terminal--wrong { animation: shake .4s; }
.terminal--wrong .terminal__msg { color: var(--magenta); }
@keyframes shake { 20% { translate: calc(-50% - 9px) -50%; } 40% { translate: calc(-50% + 8px) -50%; } 60% { translate: calc(-50% - 5px) -50%; } 80% { translate: calc(-50% + 3px) -50%; } }
.film--open .terminal { opacity: 0; translate: -50% -40%; pointer-events: none; }
@media (max-width: 40rem) {
  .terminal { position: relative; left: auto; top: auto; translate: none; width: auto; margin-top: -1px; }
  .film--open .terminal { display: none; }
  @keyframes shake { 20% { translate: -9px 0; } 40% { translate: 8px 0; } 60% { translate: -5px 0; } 80% { translate: 3px 0; } }
}

/* ------------------------------------------------------------------ credits */
.credits { padding: clamp(4rem, 9vw, 8rem) 0 clamp(5rem, 10vw, 9rem); }
.makers { max-width: 76rem; margin: clamp(2rem, 5vw, 3.5rem) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.maker { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.3rem; padding: 1.5rem; background-color: var(--glass); border: 1px solid var(--line); }
.maker__logo img { width: 5.5rem; height: 5.5rem; object-fit: contain; filter: grayscale(.2); }
.maker__name { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; margin-bottom: .7rem; }
.maker__name a { text-decoration: none; }
.maker__name a:hover { color: var(--orange); }
.maker__text > p { color: var(--text-dim); font-size: .96rem; }
.maker__links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; }
.maker__links a { color: var(--green); text-decoration: none; }
.maker__links a:hover { text-decoration: underline; }
@media (max-width: 52rem) { .makers { grid-template-columns: none; } }
@media (max-width: 30rem) { .maker { grid-template-columns: none; } }

.thanks, .more { max-width: 76rem; margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding: 0 var(--gutter); }
.thanks__h { color: var(--green); margin-bottom: 1rem; }
.thanks__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: .1rem 2rem; }
.thanks__list li { padding: .7rem 0; border-bottom: 1px dashed var(--line); color: var(--text-dim); }
.thanks__list b { color: var(--text); }
.more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.more__card { display: grid; gap: .5rem; height: 100%; align-content: start; text-align: left; padding: 1.3rem 1.3rem 1.5rem; text-decoration: none; background-color: var(--glass); border: 1px solid var(--line); transition: border-color .3s, translate .4s var(--ease); width: 100%; }
.more__card:hover { border-color: var(--orange); translate: 0 -3px; }
.more__card .mono { color: var(--green); }
.more__card b { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 1.35rem; line-height: 1; }
.more__card span:last-child { color: var(--text-dim); font-size: .95rem; }
@media (max-width: 52rem) { .more__list { grid-template-columns: none; } }

/* ------------------------------------------------------------------ finish */
.finish { position: relative; min-height: min(100svh, 62rem); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.finish__art { position: absolute; inset: 0; z-index: -1; }
.finish__art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.finish__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--void) 0%, transparent 32%, transparent 55%, rgba(5, 7, 6, .92) 100%); }
.finish__body { max-width: 76rem; width: 100%; margin: 0 auto; padding: 0 var(--gutter) clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1rem; }
.finish__eol { color: var(--green); }
.finish__title { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 1rem + 6vw, 7rem); line-height: .86; letter-spacing: -.03em; color: var(--text); text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.finish__title span { display: block; color: var(--orange); }
.finish__links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: .6rem; }
.finish__links a { color: var(--green); text-decoration: none; }
.finish__links a:hover { text-decoration: underline; }
.finish__small { color: var(--text-mute); font-size: .6rem; letter-spacing: .04em; text-transform: none; max-width: 60rem; line-height: 1.6; }

/* ------------------------------------------------------------------ theatre */
.theatre { width: min(76rem, 94vw); max-width: none; max-height: none; padding: 0; border: 0; background: none; color: var(--text); overflow: visible; }
.theatre::backdrop { background: rgba(2, 4, 3, .9); backdrop-filter: blur(8px); }
.theatre[open] { animation: theatre-in .45s var(--ease); }
.theatre[open]::backdrop { animation: fade-in .3s ease-out; }
@keyframes theatre-in { from { opacity: 0; translate: 0 18px; scale: .98; } }
@keyframes fade-in { from { opacity: 0; } }
.theatre__frame { aspect-ratio: 16 / 9; max-height: 80svh; margin: 0 auto; background: #000; border: 1px solid var(--line-2); overflow: hidden; }
.theatre__frame iframe, .theatre__frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.theatre__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .8rem; }
.theatre__title { color: var(--green); }

/* ------------------------------------------------------------------ reveal */
.js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}
