:root {
  --void: #010104;
  --void-soft: #05050c;
  --ink: #f4f7ff;
  --muted: #9aa6bd;
  --dim: #77849d;
  --line: rgba(166, 205, 238, 0.2);
  --line-strong: rgba(193, 229, 255, 0.42);
  --cyan: #50e8ff;
  --blue: #4175ff;
  --violet: #a44dff;
  --magenta: #ff4f9a;
  --amber: #ffc86b;
  --header-height: 78px;
  --page-gutter: 48px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scrollbar-color: #526078 var(--void);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--void);
  color: var(--ink);
  font-family: Bahnschrift, "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1em;
  height: 1em;
  stroke-width: 1.5;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--cyan);
  color: #020208;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 9px 13px;
  border: 1px solid var(--cyan);
  background: var(--void);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-probe {
  position: fixed;
  width: 1px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 2px;
  background: rgba(255, 255, 255, 0.035);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(80, 232, 255, 0.8);
}

@supports (animation-timeline: scroll()) {
  .scroll-progress span {
    animation: scroll-progress linear both;
    animation-duration: 1ms;
    animation-timeline: scroll(root block);
  }
}

@keyframes scroll-progress {
  to { transform: scaleX(1); }
}

.scene-root {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint style;
  background: var(--void);
  transition: opacity 240ms ease;
}

body.menu-open .scene-root {
  opacity: 0.26;
}

.scene-fallback,
.space-canvas,
.scene-vignette,
.scene-axis,
.scene-frame {
  position: absolute;
  inset: 0;
}

.scene-fallback {
  overflow: hidden;
  background-color: var(--void);
  background-image: url("./assets/starfield.webp");
  background-position: center;
  background-size: cover;
  opacity: 1;
  transition: opacity 900ms ease;
}

.scene-fallback::before,
.scene-fallback::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
}

.scene-fallback::before {
  width: min(62vw, 760px);
  aspect-ratio: 1.7;
  border: 1px solid rgba(80, 232, 255, 0.25);
  box-shadow: 0 0 34px rgba(65, 117, 255, 0.18), inset 0 0 28px rgba(164, 77, 255, 0.12);
}

.scene-fallback::after {
  width: min(14vw, 170px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 247, 255, 0.72);
  box-shadow: 0 0 22px rgba(80, 232, 255, 0.7);
}

.space-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 700ms ease;
}

.space-canvas.is-dragging {
  cursor: grabbing;
}

.scene-root.is-ready .space-canvas {
  opacity: 1;
}

.scene-root.is-ready .scene-fallback {
  opacity: 0;
}

.scene-root.is-fallback .space-canvas {
  opacity: 0;
}

.scene-root.is-fallback .scene-fallback {
  opacity: 1;
}

.scene-vignette {
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 48%, transparent 32%, rgba(1, 1, 4, 0.12) 66%, rgba(1, 1, 4, 0.64) 100%);
}

.scene-axis {
  z-index: 3;
  pointer-events: none;
  opacity: 0.12;
}

.scene-axis::before,
.scene-axis::after {
  position: absolute;
  content: "";
  background: rgba(115, 197, 235, 0.16);
}

.scene-axis::before {
  top: 50%;
  right: 7%;
  left: 7%;
  height: 1px;
}

.scene-axis::after {
  top: 9%;
  bottom: 9%;
  left: 50%;
  width: 1px;
}

.scene-frame {
  z-index: 4;
  pointer-events: none;
}

.frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(177, 220, 244, 0.32);
  border-style: solid;
}

.frame-corner:nth-child(1) {
  top: 96px;
  left: var(--page-gutter);
  border-width: 1px 0 0 1px;
}

.frame-corner:nth-child(2) {
  top: 96px;
  right: var(--page-gutter);
  border-width: 1px 1px 0 0;
}

.frame-corner:nth-child(3) {
  right: var(--page-gutter);
  bottom: 100px;
  border-width: 0 1px 1px 0;
}

.frame-corner:nth-child(4) {
  bottom: 100px;
  left: var(--page-gutter);
  border-width: 0 0 1px 1px;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  border-color: var(--line);
  background: rgba(1, 1, 6, 0.88);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  line-height: 1;
}

.brand-glyph {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(80, 232, 255, 0.54);
  border-radius: 50%;
}

