/* ==========================================================================
   Vencore Space Group - wireframe stylesheet
   Dark, full-bleed, restrained. Black / Vencore blue / silver.
   ========================================================================== */

:root {
  --bg: #05070a;
  --bg-2: #0b0f15;
  --panel: #0e1219;
  --ink: #f3f5f8;
  --silver: #c2c8d1;
  --muted: #8a93a0;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.07);
  --blue: #1f6fe5;
  --blue-2: #3d8cff;
  --blue-deep: #0b3f96;
  /* DIN-style family across the board (SpaceX uses D-DIN); Montserrat only for the wordmark */
  --font-head: "Barlow", "D-DIN", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Barlow", "D-DIN", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Montserrat", system-ui, sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 90px; }
/* Home: panels snap like tesla.com, proximity so the user is never trapped */
html:has(body.home) { scroll-snap-type: y proximity; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; }

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

/* Type ------------------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin: 0 0 16px;
}
/* spacex.com headline: DIN, medium weight, tight tracking, big */
.h-display {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  font-size: clamp(40px, 6vw, 88px);
  margin: 0 0 22px;
}
.h-section {
  font-family: var(--font-head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.08;
  font-size: clamp(28px, 3.4vw, 48px);
  margin: 0 0 18px;
}
.h-card {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  margin: 0 0 10px;
}
.rule { width: 64px; height: 2px; background: var(--blue); margin: 0 0 24px; }
.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--silver);
  max-width: 560px;
  margin: 0 0 34px;
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 200px;
  padding: 17px 36px;
  border: 2px solid #fff;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--blue { border-color: var(--blue); background: var(--blue); }
.btn--blue:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.link {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}
.link:hover { color: var(--ink); border-color: var(--ink); }

/* Header ---------------------------------------------------------------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
/* Blur lives on a pseudo-element: backdrop-filter on .hdr itself would make it the
   containing block for the fixed-position mobile nav. */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0; transition: opacity 0.35s;
}
.hdr.is-solid {
  background: rgba(5, 7, 10, 0.8);
  padding: 14px var(--gutter);
  border-color: var(--line-soft);
}
.hdr.is-solid::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 60; }
.brand .mark { width: 44px; height: 44px; }
.brand .word {
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: 0.32em;
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
}
.brand .sub {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--blue-2);
  margin-top: 6px;
}
.nav { display: flex; gap: clamp(18px, 3vw, 44px); }
.nav a {
  position: relative;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--ink); transition: right 0.3s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.burger {
  display: none; position: relative; z-index: 60;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s, top 0.3s, opacity 0.3s;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.nav.open ~ .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.open ~ .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Full-bleed panels (home) ---------------------------------------------- */
.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) clamp(56px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
  scroll-snap-align: start;
}
.panel__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.panel__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.05) 35%, rgba(5, 7, 10, 0.7) 100%);
}
.panel__body { max-width: 760px; width: 100%; }
.panel--center { align-items: center; }

/* Hero art: moon + lunar horizon (SVG placeholders for final photography) */
.hero .moon {
  position: absolute;
  right: -8vw; top: 6vh;
  width: min(64vw, 780px);
  filter: drop-shadow(0 0 90px rgba(130, 160, 210, 0.14));
}
.hero .horizon {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 40vh;
}
/* spacex.com bouncing chevron, bottom centre */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 28px; height: 28px; color: var(--silver);
  animation: cue 2s ease-in-out infinite;
}
.scroll-cue svg { width: 100%; height: 100%; }
@keyframes cue { 0%, 100% { transform: translate(-50%, 0); opacity: 0.9; } 50% { transform: translate(-50%, 10px); opacity: 0.4; } }

