:root {
  --black: #02040a;
  --navy: #07111f;
  --navy-2: #0d1c31;
  --graphite: #2d333b;
  --silver: #b8c0cc;
  --white: #f4f7fb;
  --muted: rgba(244, 247, 251, 0.68);
  --line: rgba(184, 192, 204, 0.24);
  --font-display: "Avenir Next", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", "Cascadia Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
}

button {
  font: inherit;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #000;
  opacity: 1;
  transition: opacity 900ms ease;
}

.intro.is-impacting {
  animation: launchImpact 1s cubic-bezier(0.18, 0.72, 0.22, 1);
}

.intro.is-complete {
  opacity: 0;
  pointer-events: none;
}

.intro__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.site {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(20, 37, 62, 0.72), transparent 34%),
    linear-gradient(135deg, #010309 0%, #07111f 48%, #02040a 100%);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 1100ms ease, transform 1600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site.is-revealed {
  opacity: 1;
  transform: scale(1);
}

.starfield,
.scan-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scan-grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(184, 192, 204, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 192, 204, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 74%, transparent);
}

.stage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px);
  opacity: 0;
  transform: translate3d(0, 2vh, 0) scale(1.03);
  pointer-events: none;
  transition: opacity 850ms ease, transform 1300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stage.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.stage.is-exiting {
  transform: translate3d(-7vw, -2vh, 0) scale(1.08);
}

.visual {
  position: relative;
  width: 100%;
  height: min(74vh, 760px);
  min-height: 440px;
  overflow: hidden;
}

.scene-canvas {
  display: block;
  width: 100%;
  height: 100%;
  /* Feather the edges so the 3D scene blends into the page
     instead of showing a hard rectangular frame */
  -webkit-mask-image: radial-gradient(
    ellipse 72% 78% at 50% 48%,
    #000 52%,
    rgba(0, 0, 0, 0.6) 72%,
    transparent 92%
  );
  mask-image: radial-gradient(
    ellipse 72% 78% at 50% 48%,
    #000 52%,
    rgba(0, 0, 0, 0.6) 72%,
    transparent 92%
  );
}

.briefing {
  position: relative;
  z-index: 5;
  max-width: 720px;
  padding-top: 4vh;
}

/* Soft dark scrim so copy stays legible over bright 3D scenes */
.briefing::before {
  content: "";
  position: absolute;
  inset: -8% -14% -10% -18%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 78% 70% at 32% 50%,
    rgba(2, 4, 10, 0.82) 0%,
    rgba(2, 4, 10, 0.62) 42%,
    rgba(2, 4, 10, 0.28) 68%,
    transparent 88%
  );
  filter: blur(8px);
}

.eyebrow {
  min-height: 20px;
  margin: 0 0 24px;
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.headline {
  min-height: clamp(152px, 21vw, 270px);
  margin: 0;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(2, 4, 10, 0.85);
  font-size: clamp(2.8rem, 5.25vw, 5.45rem);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.word {
  display: inline-block;
  white-space: nowrap;
}

.typewriter .cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.78em;
  margin-left: 0.07em;
  vertical-align: -0.08em;
  background: var(--silver);
  animation: cursorBlink 760ms steps(1) infinite;
}

.typewriter.is-done .cursor {
  animation: cursorExit 420ms ease forwards;
}

.char {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translateY(0.18em);
}

.char.is-live {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition: opacity 120ms ease, filter 220ms ease, transform 220ms ease;
}

.subtitle {
  min-height: 94px;
  margin: 22px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.25vw, 1.04rem);
  line-height: 1.85;
}

.subtitle__line,
.log-line {
  display: block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.subtitle__line.is-visible,
.log-line.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition: opacity 260ms ease, clip-path 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.decode {
  opacity: 0;
}

.decode.is-decoding {
  opacity: 1;
}

.mission-log {
  min-height: 242px;
  margin-top: 22px;
  padding-left: 18px;
  border-left: 1px solid rgba(184, 192, 204, 0.36);
  color: var(--silver);
  text-shadow: 0 1px 10px rgba(2, 4, 10, 0.9);
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.1vw, 0.96rem);
  line-height: 1.9;
}

.log-line::before {
  content: ">";
  margin-right: 12px;
  color: var(--white);
}

