/* ============================================================
   ENEASPACE — eneaspace.com
   Direction: dark cinematic mono, single warm accent for ignition
   ============================================================ */

:root {
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --bg-elev-2: #121212;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f0ede5;
  --text-dim: rgba(240, 237, 229, 0.55);
  --text-faint: rgba(240, 237, 229, 0.32);
  --ignition: #ff5a1f;
  --status: #4ade80;
  --caution: #fbbf24;
  --grid: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] {
  --bg: #f4f1ea;
  --bg-elev: #ebe7dd;
  --bg-elev-2: #e0dcd1;
  --line: rgba(0, 0, 0, 0.10);
  --line-strong: rgba(0, 0, 0, 0.22);
  --text: #111111;
  --text-dim: rgba(17, 17, 17, 0.62);
  --text-faint: rgba(17, 17, 17, 0.38);
  --grid: rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em;
}
.nav-brand-mark {
  display: block;
  flex-shrink: 0;
  color: var(--text);
}
.nav-brand-name { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; }
.nav-brand-name b { font-weight: 700; }
.nav-brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  margin-left: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex; gap: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a .num { color: var(--text-faint); margin-right: 6px; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: flex;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.lang-toggle button {
  background: transparent;
  border: 0;
  color: var(--text-dim);
  padding: 5px 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.lang-toggle button.active {
  background: var(--text);
  color: var(--bg);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text);
  color: var(--bg);
  border: 0;
  padding: 9px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn.ghost:hover { border-color: var(--text); }

.btn-arrow::after { content: "→"; font-family: 'Space Grotesk', sans-serif; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 32px 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 0 0 20px;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--ignition);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--ignition);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.hero h1 .accent {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 0.55em;
  vertical-align: super;
  color: var(--text-dim);
  letter-spacing: 0;
  margin-left: 6px;
}
.hero h1 em {
  font-style: italic;
  font-family: 'Space Grotesk', serif;
  font-weight: 300;
  color: var(--text-dim);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.45;
  color: var(--text-dim);
  max-width: 540px;
  margin: 32px 0 40px;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero-meta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-meta-item .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}
.hero-meta-item .value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 500;
}

/* HERO ROCKET STAGE */
.hero-stage {
  position: relative; z-index: 2;
  display: flex; align-items: stretch; justify-content: center;
  border-left: 1px solid var(--line);
  margin-left: 20px;
}
.stage-frame {
  position: relative;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.stage-corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--text-dim);
  border-style: solid;
  border-width: 0;
}
.stage-corner.tl { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
.stage-corner.tr { top: 16px; right: 16px; border-top-width: 1px; border-right-width: 1px; }
.stage-corner.bl { bottom: 16px; left: 16px; border-bottom-width: 1px; border-left-width: 1px; }
.stage-corner.br { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }

.stage-hud {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 3;
}
.stage-hud.tl { top: 24px; left: 28px; }
.stage-hud.tr { top: 24px; right: 28px; text-align: right; }
.stage-hud.bl { bottom: 24px; left: 28px; }
.stage-hud.br { bottom: 24px; right: 28px; text-align: right; }
.stage-hud .hud-value { color: var(--text); font-size: 15px; letter-spacing: 0; }
.stage-hud .hud-key { color: var(--text-faint); display: block; margin-bottom: 2px; }

.stage-crosshair {
  position: absolute;
  bottom: 80px; left: 50%;
  transform: translate(-50%, 0);
  width: 96px; height: 96px;
  pointer-events: none;
  animation: reticle-track 14s ease-in infinite;
  z-index: 4;
}
.stage-crosshair::before,
.stage-crosshair::after,
.stage-crosshair > span {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(255, 90, 31, 0.7);
  border-style: solid;
  border-width: 0;
}
/* Four L-shaped corner brackets */
.stage-crosshair::before {
  top: 0; left: 0;
  border-top-width: 1px; border-left-width: 1px;
}
.stage-crosshair::after {
  top: 0; right: 0;
  border-top-width: 1px; border-right-width: 1px;
}
.stage-crosshair .br-bl {
  bottom: 0; left: 0;
  border-bottom-width: 1px; border-left-width: 1px;
}
.stage-crosshair .br-br {
  bottom: 0; right: 0;
  border-bottom-width: 1px; border-right-width: 1px;
}
/* Tiny crosshair tick in the centre */
.stage-crosshair .tick {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 1px;
  background: rgba(255, 90, 31, 0.55);
  border: 0;
}
.stage-crosshair .tick.v {
  width: 1px; height: 14px;
}
.stage-crosshair .label {
  position: absolute;
  top: -16px; left: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255, 90, 31, 0.8);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0; width: auto; height: auto;
  background: transparent;
}
@keyframes reticle-track {
  /* Match the rocket-ascent timeline so the reticle stays glued to it */
  0%   { transform: translate(-50%, 0); opacity: 0; }
  6%   { transform: translate(-50%, 0); opacity: 0; }
  8%   { transform: translate(-50%, 0); opacity: 1; }
  10%  { transform: translate(-50%, -4px); opacity: 1; }
  18%  { transform: translate(-50%, -30px) rotate(-1deg); opacity: 1; }
  35%  { transform: translate(-50%, -180px) rotate(-3deg); opacity: 1; }
  55%  { transform: translate(-50%, -340px) rotate(-5deg); opacity: 1; }
  72%  { transform: translate(-50%, -460px) rotate(-7deg); opacity: 0.9; }
  88%  { transform: translate(-50%, -560px) rotate(-9deg); opacity: 0.5; }
  100% { transform: translate(-50%, -640px) rotate(-10deg); opacity: 0; }
}

