@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Sora:wght@400;600;700;800&family=Space+Mono:wght@400;700&display=swap");

:root {
  --bg: #eef2fa;
  --bg-elevated: #ffffff;
  --ink: #0c234b;
  --ink-soft: #2f4d77;
  --accent: #ab0520;
  --accent-strong: #8f0018;
  --signal: #c8102e;
  --line: #c8d3e8;
  --shadow: 0 16px 36px rgba(7, 16, 31, 0.13);
  --radius: 10px;
  --radius-sm: 7px;
  --max: 1240px;
  --body-bg:
    radial-gradient(circle at 80% -12%, rgba(12, 35, 75, 0.18) 0%, rgba(12, 35, 75, 0) 34%),
    radial-gradient(circle at 18% 22%, rgba(171, 5, 32, 0.09) 0%, rgba(171, 5, 32, 0) 34%),
    linear-gradient(170deg, #f7f9ff 0%, #eef3fb 56%, #e8eef9 100%);
  --header-bg: rgba(8, 20, 46, 0.96);
  --header-border: rgba(142, 161, 196, 0.24);
  --header-ink: #f3f7ff;
  --header-soft-ink: rgba(220, 228, 244, 0.84);
  --nav-shell-bg: transparent;
  --nav-shell-border: transparent;
  --nav-shell-shadow: none;
  --nav-active-bg: transparent;
  --nav-active-ink: var(--header-ink);
  --nav-link-hover-bg: transparent;
  --nav-link-hover-ink: #ffffff;
  --menu-toggle-bg: rgba(11, 27, 58, 0.62);
  --menu-toggle-ink: var(--header-ink);
  --hero-media-bg: linear-gradient(140deg, #153468 0%, #0c234b 100%);
  --button-primary-bg: #ab0520;
  --button-primary-ink: #ffffff;
  --button-primary-border: #ab0520;
  --button-hover-bg: #8f0018;
  --button-hover-ink: #ffffff;
  --button-ghost-bg: transparent;
  --button-ghost-ink: #0c234b;
  --button-ghost-border: #0c234b;
  --button-ghost-hover-bg: rgba(12, 35, 75, 0.07);
  --surface-soft: #f4f7ff;
  --surface-muted: #edf3ff;
  --table-bg: #fff;
  --table-row-border: #d6e0f0;
  --table-head-bg: #edf2fb;
  --table-head-ink: #1f3c67;
  --soft-panel-border: #bfcde4;
  --soft-panel-bg: linear-gradient(122deg, #f9f5f6, #edf3ff);
  --logo-border: #baccdd;
  --logo-bg: #eef4ff;
  --logo-ink: #2d4670;
  --hero-callout-bg: linear-gradient(128deg, #f7e4e8, #ebf2ff);
  --mobile-menu-bg: rgba(8, 20, 46, 0.98);
  --status-completed-bg: #e8f8ec;
  --status-completed-border: #9fddb0;
  --status-completed-ink: #1c6c33;
  --status-scheduled-bg: #fff6e8;
  --status-scheduled-border: #f2c48a;
  --status-scheduled-ink: #8f5517;
  --status-inprogress-bg: #e9f4ff;
  --status-inprogress-border: #9dc5ef;
  --status-inprogress-ink: #225f9c;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--body-bg);
  color: var(--ink);
  font-family: "Sora", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
li {
  color: var(--ink-soft);
}

code {
  font-family: "Space Mono", monospace;
  font-size: 0.92em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Barlow Condensed", "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.layout {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 3.7rem 0;
}

.section-tight {
  padding: 2.4rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 1.2vw + 1.2rem, 2.4rem);
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0;
  max-width: 72ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.35rem;
  position: relative;
  padding: 0.8rem 0;
}

.brand {
  text-decoration: none;
  color: var(--header-ink);
  font-family: "Barlow Condensed", "Sora", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 2.05rem;
  line-height: 0.88;
}

.brand span {
  display: block;
  margin-top: -0.14rem;
  color: var(--accent);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
}

.launch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  margin-left: 0;
  padding: 0.34rem 0.72rem;
  min-height: 38px;
  border: 1px solid rgba(228, 236, 252, 0.36);
  border-radius: 2px;
  background: rgba(4, 7, 12, 0.54);
  box-shadow: none;
  white-space: nowrap;
  text-decoration: none;
  color: var(--header-ink);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.launch-chip-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(171, 5, 32, 0.58);
  animation: chipPulse 2s ease-in-out infinite;
}

.launch-chip-label {
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--header-soft-ink);
}

.launch-chip-value {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--header-ink);
}

.launch-chip.launch-live {
  border-color: var(--accent);
  background: rgba(171, 5, 32, 0.14);
}

.launch-chip.launch-live .launch-chip-value {
  color: #ffd9df;
}

.launch-chip:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.launch-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-start;
  align-items: center;
  margin-left: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--header-soft-ink);
  padding: 0.26rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: "Barlow Condensed", "Sora", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--nav-link-hover-ink);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  outline: none;
}

