/* ============================================================
   SPACE STORY — an unofficial SpaceX tribute
   Aesthetic: deep-space monochrome, cold blue accent, filmic grain
   ============================================================ */

:root {
  --bg: #05060a;
  --bg-2: #0a0c12;
  --ink: #f2f3f5;
  --muted: #9aa0ab;
  --faint: rgba(255, 255, 255, 0.08);
  --accent: #8ab4ff;
  --accent-dim: rgba(138, 180, 255, 0.16);
  --font-display: "Space Grotesk", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 108px;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="zh"] body { letter-spacing: 0.01em; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* ---------- fixed layers ---------- */

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

.grain {
  position: fixed;
  inset: -100px;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 1; }

/* ---------- preloader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  letter-spacing: 0.42em;
  font-size: 12px;
  color: var(--muted);
}

.loader__mark {
  font-size: 18px;
  color: var(--ink);
  animation: loaderSpin 2.4s var(--ease-out) infinite;
}

@keyframes loaderSpin {
  0% { transform: rotate(0deg); }
  50%, 100% { transform: rotate(180deg); }
}

.loader__count {
  position: absolute;
  right: 5vw;
  bottom: 4vh;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(64px, 12vw, 160px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
}

.loader__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--faint);
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ink);
}

/* ---------- custom cursor ---------- */

.cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 90; pointer-events: none; }

  .cursor__dot {
    position: absolute;
    width: 6px; height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--ink);
  }

  .cursor__ring {
    position: absolute;
    width: 36px; height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
  }

  .cursor.is-hover .cursor__ring {
    transform: scale(1.8);
    border-color: rgba(255, 255, 255, 0.7);
  }

  .cursor.is-label .cursor__ring {
    transform: scale(2.6);
    background: var(--ink);
    border-color: var(--ink);
  }

  .cursor__label {
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #05060a;
    opacity: 0;
    transition: opacity 0.25s;
  }

  .cursor.is-label .cursor__label { opacity: 1; }

  body.has-cursor, body.has-cursor a, body.has-cursor button,
  body.has-cursor .craft { cursor: none; }
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: transform 0.6s var(--ease-out), background 0.4s, height 0.5s var(--ease-out);
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.65), transparent);
}

.nav.is-hidden { transform: translateY(-100%); }

.nav.is-solid {
  height: 80px;
  background: rgba(5, 6, 10, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--faint);
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.34em;
  font-size: 13px;
}

.nav__logo-x { color: var(--accent); font-size: 15px; }

.nav__links {
  display: flex;
  gap: clamp(20px, 3.4vw, 52px);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  transition: color 0.3s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__right { display: flex; align-items: center; gap: 22px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  border: 1px solid var(--faint);
  border-radius: 999px;
  transition: border-color 0.3s, background 0.3s;
}

.lang-toggle:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }

.lang-toggle__opt { color: var(--muted); transition: color 0.3s; }
.lang-toggle__opt.is-active { color: var(--ink); }
.lang-toggle__sep { color: rgba(255, 255, 255, 0.2); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 40px; height: 40px;
  align-items: center;
}

.burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}

.burger.is-open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- mobile menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(5, 6, 10, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out), visibility 0s 0.5s;
}

.menu.is-open { visibility: visible; opacity: 1; transition: opacity 0.5s var(--ease-out); }

.menu__inner {
  padding: 0 8vw;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.menu__link {
  font-family: var(--font-display);
  font-size: clamp(38px, 10vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 8px 0;
  color: var(--ink);
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.menu.is-open .menu__link { opacity: 1; transform: translateY(0); }
.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.08s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.16s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.24s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.32s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 0.4s; }

.menu__link--accent { color: var(--accent); }

.menu__foot {
  margin-top: 7vh;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.6s 0.45s;
}

.menu.is-open .menu__foot { opacity: 1; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease;
  will-change: transform;
}

.hero__media img.is-loaded { opacity: 1; }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 6, 10, 0.94) 0%, rgba(5, 6, 10, 0.25) 42%, rgba(5, 6, 10, 0.35) 100%),
    radial-gradient(120% 80% at 50% 100%, transparent 40%, rgba(5, 6, 10, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 5vw 16vh;
}

.hero__overline {
  font-family: var(--font-display);
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.42em;
  color: var(--accent);
  margin-bottom: 2.6vh;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 11.5vw, 168px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-left: -0.04em;
}

html[lang="zh"] .hero__title { letter-spacing: 0.04em; line-height: 1.12; }

.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero__title .c { display: inline-block; will-change: transform; }

.hero__sub {
  max-width: 560px;
  margin-top: 3.4vh;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.75;
}

.hero__footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 5vw 4.5vh;
}

.hero__scrollcue {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted);
}

.hero__scrollcue i {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  position: relative;
  overflow: hidden;
}

.hero__scrollcue i::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--bg);
  animation: cueDrop 2.2s var(--ease-out) infinite;
}

@keyframes cueDrop {
  0% { top: -100%; }
  60%, 100% { top: 110%; }
}

.hero__coord {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.32);
}