/* ============================================================
   HERO CINEMA — Luna-1 launch sequence
   ============================================================ */
.sky {
  position: absolute;
  inset: 0;
  background: #050505;
  overflow: hidden;
}

/* Atmospheric gradient — smooth, continuous, no banding.
   Scrolls down during the loop, simulating ascent through layers. */
.atmos-stack {
  position: absolute;
  left: 0; right: 0;
  top: -100%;
  height: 220%;
  animation: atmos-scroll 14s ease-in infinite;
  background:
    /* sun glow at horizon */
    radial-gradient(ellipse 70% 6% at 50% 88%, rgba(255, 220, 150, 0.75) 0%, rgba(255, 160, 80, 0.25) 35%, transparent 65%),
    /* warm haze just above horizon */
    radial-gradient(ellipse 90% 14% at 50% 84%, rgba(255, 140, 70, 0.35) 0%, transparent 70%),
    /* smooth vertical gradient sky→space */
    linear-gradient(180deg,
      #000104 0%,
      #02061a 10%,
      #061336 20%,
      #0d2455 30%,
      #1a3372 40%,
      #2a3a78 48%,
      #3a3a78 54%,
      #5a3870 60%,
      #863a5e 68%,
      #b8482e 76%,
      #e07a30 84%,
      #e8a548 90%,
      #6b3d20 96%,
      #0a0604 100%
    );
}
@keyframes atmos-scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-55%); }
}

/* Soft cloud layer — only visible during the first phase of ascent */
.clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  animation: clouds-out 14s ease-in infinite;
}
.cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.7), rgba(240,225,200,0.35) 40%, transparent 75%);
  filter: blur(10px);
  opacity: 0.85;
}
.cloud:nth-child(1) { left: 6%;  bottom: 28%; width: 180px; height: 36px; animation: cloud-drift 18s linear infinite; }
.cloud:nth-child(2) { left: 62%; bottom: 24%; width: 140px; height: 30px; animation: cloud-drift 22s linear infinite; animation-delay: -7s; opacity: 0.7; }
.cloud:nth-child(3) { left: 30%; bottom: 36%; width: 100px; height: 22px; animation: cloud-drift 26s linear infinite; animation-delay: -3s; opacity: 0.55; filter: blur(6px); }
.cloud:nth-child(4) { left: 78%; bottom: 38%; width: 90px;  height: 20px; animation: cloud-drift 30s linear infinite; animation-delay: -12s; opacity: 0.45; filter: blur(6px); }
@keyframes cloud-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-30px); }
}
@keyframes clouds-out {
  0%, 12% { opacity: 1; transform: translateY(0); }
  35% { opacity: 0.6; transform: translateY(-30px); }
  55%, 100% { opacity: 0; transform: translateY(-120px); }
}