.brand-glyph::before,
.brand-glyph::after,
.brand-glyph span {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.brand-glyph::before {
  width: 4px;
  height: 4px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.brand-glyph::after {
  width: 42px;
  height: 13px;
  border: 1px solid rgba(164, 77, 255, 0.55);
  transform: rotate(-18deg);
}

.brand-glyph span {
  width: 19px;
  height: 19px;
  border: 1px solid rgba(244, 247, 255, 0.22);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
}

.brand small {
  margin-top: 5px;
  color: var(--dim);
  font-size: 8px;
}

.header-center {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #afbdd0;
  font-family: Consolas, monospace;
  font-size: 9px;
  line-height: 1;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: live-pulse 2.2s ease-in-out infinite;
}

@keyframes live-pulse {
  50% { opacity: 0.34; transform: scale(0.72); }
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.chapter-count {
  display: inline-flex;
  align-items: baseline;
  min-width: 62px;
  margin-right: 6px;
  color: var(--dim);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.chapter-count b {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}

.chapter-count i {
  margin: 0 7px;
  color: var(--cyan);
  font-style: normal;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 5, 12, 0.48);
  color: #dceaff;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(80, 232, 255, 0.58);
  background: rgba(13, 22, 34, 0.72);
  color: var(--cyan);
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  position: fixed;
  z-index: 25;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 98px 24px 54px;
  background: rgba(2, 2, 9, 0.98);
}

.mobile-nav > span {
  margin-bottom: 24px;
  color: var(--dim);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.mobile-nav ol,
.chapter-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav ol {
  width: 100%;
}

.mobile-nav a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  min-height: 68px;
  border-top: 1px solid var(--line);
  color: #c8d3e6;
  font-size: 22px;
}

.mobile-nav a:last-child {
  border-bottom: 1px solid var(--line);
}

.mobile-nav a span {
  color: var(--dim);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.mobile-nav a svg {
  color: var(--cyan);
}

.mobile-nav a[aria-current="step"] {
  color: var(--ink);
}

.mobile-nav a[aria-current="step"] span {
  color: var(--cyan);
}

.chapter-rail {
  position: fixed;
  z-index: 12;
  top: 50%;
  right: 38px;
  transform: translateY(-50%);
}

.chapter-rail ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chapter-rail a {
  display: grid;
  grid-template-columns: 22px 34px 74px;
  align-items: center;
  min-height: 24px;
  color: var(--dim);
  font-size: 9px;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.chapter-rail a span {
  font-family: Consolas, monospace;
}

.chapter-rail a i {
  width: 30px;
  height: 1px;
  margin-left: 4px;
  background: currentColor;
  transform: scaleX(0.53);
  transform-origin: left center;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.chapter-rail a small {
  color: inherit;
  font-size: 9px;
  white-space: nowrap;
}

.chapter-rail a:hover,
.chapter-rail a[aria-current="step"] {
  transform: translateX(-4px);
  color: var(--ink);
}

.chapter-rail a[aria-current="step"] i {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(80, 232, 255, 0.72);
  transform: scaleX(1);
}

.chapter-rail a[aria-current="step"] span {
  color: var(--cyan);
}

.scene-labels {
  position: fixed;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.label-group {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 260ms ease;
}

.label-group.is-active {
  opacity: 1;
}

.scene-label {
  position: absolute;
  top: var(--y);
  left: var(--x);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(206, 227, 246, 0.64);
  font-family: Consolas, monospace;
  font-size: 8px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 360ms ease, transform 360ms ease;
}

.label-group.is-active .scene-label {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.label-group.is-active .scene-label:nth-child(2) { transition-delay: 70ms; }
.label-group.is-active .scene-label:nth-child(3) { transition-delay: 130ms; }
.label-group.is-active .scene-label:nth-child(4) { transition-delay: 190ms; }
.label-group.is-active .scene-label:nth-child(5) { transition-delay: 250ms; }

.scene-label::before {
  width: 5px;
  height: 5px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 7px currentColor;
}

.scene-label::after {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.36;
}

.scene-label.is-violet {
  color: rgba(204, 128, 255, 0.76);
}

.scene-label.is-cyan {
  color: rgba(94, 235, 255, 0.82);
}

.scene-label.is-rose {
  color: rgba(255, 107, 170, 0.74);
}

.telemetry {
  position: fixed;
  z-index: 11;
  right: var(--page-gutter);
  bottom: 24px;
  left: var(--page-gutter);
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  align-items: end;
  gap: 38px;
  min-height: 52px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  pointer-events: none;
}

.telemetry-primary span,
.telemetry-primary strong,
.telemetry-item span,
.telemetry-item b {
  display: block;
  letter-spacing: 0;
}

.telemetry-primary span,
.telemetry-item span {
  color: var(--dim);
  font-family: Consolas, monospace;
  font-size: 8px;
}

.telemetry-primary strong {
  margin-top: 3px;
  color: #dce8f8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 400;
}

.telemetry-item {
  min-width: 64px;
}

.telemetry-item b {
  margin-top: 2px;
  color: var(--ink);
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 400;
  text-align: right;
}

.journey {
  position: relative;
  z-index: 6;
  pointer-events: none;
}

.chapter {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100svh;
  align-items: center;
  padding: 118px max(7vw, 88px) 138px;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  view-timeline: --chapter-pass block;
}

.chapter-copy {
  position: relative;
  z-index: 1;
  width: min(600px, 44vw);
  opacity: 0.12;
  transform: translate3d(0, 30px, 0);
  transition: opacity 320ms ease, transform 320ms ease;
}

.chapter.is-active .chapter-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@supports (animation-timeline: view()) {
  .scroll-linked .chapter-copy {
    opacity: 0;
    animation: chapter-pass linear both;
    animation-duration: 1ms;
    animation-timeline: --chapter-pass;
    animation-range: entry 0% exit 100%;
  }
}

@keyframes chapter-pass {
  0%, 32%, 68%, 100% {
    opacity: 0;
    transform: translate3d(0, 38px, 0);
  }
  42%, 58% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.chapter[data-align="center"] .chapter-copy {
  justify-self: center;
  width: min(720px, 64vw);
  text-align: center;
}

.chapter[data-align="right"] .chapter-copy {
  justify-self: end;
  margin-right: 0;
}

.chapter[data-align="left"] .chapter-copy {
  justify-self: start;
  margin-left: 2vw;
}

.chapter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--accent, var(--cyan));
  font-family: Consolas, monospace;
  font-size: 9px;
  line-height: 1;
}

.chapter-kicker span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.hero-title,
.chapter-title {
  margin: 0;
  color: rgba(244, 247, 255, 0.94);
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(1, 1, 4, 0.52);
}

.hero-title span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 98px;
  font-weight: 400;
  line-height: 0.86;
}

.hero-title em {
  display: block;
  margin-top: 20px;
  color: #dce9f8;
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.2;
}

.chapter-title {
  font-size: 64px;
  font-weight: 300;
  line-height: 1.08;
}

.chapter-title em {
  color: var(--accent, var(--cyan));
  font-style: normal;
  font-weight: 300;
}

.chapter-lead {
  max-width: 500px;
  margin: 27px 0 0;
  color: rgba(194, 206, 222, 0.82);
  font-size: 15px;
  line-height: 1.95;
  text-shadow: 0 1px 5px rgba(1, 1, 4, 0.76);
}

.chapter[data-align="center"] .chapter-lead {
  margin-right: auto;
  margin-left: auto;
}

.launch-link,
.return-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 0 0 9px;
  border-bottom: 1px solid rgba(80, 232, 255, 0.58);
  color: var(--ink);
  font-size: 13px;
  pointer-events: auto;
  transition: color 180ms ease, border-color 180ms ease;
}

.launch-link:hover,
.return-link:hover {
  border-color: var(--magenta);
  color: var(--cyan);
}

.launch-link svg,
.return-link svg {
  transition: transform 180ms ease;
}

.launch-link:hover svg,
.return-link:hover svg {
  transform: translateY(-2px);
}

.next-chapter-peek {
  position: absolute;
  bottom: 102px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-family: Consolas, monospace;
  font-size: 8px;
  pointer-events: auto;
  transform: translateX(-50%);
  transition: color 180ms ease;
}

.next-chapter-peek::before {
  width: 36px;
  height: 1px;
  content: "";
  background: currentColor;
}

.next-chapter-peek:hover {
  color: var(--cyan);
}

.chapter-readout {
  position: absolute;
  top: 50%;
  right: -112px;
  width: 92px;
  color: var(--dim);
  font-family: Consolas, monospace;
  font-size: 8px;
  text-align: left;
  transform: translateY(-50%);
}

.chapter-readout span {
  display: block;
  margin-bottom: 7px;
}

.chapter-readout i {
  display: block;
  width: 52px;
  height: 1px;
  margin: 10px 0;
  background: var(--accent, var(--cyan));
  opacity: 0.56;
}

.data-strip,
.fact-grid {
  display: grid;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.data-strip {
  grid-template-columns: repeat(3, 1fr);
}

.data-strip div,
.fact-grid div {
  padding: 15px 16px 14px 0;
}

.data-strip div + div,
.fact-grid div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.data-strip dt,
.fact-grid dt {
  color: var(--dim);
  font-size: 9px;
}

.data-strip dd,
.fact-grid dd {
  margin: 4px 0 0;
  color: #e5efff;
  font-family: Consolas, monospace;
  font-size: 13px;
}

.fact-grid {
  grid-template-columns: repeat(4, 1fr);
}

.signal-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.signal-nodes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c0cadb;
  font-family: Consolas, monospace;
  font-size: 9px;
}

.signal-nodes li::before {
  width: 5px;
  height: 5px;
  content: "";
  border: 1px solid var(--accent, var(--cyan));
  border-radius: 50%;
  box-shadow: 0 0 7px var(--accent, var(--cyan));
}

.final-coordinate {
  margin: 30px 0 0;
  color: var(--amber);
  font-family: Consolas, monospace;
  font-size: 10px;
}

.chapter-footer {
  position: absolute;
  right: 0;
  bottom: -96px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-family: Consolas, monospace;
  font-size: 8px;
}

.filing-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
  text-align: right;
}

.filing-links a {
  color: inherit;
  text-decoration: none;
}

.filing-links a:hover,
.filing-links a:focus-visible {
  color: var(--cyan);
  text-decoration: underline;
}

.chapter-origin { --accent: var(--cyan); }
.chapter-rift { --accent: #c35cff; }
.chapter-planet { --accent: var(--amber); }
.chapter-network { --accent: var(--magenta); }
.chapter-atlas { --accent: #6de9ff; }

.chapter-origin .chapter-copy,
.chapter-atlas .chapter-copy {
  display: grid;
  min-height: min(640px, calc(100svh - 256px));
  grid-template-rows: auto auto minmax(112px, 1fr) auto auto auto;
  justify-items: center;
}

.chapter-origin .chapter-kicker,
.chapter-atlas .chapter-kicker {
  margin-bottom: 14px;
}

.chapter-origin .chapter-lead,
.chapter-atlas .chapter-lead {
  grid-row: 4;
  margin-top: 0;
}

.chapter-origin .launch-link {
  grid-row: 5;
  justify-self: center;
  margin-top: 18px;
}

.chapter-atlas .final-coordinate {
  grid-row: 5;
  margin-top: 18px;
}

.chapter-atlas .return-link {
  grid-row: 6;
  justify-self: center;
  margin-top: 18px;
}

.chapter-atlas .chapter-title {
  font-size: 60px;
}

.chapter-planet {
  align-items: start;
}

.chapter-planet .chapter-copy {
  width: min(480px, 34vw);
  padding-top: 36px;
}

.chapter-planet .chapter-title {
  font-size: 60px;
}

.top-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 2px;
}

@media (min-width: 1680px) {
  .hero-title span { font-size: 108px; }
  .chapter-title { font-size: 70px; }
  .chapter-copy { width: min(690px, 44vw); }
}

@media (max-width: 1180px) {
  :root {
    --page-gutter: 32px;
  }

  .chapter {
    padding-right: 82px;
    padding-left: 58px;
  }

  .chapter[data-align="right"] .chapter-copy,
  .chapter[data-align="left"] .chapter-copy {
    margin-right: 0;
    margin-left: 0;
  }

  .hero-title span { font-size: 86px; }
  .hero-title em { font-size: 30px; }
  .chapter-title { font-size: 54px; }
  .chapter-copy { width: min(560px, 53vw); }
  .chapter-planet .chapter-copy { width: min(500px, 46vw); }
  .chapter-planet .chapter-title,
  .chapter-atlas .chapter-title { font-size: 52px; }
  .chapter-rail { right: 22px; }
  .chapter-rail a { grid-template-columns: 20px 28px 1px; }
  .chapter-rail a small { display: none; }
  .chapter-readout { display: none; }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
    --page-gutter: 20px;
  }

  html {
    scroll-snap-type: y proximity;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-center,
  .chapter-count,
  .chapter-rail {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .brand strong { font-size: 16px; }
  .brand small { font-size: 7px; }
  .brand-glyph { width: 29px; height: 29px; }
  .icon-button { width: 44px; height: 44px; }

  .frame-corner:nth-child(1),
  .frame-corner:nth-child(2) {
    top: 82px;
  }

  .frame-corner:nth-child(3),
  .frame-corner:nth-child(4) {
    bottom: 78px;
  }

  .scene-axis {
    opacity: 0.13;
  }

  .scene-axis::after {
    display: none;
  }

  .scene-label {
    font-size: 7px;
  }

  .scene-label:nth-child(n + 3) {
    display: none;
  }

  .telemetry {
    right: 20px;
    bottom: 12px;
    left: 20px;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    min-height: 46px;
  }

  .telemetry-item:nth-of-type(3) {
    display: none;
  }

  .telemetry-primary strong { font-size: 12px; }
  .telemetry-primary span,
  .telemetry-item span { font-size: 7px; }
  .telemetry-item b { font-size: 10px; }

  .chapter {
    align-items: center;
    padding: 92px 24px 104px;
  }

  .chapter[data-align="center"] .chapter-copy,
  .chapter[data-align="left"] .chapter-copy,
  .chapter[data-align="right"] .chapter-copy {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .chapter[data-align="left"] .chapter-copy,
  .chapter[data-align="right"] .chapter-copy {
    text-align: left;
  }

  .chapter-origin .chapter-copy,
  .chapter-atlas .chapter-copy {
    min-height: calc(100svh - 196px);
    grid-template-rows: auto auto minmax(48px, 1fr) auto auto auto;
    text-align: center;
  }

  .chapter-atlas .chapter-copy {
    grid-template-rows: auto auto minmax(48px, 1fr) auto auto auto auto;
  }

  .chapter-rift,
  .chapter-planet,
  .chapter-network {
    align-items: start;
  }

  .chapter-rift .chapter-copy,
  .chapter-planet .chapter-copy,
  .chapter-network .chapter-copy {
    width: 100%;
    padding-top: 28px;
  }

  .chapter-kicker {
    margin-bottom: 18px;
  }

  .hero-title span {
    font-size: 56px;
    line-height: 0.94;
  }

  .hero-title em {
    margin-top: 20px;
    font-size: 27px;
  }

  .chapter-title {
    font-size: 40px;
    line-height: 1.12;
  }

  .chapter-planet .chapter-title,
  .chapter-atlas .chapter-title {
    font-size: 38px;
  }

  .chapter-lead {
    margin-top: 23px;
    font-size: 14px;
    line-height: 1.85;
  }

  .launch-link,
  .return-link {
    margin-top: 27px;
  }

  .next-chapter-peek {
    display: none;
  }

  .data-strip,
  .fact-grid {
    margin-top: 26px;
  }

  .data-strip div,
  .fact-grid div {
    padding: 12px 8px 11px 0;
  }

  .data-strip div + div,
  .fact-grid div + div {
    padding-left: 8px;
  }

  .data-strip dt,
  .fact-grid dt {
    font-size: 9px;
  }

  .data-strip dd,
  .fact-grid dd {
    font-size: 11px;
  }

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

  .fact-grid div:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact-grid div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .signal-nodes {
    gap: 8px 15px;
    margin-top: 27px;
  }

  .chapter-footer {
    position: static;
    grid-row: 7;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 18px;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .filing-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-left: 0;
    text-align: center;
  }

  .filing-links > span[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 380px) {
  .scene-labels {
    display: none;
  }

  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .chapter {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-title span { font-size: 50px; }
  .hero-title em { font-size: 24px; }
  .chapter-title { font-size: 38px; }
  .chapter-lead { font-size: 13px; }
  .mobile-nav a { font-size: 19px; }
  .telemetry {
    right: 14px;
    left: 14px;
    gap: 12px;
  }

  .telemetry-item:nth-of-type(2) {
    display: none;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  :root {
    --header-height: 64px;
  }

  .chapter {
    padding-top: 82px;
    padding-bottom: 98px;
  }

  .chapter-origin .chapter-copy,
  .chapter-atlas .chapter-copy {
    min-height: calc(100svh - 180px);
    grid-template-rows: auto auto minmax(40px, 1fr) auto auto auto;
  }

  .chapter-planet .chapter-copy {
    padding-top: 0;
  }

  .hero-title span { font-size: 72px; }
  .hero-title em { margin-top: 18px; font-size: 27px; }
  .chapter-title { font-size: 49px; }
  .chapter-lead { margin-top: 20px; line-height: 1.75; }
  .data-strip,
  .fact-grid,
  .signal-nodes { margin-top: 22px; }
  .telemetry { bottom: 14px; }
}

body.motion-paused .live-dot,
body.motion-paused .chapter-copy {
  animation: none !important;
}

body.motion-paused .chapter-copy {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

body.motion-paused .label-group,
body.motion-paused .scene-label {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .chapter-copy {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}
