:root {
  --mc-aqua: #65f8ff;
  --mc-aqua-soft: #9ffcff;
  --mc-green: #69ffae;
  --mc-orange: #ff9d58;
  --mc-muted: #82a8af;
  --mc-line: rgba(101, 248, 255, 0.24);
}

/*
 * The cockpit is one 941 x 1672 instrument plane. Every overlay coordinate,
 * font size and animated control below is measured from that same plane.
 * Container-width units are deliberate: unlike viewport units with min/max
 * clamps, they keep the typography physically attached to the artwork when a
 * visitor changes browser zoom.
 */
.launch-cockpit-scene {
  aspect-ratio: 941 / 1672 !important;
  width: 100% !important;
  min-height: 0 !important;
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  container-name: mission-cockpit;
  container-type: inline-size;
  background-color: #02070b !important;
  background-image: url("../images/launch-page-cockpit-approved.webp") !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

.launch-cockpit-scene > .page-hero {
  position: absolute !important;
  inset: 0 0 auto !important;
  width: 100% !important;
  height: 25.4% !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.launch-cockpit-scene > .page-hero::before {
  background:
    linear-gradient(90deg, rgba(1, 8, 13, 0.58), rgba(1, 8, 13, 0.12) 43%, transparent 64%),
    linear-gradient(180deg, rgba(1, 8, 13, 0.12), transparent 56%, rgba(1, 8, 13, 0.24)) !important;
}

.launch-cockpit-scene > .page-hero .page-hero-copy {
  inset: 7.85% auto auto 6.2% !important;
  width: 38% !important;
  max-width: none !important;
  padding: 0 !important;
  transform: none !important;
}

.launch-cockpit-scene > .page-hero .eyebrow {
  margin-bottom: 0.63cqw !important;
  font-size: 0.42cqw !important;
}

.launch-cockpit-scene > .page-hero h1 {
  font-size: 3.38cqw !important;
  text-shadow: 0 0.16cqw 1.16cqw rgba(0, 0, 0, 0.92), 0 0 1.8cqw rgba(0, 0, 0, 0.45) !important;
}

.launch-cockpit-scene > .page-hero .intro {
  max-width: 27.5cqw !important;
  margin: 0.74cqw 0 !important;
  font-size: 0.69cqw !important;
  text-shadow: 0 0.11cqw 0.69cqw #000, 0 0 1.06cqw rgba(0, 0, 0, 0.7) !important;
}

.launch-cockpit-scene .launch-hero-telemetry {
  gap: 0.32cqw !important;
  margin-bottom: 0.63cqw !important;
}

.launch-cockpit-scene .launch-hero-telemetry span,
.launch-cockpit-scene > .page-hero .actions > a {
  min-height: 1.43cqw !important;
  padding: 0 0.37cqw !important;
  font-size: 0.37cqw !important;
  backdrop-filter: blur(0.26cqw);
}

/* The transparent coordinate layer is forced over the image at every width. */
.launch-cockpit-scene > .launch-console-environment {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.launch-cockpit-scene > .launch-console-environment::before,
.launch-cockpit-scene > .launch-console-environment::after {
  display: none !important;
}

.mission-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5;
  width: 100% !important;
  height: 100% !important;
  color: #eefeff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  pointer-events: none;
}

.mission-screen {
  --screen-x: 0%;
  --screen-y: 0%;
  --screen-width: 0%;
  --screen-height: 0%;
  position: absolute;
  top: var(--screen-y);
  left: var(--screen-x);
  width: var(--screen-width);
  height: var(--screen-height);
  box-sizing: border-box;
  overflow: hidden;
  color: #eefeff;
  background: transparent;
  border: 0;
  border-radius: 0.32cqw;
  text-shadow: 0 0 0.53cqw rgba(101, 248, 255, 0.22);
  pointer-events: auto;
}

.mission-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.16;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 0.16cqw,
    rgba(108, 244, 255, 0.12) 0.21cqw
  );
  mix-blend-mode: screen;
}

.mission-screen > * {
  position: relative;
  z-index: 2;
}

.mission-screen a { color: inherit; }

.mission-screen header > i,
.screen-kicker > i,
.source-lock > i,
.console-light-bank i {
  display: inline-block;
  width: 0.37cqw;
  height: 0.37cqw;
  border-radius: 50%;
  background: var(--mc-aqua);
  box-shadow: 0 0 0.32cqw var(--mc-aqua), 0 0 0.79cqw rgba(101, 248, 255, 0.72);
  animation: mc-led 2.2s ease-in-out infinite;
}

