/* ── Tokens ─────────────────────────────────────────── */
:root {
  --void: #04050d;          /* deep space */
  --starlight: #eceaf8;     /* main text */
  --dust: #8e92b4;          /* secondary text */
  --nebula: #a993ff;        /* accent: links, organisations */
  --ring: #ffcf99;          /* warm highlight, used sparingly */
  --hair: rgba(236, 234, 248, 0.12);
  --glass: rgba(18, 20, 44, 0.42);

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--void); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--starlight);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(169, 147, 255, 0.35); color: #fff; }

a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--nebula); outline-offset: 3px; border-radius: 4px; }
code { font-family: inherit; font-weight: 600; color: var(--starlight); background: rgba(169, 147, 255, 0.14); padding: 0.1em 0.4em; border-radius: 5px; }
.muted { color: var(--dust); }

/* ── Space canvas ───────────────────────────────────── */
#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}
/* Fallback when WebGL is unavailable: a static nebula and planet */
.no-webgl #scene { display: none; }
.no-webgl body {
  background:
    radial-gradient(circle at 72% 40%, #f0c7a0 0, #6a4ad0 9%, #1a1240 17%, transparent 18%),
    radial-gradient(900px 500px at 60% 45%, rgba(91, 50, 180, 0.35), transparent 70%),
    radial-gradient(700px 400px at 20% 80%, rgba(22, 96, 111, 0.3), transparent 70%),
    var(--void);
  background-attachment: fixed;
}

/* Page transition: fades to space when leaving, back in on arrival */
.page-fade {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--void);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.9s var(--ease) 0.1s;
}
.is-ready .page-fade { opacity: 0; }
.is-leaving .page-fade { opacity: 1; transition: opacity 0.4s var(--ease); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); }
main, .site-footer { position: relative; z-index: 1; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: calc(18px + env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right)) 18px max(var(--pad), env(safe-area-inset-left));
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(4, 5, 13, 0.55);
  border-bottom-color: var(--hair);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand-mark { display: block; width: 38px; height: 38px; overflow: visible; }

.brand-name { font-size: 1.45rem; font-weight: 660; letter-spacing: -0.04em; line-height: 1; font-variation-settings: "opsz" 48; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--dust); transition: color 0.2s; }
.nav a { position: relative; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--starlight); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--starlight);
  box-shadow: 0 0 10px 2px rgba(169, 147, 255, 0.9);
}

