/* Voyager's rocket and space motif are explicitly requested by the project author. */
:root {
  --space: #0e1a31;
  --starlight: #f5f8fb;
  --orbit: #8dbbae;
  --flight: #9fe3c8;
}
.site-header,
.hero {
  background-color: var(--space);
  color: var(--starlight);
  max-width: none;
  padding-inline: max(var(--frame), calc((100% - 1536px) / 2 + var(--frame)));
}
.hero {
  background-image: url("assets/stars.svg");
  background-size: 640px 480px;
  gap: 3vw;
  padding-bottom: 62px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-copy > p:not(.lead),
.hero .affiliations {
  color: #c4d4e7;
}
.hero .button {
  background: var(--flight);
  color: var(--space);
}
.hero .text-link {
  color: var(--flight);
}
.hero-art {
  padding: 0;
  min-width: 0;
}
.orbital-layers {
  display: block;
  width: 100%;
  max-width: 660px;
  margin-inline: auto;
  overflow: visible;
}
.orbit-ring {
  fill: none;
  stroke: #526b85;
  stroke-width: 1;
}
.orbital-layer circle {
  fill: #647a94;
  stroke: var(--space);
  stroke-width: 4;
}
.orbital-layer text {
  fill: #b4c5da;
  font-size: 15px;
}
.orbital-layer.is-selected circle {
  fill: var(--flight);
}
.orbital-layer.is-selected text {
  fill: var(--starlight);
  font-weight: 600;
}
.orbital-layer.is-anchor circle {
  stroke: var(--flight);
  fill: var(--space);
  stroke-width: 3;
}
.orbital-center {
  fill: var(--starlight);
  font-size: 27px;
  font-weight: 500;
  text-anchor: middle;
}
.hero-art figcaption {
  text-align: center;
  padding: 0;
  color: #e4edf8;
  font-size: 17px;
}
.hero-art figcaption span {
  color: #b4c5da;
}
.voyager-rocket {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
}

.result-band {
  background: #192d43;
}
.footer {
  background: var(--space) url("assets/stars.svg") repeat;
}
.footer-name {
  font-size: clamp(52px, 8vw, 120px);
}
.footer-name span {
  font-size: 0.58em;
  vertical-align: 0.12em;
}
.topbar {
  color: var(--starlight);
  background: var(--space) url("assets/stars.svg");
}
.topbar > p {
  color: #c4d4e7;
}
@media (max-width: 1000px) {
  .hero {
    gap: 24px;
  }
  .orbital-layer text {
    font-size: 28px;
  }
  .orbital-label-prefix {
    display: none;
  }
  .orbital-center {
    font-size: 30px;
  }
}
@media (max-width: 600px) {
  .hero {
    gap: 18px;
    padding-bottom: 36px;
  }
  .orbital-layers {
    max-width: 440px;
  }
  .orbital-layer text {
    font-size: 26px;
  }
  .hero-art figcaption {
    margin-top: 6px;
    font-size: 16px;
  }
  .site-header nav {
    gap: 13px;
  }
  .footer-name {
    font-size: clamp(48px, 12vw, 72px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .voyager-rocket {
    transition: none;
  }
}

/* Shared surfaces carry the opening's identity through the scientific content. */
.voyager-page {
  --ink: #13203a;
  --teal: #1d6b5a;
  --ground: #0e1a31;
  --mint: #1b2a48;
  --light: #1b2a48;
  --muted: #5a6a82;
  --panel: #f5f8fb;
}
body.voyager-page {
  color: var(--starlight);
}
:where(.voyager-page) .section {
  padding-block: 96px;
}
:where(.voyager-page) .section-intro {
  margin-bottom: 40px;
}
:where(.voyager-page) .section-intro > p,
:where(.voyager-page) .reading,
:where(.voyager-page) .resource-copy > p:not(.paper-title),
:where(.voyager-page) .scope > p,
:where(.voyager-page) .results-reading > div,
:where(.voyager-page) .band-context {
  color: #c4d1e2;
}
:where(.voyager-page) .hero .text-link {
  border: 1px solid #9fe3c8;
  padding: 15px 20px;
}
:where(.voyager-page) .hero-actions {
  gap: 16px;
}
:where(.voyager-page) .result-band {
  background: #1b2a48;
}
:where(.voyager-page) .metric-direction {
  color: var(--flight);
}
:where(.voyager-page) .method-walkthrough,
:where(.voyager-page) .layer-lesson,
:where(.voyager-page) .ctx-section,
:where(.voyager-page) .paper-figure,
:where(.voyager-page) .evidence-frame,
:where(.voyager-page) .citation {
  background: var(--panel);
  color: var(--ink);
}
:where(.voyager-page) .method-walkthrough,
:where(.voyager-page) .layer-lesson,
:where(.voyager-page) .ctx-section {
  padding: 32px;
  margin-bottom: 32px;
}
:where(.voyager-page) .method-walkthrough-heading,
:where(.voyager-page) .lesson-heading,
:where(.voyager-page) .ctx-heading {
  gap: 24px;
}
:where(.voyager-page) .method-walkthrough-heading p,
:where(.voyager-page) .lesson-heading p,
:where(.voyager-page) .ctx-heading p {
  font-size: 16px;
  color: var(--muted);
}
:where(.voyager-page) .method-part-buttons button,
:where(.voyager-page) .layer-lesson button,
:where(.voyager-page) .method-walkthrough button,
:where(.voyager-page) .method-walkthrough select,
:where(.voyager-page) .ctx-step-select select {
  border-color: #b6c4d4;
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink);
}
:where(.voyager-page) .method-part-buttons button.is-selected,
:where(.voyager-page) .method-playback #method-play,
:where(.voyager-page) .lesson-mobile-views button[aria-pressed="true"] {
  background: #1b2a48;
  color: var(--flight);
  border-color: #1b2a48;
}
:where(.voyager-page) .method-part-buttons {
  gap: 8px;
}
:where(.voyager-page) .method-walkthrough a,
:where(.voyager-page) .layer-lesson a,
:where(.voyager-page) .ctx-section a,
:where(.voyager-page) .paper-figure a,
:where(.voyager-page) .evidence-frame a {
  color: var(--teal);
}
:where(.voyager-page) .lesson-method-subtitle,
:where(.voyager-page) .lesson-key,
:where(.voyager-page) .lesson-disclosure,
:where(.voyager-page) #lesson-inputs legend,
:where(.voyager-page) .ctx-stage,
:where(.voyager-page) .ctx-note {
  color: var(--muted);
  font-size: 14px;
}
:where(.voyager-page) .lesson-wiring text,
:where(.voyager-page) .ctx-pipeline text {
  fill: var(--ink);
}
:where(.voyager-page) .lesson-node,
:where(.voyager-page) .lesson-score {
  fill: #eaf0f6;
  stroke: #b6c4d4;
}
:where(.voyager-page) .lesson-node.chosen,
:where(.voyager-page) .lesson-score.chosen {
  fill: #dce8f2;
  stroke: #6c87a4;
}
:where(.voyager-page) .lesson-box {
  fill: var(--panel);
  stroke: #91a6be;
}
:where(.voyager-page) .lesson-box.router,
:where(.voyager-page) .lesson-box.fusion {
  fill: #dce8f2;
  stroke: #426486;
}
:where(.voyager-page) .lesson-wire.selected,
:where(.voyager-page) .lesson-wire.choice {
  stroke: #426486;
}
:where(.voyager-page) .lesson-pulse {
  stroke: #13203a;
}
:where(.voyager-page) #lesson-inputs label {
  background: var(--panel);
  border-color: #b6c4d4;
}
:where(.voyager-page) #lesson-inputs label:has(input:checked) {
  background: #dce8f2;
  border-color: #426486;
}
:where(.voyager-page) #lesson-inputs input {
  accent-color: #1b2a48;
}
:where(.voyager-page) .ctx-step .ctx-step-frame {
  fill: var(--panel);
  stroke: #c3cfde;
}
:where(.voyager-page) .ctx-step.is-selected .ctx-step-frame {
  stroke: #426486;
}
:where(.voyager-page) .ctx-step rect {
  fill: #e8eff6;
  stroke: #91a6be;
}
:where(.voyager-page) .ctx-step .ctx-router {
  fill: #dce8f2;
  stroke: #426486;
}
:where(.voyager-page) .ctx-step circle {
  fill: #e8eff6;
  stroke: #91a6be;
}
:where(.voyager-page) .method-details details {
  background: #233552;
}
:where(.voyager-page) .method-details details p {
  color: #c4d1e2;
}
:where(.voyager-page) .results-toolbar {
  margin-bottom: 24px;
}
:where(.voyager-page) select {
  border: 1px solid #b6c4d4;
  border-radius: 4px;
  background: var(--panel);
  color: var(--ink);
  min-height: 44px;
}
:where(.voyager-page) .table-wrap {
  color: var(--ink);
  background: var(--panel);
  padding: 16px 24px 24px;
}
:where(.voyager-page) thead {
  background: var(--panel);
}
:where(.voyager-page) td,
:where(.voyager-page) th {
  padding: 16px;
  border-bottom: 1px solid #d5deea;
}
:where(.voyager-page) tbody tr:nth-child(even) {
  background: transparent;
}
:where(.voyager-page) tbody tr.ours {
  background: #1b2a48;
  color: var(--flight);
}
:where(.voyager-page) tbody tr.ours td,
:where(.voyager-page) tbody tr.ours th {
  border-color: #1b2a48;
}
:where(.voyager-page) .results > .note {
  color: #b6c6dc;
  font-size: 15px;
}
:where(.voyager-page) .results-reading {
  margin-top: 48px;
}
:where(.voyager-page) .evidence-index button {
  background: #263855;
  color: var(--starlight);
}
:where(.voyager-page) .evidence-index button.chosen {
  background: var(--flight);
  color: var(--ink);
}
:where(.voyager-page) .citation-heading button {
  background: #1b2a48;
  color: var(--flight);
  min-height: 44px;
  border-radius: 4px;
}
:where(.voyager-page) .resource-links a {
  color: var(--flight);
}
:where(.voyager-page) .footer .note {
  color: #b6c6dc;
}
:where(.voyager-page) .skip {
  color: var(--ink);
}
:where(.voyager-page) button:focus-visible,
:where(.voyager-page) a:focus-visible,
:where(.voyager-page) input:focus-visible,
:where(.voyager-page) select:focus-visible,
:where(.voyager-page) summary:focus-visible,
:where(.voyager-page) .table-wrap:focus-visible {
  outline-color: #9fe3c8;
}
:where(.voyager-page) .method-walkthrough :focus-visible,
:where(.voyager-page) .layer-lesson :focus-visible,
:where(.voyager-page) .ctx-section :focus-visible,
:where(.voyager-page) .evidence-frame :focus-visible,
:where(.voyager-page) .citation :focus-visible {
  outline-color: #1d6b5a;
}
@media (max-width: 1000px) {
  :where(.voyager-page) .section {
    padding-block: 72px;
  }
  :where(.voyager-page) .method-walkthrough,
  :where(.voyager-page) .layer-lesson,
  :where(.voyager-page) .ctx-section {
    padding: 24px;
  }
}
@media (max-width: 600px) {
  :where(.voyager-page) .section {
    padding-block: 64px;
  }
  :where(.voyager-page) .method-walkthrough,
  :where(.voyager-page) .layer-lesson,
  :where(.voyager-page) .ctx-section {
    padding: 22px 16px;
  }
  :where(.voyager-page) .table-wrap {
    padding: 8px 12px 20px;
  }
  :where(.voyager-page) td,
  :where(.voyager-page) th {
    padding: 14px 10px;
  }
  :where(.voyager-page) .hero .text-link {
    padding: 13px 16px;
  }
}
:where(.voyager-page) .sample-strip figcaption {
  color: var(--starlight);
}
:where(.voyager-page) .sample-strip > .note {
  color: #b6c6dc;
}
:where(.voyager-page) .method-details {
  background: transparent;
}
:where(.voyager-page) .evidence-index button:not(.chosen):hover {
  background: #263855;
}
:where(.voyager-page) .evidence-index button.chosen:hover {
  background: var(--flight);
  color: var(--ink);
}
:where(.voyager-page) .method-part-count,
:where(.voyager-page) .method-explanation .method-part-note,
:where(.voyager-page) .method-walkthrough figcaption,
:where(.voyager-page) .method-pan-hint {
  color: var(--muted);
  font-size: 14px;
}
:where(.voyager-page) .method-explanation {
  min-height: 190px;
}