.nav-menu a[aria-current="page"] {
  color: var(--nav-active-ink);
  background: transparent;
  border-color: var(--accent);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(228, 236, 252, 0.34);
  background: var(--menu-toggle-bg);
  border-radius: 2px;
  color: var(--menu-toggle-ink);
  padding: 0.38rem 0.72rem;
  font-family: "Barlow Condensed", "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin-left: auto;
  align-self: center;
}

.pref-toggle {
  border: 1px solid rgba(228, 236, 252, 0.34);
  background: rgba(6, 10, 17, 0.5);
  color: var(--header-ink);
  border-radius: 2px;
  padding: 0.34rem 0.58rem;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: inherit;
  box-shadow: none;
  transition: border-color 0.16s ease, background-color 0.16s ease;
  cursor: pointer;
}

.pref-toggle-theme {
  min-width: 118px;
}

.pref-toggle-units {
  min-width: 96px;
}

.pref-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(228, 236, 252, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.pref-icon svg {
  width: 0.83rem;
  height: 0.83rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pref-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.02;
}

.pref-label {
  font-family: "Space Mono", monospace;
  font-size: 0.53rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--header-soft-ink);
}

.pref-value {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--header-ink);
}

.pref-toggle:hover,
.pref-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.hero {
  padding: 4.4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.4rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--accent-strong);
  font-family: "Space Mono", monospace;
}

.hero h1,
.page-hero h1 {
  margin: 0.65rem 0 0.95rem;
  font-size: clamp(2.1rem, 2.5vw + 1.1rem, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p,
.page-hero p {
  font-size: clamp(1rem, 0.6vw + 0.82rem, 1.2rem);
  max-width: 56ch;
  margin: 0;
}

.hero-image {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--hero-media-bg);
}

.hero-image figcaption {
  font-size: 0.85rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.18rem;
  border-radius: 2px;
  text-decoration: none;
  font-family: "Barlow Condensed", "Sora", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--button-primary-border);
  background: var(--button-primary-bg);
  color: var(--button-primary-ink);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:hover {
  background: var(--button-hover-bg);
  border-color: var(--button-hover-bg);
  color: var(--button-hover-ink);
}

.button-ghost {
  background: var(--button-ghost-bg);
  border-color: var(--button-ghost-border);
  color: var(--button-ghost-ink);
}

.button-ghost:hover {
  background: var(--button-ghost-hover-bg);
  border-color: var(--button-ghost-border);
  color: var(--button-ghost-ink);
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.stat-badge {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 20px rgba(7, 16, 31, 0.08);
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.83rem;
  margin-top: 0.22rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Space Mono", monospace;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-grid .card {
  padding: 1.05rem 1.1rem;
}

.info-grid strong {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Space Mono", monospace;
}

.info-grid p {
  margin: 0.35rem 0 0;
}

.flight-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.flight-card {
  padding: 1.15rem;
  display: grid;
  gap: 0.9rem;
}

.flight-card h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.flight-meta {
  margin: 0;
  font-size: 0.92rem;
}

.patch-wrap {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.patch-wrap img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
}

.patch-wrap figcaption {
  font-size: 0.78rem;
  padding: 0.62rem 0.82rem;
  border-top: 1px solid var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.metric-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  background: var(--surface-muted);
}

.metric-label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Space Mono", monospace;
}

.metric-value {
  display: block;
  font-size: 0.96rem;
  color: var(--ink);
  font-weight: 700;
  margin-top: 0.22rem;
}

.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-size: 0.74rem;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid var(--line);
}