/* ── Title and intro (left column) ─────────────────── */
.hero-intro {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.35;
  color: var(--dust);
}
.page-title {
  margin: 0;
  line-height: 0.86;
  font-weight: 640;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.055em;
  margin-left: -0.04em;
}
.page-title .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.08em; padding-inline: 0.08em 0.3em; margin-inline: -0.08em -0.3em; }
/* the gradient only paints inside each word's box, so extend it below the line for g, y, p */
.page-title .line > span {
  display: inline-block;
  padding-bottom: 0.16em; margin-bottom: -0.16em;
  padding-inline: 0.08em 0.3em; margin-inline: -0.08em -0.3em; /* the tight tracking pushes the last letter past the box; give the fill room */
  background: linear-gradient(180deg, #ffffff 35%, #b9aef0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-intro { max-width: 44ch; }
.hero-intro { opacity: 0; transition: opacity 1.2s var(--ease) 0.6s; }
.is-ready .hero-intro { opacity: 1; }

/* Glass panels */
.glass {
  border-radius: 32px;
  background: var(--glass);
  border: 1px solid rgba(236, 234, 248, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 120px -40px rgba(80, 50, 200, 0.45);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

/* ── About ──────────────────────────────────────────── */
.about, .site-footer.wrap { max-width: none; }
.about { padding-top: clamp(72px, 10vh, 140px); padding-bottom: clamp(56px, 8vh, 110px); scroll-margin-top: 70px; }
.about-title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 0.95;
  font-weight: 620;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.045em;
}
.about-cols { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-text p { margin: 0 0 1em; color: var(--dust); max-width: 58ch; }
.about-text .about-lead { color: var(--starlight); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.35; letter-spacing: -0.015em; max-width: 34ch; }
.about-credits { margin: 0; }
.about-credits div { display: grid; grid-template-columns: 10rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hair); }
.about-credits div:last-child { border-bottom: 1px solid var(--hair); }
.about-credits dt { color: var(--dust); }
.about-credits dd { margin: 0; }
.about-credits a { text-underline-offset: 3px; text-decoration-color: rgba(236, 234, 248, 0.35); }
.about-credits a:hover { text-decoration-color: var(--nebula); }

.site-footer { padding-top: 24px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); color: var(--dust); font-size: 0.9rem; }

/* ── Satellites page ────────────────────────────────── */
.travel-stage { position: relative; height: 100vh; height: 100svh; min-height: 720px; }
.globe-box { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.globe-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.is-dragging-globe, .is-dragging-globe * { user-select: none !important; -webkit-user-select: none !important; cursor: grabbing !important; }
.globe-failed .globe-canvas { display: none; }
.globe-failed .globe-hint::after { content: " (The 3D globe needs WebGL, which isn't available in this browser.)"; }

.globe-tip {
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 30, 0.82);
  border: 1px solid rgba(236, 234, 248, 0.16);
  font-size: 0.9rem;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.globe-tools { position: absolute; left: max(var(--pad), env(safe-area-inset-left)); bottom: 36px; z-index: 3; display: flex; gap: 8px; }
.globe-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(236, 234, 248, 0.2);
  background: rgba(10, 10, 30, 0.5);
  color: var(--starlight);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.globe-btn:hover { background: rgba(236, 234, 248, 0.14); }
.globe-hint {
  position: absolute;
  left: 50%; bottom: 36px;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  max-width: min(34ch, 100% - 2 * clamp(19rem, 27vw, 27rem) - 4rem);
  text-align: center;
  color: var(--dust);
  font-size: 0.88rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--ease) 1.5s;
}
.globe-ready .globe-hint { opacity: 0.85; }
.sat-peek {
  position: absolute; left: 50%; top: 14px; z-index: 4; transform: translateX(-50%);
  max-width: calc(100% - 2 * var(--pad));
  height: 44px; padding: 0 18px; border-radius: 999px; border: 0;
  background: var(--starlight); color: var(--void); font: inherit; font-weight: 600; font-size: 0.95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(169, 147, 255, 0.8);
}
.sat-peek::after { content: " ↓"; }

/* Left column: title, intro, clock and legend */
.travel-head {
  position: absolute;
  left: var(--pad);
  top: clamp(6rem, 14vh, 9rem);
  z-index: 3;
  width: clamp(15.5rem, 24vw, 24rem);
  display: grid;
  gap: 18px;
  pointer-events: none;
}
.travel-head button, .travel-head a { pointer-events: auto; }
.travel-title { font-size: clamp(2.6rem, 4.6vw, 5.6rem); }
.travel-title .line > span { transition: none; transform: none; animation: title-rise 0.9s var(--ease) both; animation-delay: calc(0.1s + var(--d, 0s)); }
@keyframes title-rise { from { transform: translateY(105%); } to { transform: none; } }
.travel-head .page-intro { font-size: 1.1rem; margin: 0; }
.sat-panel {
  margin-top: 4px;
  padding: 16px 18px 14px;
  border-radius: 20px;
  background: rgba(10, 10, 30, 0.6);
  border: 1px solid rgba(236, 234, 248, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}
.sat-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; }
.sat-clock { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.sat-speeds { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(236, 234, 248, 0.06); }
.sat-speeds button { height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--dust); font: inherit; font-size: 0.82rem; cursor: pointer; }
.sat-speeds button[aria-pressed="true"] { background: var(--starlight); color: var(--void); }
.sat-status { margin: 10px 0 0; font-size: 0.88rem; color: var(--dust); line-height: 1.4; }
.sat-legend { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 0.82rem; color: var(--dust); }
.sat-legend li { display: flex; align-items: center; gap: 7px; }
.sat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); flex: none; }

/* Right column: info card, search and list */
.travel-panel {
  position: absolute;
  right: max(var(--pad), env(safe-area-inset-right));
  top: 6rem;
  bottom: 1.75rem;
  z-index: 3;
  width: clamp(19rem, 27vw, 27rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
}
.travel-card { padding: 24px 26px 20px; border-bottom: 1px solid var(--hair); max-height: 62%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(236,234,248,0.2) transparent; }
.tc-hint { margin: 0; font-size: 1.1rem; line-height: 1.4; }
.tc-place { margin: 0; font-size: 1.9rem; font-weight: 620; letter-spacing: -0.035em; line-height: 1.05; }
.tc-meta { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 0; color: var(--dust); font-size: 0.95rem; }
.tc-note { margin: 12px 0 0; }
.tc-back {
  float: right;
  margin: 0 0 8px 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--dust);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(142, 146, 180, 0.4);
}
.tc-back:hover { color: var(--starlight); }
.sat-photo { margin: 16px 0 0; }
.sat-photo-box { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair);
  background: radial-gradient(120% 90% at 30% 20%, rgba(169, 147, 255, 0.16), transparent 60%), rgba(4, 5, 13, 0.7); }