/* shared line reveal */
.reveal-line { opacity: 0; transform: translateY(26px); }
.no-anim .reveal-line, .no-anim .hero__media img { opacity: 1; transform: none; }

/* ---------- section index labels ---------- */

.manifesto__index, .timeline__index, .stats__index, .fleet__index, .mars__index {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 5vh;
}

/* ---------- manifesto ---------- */

.manifesto {
  position: relative;
  padding: 22vh 8vw 18vh;
  max-width: 1300px;
}

.manifesto__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 58px);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

html[lang="zh"] .manifesto__text { line-height: 1.5; letter-spacing: 0.03em; }

.manifesto__text .w { display: inline-block; opacity: 0.13; }
.no-anim .manifesto__text .w { opacity: 1; }

.manifesto__after {
  margin-top: 6vh;
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--muted);
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.015);
}

.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 18px);
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.34);
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- timeline ---------- */

.timeline { position: relative; }

.timeline__pin {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2vh) 0 4vh;
}

.timeline__head {
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6vw;
  margin-bottom: 5vh;
}

.timeline__head .timeline__index { margin-bottom: 0; }

.timeline__progress {
  flex: 1;
  max-width: 420px;
  height: 1px;
  background: var(--faint);
}

.timeline__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}

.timeline__track {
  display: flex;
  gap: clamp(28px, 4vw, 72px);
  padding: 0 5vw;
  width: max-content;
  will-change: transform;
}

.tl-card {
  position: relative;
  width: clamp(300px, 34vw, 460px);
  flex-shrink: 0;
  padding-top: 70px;
}

.tl-card__year {
  position: absolute;
  top: -6px;
  left: -8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.5s, color 0.5s;
}

.tl-card:hover .tl-card__year {
  -webkit-text-stroke-color: var(--accent);
}

.tl-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
}

.tl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.04);
  transform: scale(1.06);
  transition: transform 0.9s var(--ease-out), filter 0.6s;
}

.tl-card:hover .tl-card__media img {
  transform: scale(1.0);
  filter: grayscale(0) contrast(1.04);
}

.tl-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.01em;
  margin: 22px 0 10px;
}

.tl-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.tl-card--future .tl-card__year { -webkit-text-stroke-color: rgba(225, 96, 76, 0.55); }
.tl-card--future h3 { color: #e1604c; }

/* ---------- stats ---------- */

.stats {
  padding: 20vh 8vw;
  border-top: 1px solid var(--faint);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6vw 4vw;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__num i { font-style: normal; }

.stat__cap {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[lang="zh"] .stat__cap { letter-spacing: 0.2em; }

/* ---------- fleet ---------- */

.fleet {
  padding: 16vh 5vw 14vh;
  border-top: 1px solid var(--faint);
}

.fleet__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 80px);
  letter-spacing: -0.025em;
  margin-bottom: 9vh;
  max-width: 14em;
}

.fleet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 44px);
}

.craft {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--faint);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.5s;
  outline: none;
}

.craft:hover, .craft:focus-visible { border-color: rgba(138, 180, 255, 0.4); }

.craft__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.craft__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25);
  transform: scale(1.04);
  transition: transform 1s var(--ease-out), filter 0.6s;
}

.craft:hover .craft__media img, .craft:focus-visible .craft__media img {
  transform: scale(1.1);
  filter: grayscale(0);
}

.craft__body {
  padding: clamp(20px, 2.4vw, 34px);
  position: relative;
}

.craft__body::before {
  content: "";
  position: absolute;
  top: 0; left: clamp(20px, 2.4vw, 34px); right: clamp(20px, 2.4vw, 34px);
  height: 1px;
  background: var(--faint);
}

.craft__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.04em;
}

.craft__body > p {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 6px 0 18px;
}

.craft__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.craft__chips li {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--faint);
  border-radius: 999px;
  padding: 6px 13px;
  white-space: nowrap;
}

/* ---------- launch cta ---------- */

.launchcta {
  border-top: 1px solid var(--faint);
  position: relative;
}

.launchcta__inner {
  position: relative;
  display: block;
  padding: 16vh 8vw;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(70% 90% at 50% 120%, rgba(138, 180, 255, 0.07), transparent 70%);
  transition: background 0.6s;
}

.launchcta__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 4.5vh;
}

.launchcta__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.launchcta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 7.5vw, 104px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--ink);
  transition: letter-spacing 0.7s var(--ease-out);
}

html[lang="zh"] .launchcta__title { letter-spacing: 0.04em; }

.launchcta__inner:hover .launchcta__title { letter-spacing: 0.005em; }
html[lang="zh"] .launchcta__inner:hover .launchcta__title { letter-spacing: 0.08em; }

.launchcta__sub {
  max-width: 580px;
  margin: 3.5vh auto 0;
  color: var(--muted);
  font-size: clamp(13.5px, 1.3vw, 16px);
  line-height: 1.8;
}

.launchcta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6vh;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 17px 34px;
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}

.launchcta__btn i {
  font-style: normal;
  transition: transform 0.4s var(--ease-out);
}

