:root {
  --ink: #f4efe4;
  --muted: #c5bdd8;
  --dim: #8b83a8;
  --bg: #0b0720;
  --card: rgba(16, 12, 40, 0.86);
  --line: rgba(244, 239, 228, 0.12);
  --orange: #ff6b2d;
  --gold: #ffb24a;
  --cyan: #7ee0d0;
  --purple: #b18cff;
  --danger: #ff6b7b;
  --ok: #7CFF9E;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Avenir Next", "Segoe UI", "Trebuchet MS", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --climb: 0;
  --radius: 18px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html { background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Sky / launch scene ---- */
.sky {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  --sky-top: color-mix(in srgb, #07051a calc(var(--climb) * 100%), #6ec5ff);
  --sky-mid: color-mix(in srgb, #140e3a calc(var(--climb) * 100%), #b9d9ff);
  --sky-bot: color-mix(in srgb, #1a1048 calc(var(--climb) * 100%), #f2c48a);
}
.sky-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top,
      var(--sky-bot) 0%,
      var(--sky-mid) 42%,
      var(--sky-top) 100%);
  transition: background 1.2s ease;
}
.ground {
  position: absolute; left: -10%; right: -10%; bottom: 0;
  height: 22%;
  z-index: 2;
  background:
    radial-gradient(120% 80% at 50% 100%, #2a1a10 0%, #1a120c 60%, transparent 61%),
    linear-gradient(#3a2414, #1a0e08);
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  transform: translateY(calc(var(--climb) * 140%));
  opacity: calc(1 - var(--climb) * 1.4);
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1), opacity 1s ease;
}
.clouds { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cloud {
  position: absolute; background: #fff; opacity: 0.85;
  border-radius: 40px; filter: blur(0.5px);
  transform: translateY(calc(var(--climb) * -80vh));
  transition: transform 1.6s ease, opacity 1s ease;
  opacity: calc(0.9 - var(--climb) * 1.2);
}
.cloud::before, .cloud::after {
  content: ""; position: absolute; background: #fff; border-radius: 50%;
}
.c1 { width: 140px; height: 34px; left: 8%; bottom: 28%; }
.c1::before { width: 54px; height: 54px; left: 22px; top: -30px; }
.c1::after { width: 70px; height: 70px; left: 58px; top: -40px; }
.c2 { width: 180px; height: 38px; right: 4%; bottom: 36%; opacity: .7; }
.c2::before { width: 70px; height: 70px; left: 30px; top: -36px; }
.c2::after { width: 90px; height: 80px; left: 80px; top: -46px; }
.c3 { width: 110px; height: 28px; left: 6%; bottom: 52%; }
.c3::before { width: 44px; height: 44px; left: 16px; top: -24px; }
.c3::after { width: 56px; height: 50px; left: 44px; top: -28px; }

.stars {
  position: absolute; inset: 0;
  opacity: calc((var(--climb) - 0.28) * 2);
  transition: opacity 1s ease;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 80%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 70% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 60%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 50% 10%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 20% 50%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 72%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 44%, #ffd8a0 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 90%, #fff 50%, transparent 51%);
  background-size: 100% 100%;
}
.stars-b {
  background-image:
    radial-gradient(1px 1px at 15% 35%, #c8fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 40% 15%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 55%, #ffb24a 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 40%, #fff 50%, transparent 51%);
  animation: twinkle 3.6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: calc((var(--climb) - 0.28) * 1.4); } to { opacity: calc((var(--climb) - 0.28) * 2.2); } }

.earth {
  position: absolute; left: 50%; bottom: -40%;
  width: 160%; height: 70%;
  transform: translateX(-50%) translateY(calc((0.55 - var(--climb)) * 80%));
  opacity: calc((var(--climb) - 0.45) * 3);
  background: radial-gradient(ellipse at 50% 0%, #3d7dff 0%, #163a8a 38%, transparent 62%);
  transition: transform 1.4s ease, opacity 1s ease;
  pointer-events: none;
}
.moon {
  position: absolute; right: 12%; top: 10%;
  width: 72px; height: 72px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff, #e8e0c8 45%, #b9b09a 80%);
  box-shadow: 0 0 40px rgba(255, 240, 200, 0.35);
  opacity: calc((var(--climb) - 0.7) * 4);
  transform: translateY(calc((0.85 - var(--climb)) * 40px)) scale(calc(0.7 + var(--climb) * 0.4));
  transition: opacity 1s ease, transform 1.4s ease;
}
.sat {
  position: absolute; width: 10px; height: 4px; background: #ddd;
  opacity: calc((var(--climb) - 0.55) * 4);
  box-shadow: 8px 0 0 #aaa, -8px 0 0 #aaa;
  transition: opacity 1s ease;
}
.sat-a { top: 22%; left: 18%; transform: rotate(-20deg); animation: drift 22s linear infinite; }
.sat-b { top: 36%; right: 22%; transform: rotate(15deg); animation: drift 28s linear infinite reverse; }
@keyframes drift {
  from { translate: 0 0; } to { translate: 30px -18px; }
}

.rocket-stage {
  position: absolute; left: 50%; bottom: 8%;
  transform: translateX(-50%) translateY(calc(var(--climb) * -12vh));
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1);
  z-index: 4;
}
.rocket { width: 80px; height: 140px; transform-origin: 50% 80%; }
.rocket.idle { animation: bob 2.4s ease-in-out infinite; }
.rocket.thrust { animation: shake 0.28s linear 4, bob 2.4s ease-in-out infinite 1.2s; }
.rocket.thrust .flame-outer, .rocket.idle .flame-outer { fill: #ff6b2d; animation: flicker 0.18s infinite alternate; }
.rocket.thrust .flame-inner, .rocket.idle .flame-inner { fill: #ffd36a; animation: flicker 0.14s infinite alternate-reverse; }
.rocket.parked .flame-outer, .rocket.parked .flame-inner { fill: transparent; animation: none; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes shake {
  0%,100% { transform: translate(0,0) rotate(0); }
  25% { transform: translate(-2px, 2px) rotate(-1.5deg); }
  75% { transform: translate(2px, -1px) rotate(1.5deg); }
}
@keyframes flicker {
  from { transform: scaleY(0.85) translateY(2px); opacity: .8; }
  to { transform: scaleY(1.2) translateY(0); opacity: 1; }
}
.flame-outer, .flame-inner { transform-box: fill-box; transform-origin: 50% 0%; }

.confetti { position: fixed; inset: 0; z-index: 40; pointer-events: none; }

/* ---- App chrome ---- */
.app {
  position: relative; z-index: 5;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  padding: calc(12px + var(--safe-top)) 20px calc(16px + var(--safe-bot));
  max-width: 430px; margin: 0 auto;
}

.topbar {
  display: flex; align-items: center; gap: 10px;
  min-height: 36px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; user-select: none;
}
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--gold);
  background:
    radial-gradient(circle at 50% 50%, transparent 55%, var(--gold) 56%, var(--gold) 66%, transparent 67%),
    linear-gradient(#ff6b2d, #ffb24a);
  box-shadow: 0 0 10px rgba(255, 178, 74, 0.5);
}
.brand-name {
  font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.92rem;
  text-shadow: 0 1px 8px rgba(11, 7, 32, 0.55);
}
.streak-chip, .combo-chip, .demo-badge {
  margin-left: auto;
  font-size: 0.78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
}
.combo-chip {
  margin-left: auto;
  background: linear-gradient(90deg, #5b2dff, #ff6b2d);
  border: 0; color: #fff;
  letter-spacing: 0.08em; text-transform: uppercase;
  animation: pop 0.35s cubic-bezier(.2,1.4,.3,1);
}
.combo-chip + .streak-chip { margin-left: 0; }
@keyframes pop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.error-banner {
  background: #4a1020; color: #ffd0d6;
  border: 1px solid #ff6b7b; border-radius: 12px;
  padding: 10px 12px; margin-bottom: 10px;
  font-size: 0.88rem;
}

.screen { display: none; flex: 1; flex-direction: column; }
.screen.active { display: flex; animation: fadein 0.35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Home ---- */
.home-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; padding-top: 4vh; padding-bottom: 20vh; }
.eyebrow {
  letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.72rem; margin: 0 0 8px;
  color: #6b2400;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7), 0 0 10px rgba(255,255,255,0.45);
}
.wordmark {
  font-size: clamp(3.2rem, 16vw, 4.6rem);
  line-height: 0.9; margin: 0;
  letter-spacing: -0.04em;
  font-weight: 800;
  background: linear-gradient(180deg, #fff 20%, #ffb24a 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 24px rgba(255, 107, 45, 0.35));
}
.tagline {
  font-size: 1.15rem; color: #3a2a14; margin: 16px 0 0; line-height: 1.35;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}
.home-actions {
  display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px;
  position: relative; z-index: 6;
}
/* Park the rocket in the open sky on home/how so it doesn't sit under the buttons. */
body.is-home .rocket-stage {
  bottom: 30%;
  transform: translateX(-50%) scale(0.92);
}
body.is-how .rocket-stage { opacity: 0; pointer-events: none; }
body.is-home .rocket.parked .flame-outer,
body.is-home .rocket.parked .flame-inner { fill: transparent; }

/* ---- Buttons ---- */
.btn {
  appearance: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700;
  border-radius: 16px;
  padding: 16px 18px;
  width: 100%;
  color: var(--ink);
  background: transparent;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(2px); }
.btn:disabled { opacity: 0.55; cursor: wait; }
.btn-primary {
  background: linear-gradient(180deg, #ff8a4a, #ff6b2d);
  color: #2a1006;
  box-shadow: 0 8px 0 #b83f12, 0 16px 28px rgba(255, 107, 45, 0.28);
}
.btn-primary:active { box-shadow: 0 4px 0 #b83f12, 0 8px 16px rgba(255, 107, 45, 0.28); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
}
.btn-text { background: transparent; color: var(--muted); font-weight: 600; padding: 10px; }
.btn-kicker {
  display: block; font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.75; margin-bottom: 2px;
}

.card {
  background: #16122f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
}
.how-card { margin: auto 0; position: relative; z-index: 7; }
.how-card h2 { margin: 0 0 12px; font-size: 1.4rem; }
.how-list { margin: 0 0 20px; padding-left: 1.15rem; color: var(--muted); line-height: 1.45; }
.how-list li { margin: 0 0 8px; }
.how-list strong, .how-list em { color: var(--ink); font-style: normal; }

/* ---- Play ---- */
.play-hud { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hud-left, .hud-right {
  background: rgba(10, 8, 28, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 14px;
}
.hud-right { padding: 6px 8px 6px 12px; }
.hud-label, .hud-layer {
  display: block; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.64rem; color: #c5bdd8;
}
.hud-value { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.1; margin: 2px 0; color: #fff; }
.hud-layer { color: var(--cyan); letter-spacing: 0.1em; }
.hud-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.hud-round { font-variant-numeric: tabular-nums; font-weight: 700; color: #e8e4f4; font-size: 0.85rem; }

.timer { position: relative; width: 58px; height: 58px; }
.timer::before {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: rgba(10, 8, 28, 0.65);
}
.timer-ring { width: 58px; height: 58px; transform: rotate(-90deg); }
.timer-bg { fill: none; stroke: rgba(255,255,255,0.12); stroke-width: 3; }
.timer-fg {
  fill: none; stroke: var(--cyan); stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 97.4; stroke-dashoffset: 0;
  transition: stroke 0.2s ease;
}
.timer.warn .timer-fg { stroke: var(--gold); }
.timer.hot .timer-fg { stroke: var(--danger); }
.timer.hot { animation: pulse 0.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
#timer-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.05rem;
  color: #fff; z-index: 1;
}

.prompt-block { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px 0; }
.prompt-text {
  margin: 0; text-align: center;
  font-size: clamp(1.35rem, 5.6vw, 1.85rem);
  font-weight: 800; line-height: 1.25;
  text-wrap: balance;
  color: #fff;
  background: rgba(10, 8, 28, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 16px 18px;
  border-radius: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  max-width: 100%;
}

.answer-form {
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(to top, rgba(10,8,20,0.82) 40%, rgba(10,8,20,0.55));
  margin: 0 -20px calc(-16px - var(--safe-bot));
  padding: 14px 20px calc(16px + var(--safe-bot));
  position: relative; z-index: 6;
}
#answer-input {
  width: 100%; border: 1px solid var(--line);
  background: rgba(8, 6, 24, 0.72);
  color: var(--ink); font: inherit; font-size: 1.05rem;
  border-radius: 14px; padding: 14px 16px;
  outline: none;
}
#answer-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(126, 224, 208, 0.2); }
.retry-msg {
  margin: 0; color: var(--gold); font-size: 0.9rem; text-align: center;
  animation: shake-x 0.35s ease;
}
@keyframes shake-x {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ---- Result / final ---- */
.result-card, .final-card { margin: auto 0; text-align: center; animation: rise 0.4s cubic-bezier(.2,1.2,.3,1); }
@keyframes rise { from { transform: translateY(24px) scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }

.result-tier {
  margin: 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em;
}
.result-tier[data-tier="Obvious"] { color: #d7b48a; }
.result-tier[data-tier="Solid"] { color: #7CFF9E; }
.result-tier[data-tier="Sharp"] { color: #7ec8ff; }
.result-tier[data-tier="Oddball"] { color: #c9a6ff; }
.result-tier[data-tier="Unheard Of"] {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 178, 74, 0.6);
  animation: pop 0.45s cubic-bezier(.2,1.4,.3,1);
}
.result-points { margin: 4px 0 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.result-combo {
  display: inline-block; margin: 10px 0 0;
  padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(90deg, #5b2dff, #ff6b2d);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.result-quip { margin: 12px 0 0; color: var(--muted); font-style: italic; }
.result-vs { margin: 8px 0 14px; font-weight: 700; }
.result-vs.win { color: var(--ok); }
.result-vs.lose { color: var(--muted); }

.mc-box {
  margin: 0 0 18px; text-align: left;
  background: rgba(0, 0, 0, 0.28);
  border-left: 3px solid var(--ok);
  border-radius: 0 12px 12px 0;
  padding: 10px 12px 12px;
  font-family: var(--mono);
}
.mc-box header {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ok); margin-bottom: 6px;
}
.mc-answer { margin: 0; font-size: 0.95rem; color: var(--ink); }
.mc-quip { margin: 6px 0 0; color: var(--muted); font-size: 0.88rem; }

.final-alt { margin: 4px 0 0; font-size: 2.4rem; letter-spacing: -0.03em; }
.final-layer { margin: 0 0 16px; color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; }
.final-grid {
  display: flex; justify-content: center; gap: 8px;
  font-size: 1.6rem; margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.final-vs, .final-streak { margin: 0 0 6px; color: var(--muted); }
.final-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.share-toast { margin: 10px 0 0; color: var(--ok); font-weight: 700; }

.btn:focus-visible, .brand:focus-visible, #answer-input:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}


/* ---- Desktop / laptop (>= 900px): game card + rocket scene side by side ---- */
@media (min-width: 900px) {
  :root {
    --stage: 1120px;
    --stage-pad: 48px;
    --stage-gap: 48px;
    --cardw: 500px;
  }

  .app {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) var(--cardw);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      "top top"
      "scene error"
      "scene main";
    max-width: var(--stage);
    width: 100%;
    margin: 0 auto;
    padding: 32px var(--stage-pad) 40px;
    min-height: 100dvh;
    column-gap: var(--stage-gap);
    row-gap: 12px;
  }
  .topbar { grid-area: top; }
  .error-banner { grid-area: error; margin-bottom: 0; }
  .topbar { align-self: start; }
  .screen.active {
    grid-area: main;
    align-self: center;
    width: 100%;
    height: auto;
    background: #16122f;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px 28px 28px;
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 120px);
    overflow: auto;
  }
  #screen-play.active { min-height: 560px; }
  /* One frame only: the screen is the card. */
  .result-card, .final-card, .how-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  /* Rocket sits in the empty left column of the centered stage. */
  .rocket-stage,
  body.is-home .rocket-stage {
    left: calc(50% - min(var(--stage), 100vw) / 2 + var(--stage-pad) + (min(var(--stage), 100vw) - var(--stage-pad) * 2 - var(--stage-gap) - var(--cardw)) / 2);
    bottom: 16%;
    transform: translateX(-50%) scale(1.45) translateY(calc(var(--climb) * -18vh));
    z-index: 4;
  }
  body.is-how .rocket-stage {
    opacity: 1;
    pointer-events: none;
  }

  .eyebrow {
    color: #ffb24a;
    text-shadow: none;
  }
  .tagline {
    color: var(--muted);
    text-shadow: none;
    font-size: 1.25rem;
  }
  .wordmark { font-size: 5rem; }
  .home-hero { padding-top: 12px; padding-bottom: 20px; }
  .home-actions { padding-bottom: 0; }
  .home-actions .btn,
  .final-actions .btn,
  .how-card .btn,
  .result-card .btn { max-width: 100%; }

  .btn:hover { filter: brightness(1.05); }
  .btn-ghost:hover { background: rgba(255,255,255,0.14); }
  .btn-text:hover { color: var(--ink); }

  .how-card { margin: 0; }
  .how-card h2 { font-size: 1.7rem; }
  .how-list { font-size: 1.02rem; }

  .hud-value { font-size: 1.7rem; }
  .prompt-text {
    font-size: 2rem;
    padding: 20px 22px;
  }

  /* Form stays inside the card — no full-bleed mobile footer. */
  .answer-form {
    margin: 0;
    padding: 16px 0 0;
    background: none;
  }
  #answer-input { font-size: 1.15rem; padding: 16px 18px; }

  .result-card, .final-card { margin: 0; }
  .result-tier { font-size: 2rem; }
  .final-alt { font-size: 3rem; }
}

@media (min-width: 1400px) {
  :root {
    --stage: 1240px;
    --cardw: 540px;
  }
  .wordmark { font-size: 5.4rem; }
  .rocket-stage,
  body.is-home .rocket-stage {
    transform: translateX(-50%) scale(1.65) translateY(calc(var(--climb) * -18vh));
  }
}

@media (min-width: 1800px) {
  :root {
    --stage: 1480px;
    --stage-gap: 64px;
    --cardw: 650px;
  }
  html { font-size: 19px; }
  .rocket-stage,
  body.is-home .rocket-stage {
    transform: translateX(-50%) scale(1.95) translateY(calc(var(--climb) * -18vh));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
}