.sat-photo-box img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.sat-photo-box img.is-loaded { opacity: 1; }
.sat-photo-box.is-art { display: grid; place-items: center; }
.sat-photo-box.is-loading::after { content: "Finding a picture…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--dust); font-size: 0.85rem; }
.sat-art { width: 88%; height: auto; }
.sat-art * { fill: none; stroke: var(--starlight); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.sat-art .pv { fill: var(--c); fill-opacity: 0.16; stroke: var(--c); }
.sat-art .bd { fill: var(--starlight); fill-opacity: 0.07; }
.sat-art .ac { fill: var(--c); stroke: var(--c); fill-opacity: 0.7; }
.sat-photo figcaption { margin-top: 6px; font-size: 0.8rem; line-height: 1.4; color: var(--dust); }
.sat-photo figcaption a { color: var(--dust); text-underline-offset: 2px; }
.sat-photo figcaption a:hover { color: var(--starlight); }
.sat-what { margin: 16px 0 0; }
.sat-what h3 { margin: 0 0 4px; font-size: 0.88rem; font-weight: 600; color: var(--dust); letter-spacing: 0; }
.sat-what p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--starlight); }
.sat-what .sat-what-note { margin-top: 6px; font-size: 0.85rem; color: var(--dust); }
.sat-facts { margin: 16px 0 0; display: grid; gap: 0; }
.sat-facts div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid var(--hair); font-size: 0.92rem; }
.sat-facts dt { color: var(--dust); }
.sat-facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.sat-facts dd.is-text { font-variant-numeric: normal; }
.sat-tle { margin-top: 14px; font-size: 0.88rem; }
.sat-tle summary { cursor: pointer; color: var(--dust); }
.sat-tle pre { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(4, 5, 13, 0.6); border: 1px solid var(--hair); font-size: 0.68rem; line-height: 1.5; overflow-x: auto; color: var(--starlight); }