.launchcta__inner:hover .launchcta__btn {
  background: var(--ink);
  border-color: var(--ink);
  color: #05060a;
}

.launchcta__inner:hover .launchcta__btn i { transform: translateX(6px); }

.launchcta__ring {
  position: absolute;
  left: 50%;
  bottom: -42vw;
  width: 84vw;
  height: 84vw;
  transform: translateX(-50%);
  border: 1px solid rgba(138, 180, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 1.2s var(--ease-out);
}

.launchcta__ring--2 {
  width: 60vw;
  height: 60vw;
  bottom: -30vw;
  border-color: rgba(138, 180, 255, 0.16);
}

.launchcta__inner:hover .launchcta__ring { transform: translateX(-50%) scale(1.06); }
.launchcta__inner:hover .launchcta__ring--2 { transform: translateX(-50%) scale(1.1); }

/* ---------- mars ---------- */

.mars {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mars__media { position: absolute; inset: 0; }

.mars__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.mars__tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 6, 10, 0.92), rgba(20, 8, 8, 0.45) 50%, rgba(5, 6, 10, 0.96)),
    radial-gradient(90% 70% at 70% 40%, rgba(225, 96, 76, 0.18), transparent 70%);
}

.mars__content {
  position: relative;
  z-index: 2;
  padding: 22vh 8vw;
  max-width: 1200px;
}

.mars__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.8vw, 50px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

html[lang="zh"] .mars__quote { line-height: 1.55; letter-spacing: 0.03em; }

.mars__quote .w { display: inline-block; opacity: 0.13; }
.no-anim .mars__quote .w { opacity: 1; }

.mars__cite {
  margin-top: 4vh;
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.mars__next {
  margin-top: 10vh;
  color: #e8967f;
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.06em;
}

/* ---------- footer ---------- */

.footer {
  position: relative;
  border-top: 1px solid var(--faint);
  padding: 12vh 5vw 5vh;
  overflow: hidden;
}

.footer__big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 16vw, 280px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  transition: -webkit-text-stroke-color 0.8s, color 1.2s;
  user-select: none;
}

.footer__big:hover { color: rgba(255, 255, 255, 0.06); -webkit-text-stroke-color: rgba(138, 180, 255, 0.5); }

.footer__meta {
  margin-top: 9vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 4vw;
  color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- craft detail overlay ---------- */

.veil {
  position: fixed;
  inset: 0;
  z-index: 85;
  visibility: hidden;
  pointer-events: none;
}

.veil.is-open { visibility: visible; pointer-events: auto; }

.veil__bg {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 7, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
}

.veil__panel {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(1060px, 92vw);
  height: min(640px, 86svh);
  background: #0a0c12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  transform: translateY(60px);
  opacity: 0;
}

.veil__media { overflow: hidden; }

.veil__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.veil__info {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.veil__kicker {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-bottom: 14px;
}

.veil__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.veil__desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.veil__specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 26px;
  font-size: 13px;
}

.veil__specs dt {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.veil__specs dd { color: var(--ink); }

.veil__launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(138, 180, 255, 0.45);
  border-radius: 999px;
  padding: 13px 26px;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.veil__launch i { font-style: normal; transition: transform 0.35s var(--ease-out); }

.veil__launch:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #05060a;
}

.veil__launch:hover i { transform: translateX(5px); }

.veil__launch[hidden] { display: none; }

.veil__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 6, 10, 0.5);
  transition: background 0.3s, transform 0.4s var(--ease-out);
}

.veil__close:hover { background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); }

.veil__close span {
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 1.5px;
  background: var(--ink);
}

.veil__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.veil__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

body.is-locked { overflow: hidden; }

/* ---------- responsive ---------- */

@media (max-width: 1023px) {
  .fleet__grid { grid-template-columns: 1fr; }
  .veil__panel { grid-template-columns: 1fr; grid-template-rows: 40% 1fr; height: min(720px, 88svh); }
}

@media (max-width: 899px) {
  :root { --nav-h: 92px; }
  .nav__links { display: none; }
  .burger { display: flex; }
  .nav.is-solid { height: 72px; }

  /* timeline becomes a vertical story on small screens */
  .timeline__pin { min-height: 0; padding: 14vh 0 6vh; }
  .timeline__head { margin-bottom: 8vh; }
  .timeline__progress { display: none; }

  .timeline__track {
    flex-direction: column;
    width: auto;
    gap: 11vh;
    padding: 0 7vw;
  }

  .tl-card { width: 100%; max-width: 560px; }
  .tl-card__year { font-size: clamp(64px, 19vw, 96px); }

  .stats__grid { grid-template-columns: 1fr 1fr; }

  .hero__content { padding-bottom: 18vh; }
  .hero__coord { display: none; }
}

@media (max-width: 540px) {
  .nav { padding: 0 6vw; }
  .nav__logo-text { letter-spacing: 0.22em; }
  .stats__grid { gap: 7vh 6vw; }
  .veil__panel { width: 94vw; }
  .veil__info { justify-content: flex-start; }
}

/* ---------- reduced motion ---------- */

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