.status-completed {
  background: var(--status-completed-bg);
  border-color: var(--status-completed-border);
  color: var(--status-completed-ink);
}

.status-scheduled {
  background: var(--status-scheduled-bg);
  border-color: var(--status-scheduled-border);
  color: var(--status-scheduled-ink);
}

.status-inprogress {
  background: var(--status-inprogress-bg);
  border-color: var(--status-inprogress-border);
  color: var(--status-inprogress-ink);
}

.page-hero {
  padding: 3.2rem 0 2rem;
}

.soft-panel {
  padding: 1.05rem 1.1rem;
  border: 1px dashed var(--soft-panel-border);
  border-radius: var(--radius-sm);
  background: var(--soft-panel-bg);
}

.table-wrap {
  margin-top: 1.2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--table-bg);
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.82rem;
  border-bottom: 1px solid var(--table-row-border);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

thead th {
  background: var(--table-head-bg);
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--table-head-ink);
}

tbody tr:last-child td,
tbody tr:last-child th {
  border-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.split .card {
  padding: 1rem 1.05rem;
}

.split h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.split ul,
.report-sections ul {
  margin: 0;
  padding-left: 1.1rem;
}

.split li,
.report-sections li {
  margin-bottom: 0.4rem;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.embed-card {
  padding: 0.9rem;
}

.embed-card h3 {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.05rem;
}

.embed-frame {
  margin-top: 0.7rem;
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.countdown-cell {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  padding: 1rem 0.5rem;
}

.countdown-cell strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

.countdown-cell span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-family: "Space Mono", monospace;
}

.inline-note {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.report-shell {
  padding: 3rem 0 2.5rem;
}

.report-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: start;
}

.report-header .card {
  padding: 1rem 1.05rem;
}

.report-header h1 {
  margin: 0.5rem 0 0.6rem;
  font-size: clamp(1.7rem, 1.8vw + 1rem, 2.9rem);
  line-height: 1.15;
}

.report-meta {
  margin: 0;
}

.report-sections {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.report-sections .card {
  padding: 1rem;
}

.report-sections h2 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.report-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.report-gallery-item {
  margin: 0;
  overflow: hidden;
}

.report-gallery-item img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.report-gallery-item figcaption {
  font-size: 0.82rem;
  padding: 0.7rem 0.82rem;
  border-top: 1px solid var(--line);
}

.sponsor-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.logo-card,
.role-card {
  padding: 1rem;
}

.logo-placeholder {
  border: 1px dashed var(--logo-border);
  background: var(--logo-bg);
  min-height: 70px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--logo-ink);
  font-family: "Space Mono", monospace;
  font-size: 0.86rem;
}

.hero-callout {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--hero-callout-bg);
  padding: 0.95rem 1rem;
  margin-top: 1rem;
}

.hero-callout p {
  margin: 0.2rem 0 0;
}

.milestone-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.milestone-card {
  padding: 1rem 1.05rem;
}

.milestone-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.milestone-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.milestone-card li {
  margin-bottom: 0.35rem;
}

.club-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.club-grid .card {
  padding: 1rem 1.05rem;
}

.hardware-visual {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hardware-visual figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2.4rem;
  color: var(--ink-soft);
}

.footer p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.reveal {
  animation: riseIn 0.55s ease both;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #04102a;
  --bg-elevated: #0a1b3f;
  --ink: #edf3ff;
  --ink-soft: #b1c3e2;
  --accent: #ab0520;
  --accent-strong: #d61f3f;
  --signal: #cf1b3a;
  --line: #2a4577;
  --shadow: 0 18px 40px rgba(1, 8, 24, 0.52);
  --body-bg:
    radial-gradient(circle at 74% -12%, rgba(80, 121, 196, 0.2) 0%, rgba(80, 121, 196, 0) 34%),
    radial-gradient(circle at 16% 22%, rgba(171, 5, 32, 0.2) 0%, rgba(171, 5, 32, 0) 36%),
    linear-gradient(168deg, #030c20 0%, #04102a 55%, #051535 100%);
  --header-bg: rgba(6, 18, 44, 0.94);
  --header-border: rgba(121, 150, 199, 0.36);
  --header-ink: #f2f6ff;
  --header-soft-ink: rgba(213, 225, 247, 0.82);
  --nav-shell-bg: transparent;
  --nav-shell-border: transparent;
  --nav-shell-shadow: none;
  --nav-active-bg: transparent;
  --nav-active-ink: var(--header-ink);
  --nav-link-hover-bg: transparent;
  --nav-link-hover-ink: #ffffff;
  --menu-toggle-bg: rgba(9, 24, 58, 0.76);
  --menu-toggle-ink: #f2f6ff;
  --hero-media-bg: linear-gradient(140deg, #16366f 0%, #0a1f47 100%);
  --button-primary-bg: #ab0520;
  --button-primary-ink: #ffffff;
  --button-primary-border: #ab0520;
  --button-hover-bg: #8f0018;
  --button-hover-ink: #ffffff;
  --button-ghost-bg: transparent;
  --button-ghost-ink: #f2f6ff;
  --button-ghost-border: rgba(213, 225, 247, 0.66);
  --button-ghost-hover-bg: rgba(171, 5, 32, 0.22);
  --surface-soft: #0c214d;
  --surface-muted: #0b1e46;
  --table-bg: #0a1b3f;
  --table-row-border: #2a4577;
  --table-head-bg: #102652;
  --table-head-ink: #d6e5ff;
  --soft-panel-border: #355692;
  --soft-panel-bg: linear-gradient(122deg, #132e63, #0a1d43);
  --logo-border: #3e5f98;
  --logo-bg: #0d2450;
  --logo-ink: #b8cbef;
  --hero-callout-bg: linear-gradient(122deg, #311426, #11264f);
  --mobile-menu-bg: rgba(5, 15, 37, 0.98);
  --status-completed-bg: rgba(28, 108, 51, 0.22);
  --status-completed-border: rgba(103, 196, 131, 0.48);
  --status-completed-ink: #9de2b2;
  --status-scheduled-bg: rgba(143, 85, 23, 0.24);
  --status-scheduled-border: rgba(242, 196, 138, 0.48);
  --status-scheduled-ink: #ffd59d;
  --status-inprogress-bg: rgba(34, 95, 156, 0.24);
  --status-inprogress-border: rgba(157, 197, 239, 0.42);
  --status-inprogress-ink: #abd1ff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #04102a;
    --bg-elevated: #0a1b3f;
    --ink: #edf3ff;
    --ink-soft: #b1c3e2;
    --accent: #ab0520;
    --accent-strong: #d61f3f;
    --signal: #cf1b3a;
    --line: #2a4577;
    --shadow: 0 18px 40px rgba(1, 8, 24, 0.52);
    --body-bg:
      radial-gradient(circle at 74% -12%, rgba(80, 121, 196, 0.2) 0%, rgba(80, 121, 196, 0) 34%),
      radial-gradient(circle at 16% 22%, rgba(171, 5, 32, 0.2) 0%, rgba(171, 5, 32, 0) 36%),
      linear-gradient(168deg, #030c20 0%, #04102a 55%, #051535 100%);
    --header-bg: rgba(6, 18, 44, 0.94);
    --header-border: rgba(121, 150, 199, 0.36);
    --header-ink: #f2f6ff;
    --header-soft-ink: rgba(213, 225, 247, 0.82);
    --nav-shell-bg: transparent;
    --nav-shell-border: transparent;
    --nav-shell-shadow: none;
    --nav-active-bg: transparent;
    --nav-active-ink: var(--header-ink);
    --nav-link-hover-bg: transparent;
    --nav-link-hover-ink: #ffffff;
    --menu-toggle-bg: rgba(9, 24, 58, 0.76);
    --menu-toggle-ink: #f2f6ff;
    --hero-media-bg: linear-gradient(140deg, #16366f 0%, #0a1f47 100%);
    --button-primary-bg: #ab0520;
    --button-primary-ink: #ffffff;
    --button-primary-border: #ab0520;
    --button-hover-bg: #8f0018;
    --button-hover-ink: #ffffff;
    --button-ghost-bg: transparent;
    --button-ghost-ink: #f2f6ff;
    --button-ghost-border: rgba(213, 225, 247, 0.66);
    --button-ghost-hover-bg: rgba(171, 5, 32, 0.22);
    --surface-soft: #0c214d;
    --surface-muted: #0b1e46;
    --table-bg: #0a1b3f;
    --table-row-border: #2a4577;
    --table-head-bg: #102652;
    --table-head-ink: #d6e5ff;
    --soft-panel-border: #355692;
    --soft-panel-bg: linear-gradient(122deg, #132e63, #0a1d43);
    --logo-border: #3e5f98;
    --logo-bg: #0d2450;
    --logo-ink: #b8cbef;
    --hero-callout-bg: linear-gradient(122deg, #311426, #11264f);
    --mobile-menu-bg: rgba(5, 15, 37, 0.98);
    --status-completed-bg: rgba(28, 108, 51, 0.22);
    --status-completed-border: rgba(103, 196, 131, 0.48);
    --status-completed-ink: #9de2b2;
    --status-scheduled-bg: rgba(143, 85, 23, 0.24);
    --status-scheduled-border: rgba(242, 196, 138, 0.48);
    --status-scheduled-ink: #ffd59d;
    --status-inprogress-bg: rgba(34, 95, 156, 0.24);
    --status-inprogress-border: rgba(157, 197, 239, 0.42);
    --status-inprogress-ink: #abd1ff;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chipPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(171, 5, 32, 0.58);
  }
  75% {
    box-shadow: 0 0 0 0.42rem rgba(171, 5, 32, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(171, 5, 32, 0);
  }
}

@media (max-width: 980px) {
  .launch-chip {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav {
    gap: 0.95rem;
  }

  .brand {
    font-size: 1.84rem;
  }

  .brand span {
    font-size: 1.3rem;
  }

  .nav-menu {
    gap: 0.85rem;
  }

  .nav-menu a {
    font-size: 0.84rem;
  }

  .hero-grid,
  .report-header,
  .flight-grid,
  .embed-grid,
  .sponsor-grid,
  .team-grid,
  .report-gallery,
  .milestone-grid,
  .club-grid,
  .split,
  .report-sections {
    grid-template-columns: 1fr 1fr;
  }

  .flight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .layout {
    width: min(var(--max), calc(100% - 1.3rem));
  }

  .nav {
    min-height: 66px;
    align-items: center;
    gap: 0.38rem;
    padding: 0.55rem 0;
  }

  .brand {
    font-size: 1.46rem;
    letter-spacing: 0.05em;
  }

  .brand span {
    font-size: 1.08rem;
    margin-top: -0.1rem;
  }

  .nav-controls {
    margin-left: auto;
    gap: 0.32rem;
    align-self: center;
    order: 2;
  }

  .pref-toggle {
    min-height: 34px;
    min-width: 0;
    padding: 0.26rem 0.42rem;
    gap: 0.3rem;
  }

  .pref-toggle-theme {
    min-width: 78px;
  }

  .pref-toggle-units {
    min-width: 72px;
  }

  .pref-icon {
    width: 1rem;
    height: 1rem;
  }

  .pref-icon svg {
    width: 0.72rem;
    height: 0.72rem;
  }

  .pref-label {
    display: none;
  }

  .pref-value {
    font-size: 0.62rem;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
    margin-left: 0;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--mobile-menu-bg);
    padding: 0.72rem 1rem 0.9rem;
    border: 0;
    border-top: 1px solid rgba(228, 236, 252, 0.22);
    border-bottom: 1px solid rgba(228, 236, 252, 0.22);
    border-radius: 0;
    box-shadow: none;
    margin-left: 0;
  }

  .nav-menu.menu-open {
    display: flex;
  }

  .nav-menu a {
    border: 0;
    border-bottom: 1px solid rgba(228, 236, 252, 0.16);
    padding: 0.52rem 0.08rem;
    font-size: 0.86rem;
  }

  .nav-menu a:last-child {
    border-bottom: 0;
  }

  .hero,
  .page-hero,
  .report-shell {
    padding-top: 2.2rem;
  }

  .hero-grid,
  .info-grid,
  .flight-grid,
  .split,
  .embed-grid,
  .milestone-grid,
  .club-grid,
  .countdown-grid,
  .report-header,
  .report-sections,
  .sponsor-grid,
  .team-grid,
  .report-gallery,
  .badge-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid.compact {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.6rem 0;
  }
}