/* Hero stats row: telemetry-style counters (data-count animates up) */
.stats {
  display: flex; flex-wrap: wrap; gap: 22px clamp(28px, 4vw, 72px);
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.stat b small { font-size: 0.5em; color: var(--silver); margin-left: 4px; letter-spacing: 0.06em; }
.stat > span {
  display: block; margin-top: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}

/* Tesla-style section dots (home only) */
.dots {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: grid; gap: 16px;
}
.dots a {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55); background: transparent;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.dots a:hover { border-color: #fff; }
.dots a.on { background: #fff; border-color: #fff; transform: scale(1.15); }

/* Art variants */
.art-orbits, .art-net, .art-lines, .art-limb { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Focus strip under the focus panel headline */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 40px;
  max-width: 1100px;
}
.strip div {
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  display: flex; align-items: center; gap: 10px;
}
.strip i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); flex: none; }

/* Inner pages ----------------------------------------------------------- */
.page-hero {
  padding: calc(120px + 8vh) var(--gutter) 72px;
  border-bottom: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.page-hero .h-display { max-width: 14ch; }
.section { padding: clamp(72px, 9vw, 130px) var(--gutter); border-bottom: 1px solid var(--line-soft); }
.section--tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.wrap { max-width: var(--max); margin: 0 auto; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > .sticky { position: sticky; top: 110px; }
.prose { color: var(--silver); max-width: 62ch; font-size: 17px; }
.prose strong { color: var(--ink); font-weight: 500; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.card {
  background: var(--bg);
  padding: 38px 30px;
  min-height: 220px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.3s;
}
.card:hover { background: var(--bg-2); }
.card .icon { width: 30px; height: 30px; color: var(--blue-2); }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .idx { font-family: var(--font-head); font-size: 10px; letter-spacing: 0.3em; color: var(--muted); }

.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.timeline .year { font-family: var(--font-head); font-size: 40px; font-weight: 500; letter-spacing: 0.04em; line-height: 1; margin-bottom: 14px; }
.timeline .year small { display: block; font-size: 10px; letter-spacing: 0.3em; color: var(--blue-2); margin-top: 10px; font-weight: 600; }
.timeline p { color: var(--muted); font-size: 15px; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.principles div { background: var(--bg); padding: 44px 28px; text-align: center; }
.principles .h-card { font-size: 15px; letter-spacing: 0.3em; margin: 0 0 8px; }
.principles p { color: var(--muted); font-size: 13.5px; margin: 0; }

.quote {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  max-width: 28ch;
  margin: 0;
}
.quote::before { content: ""; display: block; width: 64px; height: 2px; background: var(--blue); margin-bottom: 28px; }

.person { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; }
.person .portrait {
  aspect-ratio: 4/5; border: 1px solid var(--line); background: var(--bg-2);
  display: grid; place-items: center; color: var(--muted); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; text-align: center; padding: 10px;
}
.person .name { font-family: var(--font-head); font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase; }
.person .role { color: var(--blue-2); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; margin: 6px 0 14px; }

.posts { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.post {
  background: var(--bg);
  display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 34px 30px;
  transition: background 0.3s;
}
.post:hover { background: var(--bg-2); }
.post .meta { font-family: var(--font-head); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); line-height: 1.9; }
.post .meta b { display: block; color: var(--blue-2); font-weight: 600; }
.post h3 { font-size: 20px; letter-spacing: 0.02em; text-transform: none; font-weight: 500; margin: 0 0 8px; }
.post p { color: var(--muted); font-size: 15px; margin: 0; max-width: 64ch; }
.post .arrow { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--silver); transition: border-color 0.3s, color 0.3s; }
.post:hover .arrow { border-color: var(--ink); color: var(--ink); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.contact-list span { font-family: var(--font-head); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-list a:hover { color: var(--blue-2); }

.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-head); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 16px; padding: 10px 0; outline: none; border-radius: 0;
  transition: border-color 0.3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-2); }
.form .note { color: var(--muted); font-size: 12.5px; }

.cta-band { text-align: center; }
.cta-band .h-section { max-width: 22ch; margin-left: auto; margin-right: auto; }

/* Footer ---------------------------------------------------------------- */
.ftr {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between;
  padding: 40px var(--gutter);
  font-family: var(--font-head);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  background: var(--bg);
}
.ftr__nav { display: flex; flex-wrap: wrap; gap: 28px; }
.ftr a:hover { color: var(--ink); }

/* Reveal ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split > .sticky { position: static; }
  .post { grid-template-columns: 1fr; gap: 14px; }
  .post .arrow { display: none; }
  .person { grid-template-columns: 120px 1fr; }
}
@media (max-width: 768px) {
  .nav {
    position: fixed; inset: 0; z-index: 55;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px;
    padding: 0 var(--gutter);
    background: rgba(5, 7, 10, 0.96);
    backdrop-filter: blur(16px);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.4s;
  }
  .nav.open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav a { font-size: 22px; letter-spacing: 0.18em; }
  .burger { display: block; }
  .hero .moon { right: -30vw; top: 9vh; width: 120vw; opacity: 0.85; }
  .panel { padding-bottom: 72px; }
  .scroll-cue, .dots { display: none; }
  .stats { gap: 18px 28px; margin-top: 36px; }
  .stat b { font-size: 26px; }
  .form .row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .brand .word { font-size: 13px; }
}

/* Photography / video backgrounds (NASA) --------------------------------- */
.panel__img, .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-video { filter: brightness(0.92) contrast(1.04); background: #05070a url("/img/hero-poster.jpg") center / cover no-repeat; }
.panel--photo .panel__art::after {
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.08) 40%, rgba(5, 7, 10, 0.9) 100%);
}
.panel--photo .panel__art::before {
  /* left-side scrim keeps the headline legible on bright frames */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0) 60%);
}
.page-hero { isolation: isolate; }
.page-hero__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.6;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.35) 55%, var(--bg) 100%);
}

