/* ==========================================================================
   WEN MARS — cut D. The definitive film-title site.
   Voices: Inter Tight thin caps (titles), Inter Tight light (reading),
   Inter Tight italic (punchlines), Space Mono (telemetry), Six Caps
   (the billing block). One accent: burnt rust. Grain, letterbox, hairlines.
   ========================================================================== */

:root {
  --bg: #040508;
  --ink: #EDEDEA;
  --dim: #979BA3;
  --accent: #C7502B;
  --line: rgba(237, 237, 234, .10);
  --line-strong: rgba(237, 237, 234, .24);
  --mono: "Space Mono", ui-monospace, monospace;
  --sans: "Inter Tight", system-ui, sans-serif;
  --bill: "Six Caps", "Inter Tight", sans-serif;
  --ease: cubic-bezier(.19, .6, .22, 1);
  --pad: clamp(20px, 4vw, 64px);
  --secgap: clamp(110px, 16vh, 220px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.reduced { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 300 17px/1.66 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0a0503; }

a { color: inherit; text-decoration: none; }
img, canvas, video { max-width: 100%; display: block; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
em { font-style: italic; font-weight: 200; }

.mono { font-family: var(--mono); }
.dot { color: var(--accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 300;
  padding: 10px 16px; background: var(--ink); color: #0a0503; font-family: var(--mono); font-size: 12px;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 250; background: #000;
  cursor: pointer; transition: opacity .2s linear;
}
.loader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- atmosphere ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reveals ---------- */
.js .rv { opacity: 0; transform: translateY(20px); }
.js .rv.on {
  opacity: 1; transform: none;
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
html.reduced .rv { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--pad);
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.hd.solid {
  background: rgba(4, 5, 8, .85); backdrop-filter: blur(14px);
  border-color: var(--line); padding-block: 14px;
}
.hd-mark { font-weight: 200; font-size: 14px; letter-spacing: .44em; text-transform: uppercase; white-space: nowrap; }
.hd-nav { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.hd-nav a, .hd-sound, .hd-motion, .hd-buy {
  font-size: 11px; letter-spacing: .18em; color: var(--dim);
  transition: color .3s var(--ease); white-space: nowrap;
}
.hd-nav a:hover, .hd-sound:hover, .hd-motion:hover { color: var(--ink); }
.hd-nav a.here { color: var(--ink); }
.hd-nav a.here::after { content: ""; display: block; height: 1px; background: var(--accent); margin-top: 3px; }
.hd-aux { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 24px); }
.hd-sound[aria-pressed="true"] { color: var(--accent); }
.hd-buy { color: var(--accent); }
.hd-buy:hover { color: var(--ink); }
@media (max-width: 860px) { .hd-nav { display: none; } }
@media (max-width: 480px) { .hd-sound, .hd-motion { display: none; } }

/* ---------- full-bleed frames ---------- */
.frame {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
}
.film-media { position: absolute; inset: 0; background: #000; }
.film-media video, .film-media img.poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.film-media video { opacity: 0; transition: opacity .8s linear; }
.film-media video.live { opacity: 1; }
.film-media-dim video, .film-media-dim img.poster { opacity: .5 !important; }
.film-media-dim video.live { opacity: .5 !important; }

.frame-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 110%, rgba(4,5,8,.55) 0%, rgba(4,5,8,0) 55%),
    linear-gradient(180deg, rgba(4,5,8,.78) 0%, rgba(4,5,8,.15) 34%, rgba(4,5,8,.22) 66%, rgba(4,5,8,.88) 100%);
}
.bar { position: absolute; left: 0; right: 0; height: clamp(30px, 5vh, 56px); background: #000; z-index: 3; }
.bar-t { top: 0; border-bottom: 1px solid var(--line); }
.bar-b { bottom: 0; border-top: 1px solid var(--line); }

.corner {
  position: absolute; z-index: 4; font-size: 10px; line-height: 1.8;
  letter-spacing: .22em; color: var(--dim);
}
.corner-br { right: var(--pad); bottom: clamp(48px, 8vh, 84px); text-align: right; }

/* ---------- hero ---------- */
.hero-stack { position: relative; z-index: 4; text-align: center; padding: 0 20px; }
.kicker { font-size: 11px; letter-spacing: .36em; color: var(--dim); margin-bottom: clamp(24px, 4.5vh, 48px); }
.title {
  font-weight: 100; text-transform: uppercase;
  font-size: clamp(44px, 10vw, 172px);
  letter-spacing: .3em; text-indent: .3em;
  line-height: 1.05; white-space: nowrap;
}
.sub {
  margin-top: clamp(20px, 3.4vh, 38px);
  font-size: clamp(16px, 1.6vw, 21px); color: var(--dim); font-weight: 200;
}
.hero-links { margin-top: clamp(32px, 5.5vh, 60px); display: flex; gap: 24px; justify-content: center; align-items: center; }

.tlink {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  padding-bottom: 6px; border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.tlink:hover { border-color: var(--accent); }
.tsep { color: var(--dim); font-weight: 200; }

.ca-strip {
  margin-top: clamp(26px, 4vh, 44px);
  display: inline-flex; align-items: center; gap: 16px;
  border: 1px solid var(--line-strong); padding: 12px 22px;
}
.ca-label { font-size: 10px; letter-spacing: .3em; color: var(--accent); }
.ca-value {
  font-size: 12px; letter-spacing: .14em; color: var(--dim);
  max-width: min(64vw, 460px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .3s var(--ease);
}
.ca-value:disabled { cursor: default; }
.ca-value:not(:disabled) { color: var(--ink); cursor: pointer; }
.ca-value:not(:disabled):hover { color: var(--accent); }

.hero-strip {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad);
  bottom: clamp(48px, 8vh, 84px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px;
  font-size: 10px; letter-spacing: .22em; color: var(--dim);
}
.hs-c { justify-self: center; }
.hs-r { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .hs-l { display: none; } .ca-strip {
  margin-top: clamp(26px, 4vh, 44px);
  display: inline-flex; align-items: center; gap: 16px;
  border: 1px solid var(--line-strong); padding: 12px 22px;
}
.ca-label { font-size: 10px; letter-spacing: .3em; color: var(--accent); }
.ca-value {
  font-size: 12px; letter-spacing: .14em; color: var(--dim);
  max-width: min(64vw, 460px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color .3s var(--ease);
}
.ca-value:disabled { cursor: default; }
.ca-value:not(:disabled) { color: var(--ink); cursor: pointer; }
.ca-value:not(:disabled):hover { color: var(--accent); }

.hero-strip { grid-template-columns: auto 1fr; } .hs-r { justify-self: end; } }

.cue {
  display: block; width: 1px; height: 46px; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.cue::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%;
  background: var(--accent); animation: cue 2.8s var(--ease) infinite;
}
@keyframes cue { 0% { top: -50%; } 70%, 100% { top: 110%; } }
html.reduced .cue::after { animation: none; }

/* ---------- sections ---------- */
.sec { max-width: 1160px; margin: 0 auto; padding: var(--secgap) var(--pad) 0; }
.sec-wide { max-width: 1320px; }
#numbers, #faq { padding-bottom: var(--secgap); }

.sec-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: clamp(48px, 7.5vh, 92px);
}
.sec-n { font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.sec-t {
  font-weight: 200; text-transform: uppercase;
  font-size: clamp(19px, 2.6vw, 30px); letter-spacing: .22em; white-space: nowrap;
}
.sec-line { flex: 1; height: 1px; background: var(--line); align-self: center; min-width: 40px; }
.sec-tag { font-size: 10px; letter-spacing: .24em; color: var(--dim); white-space: nowrap; }
.sec-tag-link { color: var(--accent); transition: color .3s var(--ease); }
.sec-tag-link:hover { color: var(--ink); }
@media (max-width: 560px) { .sec-tag { display: none; } }

.lede {
  font-weight: 200; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.5;
  max-width: 30em; margin-bottom: clamp(44px, 6.5vh, 76px);
}

/* ---------- 01 the question ---------- */
.eras { list-style: none; border-top: 1px solid var(--line); }
.era {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: baseline;
  padding: clamp(24px, 3.6vh, 36px) 2px; border-bottom: 1px solid var(--line);
}
.era-y { font-size: 12px; letter-spacing: .2em; color: var(--dim); }
.era-q {
  font-weight: 200; text-transform: uppercase; letter-spacing: .22em;
  font-size: clamp(19px, 2.8vw, 34px); color: var(--dim);
}
.era-strike { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 1px; }
.era-s {
  font-size: 10px; letter-spacing: .22em; color: var(--dim);
  border: 1px solid var(--line-strong); padding: 6px 12px;
}
.era.now .era-q { color: var(--ink); }
.era.now .era-y, .era.now .era-s { color: var(--accent); }
.era.now .era-s { border-color: var(--accent); }
.era-punch {
  margin-top: clamp(36px, 5.5vh, 56px);
  font-size: clamp(18px, 2.2vw, 26px); color: var(--dim); font-weight: 200; max-width: 34em;
}
@media (max-width: 600px) {
  .era { grid-template-columns: 58px 1fr; }
  .era-s { grid-column: 2; justify-self: start; margin-top: 8px; }
}

/* ---------- 02 origin ---------- */
.origin-grid { display: grid; gap: clamp(40px, 6vw, 90px); }
@media (min-width: 880px) { .origin-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.origin-credits { display: grid; gap: 26px; align-content: start; }
.credit { font-weight: 200; font-size: clamp(19px, 2.3vw, 27px); line-height: 1.55; max-width: 24em; }
.credit-note { font-size: 10px; letter-spacing: .26em; color: var(--dim); margin-top: 12px; }

.tweet-slot { max-width: 550px; }
.quote-card {
  border-left: 1px solid var(--accent); padding: 12px 0 12px clamp(24px, 3vw, 40px);
}
.quote-card blockquote {
  font-weight: 100; font-size: clamp(30px, 4.2vw, 54px); letter-spacing: .02em; line-height: 1.2;
}
.quote-card figcaption { margin-top: 24px; font-size: 10px; letter-spacing: .2em; line-height: 2.1; color: var(--dim); }
.tweet-slot:not(:empty) + .quote-card { display: none; }

.brand-rh {
  display: inline-block;
  width: 84px; height: 17px; background: var(--dim);
  -webkit-mask: url("../assets/img/robinhood.svg") no-repeat left center / contain;
  mask: url("../assets/img/robinhood.svg") no-repeat left center / contain;
}
.brand-rh-lg { width: 148px; height: 30px; background: var(--ink); }

/* ---------- 02 numbers ---------- */
.specs { border-top: 1px solid var(--line); }
.spec {
  display: grid; grid-template-columns: min(34%, 240px) 1fr; align-items: center;
  gap: 18px; padding: clamp(20px, 3vh, 30px) 2px; border-bottom: 1px solid var(--line);
}
.spec dt { font-size: 10px; letter-spacing: .3em; color: var(--dim); }
.spec dd {
  display: flex; align-items: center; gap: 14px;
  font-weight: 200; font-size: clamp(21px, 2.8vw, 34px); letter-spacing: .02em;
}
.spec dd.num { font-variant-numeric: tabular-nums; }
.spec dd img { border-radius: 6px; }
.ca { letter-spacing: .1em; font-size: 15px; }
.ca:hover { color: var(--accent); }

/* ---------- interlude ---------- */
.inter-stack { position: relative; z-index: 4; text-align: center; display: grid; gap: 32px; justify-items: center; padding: 0 20px; }
.inter-line {
  font-weight: 100; text-transform: uppercase;
  font-size: clamp(22px, 4.4vw, 62px); letter-spacing: .26em; text-indent: .26em; white-space: nowrap;
}
@media (max-width: 480px) { .inter-line { font-size: clamp(14px, 5vw, 24px); letter-spacing: .18em; text-indent: .18em; } }
.inter-sub { font-size: 11px; letter-spacing: .34em; text-indent: .34em; color: var(--dim); }

/* ---------- 03 ramps ---------- */
.ramps { display: grid; border-block: 1px solid var(--line); }
@media (min-width: 760px) { .ramps { grid-template-columns: repeat(3, 1fr); } }
.ramp {
  display: grid; justify-items: center; gap: 16px; text-align: center;
  padding: clamp(36px, 5.5vh, 56px) 26px; border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.ramp:hover { background: rgba(237, 237, 234, .03); }
@media (min-width: 760px) {
  .ramp { border-bottom: 0; border-right: 1px solid var(--line); }
  .ramp:last-child { border-right: 0; }
}
.ramp img { border-radius: 8px; }
.ramp-name { font-weight: 200; font-size: 19px; letter-spacing: .06em; }
.ramp-s { font-size: 9px; letter-spacing: .3em; color: var(--dim); }

.soon {
  margin-top: 40px; display: flex; gap: clamp(20px, 4vw, 44px); align-items: center;
  justify-content: center; flex-wrap: wrap;
}
.soon-label { font-size: 10px; letter-spacing: .3em; color: var(--accent); }
.soon-item {
  display: flex; align-items: center; gap: 10px; opacity: .55;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
}
.soon-cb { height: 15px; width: auto; }

/* ---------- 04 steps ---------- */
.steps { list-style: none; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); } }
.step { padding: 26px 2px; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .step { border-bottom: 0; } }
.step-n { display: block; font-size: 12px; letter-spacing: .2em; color: var(--accent); margin-bottom: 16px; }
.step-t { font-weight: 200; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.step-d { margin-top: 12px; font-size: 11px; letter-spacing: .12em; color: var(--dim); }

/* ---------- 05 phases ---------- */
/* the mission floats over the EVA drift */
#mission { position: relative; padding-bottom: var(--secgap); }
#mission::before {
  content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(4,5,8,.82) 18%, rgba(4,5,8,.86) 82%, var(--bg) 100%),
    url('../assets/img/eva.webp') center 30% / cover no-repeat;
}

.phases { list-style: none; border-top: 1px solid var(--line); }
.phase {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 8px 20px; align-items: baseline;
  padding: clamp(24px, 3.6vh, 34px) 2px; border-bottom: 1px solid var(--line);
}
.phase-n { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--dim); }
.phase-t { font-weight: 200; text-transform: uppercase; letter-spacing: .2em; font-size: clamp(17px, 2.2vw, 25px); }
.phase-d { grid-column: 2; color: var(--dim); font-weight: 300; font-size: 15px; }
.phase-s {
  font-family: var(--mono); font-size: 10px; letter-spacing: .22em;
  color: var(--dim); border: 1px solid var(--line-strong); padding: 6px 12px;
}
.phase.active .phase-s { color: var(--accent); border-color: var(--accent); }
.phase.active .phase-n { color: var(--accent); }
@media (max-width: 600px) {
  .phase { grid-template-columns: 64px 1fr; }
  .phase-s { grid-column: 2; justify-self: start; margin-top: 8px; }
}

/* ---------- 06 transmissions ---------- */
/* the reels — four short films above the stills */
.reels { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 40px; }
@media (min-width: 720px) { .reels { grid-template-columns: repeat(2, 1fr); } }
.reel { position: relative; background: var(--bg); cursor: pointer; overflow: hidden; aspect-ratio: 16 / 9; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px 16px; font-size: 10px; letter-spacing: .22em;
  background: linear-gradient(180deg, transparent, rgba(4,5,8,.92));
  text-transform: uppercase; pointer-events: none;
}
.reel-hint {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  font-size: 10px; letter-spacing: .3em; color: var(--ink);
  padding: 6px 10px; border: 1px solid rgba(237,237,234,.35);
  background: rgba(4,5,8,.55); pointer-events: none;
  transition: opacity .3s var(--ease);
}
.reel.playing .reel-hint { opacity: 0; }
.reel:hover .reel-hint, .reel:focus-visible .reel-hint { border-color: var(--accent); color: var(--accent); }

.tx-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 620px) { .tx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .tx-grid { grid-template-columns: repeat(4, 1fr); } }
.tx { position: relative; background: var(--bg); cursor: zoom-in; overflow: hidden; aspect-ratio: 1; }
.tx img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25) contrast(.98); transition: filter .5s var(--ease), transform .8s var(--ease);
}
.tx:hover img, .tx:focus-visible img { filter: none; transform: scale(1.035); }
.tx figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .22em;
  background: linear-gradient(180deg, transparent, rgba(4,5,8,.92));
  text-transform: uppercase;
}

/* ---------- 07 boarding pass ---------- */
.pass-form {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 12px; max-width: 460px;
  transition: border-color .3s var(--ease);
}
.pass-form:focus-within { border-color: var(--accent); }
.pass-at { color: var(--dim); font-size: 15px; }
.pass-form input {
  flex: 1; min-width: 0; background: none; border: 0; color: var(--ink);
  font-family: var(--mono); font-size: 16px; letter-spacing: .08em; outline: none;
}
.pass-form input::placeholder { color: var(--dim); opacity: 1; }
.pass-error { margin-top: 14px; font-size: 11px; letter-spacing: .12em; color: var(--accent); min-height: 1.4em; }
.pass-out { margin-top: 44px; }
.pass-out canvas { width: 100%; height: auto; border: 1px solid var(--line); }
.js .pass-out.printed canvas { animation: feed .8s var(--ease); }
@keyframes feed { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
html.reduced .pass-out.printed canvas { animation: none; }
.pass-actions { margin-top: 22px; display: flex; gap: 20px; align-items: center; }

/* ---------- 08 faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: clamp(22px, 3.4vh, 30px) 2px;
  font-weight: 200; text-transform: uppercase; letter-spacing: .16em;
  font-size: clamp(15px, 1.9vw, 20px);
  transition: color .3s var(--ease);
}
.faq summary:hover { color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.fx { position: relative; width: 12px; height: 12px; flex: 0 0 12px; }
.fx::before, .fx::after {
  content: ""; position: absolute; background: var(--dim); inset: 5px 0;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.fx::after { transform: rotate(90deg); }
.faq details[open] .fx::after { transform: rotate(0deg); }
.faq details[open] .fx::before, .faq details[open] .fx::after { background: var(--accent); }
.faq p { padding: 0 2px 30px; font-size: clamp(18px, 2.2vw, 24px); color: var(--dim); }

/* ---------- crew ---------- */
.crew { min-height: 92vh; min-height: 92svh; }
.crew-stack { position: relative; z-index: 4; text-align: center; display: grid; gap: 28px; justify-items: center; padding: 0 20px; }
.crew-k { font-size: 10px; letter-spacing: .36em; color: var(--dim); }
.crew-line { font-size: clamp(18px, 2.4vw, 27px); font-weight: 200; }
.crew-links { display: flex; gap: 24px; align-items: center; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(4, 5, 8, .95); backdrop-filter: blur(10px);
  display: grid; place-content: center; gap: 18px; padding: 5vmin;
}
.lb img { max-width: 90vw; max-height: 80vh; width: auto; height: auto; border: 1px solid var(--line); }
.lb p { text-align: center; font-size: 11px; letter-spacing: .22em; color: var(--dim); text-transform: uppercase; }
.lb-x { position: absolute; top: 24px; right: var(--pad); font-size: 11px; letter-spacing: .2em; color: var(--dim); }
.lb-x:hover { color: var(--ink); }

/* ---------- footer: the billing block ---------- */
.ft {
  margin-top: var(--secgap);
  border-top: 1px solid var(--line);
  padding: clamp(60px, 9vh, 110px) var(--pad) 56px;
  text-align: center;
}
.ft-mark { font-weight: 200; font-size: 13px; letter-spacing: .44em; text-transform: uppercase; }
.billing {
  margin: clamp(36px, 6vh, 64px) auto 0; max-width: 900px;
  font-family: var(--bill);
  font-size: clamp(15px, 2.4vw, 26px);
  line-height: 1.45; letter-spacing: .08em;
  color: var(--dim); text-transform: uppercase;
  word-spacing: .4em;
}
.ft-disc { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ft-nav { margin-top: clamp(36px, 6vh, 60px); display: flex; gap: 32px; justify-content: center; }
.ft-nav a { font-size: 10px; letter-spacing: .28em; color: var(--dim); transition: color .3s var(--ease); }
.ft-nav a:hover { color: var(--ink); }
.ft-c { margin-top: 28px; font-size: 10px; letter-spacing: .28em; color: var(--dim); }

/* ---------- small screens ---------- */
@media (max-width: 480px) {
  .title { font-size: clamp(36px, 12vw, 58px); letter-spacing: .22em; text-indent: .22em; }
}

/* ---------- mission telemetry ---------- */
.telemetry { margin-bottom: clamp(44px, 6.5vh, 76px); }
.tel-head {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 10px; letter-spacing: .26em; color: var(--dim); margin-bottom: 14px;
}
.tel-head #tel-status { color: var(--accent); }
.tel-bar { position: relative; height: 2px; background: var(--line); }
.tel-bar i {
  position: absolute; inset: 0 auto 0 0; width: 100%;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0.0017);
  transition: transform 1.2s var(--ease);
}
.tel-moon {
  position: absolute; left: 0.17%; top: -4px; width: 1px; height: 10px;
  background: var(--line-strong);
}
.tel-scale {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: 9px; letter-spacing: .24em; color: var(--dim); margin-top: 12px;
}

/* ---------- liftoff easter egg ---------- */
.liftoff {
  position: fixed; inset: 0; z-index: 260; background: #000;
  display: grid; place-items: center;
  animation: lo-in .25s var(--ease);
}
.liftoff-line { font-size: 12px; letter-spacing: .34em; color: var(--ink); }
.liftoff.flash { background: var(--accent); }
.liftoff.flash .liftoff-line { color: #0a0503; }
.liftoff.out { opacity: 0; transition: opacity .5s linear; }
@keyframes lo-in { from { opacity: 0; } to { opacity: 1; } }
body.rumble { animation: rumble .7s linear; }
@keyframes rumble {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2px, 1px); } 20% { transform: translate(3px, -1px); }
  30% { transform: translate(-3px, 2px); } 40% { transform: translate(2px, 1px); }
  50% { transform: translate(-1px, -2px); } 60% { transform: translate(3px, 1px); }
  70% { transform: translate(-2px, -1px); } 80% { transform: translate(1px, 2px); }
  90% { transform: translate(-1px, -1px); }
}

/* ---------- micro-interactions ---------- */
.tlink:active { transform: translateY(1px); }
.hd-sound:active, .hd-motion:active, .hd-buy:active { transform: scale(.96); }
.ca-strip { transition: border-color .3s var(--ease), transform .3s var(--ease); }
.ca-strip:hover { border-color: var(--accent); transform: translateY(-1px); }
.ramp img { transition: transform .4s var(--ease); }
.ramp:hover img { transform: translateY(-4px); }
.spec dt { transition: color .3s var(--ease); }
.spec:hover dt { color: var(--accent); }
.era-y { transition: color .3s var(--ease); }
.era:hover .era-y { color: var(--accent); }
.fx { transition: transform .3s var(--ease); }
.faq summary:hover .fx { transform: rotate(90deg); }
.hd-buy { position: relative; }
.hd-buy::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
  animation: cta-sweep 7s var(--ease) infinite;
}
@keyframes cta-sweep {
  0%, 72% { transform: scaleX(0); transform-origin: 0 50%; }
  80% { transform: scaleX(1); transform-origin: 0 50%; }
  88% { transform: scaleX(1); transform-origin: 100% 50%; }
  96%, 100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
html.reduced .hd-buy::after, html.reduced body.rumble { animation: none; }