.intel-card {
  position: relative;
  width: min(100%, 430px);
  min-height: 96px;
  margin-top: 22px;
  padding: 16px 18px;
  overflow: hidden;
  color: var(--white);
  text-align: left;
  text-transform: uppercase;
  background: rgba(8, 17, 31, 0.64);
  border: 1px solid rgba(184, 192, 204, 0.3);
  border-radius: 6px;
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.intel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.12), transparent);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.intel-card:hover::after,
.intel-card:focus-visible::after {
  transform: translateX(120%);
}

.intel-card__label {
  display: block;
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.intel-card__readout {
  display: block;
  min-height: 52px;
  margin-top: 11px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: pre-line;
}

.stage-nav {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: 20;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.stage-dot {
  width: 9px;
  height: 34px;
  padding: 0;
  background: rgba(184, 192, 204, 0.24);
  border: 1px solid rgba(184, 192, 204, 0.38);
  border-radius: 999px;
  cursor: pointer;
  transition: height 280ms ease, background 280ms ease;
}

.stage-dot.is-active {
  height: 58px;
  background: var(--silver);
}

.advance {
  position: absolute;
  left: clamp(24px, 5vw, 72px);
  right: auto;
  bottom: clamp(24px, 4vw, 48px);
  z-index: 24;
  width: 210px;
  height: 48px;
  overflow: hidden;
  color: var(--white);
  background: rgba(2, 4, 10, 0.54);
  border: 1px solid rgba(184, 192, 204, 0.34);
  border-radius: 5px;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.advance__copy {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.advance__bar {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--silver);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease;
}

.advance:hover .advance__bar,
.advance:focus-visible .advance__bar {
  transform: scaleX(1);
}

.visual--pad {
  perspective: 1000px;
}

.rocket {
  position: absolute;
  left: 43%;
  bottom: 12%;
  width: 118px;
  height: 520px;
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.62));
  transform: translateX(-50%);
  animation: rocketIdle 4.8s ease-in-out infinite;
}

.rocket__nose {
  position: absolute;
  top: 0;
  left: 16px;
  width: 86px;
  height: 116px;
  background: linear-gradient(90deg, #cbd2da, #fff, #8d97a3);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.rocket__body {
  position: absolute;
  top: 104px;
  left: 16px;
  width: 86px;
  height: 392px;
  border-radius: 40px 40px 10px 10px;
  background:
    linear-gradient(90deg, #8f99a5 0%, #f8fafc 37%, #b9c0ca 58%, #505a66 100%),
    linear-gradient(#fff, #777);
}

.rocket__body::before,
.rocket__body::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: rgba(2, 4, 10, 0.3);
}

.rocket__body::before {
  top: 92px;
}

.rocket__body::after {
  top: 236px;
}

.rocket__fin {
  position: absolute;
  bottom: 3px;
  width: 45px;
  height: 82px;
  background: linear-gradient(135deg, #d8dde5, #68717b);
}

.rocket__fin--left {
  left: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.rocket__fin--right {
  right: 0;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.rocket__heat {
  position: absolute;
  left: 35px;
  bottom: -64px;
  width: 48px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(ellipse at top, rgba(244, 247, 251, 0.72), rgba(184, 192, 204, 0.2) 42%, transparent 72%);
  filter: blur(16px);
  animation: heatPulse 2.2s ease-in-out infinite;
}

.tower {
  position: absolute;
  left: 58%;
  bottom: 11%;
  width: 138px;
  height: 540px;
  opacity: 0.72;
  background:
    linear-gradient(90deg, transparent 44%, rgba(184, 192, 204, 0.46) 45% 52%, transparent 53%),
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(184, 192, 204, 0.32) 29px 31px),
    repeating-linear-gradient(45deg, transparent 0 32px, rgba(184, 192, 204, 0.18) 33px 35px);
}

.cloud,
.steam {
  position: absolute;
  border-radius: 999px;
  background: rgba(184, 192, 204, 0.18);
  filter: blur(18px);
}

.cloud--a {
  left: 4%;
  top: 18%;
  width: 42%;
  height: 90px;
  animation: drift 18s linear infinite;
}

.cloud--b {
  right: 0;
  top: 38%;
  width: 36%;
  height: 110px;
  animation: drift 24s linear reverse infinite;
}

.steam--left {
  left: 15%;
  bottom: 8%;
  width: 36%;
  height: 160px;
  animation: steam 5s ease-in-out infinite;
}

.steam--right {
  right: 14%;
  bottom: 10%;
  width: 32%;
  height: 150px;
  animation: steam 6.2s ease-in-out infinite reverse;
}

.control-room {
  position: absolute;
  inset: 6% 2% 0;
  transform: perspective(900px) rotateX(8deg);
}

.screen-wall {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 56%;
}

.screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184, 192, 204, 0.28);
  background: rgba(7, 17, 31, 0.78);
  box-shadow: inset 0 0 38px rgba(184, 192, 204, 0.08), 0 28px 80px rgba(0, 0, 0, 0.38);
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.09), transparent),
    repeating-linear-gradient(0deg, transparent 0 16px, rgba(184, 192, 204, 0.08) 17px 18px);
  animation: dataSweep 3.6s linear infinite;
}

.screen--map {
  grid-row: span 2;
}

.screen--map::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(244, 247, 251, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(184, 192, 204, 0.04), inset 0 0 40px rgba(184, 192, 204, 0.08);
  animation: radar 4s linear infinite;
}

.console {
  position: absolute;
  bottom: 0;
  height: 26%;
  border: 1px solid rgba(184, 192, 204, 0.2);
  background: linear-gradient(160deg, rgba(45, 51, 59, 0.78), rgba(7, 17, 31, 0.56));
}

.console--a {
  left: 9%;
  width: 38%;
  transform: skewX(-13deg);
}

.console--b {
  right: 8%;
  width: 42%;
  transform: skewX(13deg);
}

.earth {
  position: absolute;
  left: 2%;
  bottom: -32%;
  width: min(72vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 25%, rgba(244, 247, 251, 0.8), transparent 9%),
    radial-gradient(circle at 48% 46%, rgba(184, 192, 204, 0.38), transparent 18%),
    radial-gradient(circle at 42% 36%, #132f4f, #071827 52%, #02040a 74%);
  box-shadow: inset -80px -30px 120px rgba(0, 0, 0, 0.78), 0 0 90px rgba(184, 192, 204, 0.18);
  animation: planetTurn 28s linear infinite;
}

.atmosphere {
  position: absolute;
  left: -1%;
  bottom: -35%;
  width: min(78vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(184, 192, 204, 0.42);
  filter: blur(3px);
}

.orbit-ring {
  position: absolute;
  left: 7%;
  bottom: 0;
  width: min(68vw, 730px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 192, 204, 0.26);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-14deg);
}

.orbit-ring--b {
  transform: rotateX(74deg) rotateZ(24deg);
}

.satellite {
  position: absolute;
  width: 58px;
  height: 26px;
  background: linear-gradient(90deg, #f4f7fb, #8f99a5);
  box-shadow: -34px 2px 0 -7px #8f99a5, 34px 2px 0 -7px #8f99a5;
}

.satellite--a {
  left: 60%;
  top: 24%;
  animation: satelliteFloat 8s ease-in-out infinite;
}

.satellite--b {
  left: 35%;
  top: 38%;
  transform: scale(0.7) rotate(18deg);
  animation: satelliteFloat 10s ease-in-out infinite reverse;
}

.nebula {
  position: absolute;
  inset: 4% 0 0;
  background:
    radial-gradient(circle at 28% 44%, rgba(184, 192, 204, 0.18), transparent 20%),
    radial-gradient(circle at 58% 30%, rgba(13, 28, 49, 0.9), transparent 36%),
    radial-gradient(circle at 70% 62%, rgba(244, 247, 251, 0.1), transparent 20%);
  filter: blur(8px);
  animation: deepPulse 9s ease-in-out infinite;
}

.planet {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 25%, #f4f7fb, #8a929d 18%, #1d2633 54%, #02040a 82%);
  box-shadow: inset -38px -20px 80px rgba(0, 0, 0, 0.7), 0 0 72px rgba(184, 192, 204, 0.12);
}

.planet--a {
  left: 12%;
  top: 20%;
  width: 210px;
  aspect-ratio: 1;
}

.planet--b {
  right: 18%;
  bottom: 18%;
  width: 96px;
  aspect-ratio: 1;
  opacity: 0.7;
}

.asteroids::before,
.asteroids::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 45% 55% 38% 62%;
  background: #8f99a5;
  box-shadow: 72px -48px 0 -4px #5d6671, 144px 32px 0 -7px #b8c0cc, 250px -10px 0 -5px #6d7681;
  animation: asteroidDrift 16s linear infinite;
}

.asteroids::before {
  left: 18%;
  top: 28%;
}

.asteroids::after {
  left: 43%;
  top: 62%;
  transform: scale(0.72);
  animation-duration: 22s;
}

@keyframes launchImpact {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); filter: contrast(1); }
  8% { transform: translate3d(-10px, 7px, 0) scale(1.018); }
  17% { transform: translate3d(8px, -8px, 0) scale(1.024); }
  28% { transform: translate3d(-6px, 4px, 0) scale(1.018); filter: contrast(1.15); }
  45% { transform: translate3d(4px, -3px, 0) scale(1.012); }
  70% { transform: translate3d(-2px, 2px, 0) scale(1.006); }
}