.travel-list { padding: 14px 12px 14px; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: rgba(236,234,248,0.2) transparent; }
.travel-list ol, .travel-list ul { list-style: none; margin: 0; padding: 0; }
.sat-search { display: block; padding: 0 2px 10px; }
.sat-search input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(236, 234, 248, 0.18);
  background: rgba(4, 5, 13, 0.6);
  color: var(--starlight);
  font: inherit;
  font-size: 0.95rem;
}
.sat-search input:focus { outline: 2px solid var(--nebula); outline-offset: 1px; }
.sat-types { padding: 0 2px; gap: 6px; }
.travel-panel button[data-sat], .travel-list button[data-launch] {
  width: 100%;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.travel-panel button[data-sat]:hover, .travel-list button[data-launch]:hover { background: rgba(236, 234, 248, 0.06); }
.travel-panel button[aria-pressed="true"] { background: rgba(169, 147, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(169, 147, 255, 0.35); }
.tl-place { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.tl-country { color: var(--dust); font-size: 0.88rem; padding-left: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-empty { margin: 10px 14px; }
.tl-label { margin: 14px 14px 8px; color: var(--dust); font-size: 0.88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px; }
.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(236, 234, 248, 0.16);
  background: rgba(236, 234, 248, 0.04);
  color: var(--starlight);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.chip:hover:not([aria-pressed="true"]) { background: rgba(236, 234, 248, 0.12); }
.travel-panel .chip[aria-pressed="true"] { background: var(--starlight); color: var(--void); box-shadow: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 900px) {
  .travel-stage { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .travel-head { position: static; width: auto; padding: 110px var(--pad) 18px; order: 1; }
  .globe-box { position: relative; inset: auto; height: 56svh; min-height: 340px; max-height: 720px; order: 2; }
  .globe-canvas { touch-action: pan-y; } /* swipe up and down to scroll the page, sideways to spin */
  .globe-tools { bottom: 14px; }
  .globe-hint { bottom: 14px; left: calc(var(--pad) + 104px); right: var(--pad); height: 44px; display: flex; align-items: center; transform: none; max-width: none; text-align: left; font-size: 0.8rem; line-height: 1.3; }
  .sat-peek:not([hidden]) ~ .globe-hint, .globe-box:has(.sat-peek:not([hidden])) .globe-hint { opacity: 0; }
  .travel-panel { position: static; width: auto; margin: 16px var(--pad) 40px; order: 3; }
  .travel-card { max-height: none; }
  .travel-list { overflow: visible; max-height: none; }
}

/* ── Launches page ──────────────────────────────────── */
.l-next-label { margin: 0 0 6px; font-size: 0.82rem; color: var(--dust); }
.l-next-name { display: block; padding: 0; border: 0; background: none; color: var(--starlight); font: inherit; font-size: 1.15rem; font-weight: 640; letter-spacing: -0.02em; line-height: 1.2; text-align: left; cursor: pointer; }
.l-next-name:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(236, 234, 248, 0.4); }
.l-next-meta { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; font-size: 0.85rem; color: var(--dust); }
.l-countdown { margin: 12px 0 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 620; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-countdown .l-t { margin-right: 0.25em; color: #ffcf99; font-weight: 560; }
.l-next-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.l-next-none { margin: 0; color: var(--dust); }
.l-panel .sat-status { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair); }

.l-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 0.78rem; font-weight: 560; line-height: 1.3; white-space: nowrap;
  background: rgba(236, 234, 248, 0.08); color: var(--dust); }
.l-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.l-status.is-go { color: #7ff0d0; background: rgba(127, 240, 208, 0.1); }
.l-status.is-hold { color: #ffcf99; background: rgba(255, 207, 153, 0.1); }
.l-status.is-fail { color: #ff8a8a; background: rgba(255, 138, 138, 0.1); }
.l-status.is-live { color: #ffcf99; background: rgba(255, 207, 153, 0.14); }
.l-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 0.78rem; font-weight: 640; color: #04050d; background: #ff8a8a; }
.l-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #04050d; animation: live-blink 1.2s steps(2, start) infinite; }
@keyframes live-blink { to { visibility: hidden; } }

.l-tabs { display: flex; gap: 4px; margin: 0 2px 10px; padding: 3px; border-radius: 999px; background: rgba(236, 234, 248, 0.06); }
.l-tabs button { flex: 1; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--dust); font: inherit; font-size: 0.9rem; cursor: pointer; }
.l-tabs button[aria-selected="true"] { background: var(--starlight); color: var(--void); font-weight: 600; }
.l-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; padding-left: 16px; }
.l-when { font-size: 0.85rem; color: var(--dust); font-variant-numeric: tabular-nums; }

.l-card-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; }
.l-card-count { font-size: 1.05rem; font-weight: 620; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.l-video { position: relative; margin-top: 16px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair); background: #000; }
.l-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.l-watch-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.l-watch { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(236, 234, 248, 0.08); border: 1px solid rgba(236, 234, 248, 0.14); color: var(--starlight); font-size: 0.88rem; text-decoration: none; transition: background 0.2s; }
.l-watch:hover { background: rgba(236, 234, 248, 0.16); }
.l-fail { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 138, 138, 0.08); color: #ffc2c2; font-size: 0.92rem; }
.l-sub { display: block; color: var(--dust); font-size: 0.82rem; }
.is-launches .sat-facts dd { max-width: 62%; }
.is-launches .travel-card { max-height: 56%; }
.is-launches .sat-types { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-bottom: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.is-launches .sat-types::-webkit-scrollbar { display: none; }
.is-launches .sat-types .chip { flex: none; }
@media (max-width: 900px) { .is-launches .travel-card { max-height: none; } .is-launches .sat-types { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; } }

/* ── Motion ─────────────────────────────────────────── */
/* "now": a live dot that keeps pinging next to the clock */
.sat-clock::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--dust); opacity: 0.6;
}
.sat-clock.is-live::before { background: #ffcf99; opacity: 1; animation: live-ping 1.8s var(--ease) infinite; }
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 207, 153, 0.7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 207, 153, 0); } }

/* Opening: the title rises, then the panels ease in while the satellites launch */
.travel-head .sat-panel, .travel-panel { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
.is-ready .travel-head .sat-panel { opacity: 1; transform: none; transition-delay: 0.5s; }
.is-ready .travel-panel { opacity: 1; transform: none; transition-delay: 0.75s; }

/* A new satellite's card slides in */
.travel-card.is-enter > * { animation: card-in 0.55s var(--ease) both; }
.travel-card.is-enter > :nth-child(2) { animation-delay: 0.05s; }
.travel-card.is-enter > :nth-child(3) { animation-delay: 0.1s; }
.travel-card.is-enter > :nth-child(n+4) { animation-delay: 0.15s; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Scrolling down to About: the globe eases back and dims (big screens only) */
@media (min-width: 901px) {
  .globe-box { transform: scale(calc(1 - var(--leave, 0) * 0.08)); opacity: calc(1 - var(--leave, 0) * 0.6); transform-origin: 50% 40%; will-change: transform, opacity; }
  .travel-head, .travel-panel { translate: 0 calc(var(--leave, 0) * -40px); }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 760px) {
  .about-cols { grid-template-columns: 1fr; }
  .about-credits div { grid-template-columns: 1fr; gap: 2px; }
  .glass { border-radius: 24px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.3rem; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 1.12rem; }
  .brand { gap: 8px; }
  .nav { gap: 16px; font-size: 0.95rem; }
  .nav a[href="#about"] { display: none; }
}

/* Big screens: scale everything up a little so it doesn't look tiny on large monitors */
@media (min-width: 1800px) { html { font-size: 112.5%; } :root { --max: 1560px; } }
@media (min-width: 2300px) { html { font-size: 125%; } :root { --max: 1800px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  .globe-box, .travel-head, .travel-panel { transform: none !important; translate: none !important; opacity: 1 !important; }
}