/* Content components (final copy) ---------------------------------------- */
.cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
}
.cols > div { background: rgba(5, 7, 10, 0.72); padding: 26px 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cols h3 { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin: 0 0 10px; color: #fff; }
.cols h3 span { color: var(--blue-2); margin-right: 10px; }
.cols p { color: var(--silver); font-size: 14.5px; line-height: 1.55; margin: 0; }

.strip .num { color: var(--muted); margin-right: 10px; letter-spacing: 0.1em; }
.strip .hot { color: #fff; background: rgba(31, 111, 229, 0.2); box-shadow: inset 0 -2px 0 var(--blue-2); }
.strip .hot i { background: #fff; }
.strip .hot .num { color: var(--blue-2); }

.tagline { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin: 0; }
.tagline b { color: var(--silver); font-weight: 600; }

.q { font-family: var(--font-head); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; color: #fff; max-width: 34ch; margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { border: 1px solid var(--line); padding: 9px 14px; font-family: var(--font-head); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); }

.card--hot { box-shadow: inset 3px 0 0 var(--blue-2); background: rgba(31, 111, 229, 0.08); }
.card--hot .idx { color: var(--blue-2); }
.card ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; line-height: 1.75; }
.card ul li::before { content: "\2022  "; color: var(--blue-2); }

.band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center;
  font-family: var(--font-head); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver);
}
.band .lbl { color: var(--blue-2); font-weight: 600; margin-right: 8px; }

.feature {
  border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); background: rgba(11, 15, 21, 0.6);
  display: grid; gap: 14px; max-width: 900px;
}
.feature .kicker { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue-2); }
.feature h3 { font-family: var(--font-head); font-weight: 500; font-size: clamp(24px, 3vw, 40px); line-height: 1.1; letter-spacing: 0.01em; text-transform: none; margin: 0; }
.feature p { color: var(--silver); margin: 0; max-width: 60ch; font-size: 17px; }

@media (max-width: 820px) {
  .cols > div { padding: 20px 18px; }
  .panel__body .cols { max-height: 52vh; overflow: auto; }
}
.portrait-box {
  margin-top: 28px; max-width: 260px; aspect-ratio: 4 / 5; border: 1px solid var(--line); background: var(--bg-2);
  display: grid; place-items: center; color: var(--muted); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
}