/* Stars at two depths */
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -100%;
  height: 220%;
  background-image:
    radial-gradient(1px 1px at 12% 4%,  #fff, transparent),
    radial-gradient(1.2px 1.2px at 28% 8%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 47% 12%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 64% 6%, #fff, transparent),
    radial-gradient(1px 1px at 82% 14%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 8% 22%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 75% 26%, #fff, transparent),
    radial-gradient(1px 1px at 38% 32%, rgba(255,255,255,0.7), transparent),
    radial-gradient(0.8px 0.8px at 92% 18%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 22% 38%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.2px 1.2px at 55% 42%, #fff, transparent),
    radial-gradient(0.8px 0.8px at 18% 48%, rgba(255,255,255,0.5), transparent);
  animation: star-drift 14s ease-in infinite;
}
.stars.parallax::before {
  background-image:
    radial-gradient(0.6px 0.6px at 14% 3%, rgba(255,255,255,0.5), transparent),
    radial-gradient(0.6px 0.6px at 33% 11%, rgba(255,255,255,0.6), transparent),
    radial-gradient(0.6px 0.6px at 51% 7%, rgba(255,255,255,0.4), transparent),
    radial-gradient(0.6px 0.6px at 68% 19%, rgba(255,255,255,0.6), transparent),
    radial-gradient(0.6px 0.6px at 87% 9%, rgba(255,255,255,0.4), transparent),
    radial-gradient(0.6px 0.6px at 21% 27%, rgba(255,255,255,0.5), transparent),
    radial-gradient(0.6px 0.6px at 60% 33%, rgba(255,255,255,0.6), transparent),
    radial-gradient(0.6px 0.6px at 79% 41%, rgba(255,255,255,0.4), transparent);
  animation: star-drift 14s linear infinite;
  animation-delay: -2s;
}
@keyframes star-drift {
  0%, 12% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.4; }
  100% { transform: translateY(-50%); opacity: 1; }
}

/* Trajectory arc — dashed line traced during ascent */
.trajectory {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  animation: traj-show 14s ease-in infinite;
}
.trajectory path {
  stroke: rgba(255, 90, 31, 0.55);
  stroke-width: 1;
  stroke-dasharray: 5 6;
  fill: none;
  stroke-dashoffset: 800;
  animation: traj-draw 14s ease-in infinite;
}
@keyframes traj-show {
  0%, 15% { opacity: 0; }
  25%, 90% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes traj-draw {
  0%, 15% { stroke-dashoffset: 800; }
  90%, 100% { stroke-dashoffset: 0; }
}

/* Launch pad — visible only at start, slides down during ascent */
.pad {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 220px;
  height: 80px;
  animation: pad-fall 14s ease-in infinite;
}
.pad-deck {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background: linear-gradient(180deg, #3a3833, #1a1815);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.pad-tower {
  position: absolute;
  left: 24px;
  bottom: 14px;
  width: 8px; height: 110px;
  background: linear-gradient(180deg, #4a4844, #2a2825);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.pad-tower::before, .pad-tower::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.1);
  height: 1px;
}
.pad-tower::before { left: -10px; right: 0; top: 30%; }
.pad-tower::after  { left: -10px; right: 0; top: 65%; }
.pad-arm {
  position: absolute;
  left: 32px;
  bottom: 60px;
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  animation: arm-retract 14s ease-in infinite;
  transform-origin: left center;
}
@keyframes arm-retract {
  0%, 10% { transform: rotate(0deg); }
  12%, 100% { transform: rotate(-65deg); }
}
@keyframes pad-fall {
  0%, 10% { transform: translateX(-50%) translateY(0); opacity: 1; }
  20% { transform: translateX(-50%) translateY(80px); opacity: 1; }
  40% { transform: translateX(-50%) translateY(400px); opacity: 0.5; }
  60%, 100% { transform: translateX(-50%) translateY(800px); opacity: 0; }
}

/* Heat haze on ground at ignition */
.heat-burst {
  position: absolute;
  left: 50%; bottom: -40px;
  transform: translateX(-50%) scale(0);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(255,170,60,0.7) 0%, rgba(255,90,31,0.3) 40%, transparent 75%);
  animation: heat-burst 14s ease-in infinite;
  filter: blur(8px);
  pointer-events: none;
}
@keyframes heat-burst {
  0%, 8% { transform: translateX(-50%) scale(0); opacity: 0; }
  10% { transform: translateX(-50%) scale(2); opacity: 1; }
  15% { transform: translateX(-50%) scale(2.4); opacity: 0.9; }
  25% { transform: translateX(-50%) scale(2.8); opacity: 0.4; }
  35%, 100% { transform: translateX(-50%) scale(3); opacity: 0; }
}

/* Rocket — ascent path */
.rocket-wrap {
  position: absolute;
  bottom: 50px; left: 50%;
  transform: translateX(-50%);
  width: 90px;
  display: flex; flex-direction: column; align-items: center;
  animation: rocket-ascent 14s ease-in infinite;
  z-index: 5;
}
@keyframes rocket-ascent {
  0% { transform: translateX(-50%) translateY(0) rotate(0); }
  8% { transform: translateX(-50%) translateY(-2px) rotate(-0.5deg); }
  9% { transform: translateX(-50%) translateY(0) rotate(0.5deg); }
  10% { transform: translateX(-50%) translateY(-4px) rotate(0); }
  18% { transform: translateX(-50%) translateY(-30px) rotate(-1deg); }
  35% { transform: translateX(-50%) translateY(-180px) rotate(-3deg); }
  55% { transform: translateX(-50%) translateY(-340px) rotate(-5deg); }
  72% { transform: translateX(-50%) translateY(-460px) rotate(-7deg); }
  88% { transform: translateX(-50%) translateY(-560px) rotate(-9deg); opacity: 1; }
  100% { transform: translateX(-50%) translateY(-640px) rotate(-10deg); opacity: 0; }
}

.rocket-svg {
  display: block;
  width: 60px;
  height: 220px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

/* Flame */
.flame {
  position: relative;
  width: 40px;
  height: 0;
  margin-top: -4px;
  pointer-events: none;
  animation: flame-grow 14s ease-in infinite;
}
@keyframes flame-grow {
  0% { height: 0; opacity: 0; }
  6% { height: 0; opacity: 0; }
  8% { height: 30px; opacity: 1; }
  10% { height: 110px; opacity: 1; }
  85% { height: 110px; opacity: 1; }
  95% { height: 80px; opacity: 0.6; }
  100% { height: 0; opacity: 0; }
}
.flame-outer, .flame-core, .flame-shock {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 25% 25% 75% 75%;
  filter: blur(2px);
}
.flame-outer {
  width: 42px; height: 100%;
  background: radial-gradient(ellipse at center top, #ff8a3a 0%, #ff5a1f 35%, rgba(255,90,31,0.35) 70%, transparent 100%);
  animation: flicker-out 0.11s infinite alternate;
}
.flame-core {
  width: 22px; height: 80%;
  background: radial-gradient(ellipse at center top, #fff5d0 0%, #ffd66d 25%, #ff8a3a 70%, transparent 100%);
  animation: flicker-in 0.07s infinite alternate-reverse;
}
.flame-shock {
  width: 8px; height: 40%;
  top: 5%;
  background: radial-gradient(ellipse at center top, rgba(180,200,255,0.9), rgba(120,140,255,0.5) 40%, transparent 70%);
  filter: blur(1px);
  animation: flicker-in 0.05s infinite alternate;
}
@keyframes flicker-out {
  from { transform: translateX(-50%) scaleY(0.92) scaleX(0.94); opacity: 0.85; }
  to { transform: translateX(-50%) scaleY(1.08) scaleX(1.06); opacity: 1; }
}
@keyframes flicker-in {
  from { transform: translateX(-50%) scaleY(0.95) scaleX(0.96); opacity: 0.9; }
  to { transform: translateX(-50%) scaleY(1.06) scaleX(1.04); opacity: 1; }
}

/* Exhaust particles */
.exhaust {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 120px; height: 280px;
  transform: translateX(-50%);
  pointer-events: none;
}
.puff {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,140,0.85) 0%, rgba(255,255,255,0.4) 40%, transparent 70%);
  animation: puff-fall 1.6s infinite ease-out;
  opacity: 0;
  filter: blur(1.5px);
}
.puff:nth-child(1)  { left: 38%; width: 20px; height: 20px; animation-delay: 0s; }
.puff:nth-child(2)  { left: 12%; width: 16px; height: 16px; animation-delay: 0.18s; }
.puff:nth-child(3)  { left: 62%; width: 24px; height: 24px; animation-delay: 0.36s; }
.puff:nth-child(4)  { left: 28%; width: 18px; height: 18px; animation-delay: 0.55s; }
.puff:nth-child(5)  { left: 72%; width: 14px; height: 14px; animation-delay: 0.73s; }
.puff:nth-child(6)  { left: 8%;  width: 22px; height: 22px; animation-delay: 0.92s; }
.puff:nth-child(7)  { left: 52%; width: 19px; height: 19px; animation-delay: 1.1s; }
.puff:nth-child(8)  { left: 22%; width: 15px; height: 15px; animation-delay: 1.28s; }
.puff:nth-child(9)  { left: 80%; width: 18px; height: 18px; animation-delay: 0.05s; }
.puff:nth-child(10) { left: 44%; width: 21px; height: 21px; animation-delay: 0.43s; }
.puff:nth-child(11) { left: 16%; width: 13px; height: 13px; animation-delay: 0.81s; }
.puff:nth-child(12) { left: 66%; width: 17px; height: 17px; animation-delay: 1.19s; }
@keyframes puff-fall {
  0% { transform: translateY(0) scale(0.4); opacity: 0; }
  10% { opacity: 0.95; }
  100% { transform: translateY(240px) scale(2.6); opacity: 0; }
}
/* Hold particle animation until ignition */
.rocket-wrap .exhaust {
  animation: exhaust-show 14s ease-in infinite;
}
@keyframes exhaust-show {
  0%, 7% { opacity: 0; }
  10%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Stage separation flash */
.sep-flash {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,255,240,1) 0%, rgba(255,170,60,0.6) 30%, transparent 60%);
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: sep-flash 14s linear infinite;
}
@keyframes sep-flash {
  0%, 54% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  56% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  60% { transform: translate(-50%, -50%) scale(2.2); opacity: 0.4; }
  64%, 100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* Phase + telemetry broadcast strip — bottom-center */
.phase-overlay {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  color: var(--text);
  z-index: 6;
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  max-width: calc(100% - 60px);
}
.phase-line {
  font-size: 11px;
  letter-spacing: 0.3em;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 14px;
  border: 1px solid rgba(255, 90, 31, 0.4);
  text-transform: uppercase;
  color: #ffe;
}
.phase-overlay .pdot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ignition);
  box-shadow: 0 0 6px var(--ignition);
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 1.2s infinite;
}
.phase-tele {
  display: flex; align-items: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
.phase-tele > span {
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.phase-tele > span:last-child { border-right: 0; }
.phase-tele em {
  font-style: normal;
  color: rgba(255, 90, 31, 0.85);
  font-size: 9px;
  letter-spacing: 0.16em;
}

/* Force the cinema window to stay dark in light theme */
[data-theme="light"] .stage-hud { color: rgba(240,237,229,0.7); }
[data-theme="light"] .stage-hud .hud-value { color: #f0ede5; }
[data-theme="light"] .stage-hud .hud-key { color: rgba(240,237,229,0.45); }
[data-theme="light"] .stage-corner { border-color: rgba(240,237,229,0.5); }
[data-theme="light"] .stage-crosshair { border-color: rgba(240,237,229,0.4); }
[data-theme="light"] .stage-crosshair::before,
[data-theme="light"] .stage-crosshair::after { background: rgba(240,237,229,0.4); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 100px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.section-tag .num { color: var(--ignition); margin-right: 8px; }
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.section-title em {
  font-family: 'Space Grotesk', serif;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
}
.section-lede {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 720px;
  margin-top: 24px;
  line-height: 1.5;
}

/* Mission */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.mission-card {
  background: var(--bg);
  padding: 40px 32px;
  min-height: 280px;
  display: flex; flex-direction: column;
  position: relative;
}
.mission-card .pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}
.mission-card h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.mission-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.mission-card .pillar-mark {
  margin-top: auto;
  padding-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Luna-1 specs */
.luna1 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.luna1-visual {
  position: relative;
  padding: 24px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.12);
  min-height: 700px;
  overflow: hidden;
  color: #f0ede5;
}
.luna1-visual .corner-label { color: rgba(240,237,229,0.5); }
.luna1-visual .corner-label {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.luna1-visual .corner-label.tr { left: auto; right: 16px; text-align: right; }
.luna1-svg {
  width: 100%;
  height: 660px;
  display: block;
  margin: 0 auto;
}
.luna1-svg text { font-family: 'JetBrains Mono', monospace; }

.luna1-data { display: flex; flex-direction: column; gap: 0; }
.luna1-data h3 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.luna1-data .luna-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
}
.luna1-data .body-copy {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 36px;
}
.spec-table {
  border-top: 1px solid var(--line);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.spec-val {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.spec-val .unit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 6px;
}

/* Technology */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.tech-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 32px;
  display: flex; flex-direction: column;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.tech-card.large { grid-column: span 7; min-height: 460px; }
.tech-card.med { grid-column: span 5; min-height: 460px; }
.tech-card.small { grid-column: span 4; }

.tech-card .tech-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
}
.tech-card h4 {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.tech-card.small h4 { font-size: 22px; }
.tech-card p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}
.tech-card .tech-visual {
  margin-top: auto;
  padding-top: 24px;
}
.tech-card .tech-visual.full {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.tech-card .tech-content {
  position: relative; z-index: 1;
}

/* 3D print viz */
.print-viz {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 4px;
  height: 100px;
}
.print-layer {
  flex: 1;
  background: var(--text-dim);
  border-radius: 1px;
  animation: print 2.4s infinite;
}
.print-layer:nth-child(1) { animation-delay: 0s; height: 20%; }
.print-layer:nth-child(2) { animation-delay: 0.15s; height: 40%; }
.print-layer:nth-child(3) { animation-delay: 0.3s; height: 65%; }
.print-layer:nth-child(4) { animation-delay: 0.45s; height: 85%; }
.print-layer:nth-child(5) { animation-delay: 0.6s; height: 100%; }
.print-layer:nth-child(6) { animation-delay: 0.75s; height: 90%; }
.print-layer:nth-child(7) { animation-delay: 0.9s; height: 75%; }
.print-layer:nth-child(8) { animation-delay: 1.05s; height: 55%; }
.print-layer:nth-child(9) { animation-delay: 1.2s; height: 35%; }
@keyframes print {
  0%, 60% { opacity: 1; background: var(--text); }
  80% { opacity: 0.3; background: var(--ignition); }
  100% { opacity: 1; background: var(--text-dim); }
}

/* GNC viz */
.gnc-viz {
  position: relative;
  height: 200px;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
}
.gnc-path {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

/* ============================================================
   ROADMAP TIMELINE
   ============================================================ */
.roadmap-wrap {
  position: relative;
  padding: 20px 0 60px;
}
.roadmap-scroller {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.roadmap-scroller::-webkit-scrollbar { height: 6px; }
.roadmap-scroller::-webkit-scrollbar-track { background: transparent; }
.roadmap-scroller::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }

.roadmap-line {
  position: relative;
  height: 1px;
  background: var(--line);
  margin: 40px 0 0;
}
.roadmap-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  height: 7px;
  background: var(--ignition);
  width: 30%;
}

.phase {
  flex: 0 0 420px;
  scroll-snap-align: start;
  padding: 32px 40px 32px 32px;
  border-right: 1px solid var(--line);
  position: relative;
  min-height: 480px;
  display: flex; flex-direction: column;
}
.phase:first-child { border-left: 1px solid var(--line); }
.phase.current { background: var(--bg-elev); }
.phase-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.phase-status .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.phase-status.live .status-dot { background: var(--status); box-shadow: 0 0 8px var(--status); animation: pulse 1.8s infinite; }
.phase-status.next .status-dot { background: var(--caution); }
.phase-status.future .status-dot { background: var(--text-faint); }
.phase-status.done .status-dot { background: var(--text); }

.phase-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}
.phase-window {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.phase-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.phase-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 24px;
}
.phase-list {
  list-style: none;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.phase-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  padding: 6px 0 6px 18px;
  position: relative;
  letter-spacing: 0.02em;
}
.phase-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--ignition);
}

/* ============================================================
   FUNDING TRACKER
   ============================================================ */
.funding {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}
.funding-progress {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 40px;
}
.funding-progress h3 {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 400;
  margin-bottom: 16px;
}
.funding-amount {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.funding-amount .raised { color: var(--text); }
.funding-amount .target {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--text-dim);
  margin-left: 12px;
  letter-spacing: 0;
}
.funding-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 36px;
}
.progress-bar {
  height: 6px;
  background: var(--line);
  position: relative;
  margin-bottom: 12px;
}
.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ignition);
  width: 18%;
}
.progress-fill::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 2px; height: 12px;
  background: var(--ignition);
  box-shadow: 0 0 8px var(--ignition);
}
.progress-ticks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  gap: 4px;
}
.progress-ticks span { line-height: 1.2; }
.progress-ticks span:last-child { text-align: right; }

