:root {
  --bg: #050505;
  --ink: #f4f1ea;
  --ink-soft: rgba(244, 241, 234, 0.78);
  --dim: rgba(244, 241, 234, 0.55);
  --line: rgba(244, 241, 234, 0.12);
  --accent: #f4f1ea;
  --radius: 2px;
  --font: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.28em;
}
.brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav a { color: var(--dim); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid rgba(244, 241, 234, 0.35);
  padding: 8px 14px;
  color: var(--ink) !important;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--bg) !important;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}
.btn-ghost {
  border-color: rgba(244, 241, 234, 0.45);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.35) 45%, rgba(5,5,5,0.45) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5,5,5,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 28px 8vh;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 11vw, 120px);
  letter-spacing: 0.22em;
  margin: 0;
  line-height: 1;
}
.hero-tagline {
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.42em;
  margin: 18px 0 20px;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.55;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--dim));
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* —— Statement —— */
.statement {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
  align-items: center;
  padding: 16vh 8vw;
  max-width: 1400px;
  margin: 0 auto;
}
.statement h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.statement .lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}
.statement-media img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 2/3;
  object-fit: cover;
}
.statement-media figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

/* —— Field —— */
.field {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.field-bg {
  position: absolute;
  inset: 0;
}
.field-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.field-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.25) 100%);
}
.field-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw 12vh;
  max-width: 900px;
}
.field-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.14em;
  line-height: 0.95;
  margin: 12px 0 20px;
}
.field-desc {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 36px;
}
.field-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 48px;
  margin-bottom: 40px;
}
.stat-val {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 6px;
}

/* —— Science —— */
.science {
  padding: 16vh 8vw;
  max-width: 1200px;
  margin: 0 auto;
}
.science-header {
  margin-bottom: 64px;
  max-width: 640px;
}
.science-header h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 12px 0 0;
}
.science-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.sci-card {
  background: var(--bg);
  padding: 36px 32px;
}
.sci-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.sci-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.science-note {
  margin-top: 48px;
  font-size: 14px;
  color: var(--dim);
  max-width: 640px;
  line-height: 1.55;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

/* —— Worlds / Scale —— */
.worlds {
  padding: 14vh 5vw 10vh;
}
.worlds-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.worlds-header h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 48px);
  margin: 12px 0 16px;
}
.worlds-intro {
  font-size: 14px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* Scale stage — true relative diameters */
.scale-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  padding: 40px 0 60px;
  min-height: 52vh;
}
.planet {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.planet-sphere {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(244,241,234,0.08),
    0 20px 60px rgba(0,0,0,0.5);
  background: #000;
}
.planet-sphere video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Earth reference diameter = 100% of its slot */
.planet.earth .planet-sphere {
  width: min(280px, 28vw);
  height: min(280px, 28vw);
}
/* Mars ≈ 0.53 × Earth */
.planet.mars .planet-sphere {
  width: min(148px, 14.8vw);
  height: min(148px, 14.8vw);
}
/* Moon ≈ 0.27 × Earth */
.planet.moon .planet-sphere {
  width: min(76px, 7.6vw);
  height: min(76px, 7.6vw);
}
.planet-meta {
  margin-top: 20px;
}
.planet-meta h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.planet-meta p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.45;
  margin: 0;
}

.worlds-visual {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-top: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.worlds-visual figure {
  margin: 0;
  overflow: hidden;
  background: #000;
}
.worlds-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
  transition: transform 0.6s ease;
}
.worlds-visual figure:hover img {
  transform: scale(1.03);
}
.worlds-visual figcaption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.worlds-visual figure {
  position: relative;
}

/* —— Pathway —— */
.pathway {
  padding: 14vh 8vw;
  text-align: center;
  border-top: 1px solid var(--line);
}
.path-list {
  list-style: none;
  margin: 40px 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  font-family: var(--display);
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.path-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--dim);
  position: relative;
}
.path-list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -6px;
  color: var(--line);
  font-size: 12px;
}
.path-list li.active {
  color: var(--ink);
}
.path-list span {
  font-size: 10px;
  opacity: 0.5;
  letter-spacing: 0.08em;
}
.path-note {
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* —— Closing —— */
.closing {
  padding: 18vh 8vw;
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(244,241,234,0.02));
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
}
.closing-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin: 36px 0 48px;
}
.closing-pair strong {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 8px;
}
.closing-pair span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}
.closing-pair .divider {
  width: 1px;
  height: 48px;
  background: var(--line);
}
.closing-line {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 40px;
  line-height: 1.7;
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* —— Footer —— */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a:hover { color: var(--ink); }

/* —— Field-test page helpers (shared) —— */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 20vh 28px 12vh;
}
.doc .seal {
  width: 140px;
  border-radius: 50%;
  margin-bottom: 32px;
}
.doc h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.14em;
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 8px;
}
.doc .lede {
  font-size: 19px;
  line-height: 1.5;
  margin: 24px 0;
  color: var(--ink-soft);
}
.doc p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.doc h2 {
  margin: 40px 0 12px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
}
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 12px;
}
.areas span {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.note {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.sign {
  margin-top: 48px;
  letter-spacing: 0.18em;
  font-size: 13px;
}
.doc-end {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 28px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .nav { display: none; }
  .statement {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 12vh 6vw;
  }
  .science-grid {
    grid-template-columns: 1fr;
  }
  .worlds-visual {
    grid-template-columns: 1fr;
  }
  .scale-stage {
    flex-direction: column;
    align-items: center;
    gap: 48px;
    min-height: auto;
  }
  .planet.earth .planet-sphere,
  .planet.mars .planet-sphere,
  .planet.moon .planet-sphere {
    width: min(220px, 55vw);
    height: min(220px, 55vw);
  }
  /* Keep relative scale even on mobile */
  .planet.mars .planet-sphere {
    width: min(116px, 29vw);
    height: min(116px, 29vw);
  }
  .planet.moon .planet-sphere {
    width: min(60px, 15vw);
    height: min(60px, 15vw);
  }
  .closing-pair {
    flex-direction: column;
    gap: 28px;
  }
  .closing-pair .divider {
    width: 40px;
    height: 1px;
  }
  .areas {
    grid-template-columns: 1fr;
  }
  .path-list li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-header { padding: 16px 20px; }
  .field-content { padding: 0 6vw 10vh; }
  .hero-content { padding-bottom: 12vh; }
  .field-stats { gap: 28px; }
}

/* —— Ultra-premium refinements —— */
.brand img {
  box-shadow: 0 0 0 1px rgba(244,241,234,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.brand:hover img {
  transform: scale(1.06);
  box-shadow: 0 0 12px rgba(244,241,234,0.25);
}
.hero-title {
  text-shadow: 0 0 40px rgba(244,241,234,0.08);
}
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::after {
  transform: translateX(100%);
}
.doc .seal {
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(244,241,234,0.1);
  transition: transform 0.5s ease;
}
.doc .seal:hover {
  transform: scale(1.03);
}
.statement-media img {
  border-radius: 50%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
/* Smooth entrance for key elements */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  animation: fadeUp 0.9s ease both;
}
.hero-content .eyebrow { animation-delay: 0.1s; }
.hero-content .hero-title { animation-delay: 0.2s; }
.hero-content .hero-tagline { animation-delay: 0.35s; }
.hero-content .hero-sub { animation-delay: 0.45s; }
.hero-content .hero-actions { animation-delay: 0.55s; }