@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes cursorExit {
  to { opacity: 0; transform: scaleY(0.2); }
}

@keyframes rocketIdle {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes heatPulse {
  0%, 100% { opacity: 0.34; transform: scaleY(0.82); }
  50% { opacity: 0.7; transform: scaleY(1); }
}

@keyframes drift {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}

@keyframes steam {
  0%, 100% { opacity: 0.24; transform: translateY(0) scale(0.9); }
  50% { opacity: 0.5; transform: translateY(-18px) scale(1.08); }
}

@keyframes dataSweep {
  from { transform: translateX(-80%); }
  to { transform: translateX(80%); }
}

@keyframes radar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes planetTurn {
  to { transform: rotate(360deg); }
}

@keyframes satelliteFloat {
  0%, 100% { transform: translateY(0) rotate(-9deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

@keyframes deepPulse {
  0%, 100% { opacity: 0.62; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.04); }
}

@keyframes asteroidDrift {
  to { transform: translateX(120px) translateY(-34px) rotate(180deg); }
}

@media (max-width: 860px) {
  .stage {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 10px;
    padding: 24px;
  }

  .visual {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    opacity: 0.58;
  }

  .briefing {
    max-width: 100%;
    padding-right: 34px;
  }

  .headline {
    min-height: 220px;
    font-size: clamp(2.5rem, 12vw, 4.8rem);
  }

  .subtitle {
    min-height: 142px;
  }

  .mission-log {
    min-height: 250px;
  }

  .advance {
    left: 24px;
    right: auto;
    width: calc(100vw - 88px);
  }

  .stage-nav {
    right: 16px;
  }
}

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

/* Cinematic upgrade layer */
.site {
  --brand-delay: 0ms;
}

.site::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at var(--camera-x, 48%) var(--camera-y, 42%), rgba(244, 247, 251, 0.07), transparent 34%);
  opacity: 0.85;
  transition: background-position 600ms ease;
}

.brand-header {
  position: fixed;
  left: clamp(22px, 4vw, 54px);
  top: clamp(18px, 3vw, 34px);
  z-index: 28;
  width: min(360px, calc(100vw - 112px));
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.site.is-revealed .brand-header {
  animation: brandEnter 900ms ease 180ms forwards;
}

.brand-lockup {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 247, 251, 0.46);
}

.brand-lockup p {
  margin: 5px 0 0;
  color: rgba(244, 247, 251, 0.78);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-lockup p + p {
  color: rgba(184, 192, 204, 0.66);
  font-size: 0.58rem;
}

.spacex-wordmark,
.tower__display,
.screen-brand,
.blueprint-brand,
.planet-brand {
  color: var(--white);
  font-family: "Arial Black", "Avenir Next", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.spacex-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.spacex-wordmark i {
  position: absolute;
  right: -0.54em;
  top: -0.1em;
  width: 1.52em;
  height: 0.82em;
  border-top: 2px solid var(--white);
  border-radius: 50%;
  transform: rotate(-12deg);
  transform-origin: left center;
}

.spacex-wordmark__x {
  margin-left: -0.03em;
}

.stage {
  z-index: 3;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.72fr);
  padding: clamp(86px, 10vw, 118px) clamp(28px, 5vw, 72px) clamp(28px, 5vw, 58px);
  gap: clamp(18px, 3vw, 46px);
}

.stage.is-active .visual {
  animation: cinematicDrift 13s ease-in-out infinite;
}

.visual {
  height: min(80vh, 820px);
  min-height: 500px;
}

.briefing {
  max-width: 540px;
  padding-top: 0;
}

.eyebrow {
  margin-bottom: 15px;
  font-size: clamp(0.63rem, 0.86vw, 0.76rem);
}

.headline {
  min-height: clamp(108px, 14.5vw, 205px);
  font-size: clamp(2.18rem, 3.9vw, 4.35rem);
  line-height: 0.97;
}

.subtitle {
  min-height: 76px;
  margin-top: 16px;
  font-size: clamp(0.78rem, 0.98vw, 0.92rem);
  line-height: 1.72;
}

.intel-card {
  width: min(100%, 390px);
  min-height: 86px;
  margin-top: 16px;
  background: rgba(2, 4, 10, 0.58);
}

.mission-clock {
  width: min(100%, 330px);
  margin: 0 0 20px;
  padding: 15px 17px 14px;
  border: 1px solid rgba(184, 192, 204, 0.34);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(244, 247, 251, 0.07), transparent 42%),
    rgba(2, 4, 10, 0.56);
  color: var(--white);
  font-family: var(--font-mono);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
}

.site.is-revealed .stage--launch.is-active .mission-clock {
  animation: systemEnter 700ms ease 820ms forwards;
}

.mission-clock__label,
.mission-clock__status {
  display: block;
  color: var(--silver);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.mission-clock strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  letter-spacing: 0.1em;
}

.mission-clock time {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.mission-clock__status {
  margin-top: 10px;
  line-height: 1.45;
}

.stage--launch .briefing {
  opacity: 0;
}

.site.is-revealed .stage--launch.is-active .briefing {
  animation: systemEnter 700ms ease 720ms forwards;
}

.visual--pad {
  transform-style: preserve-3d;
}

.visual--pad::before {
  content: "";
  position: absolute;
  left: 2%;
  right: 3%;
  bottom: 8%;
  height: 25%;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(184, 192, 204, 0.22) 10% 11%, transparent 11% 20%),
    linear-gradient(12deg, rgba(45, 51, 59, 0.8), rgba(7, 17, 31, 0.38));
  border: 1px solid rgba(184, 192, 204, 0.18);
  clip-path: polygon(6% 42%, 88% 16%, 100% 100%, 0 100%);
}

.platform {
  position: absolute;
  left: 30%;
  bottom: 8%;
  width: 28%;
  height: 54px;
  background: linear-gradient(180deg, #353c45, #111923);
  border: 1px solid rgba(184, 192, 204, 0.24);
  transform: skewX(-12deg);
}

.hangar {
  position: absolute;
  left: 2%;
  bottom: 16%;
  width: 28%;
  height: 21%;
  border: 1px solid rgba(184, 192, 204, 0.22);
  background: linear-gradient(140deg, rgba(45, 51, 59, 0.8), rgba(7, 17, 31, 0.6));
  clip-path: polygon(0 28%, 88% 0, 100% 100%, 0 100%);
}

.tower {
  left: 56%;
  width: 165px;
  height: 575px;
  opacity: 0.9;
}

.tower__light {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: navBlink 1.8s steps(1) infinite;
}

.tower__light--a {
  right: 20px;
  top: 15%;
}

.tower__light--b {
  left: 32px;
  top: 48%;
  animation-delay: 0.7s;
}

.tower__display {
  position: absolute;
  left: 18px;
  bottom: 18%;
  padding: 7px 9px;
  border: 1px solid rgba(244, 247, 251, 0.32);
  background: rgba(2, 4, 10, 0.62);
  font-size: 0.68rem;
}

.rocket {
  left: 44%;
  bottom: 13%;
  width: 136px;
  height: 560px;
}

.rocket::after {
  content: "";
  position: absolute;
  left: 29px;
  bottom: -94px;
  width: 78px;
  height: 164px;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg, rgba(244, 247, 251, 0.2) 0 3px, transparent 3px 8px);
  filter: blur(10px);
  opacity: 0.45;
  animation: distortion 1.2s ease-in-out infinite;
}

.rocket__nose {
  left: 17px;
  width: 100px;
  height: 128px;
  background: linear-gradient(90deg, #8b94a0 0%, #f8fafc 42%, #6d7681 100%);
}

.rocket__window {
  position: absolute;
  left: 54px;
  top: 142px;
  z-index: 2;
  width: 27px;
  height: 27px;
  border: 2px solid rgba(2, 4, 10, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4f7fb, #344252 72%);
}

.rocket__body {
  top: 116px;
  left: 17px;
  width: 100px;
  height: 418px;
}

.rocket__engine {
  position: absolute;
  left: 43px;
  bottom: -11px;
  width: 50px;
  height: 24px;
  background: linear-gradient(90deg, #505a66, #f4f7fb, #505a66);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

.rocket__heat {
  left: 38px;
  bottom: -86px;
  width: 60px;
  height: 174px;
}

.service-arm {
  position: absolute;
  left: 51%;
  width: 23%;
  height: 18px;
  background: linear-gradient(90deg, rgba(184, 192, 204, 0.88), rgba(45, 51, 59, 0.42));
  border: 1px solid rgba(244, 247, 251, 0.18);
  transform-origin: left center;
  animation: serviceArm 6.5s ease-in-out infinite;
}

.service-arm--upper {
  top: 31%;
  transform: rotate(-6deg);
}

.service-arm--lower {
  top: 48%;
  width: 18%;
  animation-delay: 1.4s;
}

.fuel-line {
  position: absolute;
  left: 20%;
  bottom: 31%;
  width: 46%;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(244, 247, 251, 0.75) 0 18px, rgba(184, 192, 204, 0.2) 18px 26px);
  transform: rotate(-8deg);
  animation: fuelPulse 1.7s linear infinite;
}

.fuel-line--b {
  left: 15%;
  bottom: 25%;
  width: 52%;
  opacity: 0.56;
  animation-delay: 0.5s;
}

.pad-fog {
  position: absolute;
  left: 3%;
  right: 2%;
  bottom: 3%;
  height: 32%;
  border-radius: 50%;
  background: rgba(184, 192, 204, 0.14);
  filter: blur(24px);
  animation: windFog 9s ease-in-out infinite;
}

.pad-fog--b {
  bottom: 14%;
  opacity: 0.5;
  animation-duration: 12s;
  animation-direction: reverse;
}

.steam {
  background: rgba(184, 192, 204, 0.24);
}

.steam--tower {
  left: 57%;
  bottom: 34%;
  width: 25%;
  height: 90px;
  animation: steamJet 4.2s ease-in-out infinite;
}

.control-room {
  inset: 2% 0 0;
  animation: roomFloat 11s ease-in-out infinite;
}

.screen-wall {
  height: 63%;
  gap: 16px;
}

.screen {
  background:
    radial-gradient(circle at 28% 38%, rgba(184, 192, 204, 0.14), transparent 34%),
    rgba(7, 17, 31, 0.8);
}

.screen span {
  position: absolute;
  left: 16px;
  top: 14px;
  color: rgba(244, 247, 251, 0.74);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.screen b {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 8px;
  background: rgba(244, 247, 251, 0.5);
  transform-origin: left;
  animation: barScan 2.4s ease-in-out infinite;
}

.screen b:nth-of-type(1) { top: 44%; width: 78%; }
.screen b:nth-of-type(2) { top: 58%; width: 52%; animation-delay: 0.4s; }
.screen b:nth-of-type(3) { top: 72%; width: 68%; animation-delay: 0.8s; }
.screen b:nth-of-type(4) { top: 86%; width: 42%; animation-delay: 1.2s; }

.holo-earth {
  position: absolute;
  left: 18%;
  top: 18%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(244, 247, 251, 0.72), transparent 8%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(244, 247, 251, 0.1) 19px 20px),
    radial-gradient(circle, rgba(184, 192, 204, 0.22), rgba(7, 17, 31, 0.28) 70%);
  border: 1px solid rgba(244, 247, 251, 0.44);
  animation: planetTurn 22s linear infinite;
}

.tracking-path {
  position: absolute;
  left: 12%;
  top: 22%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 247, 251, 0.3);
  border-radius: 50%;
  transform: rotateX(64deg) rotateZ(25deg);
  animation: radar 8s linear infinite;
}

.tracking-path--b {
  transform: rotateX(72deg) rotateZ(-38deg);
  animation-duration: 11s;
}

.operator-light {
  position: absolute;
  bottom: 8%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.78;
  animation: navBlink 2.2s steps(1) infinite;
}

.operator-light--a { left: 24%; }
.operator-light--b { right: 28%; animation-delay: 0.9s; }

.mission-log {
  min-height: 210px;
  font-size: clamp(0.74rem, 0.95vw, 0.88rem);
  line-height: 1.75;
}

.stage--specs .visual {
  perspective: 900px;
}

.blueprint-plane {
  position: absolute;
  inset: 5% 2% 7%;
  border: 1px solid rgba(184, 192, 204, 0.2);
  background: rgba(7, 17, 31, 0.42);
  transform: rotateX(58deg) rotateZ(-8deg);
  animation: blueprintFloat 10s ease-in-out infinite;
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 192, 204, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 192, 204, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
}

.blueprint-brand {
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 1;
  font-size: 1.1rem;
  opacity: 0.68;
}

.spacecraft {
  position: absolute;
  left: 36%;
  top: 23%;
  width: 260px;
  height: 220px;
  transform-style: preserve-3d;
  animation: spacecraftOrbit 8s ease-in-out infinite;
}

.spacecraft__body {
  position: absolute;
  left: 94px;
  top: 32px;
  width: 70px;
  height: 150px;
  border-radius: 42px 42px 14px 14px;
  background: linear-gradient(90deg, #69727d, #f4f7fb 44%, #323b46);
}

.spacecraft__nose {
  position: absolute;
  left: 94px;
  top: 0;
  width: 70px;
  height: 58px;
  background: linear-gradient(90deg, #8f99a5, #fff, #505a66);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.spacecraft__wing {
  position: absolute;
  top: 86px;
  width: 94px;
  height: 92px;
  background: linear-gradient(135deg, #cbd2da, #3b4652);
}

.spacecraft__wing--left {
  left: 19px;
  clip-path: polygon(100% 0, 100% 100%, 0 82%);
}

.spacecraft__wing--right {
  right: 19px;
  clip-path: polygon(0 0, 100% 82%, 0 100%);
}

.spacecraft__engine {
  position: absolute;
  left: 110px;
  bottom: 0;
  width: 40px;
  height: 45px;
  background: radial-gradient(ellipse at top, rgba(244, 247, 251, 0.75), rgba(184, 192, 204, 0.08) 65%, transparent);
  filter: blur(8px);
}

.constellation {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 80px 38px 0 -1px var(--silver), 154px -12px 0 -2px var(--white), 238px 72px 0 -2px var(--silver);
  opacity: 0.7;
}

.constellation::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 250px;
  height: 1px;
  background: rgba(184, 192, 204, 0.28);
  transform: rotate(18deg);
}

.constellation--a { left: 10%; top: 18%; animation: satelliteFloat 8s ease-in-out infinite; }
.constellation--b { left: 24%; top: 62%; transform: scale(0.72); animation: satelliteFloat 11s ease-in-out infinite reverse; }
.constellation--c { right: 16%; top: 32%; transform: scale(0.55); animation: satelliteFloat 9s ease-in-out infinite; }

.spec-orbit {
  position: absolute;
  left: 14%;
  top: 10%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(184, 192, 204, 0.25);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(24deg);
}

.spec-orbit--b {
  transform: rotateX(70deg) rotateZ(-32deg);
}

.spec-sheet {
  margin: 18px 0 0;
  border-top: 1px solid rgba(244, 247, 251, 0.42);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.spec-sheet div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(184, 192, 204, 0.22);
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.spec-sheet.is-visible div {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition: opacity 260ms ease, clip-path 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-sheet.is-visible div:nth-child(2) { transition-delay: 90ms; }
.spec-sheet.is-visible div:nth-child(3) { transition-delay: 180ms; }
.spec-sheet.is-visible div:nth-child(4) { transition-delay: 270ms; }
.spec-sheet.is-visible div:nth-child(5) { transition-delay: 360ms; }
.spec-sheet.is-visible div:nth-child(6) { transition-delay: 450ms; }

.spec-sheet dt {
  color: var(--silver);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.spec-sheet dd {
  margin: 0;
  color: var(--white);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  line-height: 1.35;
}

.visual--deep {
  overflow: hidden;
}

.planet--a {
  left: 8%;
  top: 10%;
  width: min(42vw, 460px);
}

.planet--b {
  right: 8%;
  bottom: 12%;
  width: 150px;
}

.planet-brand {
  position: absolute;
  left: 28%;
  top: 48%;
  font-size: clamp(0.9rem, 1.7vw, 1.35rem);
  opacity: 0.28;
  transform: rotate(-16deg);
}

.signal-beam {
  position: absolute;
  left: 5%;
  right: 8%;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.85), transparent);
  transform: rotate(-12deg);
  animation: signalSweep 3.2s ease-in-out infinite;
}

.signal-beam--b {
  top: 34%;
  animation-delay: 1.1s;
  opacity: 0.55;
}

.cta-bank {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.cta {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 247, 251, 0.42);
  border-radius: 4px;
  color: var(--white);
  background: rgba(2, 4, 10, 0.52);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 240ms ease, border-color 240ms ease;
}

.cta:hover,
.cta:focus-visible {
  background: rgba(244, 247, 251, 0.12);
  border-color: rgba(244, 247, 251, 0.78);
}

@keyframes brandEnter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes systemEnter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cinematicDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.8vw, -1vh, 0) scale(1.035); }
}

@keyframes navBlink {
  0%, 65%, 100% { opacity: 0.24; }
  66%, 82% { opacity: 1; }
}

@keyframes distortion {
  0%, 100% { transform: translateY(0) scaleX(0.8); opacity: 0.28; }
  50% { transform: translateY(-8px) scaleX(1.08); opacity: 0.55; }
}

@keyframes serviceArm {
  0%, 100% { translate: 0 0; }
  50% { translate: -7px 2px; }
}

@keyframes fuelPulse {
  to { background-position: 52px 0; }
}

@keyframes windFog {
  0%, 100% { transform: translateX(-3%) scale(1); opacity: 0.42; }
  50% { transform: translateX(8%) scale(1.08); opacity: 0.68; }
}

@keyframes steamJet {
  0%, 100% { transform: translateX(0) translateY(0) scale(0.72); opacity: 0.16; }
  50% { transform: translateX(44px) translateY(-18px) scale(1.05); opacity: 0.58; }
}

@keyframes roomFloat {
  0%, 100% { transform: perspective(900px) rotateX(8deg) translateY(0); }
  50% { transform: perspective(900px) rotateX(7deg) translateY(-12px); }
}

@keyframes barScan {
  0%, 100% { transform: scaleX(0.3); opacity: 0.32; }
  50% { transform: scaleX(1); opacity: 0.78; }
}

@keyframes blueprintFloat {
  0%, 100% { transform: rotateX(58deg) rotateZ(-8deg) translateY(0); }
  50% { transform: rotateX(56deg) rotateZ(-6deg) translateY(-20px); }
}

@keyframes spacecraftOrbit {
  0%, 100% { transform: rotate(-10deg) translate3d(0, 0, 0) scale(1); }
  50% { transform: rotate(-4deg) translate3d(22px, -20px, 0) scale(1.06); }
}

@keyframes signalSweep {
  0% { transform: translateX(-18%) rotate(-12deg); opacity: 0; }
  35% { opacity: 0.75; }
  100% { transform: translateX(22%) rotate(-12deg); opacity: 0; }
}

@media (max-width: 860px) {
  .brand-header {
    left: 20px;
    top: 16px;
    width: calc(100vw - 78px);
  }

  .stage {
    padding: 104px 22px 74px;
    grid-template-columns: 1fr;
  }

  .visual {
    opacity: 0.82;
    min-height: 0;
  }

  .briefing {
    align-self: end;
    max-width: 100%;
    padding-right: 34px;
  }

  .headline {
    min-height: 92px;
    font-size: clamp(1.82rem, 7.4vw, 2.8rem);
    line-height: 1;
    max-width: 92%;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .subtitle {
    min-height: 64px;
    margin-top: 11px;
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .mission-clock {
    width: min(100%, 282px);
    margin-bottom: 13px;
    padding: 11px 13px;
  }

  .mission-clock time {
    font-size: 1.65rem;
  }

  .mission-clock strong {
    font-size: 1rem;
  }

  .intel-card {
    width: min(100%, 360px);
    min-height: 50px;
    margin-top: 10px;
    padding: 13px 14px;
  }

  .intel-card__readout {
    min-height: 0;
  }

  .intel-card:hover .intel-card__readout,
  .intel-card:focus .intel-card__readout {
    min-height: 44px;
  }

  .spec-sheet div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 9px 0;
  }

  .cta-bank {
    grid-template-columns: 1fr;
  }

  .rocket {
    left: 72%;
    bottom: 14%;
    scale: 0.78;
  }

  .tower {
    left: 70%;
    scale: 0.78;
  }

  .service-arm,
  .fuel-line {
    left: 58%;
  }

  .hangar {
    left: 4%;
    width: 44%;
    height: 17%;
  }

  .platform {
    left: 52%;
    width: 34%;
  }

  .advance {
    position: fixed;
    height: 48px;
    bottom: env(safe-area-inset-bottom, 16px);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100vw - 48px);
    max-width: 400px;
    z-index: 9999;
  }
}