/* Black monitor interiors measured directly from the approved 941 x 1672 art. */
.countdown-screen {
  --screen-x: 33.262%;
  --screen-y: 25.778%;
  --screen-width: 33.794%;
  --screen-height: 3.05%;
  display: grid;
  grid-template-columns: 27% 1fr;
  align-items: center;
  gap: 2%;
  padding: 0.22cqw 0.58cqw;
}

.screen-kicker {
  display: flex;
  align-items: center;
  gap: 7%;
  color: var(--mc-aqua-soft);
  letter-spacing: 0.11em;
  font-size: 0.32cqw;
  font-weight: 800;
  line-height: 1.25;
}

.countdown-units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3%;
  height: 100%;
}

.countdown-units > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-units b {
  color: #fff;
  font-size: 1.64cqw;
  line-height: 0.82;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 0.21cqw #fff, 0 0 0.69cqw rgba(101, 248, 255, 0.82);
}

.countdown-units small {
  margin-top: 8%;
  color: var(--mc-aqua-soft);
  font-size: 0.265cqw;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.main-downlink-screen {
  --screen-x: 19.022%;
  --screen-y: 30.443%;
  --screen-width: 61.849%;
  --screen-height: 21.112%;
  padding: 1.06cqw 1.27cqw;
}

.main-downlink-screen::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -16%;
  left: -20%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 248, 255, 0.1), transparent 69%);
  animation: mc-breathe 4.8s ease-in-out infinite;
}

.main-downlink-screen header,
.mission-brief-screen header,
.range-status-screen header,
.viewing-screen header,
.checklist-screen header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4%;
  color: var(--mc-aqua-soft);
  font-size: 0.476cqw;
  font-weight: 800;
  letter-spacing: 0.13em;
}

/* Keep the top-line telemetry inside the visible glass, clear of the bezel. */
.main-downlink-screen header {
  padding: 0.42cqw 0.42cqw 0;
}

.main-downlink-screen header span {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
}

.main-downlink-screen header span i {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--mc-orange);
  box-shadow: 0 0 0.58cqw var(--mc-orange);
  animation: mc-led 1.25s steps(2, end) infinite;
}

.main-downlink-screen header b {
  color: var(--mc-green);
  font-size: 0.9em;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.downlink-orbit {
  position: absolute;
  top: 21%;
  left: 6%;
  width: 30%;
  aspect-ratio: 1;
  border: 0.053cqw solid rgba(101, 248, 255, 0.48);
  border-radius: 50%;
  box-shadow: inset 0 0 1.32cqw rgba(101, 248, 255, 0.06), 0 0 0.74cqw rgba(101, 248, 255, 0.08);
  animation: mc-orbit 14s linear infinite;
}

.downlink-orbit::before,
.downlink-orbit::after {
  content: "";
  position: absolute;
  border: 0.053cqw solid rgba(101, 248, 255, 0.23);
  border-radius: 50%;
  inset: 15%;
}

.downlink-orbit::after {
  inset: 34%;
  background: rgba(101, 248, 255, 0.06);
}

.downlink-orbit i {
  position: absolute;
  width: 4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mc-aqua);
  box-shadow: 0 0 0.42cqw var(--mc-aqua);
}

.downlink-orbit i:nth-child(1) { top: 5%; left: 48%; }
.downlink-orbit i:nth-child(2) { top: 62%; left: 88%; background: var(--mc-orange); }
.downlink-orbit i:nth-child(3) { top: 82%; left: 18%; background: var(--mc-green); }

.downlink-message {
  width: 57%;
  margin: 7.2% 0 0 auto;
  text-align: left;
}

