/* ============ SPCX69 ASCENT — aerospace minimal, full-page rocket ============ */
:root {
  --bg: #000000;
  --text: #eef1f3;
  --dim: #878e94;
  --faint: #4a5055;
  --line: #1a1d20;
  --line-2: #2a2e32;
  --accent: #ff7a1a;
  --sans: "Barlow", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

#starfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; }

/* ---------- type ---------- */
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--dim);
}
.label b { color: var(--accent); font-weight: 500; }

h1, h2 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 30px;
  padding: 20px 36px;
  background: linear-gradient(180deg, rgba(0,0,0,0.85), transparent);
}
.nav .wordmark {
  font-weight: 700; font-size: 19px; letter-spacing: 0.32em;
  color: var(--text); text-decoration: none; text-transform: uppercase;
}
.nav .wordmark span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--dim); text-decoration: none; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-buy {
  border: 1px solid var(--text); color: var(--text); text-decoration: none;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  padding: 9px 22px; transition: background 0.15s, color 0.15s;
}
.nav-buy:hover { background: var(--text); color: #000; }
@media (max-width: 800px) { .nav-links { display: none; } }

/* =========================================================
   ROCKET ZONE — the whole scroll is one rocket
   ========================================================= */
.rocket-zone { position: relative; }

/* center column */
.rocket {
  position: absolute; top: 8vh; bottom: 0; left: 50%;
  width: 190px; transform: translateX(-50%);
  display: flex; flex-direction: column;
  z-index: 2;
}
@media (max-width: 900px) {
  .rocket { width: 110px; left: auto; right: 26px; transform: none; }
}

/* chrome cylinder shading */
.hull {
  background:
    linear-gradient(90deg, #181b1e 0%, #585f66 16%, #c9cfd5 38%, #eff3f6 50%, #b8bfc6 64%, #41464c 86%, #131517 100%);
}

.nose {
  height: 300px; flex-shrink: 0;
  border-radius: 50% 50% 0 0 / 92% 92% 0 0;
}
.nose-tip {
  height: 56px; flex-shrink: 0; width: 34px; margin: 0 auto;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(90deg, #232629, #9aa1a8 40%, #d4dade 52%, #6f767d 75%, #1d2023);
}
@media (max-width: 900px) {
  .nose { height: 170px; }
  .nose-tip { height: 34px; width: 20px; }
}

.body-seg {
  flex: 1;
  position: relative;
  /* weld lines */
  background-image:
    repeating-linear-gradient(180deg, transparent 0 219px, rgba(0,0,0,0.34) 219px 221px),
    linear-gradient(90deg, #181b1e 0%, #585f66 16%, #c9cfd5 38%, #eff3f6 50%, #b8bfc6 64%, #41464c 86%, #131517 100%);
}

/* rivet strips */
.body-seg::before, .body-seg::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,0.4) 0 3px, transparent 3px 26px);
}
.body-seg::before { left: 14%; }
.body-seg::after { right: 14%; }

/* on-hull details */
.hull-mark {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hull-badge { top: 5%; width: 64%; }
.hull-badge img { width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35)); }
.hull-word {
  top: 16%;
  writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-weight: 700; font-size: 30px; letter-spacing: 0.42em;
  color: #16181a; text-transform: uppercase; opacity: 0.85;
}
@media (max-width: 900px) { .hull-word { font-size: 17px; } }
.hull-69 {
  top: 58%; width: 56%;
  aspect-ratio: 1; border-radius: 50%;
  background: #16181a; color: #e9edf0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 34px; letter-spacing: 0.02em;
  border: 4px solid #e9edf0; box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}
@media (max-width: 900px) { .hull-69 { font-size: 20px; border-width: 3px; } }
.hull-flag {
  top: 76%; width: 44%; padding: 4px 0; text-align: center;
  background: #16181a; color: #d8dde1;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.28em;
}

/* fins */
.fins { position: relative; height: 190px; flex-shrink: 0; }
.fins .hullpart { position: absolute; inset: 0; }
.fin {
  position: absolute; bottom: 0; width: 120px; height: 180px;
}
.fin.l { right: 100%; margin-right: -8px; clip-path: polygon(100% 0, 100% 100%, 0 100%); background: linear-gradient(90deg, #15171a, #4d545b 70%, #777f87); }
.fin.r { left: 100%; margin-left: -8px; clip-path: polygon(0 0, 100% 100%, 0 100%); background: linear-gradient(270deg, #15171a, #4d545b 70%, #777f87); }
@media (max-width: 900px) { .fin { width: 64px; height: 100px; } }

/* engine skirt + bells */
.skirt {
  height: 56px; flex-shrink: 0;
  background: linear-gradient(90deg, #0c0e10, #2e3338 40%, #3c4248 52%, #24282c 70%, #0a0c0d);
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
}
.bells { display: flex; justify-content: center; gap: 10px; flex-shrink: 0; }
.bell {
  width: 44px; height: 54px;
  background: linear-gradient(90deg, #08090a, #43494f 45%, #5a6168 52%, #2c3034 75%, #060708);
  border-radius: 0 0 50% 50% / 0 0 85% 85%;
}
@media (max-width: 900px) { .bell { width: 26px; height: 32px; } }

/* flame */
.flame-wrap { position: relative; height: 46vh; flex-shrink: 0; pointer-events: none; }
.flame {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 100%;
  background: linear-gradient(180deg, #fff 0%, #ffd34d 14%, var(--accent) 38%, rgba(255, 60, 0, 0.5) 64%, transparent 92%);
  clip-path: polygon(28% 0, 72% 0, 96% 22%, 70% 100%, 50% 86%, 30% 100%, 4% 22%);
  filter: blur(7px);
  transform-origin: top center;
}
.flame.core {
  width: 46px; filter: blur(3px);
  background: linear-gradient(180deg, #fff 0%, #fff 22%, #ffd34d 48%, transparent 88%);
  height: 64%;
}
@media (prefers-reduced-motion: no-preference) {
  .flame { animation: flicker 0.18s linear infinite alternate; }
  .flame.core { animation: flicker 0.13s linear infinite alternate-reverse; }
}
@keyframes flicker {
  from { transform: translateX(-50%) scaleY(1) scaleX(1); opacity: 1; }
  to { transform: translateX(-50%) scaleY(1.06) scaleX(0.94); opacity: 0.88; }
}
@media (max-width: 900px) { .flame { width: 70px; } .flame.core { width: 26px; } }

/* station ruler */
.ruler {
  position: absolute; top: 0; bottom: 0; left: 34px; width: 1px;
  background: var(--line-2); z-index: 1;
}
.ruler .tick {
  position: absolute; left: 0; width: 14px; height: 1px; background: var(--line-2);
}
.ruler .tick span {
  position: absolute; left: 20px; top: -7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--faint);
  white-space: nowrap;
}
@media (max-width: 700px) { .ruler { display: none; } }

/* ---------- annotation sections ---------- */
.anno {
  position: relative; z-index: 3;
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 60px 36px;
}
.anno-card { width: min(440px, 86vw); }
.anno.left .anno-card { margin-right: auto; margin-left: max(0px, calc(50vw - 95px - 36px - min(440px, 86vw) - 60px)); }
.anno.right .anno-card { margin-left: auto; margin-right: max(0px, calc(50vw - 95px - 36px - min(440px, 86vw) - 60px)); }
@media (max-width: 900px) {
  .anno { min-height: 70vh; padding: 48px 160px 48px 22px; }
  .anno.left .anno-card, .anno.right .anno-card { margin: 0; }
}
@media (max-width: 600px) { .anno { padding-right: 140px; } }

/* connector line to spine */
.anno-card::before {
  content: ""; position: absolute; top: 50%; height: 1px;
  background: var(--line-2); width: 56px;
}
.anno.left .anno-card::before { left: calc(50% - 95px - 56px); }
.anno.right .anno-card::before { right: calc(50% - 95px - 56px); }
@media (max-width: 900px) { .anno-card::before { display: none; } }

.anno h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 22px; line-height: 1.05; text-wrap: balance; }
.anno .lead { color: var(--dim); font-size: 15px; max-width: 420px; text-wrap: pretty; }

/* hero */
.hero-title {
  font-size: clamp(56px, 8vw, 110px); font-weight: 700; line-height: 0.95;
  letter-spacing: 0.01em; margin: 14px 0 18px;
}
.hero-title span { color: var(--accent); }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  padding: 15px 28px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1px solid transparent;
}
.btn-solid { background: var(--text); color: #000; }
.btn-solid:hover { background: var(--accent); color: #000; }
.btn-outline { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); }

.ca-row {
  margin-top: 26px; display: flex; align-items: stretch;
  border: 1px solid var(--line-2); max-width: 460px;
  font-family: var(--mono);
}
.ca-row .lbl { padding: 11px 14px; font-size: 11px; letter-spacing: 0.2em; color: var(--accent); border-right: 1px solid var(--line-2); display: flex; align-items: center; }
.ca-row .val { flex: 1; padding: 11px 14px; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; }
.ca-row button { background: none; border: none; border-left: 1px solid var(--line-2); color: var(--text); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; padding: 11px 16px; cursor: pointer; }
.ca-row button:hover { color: var(--accent); }

/* data rows */
.data-rows { border-top: 1px solid var(--line-2); }
.data-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 15px 2px; border-bottom: 1px solid var(--line);
}
.data-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.data-row .v { font-weight: 600; font-size: 19px; letter-spacing: 0.04em; text-align: right; }
.data-row .v.ok { color: var(--accent); }
.fine { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.06em; line-height: 1.8; }
.fine b { color: var(--dim); font-weight: 500; }

/* log */
.log-line { display: flex; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--line); align-items: baseline; }
.log-line .st { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; width: 96px; flex-shrink: 0; }
.log-line .st.done { color: var(--accent); }
.log-line .st.act { color: var(--text); animation: blink 1.6s steps(2) infinite; }
.log-line .st.que { color: var(--faint); }
.log-line .tx { font-size: 14.5px; color: var(--dim); }
.log-line .tx b { color: var(--text); font-weight: 600; }
@keyframes blink { 50% { opacity: 0.25; } }

/* steps */
.step-line { display: flex; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); align-items: baseline; }
.step-line .n { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; flex-shrink: 0; }
.step-line p { font-size: 14.5px; color: var(--dim); }
.step-line p b { color: var(--text); font-weight: 600; }
.step-line a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.step-line a:hover { color: var(--accent); }

/* ---------- liftoff CTA under the flame ---------- */
.liftoff {
  position: relative; z-index: 3; text-align: center;
  padding: 0 22px 110px;
}
.liftoff h2 { font-size: clamp(30px, 4.6vw, 56px); margin: 10px 0 26px; }
.liftoff h2 span { color: var(--accent); }

/* ---------- full-width lower sections ---------- */
section.wide { position: relative; z-index: 3; padding: 90px 36px; }
.wrap { max-width: 1080px; margin: 0 auto; }
section.wide h2 { font-size: clamp(24px, 3vw, 36px); margin: 12px 0 30px; }

.chart-frame { border: 1px solid var(--line-2); }
.chart-ph {
  height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.chart-ph .big { font-weight: 600; font-size: 22px; letter-spacing: 0.18em; text-transform: uppercase; }
.chart-ph .small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.12em; text-align: center; padding: 0 18px; }
.chart-frame iframe { display: block; width: 100%; height: 540px; border: 0; }

.meme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.meme-grid image-slot { width: 100%; height: 250px; }
.meme-grid .wide2 { grid-column: span 2; }
@media (max-width: 760px) { .meme-grid { grid-template-columns: 1fr; } .meme-grid .wide2 { grid-column: span 1; } }

.crew-row { display: flex; gap: 12px; flex-wrap: wrap; }

.footer {
  position: relative; z-index: 3;
  border-top: 1px solid var(--line); padding: 50px 22px 70px; text-align: center;
}
.footer img { width: 64px; height: 64px; margin-bottom: 14px; }
.footer .fb { font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 14px; margin-bottom: 16px; }
.disclaimer { max-width: 640px; margin: 0 auto; font-family: var(--mono); font-size: 11px; color: var(--faint); line-height: 1.8; }

/* ---------- fixed telemetry readout ---------- */
.telem {
  position: fixed; bottom: 18px; left: 34px; z-index: 40;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--faint); display: flex; gap: 22px;
}
.telem b { color: var(--dim); font-weight: 500; }
@media (max-width: 700px) { .telem { display: none; } }

/* ---------- ignition overlay ---------- */
#launchseq {
  position: fixed; inset: 0; z-index: 95; display: none;
  align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.94);
}
#launchseq.show { display: flex; }
.ls-num {
  font-weight: 700; font-size: clamp(120px, 24vw, 280px); line-height: 1; color: var(--text);
}
.ls-num.pop { animation: ls-pop 1s ease-out; }
@keyframes ls-pop { 0% { transform: scale(1.5); opacity: 0; } 18% { transform: scale(1); opacity: 1; } 100% { transform: scale(0.94); } }
.ls-msg {
  position: absolute; bottom: 12vh; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.32em; color: var(--dim); text-transform: uppercase;
}
body.shake { animation: page-shake 0.45s linear; }
@keyframes page-shake {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); }
  60% { transform: translate(-4px, -3px); } 80% { transform: translate(4px, 3px); }
}

/* ---------- vibe check (type 69) ---------- */
#vibecheck {
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: center; justify-content: center; flex-direction: column; gap: 16px;
  background: rgba(0, 0, 0, 0.92); text-align: center; padding: 24px;
}
#vibecheck.show { display: flex; animation: vibe-flash 0.5s steps(3); }
@keyframes vibe-flash { 0% { background: rgba(255,255,255,0.4); } 100% { background: rgba(0,0,0,0.92); } }
#vibecheck .vc-big {
  font-weight: 700; font-size: clamp(60px, 14vw, 180px); line-height: 0.95;
  text-transform: uppercase; color: var(--text);
}
#vibecheck .vc-big span { color: var(--accent); }
#vibecheck .vc-sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--dim); text-transform: uppercase; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