/* Drill-downs: every container is a link ------------------------------ */
a.card, a.cols-item, .strip a, a.tag { cursor: pointer; }
a.card { position: relative; }
a.card::after, a.cols-item::after {
  content: "\2192"; position: absolute; right: 22px; bottom: 18px;
  font-family: var(--font-head); font-size: 16px; color: var(--muted);
  opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s, color 0.3s;
}
a.card:hover::after, a.cols-item:hover::after { opacity: 1; transform: none; color: #fff; }
a.card:hover .h-card, a.cols-item:hover h3 { color: var(--blue-2); }
.cols > a { position: relative; display: block; color: inherit; }
.cols > a:hover { background: rgba(11, 15, 21, 0.9); }
.strip a { color: var(--silver); transition: background 0.3s, color 0.3s; }
.strip a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.strip a.hot:hover { background: rgba(31, 111, 229, 0.32); }
.tags a { border: 1px solid var(--line); padding: 9px 14px; font-family: var(--font-head); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); transition: border-color 0.3s, color 0.3s; }
.tags a:hover { border-color: #fff; color: #fff; }
.timeline > a { color: inherit; display: block; }
.timeline > a:hover .year { color: var(--blue-2); }
a.feature { display: grid; color: inherit; transition: border-color 0.3s; }
a.feature:hover { border-color: rgba(255, 255, 255, 0.5); }
.crumb { color: var(--muted); }
.crumb:hover { color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); padding: 10px 16px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  transition: border-color 0.3s, background 0.3s;
}
.chip span { color: var(--blue-2); font-size: 10px; letter-spacing: 0.2em; }
a.chip:hover { border-color: var(--blue-2); background: rgba(31, 111, 229, 0.12); }
.chips--muted .chip { color: var(--silver); font-weight: 500; }

.questions { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.questions li { counter-increment: q; background: var(--bg); padding: 26px 28px 26px 72px; position: relative; font-size: 17px; color: var(--silver); }
.questions li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 28px; top: 28px; font-family: var(--font-head); font-size: 11px; letter-spacing: 0.3em; color: var(--blue-2); }

.layer-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.layer-nav a { padding: 30px var(--gutter); display: grid; gap: 6px; border-right: 1px solid var(--line-soft); transition: background 0.3s; }
.layer-nav a:last-child { border-right: 0; }
.layer-nav a:hover { background: var(--bg-2); }
.layer-nav a:nth-child(2) { text-align: center; }
.layer-nav a.right { text-align: right; }
.layer-nav span { font-family: var(--font-head); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.layer-nav b { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 820px) {
  .layer-nav { grid-template-columns: 1fr; }
  .layer-nav a { border-right: 0; border-bottom: 1px solid var(--line-soft); text-align: left !important; }
}

/* Hero with Earthset footage: copy top-left so Earth (lower-left) stays clear; stats bottom-right */
.hero { align-items: flex-start; }
.hero .panel__body { padding-top: 4vh; }
.hero .stats {
  position: absolute; right: var(--gutter); bottom: 84px; z-index: 1;
  margin: 0; padding: 0; border: 0; flex-wrap: nowrap; text-align: right;
  gap: clamp(20px, 3vw, 56px);
}
.hero .hero-video { filter: brightness(0.88) contrast(1.03); }
.hero .panel__art::after {
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.6) 0%, rgba(5, 7, 10, 0.15) 45%, rgba(5, 7, 10, 0.75) 100%);
}
@media (max-width: 820px) {
  .hero { align-items: flex-end; }
  .hero .panel__body { padding-top: 0; }
  .hero .stats { position: static; text-align: left; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
}
/* Keep Earth (lower-left of the Earthset frame) in view when the video is cover-cropped on portrait screens */
.hero .hero-video { object-position: 38% 55%; }