.downlink-message p {
  margin: 0 0 2.5%;
  color: var(--mc-aqua);
  font-size: 0.529cqw;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.downlink-message h2 {
  margin: 0;
  color: #fff;
  font-size: 3.23cqw;
  line-height: 0.78;
  letter-spacing: -0.055em;
  text-shadow: 0 0 0.9cqw rgba(101, 248, 255, 0.36);
}

.downlink-message > span {
  display: block;
  max-width: 94%;
  margin-top: 4.5%;
  color: #b8d0d5;
  font-size: 0.423cqw;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.downlink-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42cqw;
  margin-top: 4.5%;
}

.downlink-launch-button {
  min-height: 1.8cqw;
  border: 0.053cqw solid rgba(255, 255, 255, 0.8);
  border-radius: 0;
  padding: 0.42cqw 0.62cqw;
  background: var(--mc-orange);
  color: #fff;
  box-shadow: 0 0.16cqw 0.42cqw rgba(0, 0, 0, 0.34);
  font: inherit;
  font-size: 0.48cqw;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.downlink-launch-button.is-secondary { background: rgba(8, 28, 34, 0.92); color: var(--mc-aqua-soft); }
.downlink-launch-button:hover,
.downlink-launch-button:focus-visible { background: #ff7a3d; color: #fff; outline: 0.106cqw solid #fff; outline-offset: 0.106cqw; }

.main-downlink-screen footer {
  position: absolute;
  right: 1.27cqw;
  bottom: 1.0cqw;
  left: 1.27cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.58cqw;
  border-top: 0.053cqw solid var(--mc-line);
}

.downlink-provider-links {
  display: flex;
  align-items: center;
  gap: 1.05cqw;
  min-width: 0;
}

.downlink-provider-links .provider-archive {
  color: var(--mc-aqua-soft);
  opacity: 0.86;
}

.main-downlink-screen footer a {
  color: #fff;
  font-size: 0.529cqw;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-decoration: none;
}

.main-downlink-screen footer > span {
  display: flex;
  align-items: center;
  gap: 0.65em;
  color: var(--mc-muted);
  font-size: 0.37cqw;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.main-downlink-screen footer > span i {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--mc-green);
  box-shadow: 0 0 0.42cqw var(--mc-green);
}

.provider-pulse { animation: mc-provider 2.4s ease-in-out infinite; }

.mission-brief-screen {
  --screen-x: 11.265%;
  --screen-y: 54.246%;
  --screen-width: 28.693%;
  --screen-height: 8.493%;
  padding: 1.14cqw 1.34cqw 0.9cqw;
}

.range-status-screen {
  --screen-x: 59.724%;
  --screen-y: 54.246%;
  --screen-width: 28.48%;
  --screen-height: 8.433%;
  padding: 0.9cqw 1.0cqw;
}

.range-status-screen header {
  padding-top: 0.24cqw;
}

.range-status-screen header > i {
  margin-right: 0.34cqw;
}

.mission-brief-screen h2 {
  margin: 7% 0 5%;
  color: #fff;
  font-size: 1.9cqw;
  line-height: 0.86;
  letter-spacing: -0.045em;
}

.mission-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8% 5%;
}

.mission-fact-grid span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mission-fact-grid small {
  color: var(--mc-muted);
  font-size: 0.317cqw;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mission-fact-grid b {
  margin-top: 3%;
  color: var(--mc-aqua-soft);
  font-size: 0.582cqw;
  white-space: nowrap;
}

.range-status-screen .go-status {
  display: block;
  margin: 9% 0 4%;
  color: var(--mc-green);
  font-size: 1.64cqw;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-shadow: 0 0 0.37cqw var(--mc-green), 0 0 0.95cqw rgba(105, 255, 174, 0.58);
  animation: mc-go 1.35s steps(2, end) infinite;
}

.range-status-screen > p {
  margin: 0;
  color: #bad0d5;
  font-size: 0.423cqw;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.source-lock {
  display: flex;
  align-items: center;
  gap: 5%;
  margin-top: 8%;
  color: var(--mc-aqua-soft);
  font-size: 0.317cqw;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.range-status-screen > a {
  display: block;
  margin-top: 5%;
  color: #fff;
  font-size: 0.317cqw;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.launch-schedule-screen {
  --screen-x: 12.009%;
  --screen-y: 64.414%;
  --screen-width: 75.558%;
  --screen-height: 10.825%;
  padding: 1.04cqw 1.36cqw 0.78cqw;
  display: flex;
  flex-direction: column;
}

.launch-schedule-screen > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 0.42cqw;
  border-bottom: 0.053cqw solid var(--mc-line);
}

.schedule-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(101, 248, 255, 0.72) rgba(3, 18, 27, 0.72);
  scrollbar-width: thin;
}

.schedule-scroll::-webkit-scrollbar { width: 0.38cqw; }
.schedule-scroll::-webkit-scrollbar-track { background: rgba(3, 18, 27, 0.72); }
.schedule-scroll::-webkit-scrollbar-thumb { background: rgba(101, 248, 255, 0.72); }

.launch-schedule-screen > header div {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.launch-schedule-screen > header span {
  color: var(--mc-aqua-soft);
  font-size: 0.476cqw;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.launch-schedule-screen > header b,
.launch-schedule-screen > header small {
  color: var(--mc-muted);
  font-size: 0.317cqw;
  letter-spacing: 0.11em;
}

.schedule-row {
  display: grid;
  grid-template-columns: 15% 1fr 17%;
  align-items: center;
  min-height: 21%;
  padding: 0.24cqw 0;
  border-bottom: 0.053cqw solid rgba(101, 248, 255, 0.12);
}

.schedule-row time {
  display: flex;
  align-items: baseline;
  gap: 8%;
  font-style: normal;
}

.schedule-row time b {
  color: #fff;
  font-size: 0.741cqw;
}

.schedule-row time span {
  color: var(--mc-aqua-soft);
  font-size: 0.423cqw;
  font-weight: 800;
}

.schedule-row > div {
  display: flex;
  align-items: baseline;
  gap: 4%;
  min-width: 0;
}

.schedule-row small {
  color: var(--mc-muted);
  font-size: 0.265cqw;
  font-weight: 800;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.schedule-row strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.582cqw;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-row em {
  justify-self: end;
  color: var(--mc-muted);
  font-size: 0.317cqw;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.schedule-row.is-next em {
  display: flex;
  align-items: center;
  gap: 0.7em;
  color: var(--mc-green);
}

.schedule-row.is-next em i {
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  background: var(--mc-green);
  box-shadow: 0 0 0.42cqw var(--mc-green);
  animation: mc-led 1.2s steps(2, end) infinite;
}

.schedule-row.is-library-preview time b,
.schedule-row.is-library-preview em {
  color: var(--mc-orange);
}

.launch-schedule-screen > footer {
  padding-top: 0.29cqw;
  color: #668b92;
  font-size: 0.265cqw;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
}

.viewing-screen {
  --screen-x: 10.414%;
  --screen-y: 77.333%;
  --screen-width: 36.132%;
  --screen-height: 11.902%;
  padding: 0.98cqw 1.2cqw 0.72cqw;
  display: flex;
  flex-direction: column;
}

.checklist-screen {
  --screen-x: 53.029%;
  --screen-y: 77.333%;
  --screen-width: 36.238%;
  --screen-height: 11.902%;
  padding: 0.98cqw 1.2cqw 0.72cqw;
  display: flex;
  flex-direction: column;
}

.viewing-screen h2,
.checklist-screen h2 {
  margin: 3.2% 0 2.5%;
  color: #fff;
  font-size: 0.82cqw;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.viewing-screen ol,
.checklist-screen ul {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  scrollbar-color: rgba(101, 248, 255, 0.72) rgba(3, 18, 27, 0.72);
  scrollbar-width: thin;
  list-style: none;
}

.viewing-screen ol::-webkit-scrollbar,
.checklist-screen ul::-webkit-scrollbar { width: 0.38cqw; }
.viewing-screen ol::-webkit-scrollbar-track,
.checklist-screen ul::-webkit-scrollbar-track { background: rgba(3, 18, 27, 0.72); }
.viewing-screen ol::-webkit-scrollbar-thumb,
.checklist-screen ul::-webkit-scrollbar-thumb { background: rgba(101, 248, 255, 0.72); }

.viewing-screen li,
.checklist-screen li {
  min-width: 0;
  border-bottom: 0.053cqw solid rgba(101, 248, 255, 0.12);
}

.viewing-screen button,
.checklist-screen button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.viewing-screen button {
  display: grid;
  grid-template-columns: 1.1cqw minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.3cqw;
  min-height: 1.62cqw;
  padding: 0.1cqw 0;
}

.viewing-screen button > b { color: var(--mc-aqua); font-size: 0.78cqw; }
.viewing-screen button > span { overflow: hidden; color: #e8fbfd; font-size: 0.68cqw; font-weight: 800; letter-spacing: 0.04em; line-height: 1.06; white-space: nowrap; text-overflow: ellipsis; }
.viewing-screen button small { display: block; margin-top: 0.09cqw; overflow: hidden; color: var(--mc-muted); font-size: 0.42cqw; letter-spacing: 0.06em; white-space: nowrap; text-overflow: ellipsis; }
.viewing-screen button em { color: var(--mc-aqua); font-size: 0.36cqw; font-style: normal; font-weight: 900; letter-spacing: 0.1em; }

.checklist-screen li > button {
  display: grid;
  grid-template-columns: 0.82cqw minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.22cqw;
  min-height: 1.37cqw;
  padding: 0.06cqw 0;
}

.checklist-screen li > button > i { width: 0.42cqw; height: 0.42cqw; border-radius: 50%; background: var(--mc-green); box-shadow: 0 0 0.3cqw var(--mc-green); }
.checklist-screen li > button > span,
.checklist-screen li > button > b { font-size: 0.56cqw; font-weight: 800; letter-spacing: 0.05em; }
.checklist-screen li > button > b { color: var(--mc-green); font-size: 0.34cqw; }
.viewing-screen button:hover,
.viewing-screen button:focus-visible,
.checklist-screen button:hover,
.checklist-screen button:focus-visible { outline: 0; background: rgba(101, 248, 255, 0.08); }

.checklist-screen > p { margin: 2.2% 0 0; color: var(--mc-orange); font-size: 0.27cqw; font-weight: 800; line-height: 1.28; letter-spacing: 0.04em; }

.console-light-bank {
  position: absolute;
  z-index: 7;
  top: 34.4%;
  display: grid;
  gap: 1.48cqw;
}

.console-light-bank--left { left: 10.2%; }
.console-light-bank--right { right: 10.2%; }

.console-light-bank i:nth-child(2n) {
  background: var(--mc-orange);
  box-shadow: 0 0 0.32cqw var(--mc-orange), 0 0 0.74cqw rgba(255, 157, 88, 0.72);
  animation-delay: 0.65s;
}

.console-light-bank i:nth-child(3n) {
  background: var(--mc-green);
  box-shadow: 0 0 0.32cqw var(--mc-green), 0 0 0.74cqw rgba(105, 255, 174, 0.72);
  animation-delay: 1.15s;
}

@keyframes mc-led {
  0%, 24%, 100% { opacity: 0.35; transform: scale(0.78); }
  35%, 72% { opacity: 1; transform: scale(1); }
}

@keyframes mc-go {
  0%, 44% { opacity: 1; }
  45%, 59% { opacity: 0.42; }
  60%, 100% { opacity: 1; }
}

@keyframes mc-provider {
  0%, 100% { opacity: 0.72; text-shadow: 0 0 0.16cqw rgba(101, 248, 255, 0.2); }
  50% { opacity: 1; text-shadow: 0 0 0.37cqw #fff, 0 0 0.95cqw rgba(101, 248, 255, 0.72); }
}

@keyframes mc-orbit { to { transform: rotate(360deg); } }

@keyframes mc-breathe {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* Mission-intelligence continuation. The approved cockpit art ends above this
   section; the source tables extend the page without stretching that image. */
.main-downlink-screen .console-visual {
  position: absolute;
  inset: 7% 1.5% 10%;
  z-index: 0;
  width: 97%;
  height: 83%;
  opacity: 0.54;
  pointer-events: none;
  mix-blend-mode: screen;
}

.main-downlink-screen > header,
.main-downlink-screen > .downlink-orbit,
.main-downlink-screen > .downlink-message,
.main-downlink-screen > footer {
  z-index: 3;
}

.launch-schedule-screen .schedule-row {
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.launch-schedule-screen .schedule-row:hover,
.launch-schedule-screen .schedule-row:focus-visible {
  outline: 0;
  background: rgba(101, 248, 255, 0.08);
  box-shadow: inset 2px 0 var(--mc-aqua);
}

.mission-intelligence {
  position: relative;
  overflow: hidden;
  color: #eafcff;
  background:
    radial-gradient(circle at 82% 6%, rgba(20, 166, 180, 0.13), transparent 26rem),
    radial-gradient(circle at 8% 52%, rgba(255, 123, 53, 0.07), transparent 30rem),
    linear-gradient(180deg, #02070b 0%, #06131a 12%, #07151d 100%);
  border-top: 1px solid rgba(101, 248, 255, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.mission-intelligence::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(101, 248, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 248, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000, transparent 84%);
}

.mission-intelligence::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  opacity: 0.8;
  background: linear-gradient(90deg, transparent, var(--mc-aqua), var(--mc-green), transparent);
  box-shadow: 0 0 24px rgba(101, 248, 255, 0.62);
  animation: mc-data-burn 5.6s ease-in-out infinite;
}

.intelligence-shell {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 104px) 0 clamp(70px, 8vw, 122px);
}

.intelligence-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 31%);
  gap: clamp(34px, 6vw, 84px);
  align-items: end;
  padding-bottom: clamp(32px, 4vw, 58px);
}

.intelligence-kicker,
.source-array > header p {
  display: flex;
  align-items: center;
  gap: 0.85em;
  margin: 0 0 14px;
  color: var(--mc-aqua);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.intelligence-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mc-green);
  box-shadow: 0 0 9px var(--mc-green), 0 0 24px rgba(105, 255, 174, 0.65);
  animation: mc-led 1.3s steps(2, end) infinite;
}

.intelligence-header h2 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-family: Cabin, Arial, sans-serif;
  font-size: clamp(38px, 6.2vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  text-shadow: 0 0 36px rgba(101, 248, 255, 0.14);
}

.intelligence-header > div:first-child > p:last-child {
  max-width: 780px;
  margin: 24px 0 0;
  color: #98b1b9;
  font-family: Cabin, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.68;
}

.intelligence-lockup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(101, 248, 255, 0.23);
  background: rgba(2, 10, 15, 0.8);
  box-shadow: inset 0 0 32px rgba(101, 248, 255, 0.035), 0 18px 50px rgba(0, 0, 0, 0.22);
}

.intelligence-lockup span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px 11px;
  color: #668992;
  border-right: 1px solid rgba(101, 248, 255, 0.14);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-align: center;
}

.intelligence-lockup span:nth-child(3) { border-right: 0; }

.intelligence-lockup b {
  margin-bottom: 5px;
  color: var(--mc-aqua-soft);
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(101, 248, 255, 0.42);
}

.intelligence-lockup small {
  grid-column: 1 / -1;
  padding: 10px;
  color: var(--mc-green);
  border-top: 1px solid rgba(101, 248, 255, 0.14);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
}

.dossier-jump {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
  border: 1px solid rgba(101, 248, 255, 0.22);
  background: rgba(3, 13, 19, 0.86);
}

.dossier-jump a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 20px;
  color: #bdd2d8;
  border-right: 1px solid rgba(101, 248, 255, 0.14);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.dossier-jump a:last-child { border-right: 0; }
.dossier-jump a:hover,
.dossier-jump a:focus-visible { color: #fff; background: rgba(101, 248, 255, 0.08); outline: 0; }
.dossier-jump span { color: var(--mc-aqua); font-size: 15px; }

.mission-dossier {
  position: relative;
  scroll-margin-top: 24px;
  margin-top: 22px;
  padding: clamp(25px, 4vw, 52px);
  border: 1px solid rgba(101, 248, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(101, 248, 255, 0.045), transparent 30%),
    rgba(4, 15, 21, 0.93);
  box-shadow: inset 0 0 54px rgba(101, 248, 255, 0.025), 0 22px 65px rgba(0, 0, 0, 0.2);
}

.mission-dossier::before,
.mission-dossier::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.mission-dossier::before {
  top: 9px;
  left: 9px;
  border-top: 1px solid var(--mc-aqua);
  border-left: 1px solid var(--mc-aqua);
}

.mission-dossier::after {
  right: 9px;
  bottom: 9px;
  border-right: 1px solid var(--mc-orange);
  border-bottom: 1px solid var(--mc-orange);
}

.mission-dossier.is-primary {
  border-color: rgba(105, 255, 174, 0.34);
  box-shadow: inset 0 0 58px rgba(105, 255, 174, 0.035), 0 26px 75px rgba(0, 0, 0, 0.26);
}

.dossier-header,
.dossier-title-row,
.dossier-sequence,
.confidence-badge {
  display: flex;
  align-items: center;
}

.dossier-header,
.dossier-title-row {
  justify-content: space-between;
  gap: 24px;
}

.dossier-header {
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(101, 248, 255, 0.16);
}

.dossier-sequence { gap: 13px; }
.dossier-sequence span { color: var(--mc-aqua); font-size: 9px; font-weight: 900; letter-spacing: 0.16em; }
.dossier-sequence i { width: 52px; height: 1px; background: rgba(101, 248, 255, 0.3); }
.dossier-sequence b { color: var(--mc-green); font-size: 8px; letter-spacing: 0.13em; }
.dossier-sequence b.is-tbc { color: var(--mc-orange); }

.dossier-header time {
  color: #fff;
  font-size: clamp(17px, 2.1vw, 28px);
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.dossier-header time small {
  display: block;
  margin-bottom: 7px;
  color: #708f97;
  font-size: 7px;
  letter-spacing: 0.14em;
}

.dossier-title-row { padding: clamp(25px, 3.5vw, 44px) 0 0; }
.dossier-title-row p { margin: 0 0 8px; color: var(--mc-aqua); font-size: 8px; font-weight: 900; letter-spacing: 0.17em; }
.dossier-title-row h3 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-family: Cabin, Arial, sans-serif;
  font-size: clamp(31px, 5vw, 67px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.confidence-badge {
  flex: 0 0 auto;
  gap: 9px;
  padding: 11px 13px;
  color: var(--mc-green);
  border: 1px solid rgba(105, 255, 174, 0.3);
  background: rgba(105, 255, 174, 0.06);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.confidence-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
  animation: mc-led 1.7s steps(2, end) infinite;
}

.confidence-badge.is-medium { color: var(--mc-orange); border-color: rgba(255, 157, 88, 0.32); background: rgba(255, 157, 88, 0.06); }

.mission-summary {
  max-width: 1040px;
  margin: 25px 0 30px;
  color: #a9bdc3;
  font-family: Cabin, Arial, sans-serif;
  font-size: clamp(14px, 1.55vw, 18px);
  line-height: 1.72;
}

.dossier-data {
  border: 1px solid rgba(101, 248, 255, 0.18);
  background: rgba(1, 8, 12, 0.72);
}

.dossier-data > summary {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  cursor: pointer;
  color: #e8fbfd;
  list-style: none;
}

.dossier-data > summary::-webkit-details-marker { display: none; }
.dossier-data > summary::before { content: "+"; margin-right: 13px; color: var(--mc-aqua); font-size: 20px; }
.dossier-data[open] > summary::before { content: "−"; }
.dossier-data > summary span { font-size: 8px; font-weight: 900; letter-spacing: 0.14em; }
.dossier-data > summary small { margin-left: auto; color: #668790; font-size: 7px; font-weight: 800; letter-spacing: 0.08em; }

.dossier-table-wrap { overflow-x: auto; border-top: 1px solid rgba(101, 248, 255, 0.16); }
.dossier-data table { width: 100%; border-collapse: collapse; }
.dossier-data caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dossier-data th,
.dossier-data td { padding: 16px 18px; border-bottom: 1px solid rgba(101, 248, 255, 0.095); vertical-align: top; }
.dossier-data tr:last-child > * { border-bottom: 0; }
.dossier-data th {
  width: 19%;
  color: #74939b;
  font-size: 8px;
  letter-spacing: 0.11em;
  text-align: left;
  text-transform: uppercase;
}
.dossier-data td:nth-child(2) { width: 62%; }
.dossier-data td:last-child { width: 19%; text-align: right; }
.dossier-data td strong { display: block; color: #e9fbfd; font-family: Cabin, Arial, sans-serif; font-size: 15px; }
.dossier-data td small { display: block; margin-top: 5px; color: #6f8b93; font-size: 8px; line-height: 1.4; }
.dossier-data td a {
  display: inline-block;
  padding-bottom: 3px;
  color: var(--mc-aqua);
  border-bottom: 1px solid rgba(101, 248, 255, 0.34);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.source-array {
  margin-top: clamp(48px, 7vw, 90px);
  padding-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid rgba(101, 248, 255, 0.24);
}

.source-array > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.source-array > header p { margin-bottom: 9px; }
.source-array > header h3 { margin: 0; color: #fff; font-family: Cabin, Arial, sans-serif; font-size: clamp(32px, 4vw, 54px); line-height: 0.9; letter-spacing: -0.05em; text-transform: uppercase; }
.source-array > header > span { color: #668790; font-size: 7px; font-weight: 900; letter-spacing: 0.13em; }

.source-array-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(101, 248, 255, 0.16);
  border: 1px solid rgba(101, 248, 255, 0.16);
}

.source-array-grid a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 18px;
  color: inherit;
  background: #07151d;
  text-decoration: none;
  transition: background-color 160ms ease;
}
.source-array-grid a:hover,
.source-array-grid a:focus-visible { background: #0b222c; outline: 0; }
.source-array-grid a > b { color: var(--mc-aqua); font-size: 17px; text-shadow: 0 0 12px rgba(101, 248, 255, 0.4); }
.source-array-grid a > span { color: #eefeff; font-family: Cabin, Arial, sans-serif; font-size: 15px; font-weight: 700; }
.source-array-grid a small { display: block; margin-top: 5px; color: #6f8c95; font-family: ui-monospace, monospace; font-size: 7px; font-weight: 700; letter-spacing: 0.05em; }
.source-array-grid a em { color: var(--mc-green); font-size: 7px; font-style: normal; font-weight: 900; letter-spacing: 0.1em; }

.source-policy {
  margin: 20px 0 0;
  padding-left: 15px;
  color: #738f97;
  border-left: 2px solid var(--mc-orange);
  font-family: Cabin, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.6;
}

@keyframes mc-data-burn {
  0%, 100% { opacity: 0.25; transform: translateX(-42%); }
  50% { opacity: 1; transform: translateX(42%); }
}

@media (max-width: 820px) {
  .intelligence-header { grid-template-columns: 1fr; align-items: start; }
  .intelligence-lockup { max-width: 480px; }
  .dossier-title-row { align-items: flex-start; }
  .dossier-title-row h3 { max-width: 610px; }
  .confidence-badge { margin-top: 4px; }
}

@media (max-width: 620px) {
  .intelligence-shell { width: min(100% - 24px, 1180px); }
  .intelligence-header h2 { font-size: clamp(38px, 13vw, 62px); }
  .intelligence-header > div:first-child > p:last-child { font-size: 13px; }
  .dossier-jump { grid-template-columns: 1fr; }
  .dossier-jump a { min-height: 48px; border-right: 0; border-bottom: 1px solid rgba(101, 248, 255, 0.14); }
  .dossier-jump a:last-child { border-bottom: 0; }
  .dossier-header { align-items: flex-start; }
  .dossier-sequence i { display: none; }
  .dossier-sequence { flex-direction: column; align-items: flex-start; gap: 6px; }
  .dossier-header time { max-width: 48%; }
  .dossier-title-row { display: block; }
  .confidence-badge { display: inline-flex; margin-top: 17px; }
  .mission-summary { font-size: 14px; line-height: 1.62; }
  .dossier-data > summary { display: grid; grid-template-columns: auto 1fr; min-height: 70px; }
  .dossier-data > summary::before { grid-row: 1 / 3; }
  .dossier-data > summary small { margin: 5px 0 0; }
  .dossier-data th,
  .dossier-data td { padding: 14px 11px; }
  .dossier-data th { width: 25%; font-size: 7px; }
  .dossier-data td:nth-child(2) { width: 57%; }
  .dossier-data td:last-child { width: 18%; }
  .dossier-data td strong { font-size: 13px; }
  .source-array > header { display: block; }
  .source-array > header > span { display: block; margin-top: 13px; }
  .source-array-grid { grid-template-columns: 1fr; }
  .source-array-grid a { grid-template-columns: 34px 1fr auto; min-height: 69px; padding: 10px 12px; }
  .source-array-grid a > span { font-size: 13px; }
  .source-array-grid a em { font-size: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .mission-overlay *,
  .mission-overlay *::before,
  .mission-overlay *::after,
  .mission-intelligence *,
  .mission-intelligence *::before,
  .mission-intelligence *::after {
    animation: none !important;
  }
}

/* WordPress review scale: the cockpit labels read as information, not texture. */
@media (min-width: 721px) {
  .launch-cockpit-scene > .page-hero .eyebrow { font-size: 0.63cqw !important; }
  .launch-cockpit-scene > .page-hero h1 { font-size: 4.75cqw !important; line-height: .9 !important; }
  .launch-cockpit-scene > .page-hero .intro { max-width: 31cqw !important; font-size: 1.02cqw !important; line-height: 1.42 !important; }
  .launch-cockpit-scene .launch-hero-telemetry span,
  .launch-cockpit-scene > .page-hero .actions > a { font-size: 0.55cqw !important; }
  .screen-kicker { font-size: 0.48cqw; }
  .countdown-units small { font-size: 0.4cqw; }
  .main-downlink-screen header,
  .mission-brief-screen header,
  .range-status-screen header,
  .viewing-screen header,
  .checklist-screen header { font-size: 0.71cqw; }
  .downlink-message p { font-size: 0.79cqw; }
  .downlink-message h2 { font-size: 3.72cqw; }
  .downlink-message > span { font-size: 0.63cqw; }
  .main-downlink-screen footer a { font-size: 0.79cqw; }
  .main-downlink-screen footer > span { font-size: 0.55cqw; }
  .mission-brief-screen h2 { font-size: 2.4cqw; }
  .mission-fact-grid small { font-size: 0.47cqw; }
  .mission-fact-grid b { font-size: 0.87cqw; }
  .range-status-screen > p { font-size: 0.63cqw; }
  .source-lock,.range-status-screen > a { font-size: 0.47cqw; }
  .launch-schedule-screen > header span { font-size: 0.71cqw; }
  .launch-schedule-screen > header b,
  .launch-schedule-screen > header small { font-size: 0.47cqw; }
  .schedule-row time b { font-size: 1cqw; }
  .schedule-row time span { font-size: 0.63cqw; }
  .schedule-row small { font-size: 0.4cqw; }
  .schedule-row strong { font-size: 0.87cqw; }
  .schedule-row em { font-size: 0.47cqw; }
}