.alloc-label {
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.alloc-bar {
  display: flex;
  gap: 3px;
  height: 8px;
  margin-bottom: 14px;
}
.alloc-seg {
  background: var(--text-dim);
  transition: background 0.2s, transform 0.2s;
  cursor: help;
}
.alloc-seg:nth-child(1) { background: var(--ignition); }
.alloc-seg:nth-child(2) { background: color-mix(in srgb, var(--ignition) 70%, var(--text-dim)); }
.alloc-seg:nth-child(3) { background: color-mix(in srgb, var(--ignition) 50%, var(--text-dim)); }
.alloc-seg:nth-child(4) { background: color-mix(in srgb, var(--ignition) 30%, var(--text-dim)); }
.alloc-seg:nth-child(5) { background: var(--text-dim); }
.alloc-seg:hover { transform: scaleY(1.4); }

.team-card.hiring { background: var(--bg-elev); }
.team-card.hiring .team-avatar {
  border-style: dashed;
  color: var(--text-dim);
  font-size: 22px;
  font-weight: 300;
}
.team-card.hiring .name { color: var(--text-dim); font-weight: 400; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 4px; }
.team-card.hiring .role { color: var(--text); font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 500; text-transform: none; letter-spacing: -0.01em; margin-bottom: 14px; }

.funding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.funding-stat .num {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.funding-stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 4px;
}

.funding-cta {
  padding: 40px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 100%;
}
.funding-cta h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.funding-cta p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 28px;
}
.tickets {
  margin-bottom: 28px;
}
.ticket {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.ticket .tier { color: var(--text); letter-spacing: 0.05em; }
.ticket .amt { color: var(--text-dim); }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.team-card {
  background: var(--bg);
  padding: 28px;
  min-height: 240px;
  display: flex; flex-direction: column;
}
.team-avatar {
  width: 56px; height: 56px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.team-card .name {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 2px;
}
.team-card .role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.team-card .bio {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: auto;
  line-height: 1.5;
}

.team-card.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    transparent, transparent 8px,
    var(--line) 8px, var(--line) 9px
  );
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ============================================================
   PRESS
   ============================================================ */
.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.press-card {
  border: 1px solid var(--line);
  padding: 28px;
  display: flex; flex-direction: column;
  min-height: 200px;
}
.press-card .src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.press-card .quote {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.005em;
  flex: 1;
}
.press-card .date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 20px;
}
.press-actions {
  margin-top: 40px;
  display: flex; gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  padding: 24px 0;
  font-family: inherit;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.faq-q .q-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  margin-right: 24px;
  display: inline-block;
  min-width: 40px;
}
.faq-q .q-text { flex: 1; }
.faq-q .q-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  color: var(--text-dim);
  transition: transform 0.25s;
}
.faq-item.open .q-icon { transform: rotate(45deg); color: var(--ignition); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 28px 64px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 80px 32px 32px;
  background: var(--bg);
  border-top: 1px solid var(--line-strong);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand h4 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  max-width: 380px;
  line-height: 1.5;
}
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 400;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ignition); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   TWEAKS PANEL (Vue native)
   ============================================================ */
.tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  padding: 16px 18px;
  min-width: 220px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  display: none;
}
.tweaks.open { display: block; }
.tweaks-title {
  display: flex; justify-content: space-between;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.tweaks-title button {
  background: transparent; border: 0; color: var(--text-dim);
  font-family: inherit; cursor: pointer; font-size: 14px; line-height: 1;
}
.tweaks-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-row .lbl { color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.tweak-switch {
  display: flex; border: 1px solid var(--line-strong);
}
.tweak-switch button {
  background: transparent; border: 0; color: var(--text-dim);
  padding: 4px 10px; cursor: pointer; font-family: inherit; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.tweak-switch button.active { background: var(--text); color: var(--bg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 100px 24px 40px; }
  .hero-stage { border-left: 0; border-top: 1px solid var(--line); margin-left: 0; margin-top: 40px; min-height: 500px; }
  .section { padding: 80px 24px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .mission-grid, .tech-grid, .team-grid, .press-grid { grid-template-columns: 1fr 1fr; }
  .tech-card.large, .tech-card.med, .tech-card.small { grid-column: span 2; min-height: 280px; }
  .luna1 { grid-template-columns: 1fr; }
  .funding { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 0; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 16px; }
  .nav-brand-tag { display: none; }
  .hero { padding: 90px 18px 30px; }
  .section { padding: 60px 18px; }
  .mission-grid, .tech-grid, .team-grid, .press-grid { grid-template-columns: 1fr; }
  .tech-card.large, .tech-card.med, .tech-card.small { grid-column: span 1; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