/* Recorded images make the input-conditioned choice visible in the opening. */
.hero-recorded {
  width: 100%;
  max-width: 610px;
  margin-inline: auto;
}
.hero-recorded .orbital-layers {
  max-width: 540px;
  overflow: visible;
}
.hero-recorded .hero-depth-arc {
  stroke: #405674;
}
.hero-recorded .orbital-layer text {
  font-size: 22px;
}

.hero-photo-edge {
  fill: none;
  stroke: #62758f;
  stroke-width: 1;
}
#hero-image {
  transform-box: fill-box;
  transform-origin: center;
}
.hero-image-name {
  fill: #f5f8fb;
  font:
    20px "Albert Sans",
    Arial,
    sans-serif;
  text-anchor: middle;
}
.hero-depth-label {
  fill: #b4c5da;
  font:
    17px "Albert Sans",
    Arial,
    sans-serif;
  text-anchor: middle;
}
.hero-recorded figcaption {
  text-align: left;
}
.hero-case-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0;
}
.hero-case-heading strong {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero-recorded .hero-route-readout,
.hero-recorded .hero-ensemble {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.hero-route-readout {
  color: #c4d1e2;
  min-height: 24px;
}
.hero-route-readout b,
.hero-ensemble b {
  color: var(--flight);
  font-weight: 500;
}
.hero-recorded .hero-ensemble {
  margin-top: 4px;
}
.hero-example-picker {
  padding: 0;
  border: 0;
  min-width: 0;
  margin: 18px 0 0;
}
.hero-example-picker legend {
  color: #b4c5da;
  font-size: 14px;
  padding: 0;
  margin-bottom: 8px;
}
.hero-example-picker > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-example-picker button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 92px;
  padding: 6px 0 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--starlight);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.hero-example-picker button img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.hero-example-picker button:hover img,
.hero-example-picker button[aria-pressed="true"] img {
  opacity: 1;
}
.hero-example-picker button[aria-pressed="true"] {
  border-bottom-color: var(--flight);
}
.hero-example-picker button[aria-pressed="true"] img {
  outline: 2px solid var(--flight);
  outline-offset: 3px;
}
.hero-example-picker button[aria-pressed="true"] span {
  color: var(--flight);
}
.hero-example-picker button:focus-visible {
  outline: 2px solid var(--flight);
  outline-offset: 3px;
}
.hero-recorded .hero-recorded-note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #b4c5da;
}
.hero-recorded-note a {
  color: var(--flight);
}
.hero-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-copy > .lead {
    max-width: 34ch;
  }
  .hero-recorded {
    max-width: 600px;
  }
  .hero-recorded .orbital-layer text {
    font-size: 26px;
  }
}
@media (max-width: 600px) {
  .hero-depth-label {
    font-size: 21px;
  }
  .hero-case-heading {
    display: block;
    margin-top: 4px;
  }
  .hero-case-heading strong {
    display: block;
    font-size: 21px;
  }

  .hero-route-readout {
    min-height: 48px;
  }
  .hero-example-picker > div {
    gap: 8px;
  }
  .hero-example-picker button {
    font-size: 14px;
  }
  .hero-example-picker button img {
    width: 54px;
    height: 54px;
  }
}
/* Final visual critique: equal node states, grouped results and a compact picker. */
.hero {
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-recorded {
  padding-top: 16px;
}
.hero-recorded .orbital-layer.is-anchor circle {
  fill: var(--flight);
  stroke: var(--space);
  stroke-width: 4;
}
.hero-case-heading {
  margin: 0 0 8px;
}
.hero-recorded .hero-reference {
  color: #b4c5da;
  font-size: 14px;
  margin: 2px 0 0;
}
.hero-example-picker {
  margin-top: 14px;
}
.hero-example-picker > div {
  grid-template-columns: repeat(4, minmax(0, 64px));
  gap: 12px;
}
.hero-example-picker button {
  min-height: 86px;
  padding: 4px 0 0;
  border: 0;
  gap: 6px;
}
.hero-example-picker button[aria-pressed="true"] {
  border: 0;
}
@media (max-width: 1000px) {
  .hero-recorded {
    padding-top: 0;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 36px;
  }
  .hero-example-picker > div {
    grid-template-columns: repeat(4, minmax(0, 64px));
    gap: 12px;
  }
}
