@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Inter_18pt-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  src: url("assets/fonts/Inter_18pt-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/Inter_18pt-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 700;
  src: url("assets/fonts/Inter_18pt-BoldItalic.ttf") format("truetype");
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Orbitron-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/Orbitron-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Oxanium-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 600;
  src: url("assets/fonts/Oxanium-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/SpaceMono-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: italic;
  font-weight: 400;
  src: url("assets/fonts/SpaceMono-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/SpaceMono-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Space Mono";
  font-style: italic;
  font-weight: 700;
  src: url("assets/fonts/SpaceMono-BoldItalic.ttf") format("truetype");
}

/* Respect reduced motion preference and manual toggle */
@media (prefers-reduced-motion: reduce), .reduced-motion {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  color-scheme: dark;
  /* Cover-aligned institutional palette — realistic hard SF, not neon HUD */
  --bg: #05080b;
  --bg-soft: #0c1218;
  --panel: rgba(16, 26, 34, 0.94);
  --panel-strong: #101a22;
  --line: rgba(232, 229, 220, 0.12);
  --text: #e8e5dc;
  --muted: #9a968c;
  --dim: #6e6b63;
  --cyan: #7eaab7;
  --cyan-soft: rgba(126, 170, 183, 0.14);
  --amber: #d28b32;
  --gold: #f3b44c;
  --red: #a93b32;
  --rust: #a84f28;
  --shadow: 0 20px 64px rgba(0, 0, 0, 0.5);
  --max: 1180px;
  --gutter: clamp(1rem, 5vw, 4rem);
  --body-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --title-font: "Orbitron", ui-sans-serif, system-ui, sans-serif;
  --subtitle-font: "Oxanium", ui-sans-serif, system-ui, sans-serif;
  --mono-font: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --radius-panel: 4px;
  --radius-control: 3px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(126, 170, 183, 0.05), transparent 26rem),
    radial-gradient(circle at 82% 48%, rgba(210, 139, 50, 0.035), transparent 28rem),
    linear-gradient(180deg, rgba(5, 8, 11, 0.4), var(--bg) 720px),
    var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.65;
  /* Subtle static starfield — no continuous ambient motion */
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background-image:
    radial-gradient(circle, rgba(232, 229, 220, 0.38) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(126, 170, 183, 0.28) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(232, 229, 220, 0.18) 0 1px, transparent 1.1px);
  background-size: 170px 170px, 280px 280px, 400px 400px;
  background-position: 18px 42px, 80px 120px, 30px 240px;
  opacity: 0.22;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 8, 11, 0.08), rgba(5, 8, 11, 0.7) 80%),
    radial-gradient(circle at 14% 30%, rgba(126, 170, 183, 0.07), transparent 20rem),
    radial-gradient(circle at 88% 70%, rgba(210, 139, 50, 0.05), transparent 18rem);
}

body[data-page]::before {
  opacity: 0.28;
}

body[data-page]::after {
  background:
    linear-gradient(180deg, rgba(5, 8, 11, 0.14), rgba(5, 8, 11, 0.78) 74%),
    radial-gradient(circle at 18% 26%, rgba(126, 170, 183, 0.08), transparent 22rem),
    radial-gradient(circle at 84% 54%, rgba(210, 139, 50, 0.06), transparent 20rem);
}

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

@keyframes starDrift {
  from {
    background-position: 18px 42px, 80px 120px, 30px 240px;
  }

  to {
    background-position: 58px 82px, 122px 150px, 74px 286px;
  }
}

@keyframes heroDrift {
  0%,
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.045) translate3d(-0.8rem, 0.45rem, 0);
  }
}

@keyframes routePulse {
  0%,
  100% {
    opacity: 0.44;
    box-shadow: 0 0 14px rgba(126, 170, 183, 0.38);
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 24px rgba(126, 170, 183, 0.82);
  }
}

@keyframes lumenHaloPulse {
  0%,
  100% {
    opacity: 0.22;
    transform: translateY(-50%) scale(0.72);
  }

  42% {
    opacity: 0.72;
    transform: translateY(-50%) scale(1.02);
  }

  70% {
    opacity: 0.12;
    transform: translateY(-50%) scale(1.22);
  }
}

@keyframes lumenRingPulse {
  0%,
  100% {
    opacity: 0.18;
    transform: translateY(-50%) scale(0.92);
  }

  46% {
    opacity: 0.7;
    transform: translateY(-50%) scale(1.08);
  }
}

@keyframes lumenMarkPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(210, 139, 50, 0.28)) drop-shadow(0 0 13px rgba(126, 170, 183, 0.18));
    transform: scale(1);
  }

  46% {
    filter: drop-shadow(0 0 10px rgba(255, 246, 212, 0.46)) drop-shadow(0 0 20px rgba(210, 139, 50, 0.34));
    transform: scale(1.035);
  }
}

@keyframes warningPulse {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(169, 59, 50, 0.42);
  }

  50% {
    box-shadow: 0 0 28px rgba(169, 59, 50, 0.9);
  }
}

@keyframes conduitFlow {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 220px 0;
  }
}

@keyframes protocolScan {
  from {
    transform: translateX(-115%);
  }

  to {
    transform: translateX(115%);
  }
}

@keyframes protocolBlink {
  0%,
  48%,
  100% {
    opacity: 0.48;
  }

  52%,
  84% {
    opacity: 1;
  }
}

@keyframes meterRise {
  from {
    transform: scaleY(0.18);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes fieldScan {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100%);
  }
}

@keyframes quietFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes driftReported {
  from {
    background-position: 0 0;
    stroke-dashoffset: 0;
  }

  to {
    background-position: 180px 0;
    stroke-dashoffset: -40;
  }
}

@keyframes beaconPing {
  0% {
    opacity: 0;
    transform: scale(0.42);
  }

  22% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
    transform: scale(2.8);
  }
}

@keyframes scanConeSweep {
  0%,
  100% {
    opacity: 0.12;
    transform: rotate(-7deg) translateX(-2%);
  }

  50% {
    opacity: 0.3;
    transform: rotate(-2deg) translateX(4%);
  }
}

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

body.is-lightbox-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding: 0 var(--gutter);
  background: rgba(5, 8, 11, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--subtitle-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  isolation: isolate;
  min-width: 0;
  color: var(--text);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  letter-spacing: 0.22em;
}

.brand-series {
  font-family: var(--mono-font);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.brand::before,
.brand::after {
  content: "";
  position: absolute;
  top: 50%;
  pointer-events: none;
  border-radius: 50%;
}

.brand::before {
  left: -0.42rem;
  z-index: -1;
  width: 2.7rem;
  height: 2.7rem;
  background:
    radial-gradient(circle, rgba(243, 180, 76, 0.16) 0 18%, rgba(126, 170, 183, 0.1) 40%, transparent 70%);
  transform: translateY(-50%);
}

.brand::after {
  left: 0.02rem;
  z-index: 0;
  width: 1.95rem;
  height: 1.95rem;
  border: 1px solid rgba(210, 139, 50, 0.28);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(210, 139, 50, 0.08);
}

.lumen-mark {
  position: relative;
  z-index: 1;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  opacity: 0.96;
  filter: drop-shadow(0 0 6px rgba(210, 139, 50, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  color: var(--muted);
  font-family: var(--subtitle-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  min-width: 0;
}

.site-nav a {
  padding: 1.45rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--amber);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: rgba(16, 26, 34, 0.9);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(126, 170, 183, 0.68);
  background: rgba(126, 170, 183, 0.1);
  outline: none;
}

.site-header.is-nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header.is-nav-open .nav-toggle {
  position: relative;
}

.site-header.is-nav-open .nav-toggle span {
  position: absolute;
  top: 20px;
  left: 11px;
  margin: 0;
}

.site-header.is-nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.motion-toggle {
  margin-left: 0.5rem;
  padding: 6px 10px;
  font-family: var(--mono-font);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: rgba(16, 26, 34, 0.9);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.motion-toggle:hover,
.motion-toggle:focus-visible {
  border-color: rgba(126, 170, 183, 0.68);
  background: rgba(126, 170, 183, 0.1);
  color: var(--text);
  outline: none;
}

@media (max-width: 720px) {
  .motion-toggle {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -140px 140px rgba(5, 8, 11, 0.82);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.82;
  /* Static cinematic frame — no Ken Burns */
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 46%, rgba(126, 170, 183, 0.08), transparent 20rem),
    linear-gradient(90deg, rgba(5, 8, 11, 0.97) 0%, rgba(5, 8, 11, 0.82) 32%, rgba(5, 8, 11, 0.28) 58%, rgba(5, 8, 11, 0.12) 78%),
    linear-gradient(0deg, rgba(5, 8, 11, 0.88) 0%, rgba(5, 8, 11, 0.2) 38%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 88vw);
  margin-left: var(--gutter);
  padding-top: 2rem;
  padding-bottom: 9.5rem;
}

.eyebrow,
.kicker {
  color: var(--amber);
  font-family: var(--subtitle-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--title-font);
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0.06em;
}

h2 {
  font-family: var(--title-font);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: 0.04em;
}

h3 {
  font-family: var(--subtitle-font);
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-copy {
  max-width: 48ch;
  margin-bottom: 0;
  color: #cfcabf;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7.2vw, 5.4rem);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-tagline {
  margin-bottom: 1.35rem;
  color: var(--cyan);
  font-family: var(--subtitle-font);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.76rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  font-family: var(--subtitle-font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(126, 170, 183, 0.55);
  outline: none;
}

.button.primary {
  background: var(--cyan);
  color: #05080b;
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(126, 170, 183, 0.2);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #8eb8c3;
  border-color: #8eb8c3;
  box-shadow: 0 0 20px rgba(126, 170, 183, 0.18);
}

.button.secondary {
  background: rgba(16, 26, 34, 0.72);
  color: var(--text);
}

.button.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  text-decoration: underline;
  text-decoration-color: rgba(126, 170, 183, 0.35);
  text-underline-offset: 0.35em;
}

.button.ghost:hover,
.button.ghost:focus-visible {
  color: var(--text);
  border-color: transparent;
  text-decoration-color: var(--cyan);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.85rem;
}

.protocol-panel {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(6.5rem, 12vw, 9.5rem);
  z-index: 3;
  width: min(340px, 30vw);
  overflow: hidden;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(126, 170, 183, 0.22);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(12, 18, 24, 0.97), rgba(8, 12, 16, 0.94)),
    var(--panel-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(232, 229, 220, 0.04);
}

.protocol-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Static instrument texture — no sweeping scan */
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 14px);
  opacity: 0.85;
}

.protocol-panel > * {
  position: relative;
  z-index: 1;
}

.protocol-panel__header,
.protocol-panel__readout div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.protocol-panel__header {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.protocol-panel__header strong {
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 700;
}

.protocol-panel__header strong[data-protocol-state="alert"],
.protocol-panel.is-alert .protocol-panel__header strong {
  color: var(--amber);
}

.protocol-panel__meter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0.45rem;
  height: 42px;
  margin-bottom: 1rem;
}

.protocol-panel__meter span {
  height: var(--level);
  min-height: 5px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(126, 170, 183, 0.9), rgba(126, 170, 183, 0.18));
  box-shadow: 0 0 10px rgba(126, 170, 183, 0.14);
  transform-origin: bottom;
  animation: meterRise 0.9s ease-out both;
}

.protocol-panel__meter span:nth-child(2) {
  animation-delay: 100ms;
}

.protocol-panel__meter span:nth-child(3) {
  background: linear-gradient(180deg, rgba(210, 139, 50, 0.88), rgba(210, 139, 50, 0.16));
  box-shadow: 0 0 10px rgba(210, 139, 50, 0.12);
  animation-delay: 200ms;
}

.protocol-panel__readout {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0;
}

.protocol-panel__readout div {
  padding: 0.5rem 0;
  border-top: 1px solid rgba(218, 230, 235, 0.11);
}

.protocol-panel__readout dt {
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.68rem;
}

.protocol-panel__readout dd {
  margin: 0;
  color: #d4d0c6;
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
}

.protocol-panel__feed {
  min-height: 1.3rem;
  margin: 0;
  color: var(--amber);
  font-family: var(--mono-font);
  font-size: 0.78rem;
}

.route-strip {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 4.6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 580px;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-strip::before,
.route-strip::after {
  content: "";
  height: 1px;
  flex: 1;
  background:
    linear-gradient(90deg, transparent, rgba(126, 170, 183, 0.45), transparent),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(126, 170, 183, 0.28) 14px 15px, transparent 15px 28px);
  background-size: 100% 1px, 180px 1px;
}

.route-node {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(126, 170, 183, 0.75);
  box-shadow: 0 0 8px rgba(126, 170, 183, 0.28);
}

.route-node.warning {
  background: var(--red);
  box-shadow: 0 0 12px rgba(169, 59, 50, 0.45);
  /* Only the anomaly node moves — purposeful signal */
  animation: warningPulse 2.8s ease-in-out infinite;
}

.section,
.feature-band,
.author-section,
.page-hero {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-band {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.78;
}

.band-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.4rem;
}

.concept-deck {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 18, 23, 0.74), rgba(5, 8, 11, 0.88)),
    url("assets/characters/lumen.webp") center 42% / cover fixed,
    var(--bg);
  box-shadow: 0 -36px 110px rgba(126, 170, 183, 0.06), 0 36px 120px rgba(0, 0, 0, 0.44);
}

.concept-deck::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.55), rgba(5, 8, 11, 0.2), rgba(5, 8, 11, 0.58)),
    radial-gradient(circle at 26% 24%, rgba(126, 170, 183, 0.18), transparent 20rem),
    radial-gradient(circle at 84% 50%, rgba(210, 139, 50, 0.13), transparent 16rem);
  opacity: 0.86;
}

.concept-deck > * {
  position: relative;
  z-index: 1;
}

.deck-primary,
.deck-author {
  padding: clamp(1.5rem, 3.2vw, 2.8rem) var(--gutter);
}

.deck-primary {
  border-right: 1px solid var(--line);
}

.deck-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(680px, 100%);
  margin: 0 auto 1.2rem;
}

.deck-heading span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.deck-heading .eyebrow {
  margin: 0;
  color: var(--text);
  white-space: nowrap;
}

.deck-author {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: clamp(1.5rem, 3.2vw, 2.8rem);
}

.deck-author::before {
  content: "";
  position: absolute;
  inset: clamp(0.9rem, 1.8vw, 1.4rem);
  background:
    linear-gradient(
      105deg,
      rgba(5, 8, 11, 0.97) 0%,
      rgba(5, 8, 11, 0.9) 42%,
      rgba(5, 8, 11, 0.55) 72%,
      rgba(5, 8, 11, 0.35) 100%
    ),
    url("assets/places/titan-colony.webp") center / cover;
  border: 1px solid var(--line);
  border-radius: 4px;
  opacity: 0.92;
}

.deck-author__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 1.25rem 1.35rem;
  align-items: center;
  width: min(100%, 520px);
  padding: 0.15rem 0.2rem;
}

.deck-author__photo {
  display: block;
  width: 148px;
  height: 178px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center 12%;
  border: 1px solid rgba(232, 229, 220, 0.18);
  border-radius: var(--radius-panel);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  background: var(--panel-strong);
}

.deck-author__copy {
  min-width: 0;
  max-width: 28rem;
}

.deck-author__copy .eyebrow {
  margin-bottom: 0.35rem;
}

.deck-author__copy p:not(.eyebrow) {
  margin: 0.55rem 0 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.deck-author h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  line-height: 1.15;
}

.panel-link {
  color: var(--amber);
  font-family: var(--subtitle-font);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.deck-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.deck-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 72px;
  color: var(--muted);
  font-family: var(--subtitle-font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease;
}

.deck-links a + a {
  border-left: 1px solid var(--line);
}

.deck-links a svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

.deck-links a:hover,
.deck-links a:focus-visible {
  color: var(--text);
  background: rgba(126, 170, 183, 0.05);
}

.deck-links a:hover svg,
.deck-links a:focus-visible svg {
  opacity: 1;
  stroke: var(--cyan);
}

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

.book-card,
.bio-card,
.place-card,
.release-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(16, 26, 34, 0.92), rgba(10, 14, 18, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(232, 229, 220, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.book-card::before,
.bio-card::before,
.place-card::before,
.release-card::before,
.about-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  pointer-events: none;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.book-card:hover,
.bio-card:hover,
.place-card:hover,
.release-card:hover,
.about-panel:hover {
  border-color: rgba(126, 170, 183, 0.28);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(232, 229, 220, 0.04);
}

.book-card:hover::before,
.bio-card:hover::before,
.place-card:hover::before,
.release-card:hover::before,
.about-panel:hover::before {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(126, 170, 183, 0.35);
}

.book-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.95rem;
  padding: 0.95rem;
}

.book-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.book-meta .kicker {
  margin: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  color: #05080b;
  font-family: var(--subtitle-font);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Concept Art Gallery */
.art-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.art-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease;
}

.art-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 170, 183, 0.35);
}

.art-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.art-meta {
  padding: 1.1rem 1.25rem 1.35rem;
}

.art-meta h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.art-chapter {
  font-family: var(--subtitle-font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0;
}

.status-soon {
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(126, 170, 183, 0.28);
}

.status-preorder {
  background: var(--amber);
  box-shadow: 0 0 22px rgba(210, 139, 50, 0.28);
}

.status-draft {
  background: rgba(210, 139, 50, 0.42);
  color: var(--text);
  box-shadow: none;
}

.status-planned {
  background: rgba(238, 243, 241, 0.78);
}

.book-release-note {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-family: var(--subtitle-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.book-card-actions .panel-link {
  margin-top: 0;
}

.release-cta {
  margin-top: 1.1rem;
}

.cover-frame {
  display: grid;
  place-items: center;
  padding: clamp(0.7rem, 1.5vw, 1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 50% 10%, rgba(126, 170, 183, 0.06), transparent 42%),
    rgba(5, 8, 11, 0.55);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.25);
}

.cover-frame img {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  transition: box-shadow 200ms ease;
}

.book-card:hover .cover-frame img {
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.58);
}

.is-expandable-image {
  cursor: zoom-in;
}

.is-expandable-image:hover,
.is-expandable-image:focus-visible {
  outline: 2px solid rgba(126, 170, 183, 0.72);
  outline-offset: 4px;
}

.book-card p,
.bio-card p,
.place-card p,
.feature-copy p,
.author-copy p,
.release-card p {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem);
}

.lumen-band {
  background:
    linear-gradient(120deg, rgba(126, 170, 183, 0.08), rgba(5, 8, 11, 0.72) 52%),
    url("assets/characters/lumen.webp") center / cover,
    rgba(13, 18, 23, 0.56);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}

.lumen-band::before {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.7), rgba(5, 8, 11, 0.18) 42%, rgba(5, 8, 11, 0.66)),
    radial-gradient(circle at 18% 26%, rgba(126, 170, 183, 0.14), transparent 18rem);
}

.signal-panel {
  display: grid;
  gap: 0.65rem;
}

.signal-panel div {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(5, 8, 11, 0.45);
}

.signal-panel div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(126, 170, 183, 0.45);
}

.signal-panel div:nth-child(3)::before {
  background: var(--amber);
}

.signal-panel div:nth-child(4)::before {
  background: rgba(210, 139, 50, 0.55);
}

.signal-panel div > * {
  position: relative;
  z-index: 1;
}

.signal-panel span {
  color: var(--muted);
}

.signal-panel strong {
  color: var(--cyan);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.reader-band {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.92), rgba(5, 8, 11, 0.72)),
    url("assets/places/ceres-delta.webp") center / cover;
}

.reader-band::before {
  background:
    radial-gradient(circle at 72% 46%, rgba(126, 170, 183, 0.1), transparent 20rem),
    linear-gradient(180deg, rgba(5, 8, 11, 0.28), rgba(5, 8, 11, 0.86));
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow);
}

.author-section,
.release-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 2rem;
  align-items: start;
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.release-section {
  border-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.release-band {
  background:
    linear-gradient(180deg, rgba(5, 8, 11, 0.84), rgba(5, 8, 11, 0.96)),
    url("assets/characters/lumen.webp") center / cover;
}

.release-band::before {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.7), rgba(5, 8, 11, 0.42), rgba(5, 8, 11, 0.72));
}

.newsletter-band {
  background:
    linear-gradient(120deg, rgba(5, 8, 11, 0.9), rgba(5, 8, 11, 0.66)),
    url("assets/places/hyperion-relay.webp") center / cover;
}

.newsletter-band::before {
  background:
    radial-gradient(circle at 20% 35%, rgba(126, 170, 183, 0.13), transparent 18rem),
    radial-gradient(circle at 82% 54%, rgba(210, 139, 50, 0.12), transparent 18rem);
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(120deg, rgba(126, 170, 183, 0.07), transparent 44%),
    linear-gradient(300deg, rgba(210, 139, 50, 0.05), transparent 54%),
    rgba(12, 18, 24, 0.94);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(232, 229, 220, 0.03);
}

.newsletter-copy p,
.form-note {
  color: var(--muted);
}

.newsletter-panel {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.newsletter-panel::before {
  content: none;
}

.newsletter-panel > * {
  position: relative;
  z-index: 1;
}

.emailoctopus-slot {
  width: min(100%, 430px);
  min-height: 340px;
}

.emailoctopus-slot .inline-container {
  width: 100% !important;
  max-width: none !important;
  min-height: 340px !important;
  overflow: hidden !important;
  border-radius: var(--radius-panel) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38) !important;
}

.emailoctopus-slot .background-image {
  width: 100% !important;
  height: 100% !important;
  background-position: center !important;
}

.emailoctopus-slot .form-container {
  width: 100% !important;
  padding: clamp(1.25rem, 2.4vw, 1.75rem) !important;
}

.emailoctopus-slot .emailoctopus-form,
.emailoctopus-slot .main-form {
  width: 100% !important;
}

.emailoctopus-slot .form-control,
.emailoctopus-slot .btn {
  width: 100% !important;
  min-height: 48px !important;
  font-size: 1rem !important;
}

.emailoctopus-slot .emailoctopus-form-row-consent {
  margin-top: 0.25rem !important;
}

.fallback-newsletter-form {
  display: grid;
  gap: 0.8rem;
}

.fallback-newsletter-form label {
  color: var(--muted);
  font-family: var(--subtitle-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.signup-row input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.signup-row input:focus {
  outline: 2px solid rgba(126, 170, 183, 0.45);
  outline-offset: 2px;
  border-color: var(--cyan);
}

.form-note {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.release-card {
  padding: 1.4rem;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 5rem 0 3rem;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero::before {
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(232, 229, 220, 0.28) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(126, 170, 183, 0.22) 0 1px, transparent 1.2px);
  background-size: 150px 150px, 260px 260px;
  background-position: 24px 38px, 92px 126px;
  opacity: 0.22;
}

.page-hero::after {
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 40%, rgba(5, 8, 11, 0.35)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 18px);
  opacity: 0.4;
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.page-hero.compact {
  width: 100%;
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96), rgba(5, 8, 11, 0.66) 58%, rgba(5, 8, 11, 0.86)),
    radial-gradient(circle at 74% 42%, rgba(126, 170, 183, 0.16), transparent 22rem),
    radial-gradient(circle at 20% 76%, rgba(210, 139, 50, 0.12), transparent 18rem),
    var(--bg-soft);
}

.page-hero.compact > div:not(.drift-visual) {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.page-hero.compact h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero.compact p:not(.eyebrow) {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.world-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.94), rgba(5, 8, 11, 0.36) 58%, rgba(5, 8, 11, 0.82)),
    linear-gradient(180deg, transparent, rgba(5, 8, 11, 0.96)),
    url("assets/ceres-delta.webp") center / cover;
}

.drift-separator {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96), rgba(5, 8, 11, 0.72) 45%, rgba(5, 8, 11, 0.92)),
    radial-gradient(circle at 68% 48%, rgba(126, 170, 183, 0.13), transparent 26rem),
    rgba(13, 18, 23, 0.82);
}

.drift-separator::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(126, 170, 183, 0.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(126, 170, 183, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 94%);
  opacity: 0.28;
  transform: perspective(900px) rotateX(58deg) translateY(10%);
  transform-origin: 50% 80%;
}

.drift-separator__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  min-height: clamp(280px, 34vw, 430px);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.6rem) 0;
}

.drift-separator__copy h2 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: 3rem;
}

.drift-panel {
  position: relative;
  height: clamp(270px, 42vh, 430px);
  opacity: 0.86;
}

.drift-panel::before {
  content: "";
  position: absolute;
  inset: 8% 2% 4%;
  border: 1px solid rgba(126, 170, 183, 0.16);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 14% 46%, rgba(126, 170, 183, 0.13), transparent 9%),
    radial-gradient(circle at 86% 64%, rgba(210, 139, 50, 0.13), transparent 11%),
    linear-gradient(90deg, rgba(126, 170, 183, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(126, 170, 183, 0.055) 1px, transparent 1px),
    rgba(5, 8, 11, 0.18);
  background-size: auto, auto, 9% 100%, 100% 18%;
  box-shadow: inset 0 0 48px rgba(126, 170, 183, 0.05), 0 24px 80px rgba(0, 0, 0, 0.22);
}

.drift-label,
.drift-endpoint,
.drift-acheron,
.drift-offset,
.drift-correction {
  position: absolute;
  z-index: 3;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.drift-label--reported {
  left: 10%;
  top: 22%;
  color: var(--cyan);
}

.drift-label--actual {
  left: 27%;
  top: 77%;
  color: var(--amber);
}

.drift-endpoint--origin {
  left: 7%;
  top: 52%;
}

.drift-acheron {
  left: calc(88% - 7px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d4d0c6;
}

.drift-acheron-dot {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1px solid rgba(126, 170, 183, 0.7);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(126, 170, 183, 0.35);
}

.drift-acheron-dot::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(126, 170, 183, 0.28);
  border-radius: 50%;
  /* Purposeful beacon: slow, low-amplitude ping */
  animation: beaconPing 5.5s ease-out infinite;
}

.drift-paths {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
}

.drift-path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.drift-path--reported {
  stroke: rgba(126, 170, 183, 0.65);
  stroke-width: 1.3;
  stroke-dasharray: 4 3;
  filter: drop-shadow(0 0 3px rgba(126, 170, 183, 0.28));
  /* Static planned route — official record is calm */
}

.drift-path--actual {
  stroke: rgba(210, 139, 50, 0.88);
  stroke-width: 1.8;
  stroke-dasharray: 7 4;
  filter: drop-shadow(0 0 4px rgba(210, 139, 50, 0.32));
  /* Only the anomaly track moves */
  animation: driftReported 9s linear infinite;
}

.drift-offset {
  left: 42%;
  top: 62%;
  color: var(--red);
}

.drift-correction {
  right: 18%;
  top: 30%;
  color: var(--amber);
}

.drift-scan-cone {
  position: absolute;
  right: 2%;
  top: 15%;
  z-index: 1;
  width: 78%;
  height: 72%;
  background: conic-gradient(from 194deg at 96% 54%, transparent 0 17deg, rgba(126, 170, 183, 0.1) 18deg 33deg, transparent 35deg 360deg);
  opacity: 0.7;
}

.world-hero > .page-hero__copy {
  position: relative;
  z-index: 3;
  width: min(var(--max), 100%);
  max-width: none;
  margin: 0 auto;
}

.about-hero {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96), rgba(5, 8, 11, 0.68) 58%, rgba(5, 8, 11, 0.86)),
    url("assets/places/titan-colony.webp") center / cover;
}

.about-page-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1.2fr) minmax(240px, 0.85fr);
  gap: 1.25rem;
  align-items: start;
}

.about-photo-panel {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.about-photo-panel img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
}

.about-photo-panel figcaption {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-top: 1.25rem;
}

.about-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(16, 26, 34, 0.92), rgba(10, 14, 18, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(232, 229, 220, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.about-panel > * {
  position: relative;
  z-index: 1;
}

.about-panel p {
  color: var(--muted);
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.chip {
  position: relative;
  overflow: hidden;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0 0.9rem;
  background: rgba(16, 26, 34, 0.85);
  color: var(--muted);
  font-family: var(--subtitle-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.chip:hover,
.chip:focus-visible {
  color: var(--text);
  border-color: rgba(126, 170, 183, 0.45);
  background: rgba(126, 170, 183, 0.08);
  outline: none;
}

.chip.is-active {
  color: #05080b;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: none;
}

.character-layout {
  display: grid;
  gap: 3rem;
}

.feature-profile {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.feature-profile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-panel);
  border: 1px solid var(--line);
}

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

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

.book-group,
.world-book-groups {
  display: grid;
  gap: 1.25rem;
}

.book-group + .book-group {
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.book-group-heading {
  max-width: 820px;
}

.book-group-heading p:not(.eyebrow) {
  color: var(--muted);
}

.bio-card,
.place-card {
  padding: 1.1rem;
}

.bio-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: transform 260ms ease, filter 260ms ease;
}

.bio-card:hover > img {
  filter: saturate(1.04);
}

.bio-card[hidden] {
  display: none;
}

.card-hook {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #cfcabf !important;
}

.card-hook span {
  display: block;
  margin-bottom: 0.38rem;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 35%, rgba(126, 170, 183, 0.08), transparent 32rem),
    rgba(3, 5, 8, 0.94);
}

.image-lightbox__figure {
  position: relative;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  max-width: min(94vw, 1200px);
  max-height: 92vh;
  margin: 0;
}

.image-lightbox__image {
  max-width: min(94vw, 1200px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(218, 230, 235, 0.22);
  border-radius: var(--radius-panel);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.68);
}

.image-lightbox__caption {
  color: #d4d0c6;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.image-lightbox__close {
  position: fixed;
  top: clamp(0.9rem, 2vw, 1.4rem);
  right: clamp(0.9rem, 2vw, 1.4rem);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(218, 230, 235, 0.24);
  border-radius: 999px;
  background: rgba(5, 8, 11, 0.82);
  color: var(--text);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible {
  border-color: rgba(126, 170, 183, 0.7);
  background: rgba(126, 170, 183, 0.12);
  outline: none;
}

.route-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16px, 32px) minmax(0, 1fr) minmax(16px, 32px) minmax(0, 1fr) minmax(16px, 32px) minmax(0, 1fr) minmax(16px, 32px) minmax(0, 1fr);
  align-items: center;
}

.map-node {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(16, 26, 34, 0.92);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.map-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(126, 170, 183, 0.35);
}

.map-node.danger::before {
  background: var(--red);
}

.map-node.is-active,
.map-node.is-selected,
.map-node:hover,
.map-node:focus-visible {
  border-color: rgba(126, 170, 183, 0.4);
  box-shadow: 0 0 0 1px rgba(126, 170, 183, 0.12);
  outline: none;
}

.map-node.is-active::before,
.map-node.is-selected::before {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(126, 170, 183, 0.35);
}

.map-node > * {
  position: relative;
  z-index: 1;
}

.map-node span {
  color: var(--muted);
}

.map-node strong {
  color: var(--cyan);
}

.map-node.danger strong {
  color: var(--red);
}

.map-line {
  height: 1px;
  background:
    linear-gradient(90deg, rgba(126, 170, 183, 0.1), rgba(126, 170, 183, 0.55), rgba(126, 170, 183, 0.1)),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(126, 170, 183, 0.35) 14px 15px, transparent 15px 28px);
  background-size: 100% 1px, 160px 1px;
}

.map-line.warning {
  background:
    linear-gradient(90deg, rgba(169, 59, 50, 0.12), rgba(169, 59, 50, 0.65), rgba(169, 59, 50, 0.12)),
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(169, 59, 50, 0.4) 14px 15px, transparent 15px 28px);
  background-size: 100% 1px, 160px 1px;
}

.place-card.image-led {
  padding: 0;
  overflow: hidden;
}

.place-card.image-led img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.place-card.image-led:hover img {
  filter: saturate(1.04);
}

.place-card.image-led div {
  padding: 1.1rem;
}

.timeline-section {
  border-top: 1px solid var(--line);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(140px, 36%);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.42;
}

.timeline span {
  color: var(--cyan);
  font-weight: 800;
}

.timeline p {
  color: var(--muted);
}

.preview-hero {
  min-height: 58vh;
  align-items: center;
  padding-top: clamp(4rem, 7vw, 7rem);
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96), rgba(5, 8, 11, 0.64) 56%, rgba(5, 8, 11, 0.88)),
    radial-gradient(circle at 76% 30%, rgba(126, 170, 183, 0.18), transparent 22rem),
    radial-gradient(circle at 84% 78%, rgba(210, 139, 50, 0.15), transparent 18rem),
    url("assets/places/hyperion-relay.webp") center / cover;
}

.preview-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.preview-hero__copy p:not(.eyebrow) {
  color: #d4d0c6;
}

.audio-preview-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.95rem;
  max-width: 620px;
  margin-top: 1.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(126, 170, 183, 0.2);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(120deg, rgba(126, 170, 183, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(12, 18, 24, 0.96), rgba(8, 12, 16, 0.94)),
    var(--panel-strong);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(232, 229, 220, 0.03);
}

.audio-preview-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 16px);
  opacity: 0.7;
}

.audio-preview-panel > * {
  position: relative;
  z-index: 1;
}

.audio-preview-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.audio-preview-panel__heading .kicker {
  margin: 0;
}

.audio-preview-panel__heading span {
  color: var(--cyan);
  font-family: var(--subtitle-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: right;
  text-transform: uppercase;
}

.audio-preview-panel audio {
  display: block;
  width: 100%;
  accent-color: var(--cyan);
}

.audio-player-shell {
  display: none;
}

.audio-preview-panel.is-enhanced .audio-player-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.audio-preview-panel.is-enhanced > audio[data-audio-source] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.audio-play-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(126, 170, 183, 0.62);
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 35%, rgba(238, 243, 241, 0.96), rgba(126, 170, 183, 0.92) 45%, rgba(126, 170, 183, 0.18) 76%),
    var(--cyan);
  color: #05080b;
  box-shadow: 0 0 24px rgba(126, 170, 183, 0.32), 0 12px 34px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.audio-play-button:hover,
.audio-play-button:focus-visible {
  transform: translateY(-1px) scale(1.02);
  outline: none;
  filter: saturate(1.08);
  box-shadow: 0 0 34px rgba(126, 170, 183, 0.48), 0 16px 42px rgba(0, 0, 0, 0.38);
}

.audio-play-button__icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #05080b;
}

.audio-preview-panel.is-playing .audio-play-button__icon {
  width: 17px;
  height: 20px;
  margin-left: 0;
  border: 0;
  background: linear-gradient(90deg, #05080b 0 6px, transparent 6px 11px, #05080b 11px 17px);
}

.audio-track-panel {
  display: grid;
  gap: 0.48rem;
  min-width: 0;
}

.audio-track-panel__topline,
.audio-track-panel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.audio-track-panel__topline {
  color: #d4d0c6;
  font-family: var(--subtitle-font);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audio-track-panel__topline span:last-child,
.audio-track-panel__meta {
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.72rem;
}

.audio-track-panel__meta span:last-child {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-progress {
  width: 100%;
  height: 22px;
  margin: 0;
  accent-color: var(--cyan);
  background: transparent;
  cursor: pointer;
}

.audio-progress:focus-visible {
  outline: 2px solid rgba(126, 170, 183, 0.62);
  outline-offset: 4px;
}

.audio-progress::-webkit-slider-runnable-track {
  height: 8px;
  border: 1px solid rgba(218, 230, 235, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--cyan) 0 var(--audio-progress, 0%), rgba(255, 255, 255, 0.12) var(--audio-progress, 0%) 100%),
    rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 0 14px rgba(126, 170, 183, 0.08);
}

.audio-progress::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 2px solid #05080b;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(210, 139, 50, 0.52);
}

.audio-progress::-moz-range-track {
  height: 8px;
  border: 1px solid rgba(218, 230, 235, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.audio-progress::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
}

.audio-progress::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #05080b;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(210, 139, 50, 0.52);
}

.preview-cover-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(12, 18, 24, 0.96), rgba(8, 12, 16, 0.94)),
    var(--panel-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(232, 229, 220, 0.03);
}

.preview-cover-panel .cover-frame img {
  max-width: 240px;
}

.preview-toc {
  display: grid;
  gap: 0.5rem;
}

.preview-toc a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(218, 230, 235, 0.12);
}

.preview-toc span {
  color: var(--muted);
  font-family: var(--subtitle-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.preview-toc strong {
  color: var(--cyan);
  font-family: var(--subtitle-font);
  text-align: right;
}

.preview-toc a:hover strong,
.preview-toc a:focus-visible strong {
  color: var(--text);
}

.preview-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.preview-intro p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.preview-reader {
  width: min(860px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 8rem);
}

.preview-chapter {
  position: relative;
  scroll-margin-top: 88px;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(16, 26, 34, 0.88), rgba(8, 12, 16, 0.94));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(232, 229, 220, 0.03);
}

.preview-chapter + .preview-chapter {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.chapter-heading {
  margin-bottom: clamp(1.7rem, 4vw, 2.6rem);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.chapter-heading h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
}

.preview-chapter .chapter-heading .kicker {
  font-family: var(--subtitle-font);
  font-size: 0.74rem;
  line-height: 1.6;
}

.preview-chapter > p {
  color: #dde7e4;
  font-family: var(--body-font);
  font-size: 1.12rem;
  line-height: 1.82;
  margin-bottom: 1.15rem;
}

.preview-chapter blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--cyan);
  border-radius: 0 6px 6px 0;
  background: rgba(126, 170, 183, 0.07);
}

.preview-chapter blockquote p {
  margin-bottom: 0.55rem;
  color: #cfcabf;
  font-family: var(--mono-font);
  font-size: 0.92rem;
  line-height: 1.65;
}

.preview-chapter blockquote p:last-child {
  margin-bottom: 0;
}

.preview-chapter hr {
  width: min(220px, 56%);
  height: 1px;
  margin: 2.4rem auto;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.72;
}

.is-reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.is-reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-reveal-item.is-visible:is(.book-card, .bio-card, .place-card, .release-card, .about-panel):hover {
  transform: none;
}

.site-footer {
  padding: 2.4rem var(--gutter) 2rem;
  color: var(--dim);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.4), rgba(5, 8, 11, 0.98));
}

.site-footer p {
  margin: 0;
}

.site-footer__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.85fr) auto;
  gap: 1.5rem 2rem;
  align-items: start;
}

.site-footer__title {
  margin-bottom: 0.45rem;
  color: var(--text);
  font-family: var(--subtitle-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__brand p:last-child {
  max-width: 34ch;
  line-height: 1.55;
  font-size: 0.9rem;
}

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

.site-footer__nav a,
.site-footer__buy-links a,
.site-footer__meta a {
  color: var(--muted);
  font-family: var(--subtitle-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__nav a:hover,
.site-footer__buy-links a:hover,
.site-footer__meta a:hover,
.site-footer__nav a:focus-visible,
.site-footer__buy-links a:focus-visible,
.site-footer__meta a:focus-visible {
  color: var(--text);
  outline: none;
}

.site-footer__buy .kicker {
  margin-bottom: 0.55rem;
}

.site-footer__buy-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.buy-actions--inline {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.35rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 42rem;
}

.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip li:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.75;
}

.comp-line {
  margin: 0.35rem 0 0.65rem;
  color: var(--cyan);
  font-size: 0.95rem;
  font-style: italic;
}

.art-disclaimer {
  margin-top: 0.85rem;
  max-width: 52ch;
  color: var(--dim);
  font-size: 0.92rem;
}

.news-feed {
  display: grid;
  gap: 1rem;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--gutter) 4rem;
}

.news-card {
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(16, 26, 34, 0.92), rgba(10, 14, 18, 0.96));
  box-shadow: var(--shadow);
}

.news-card h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.news-card p {
  color: var(--muted);
}

.news-card .panel-link,
.news-card .buy-actions {
  margin-top: 0.85rem;
}

.news-card__media {
  margin: 0.85rem 0 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #05080b;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.news-card__media--cover {
  max-width: 220px;
  margin-right: auto;
}

.news-pullquote {
  margin: 1rem 0 0.35rem;
  padding: 0.85rem 1rem;
  border-left: 2px solid var(--amber);
  background: rgba(210, 139, 50, 0.08);
  color: var(--text);
  font-family: var(--subtitle-font);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.inline-text-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.inline-text-link:hover,
.inline-text-link:focus-visible {
  color: var(--text);
}

.page-hero a.inline-text-link {
  color: var(--cyan);
}

.privacy-content {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter) 4rem;
}

.privacy-content h2 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.15rem;
  font-family: var(--subtitle-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.privacy-content a:hover,
.privacy-content a:focus-visible {
  color: var(--text);
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero h1 {
    font-size: 5.2rem;
  }

  .page-hero.compact h1 {
    font-size: 4.2rem;
  }

  .hero-content {
    padding-bottom: 1.2rem;
  }

  .protocol-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(calc(100% - (var(--gutter) * 2)), 360px);
    margin: 0 0 7rem var(--gutter);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.6rem);
    letter-spacing: 0.08em;
  }

  .hero-copy {
    font-size: 1.02rem;
    max-width: 42ch;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero-content {
    padding-bottom: 10.5rem;
  }

  .protocol-panel {
    width: min(320px, calc(100vw - (var(--gutter) * 2)));
  }

  .chapter-heading h2,
  .page-hero.compact h1 {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  .drift-separator__copy h2 {
    font-size: 2.55rem;
  }

  .concept-deck,
  .feature-band,
  .newsletter-section,
  .split-section,
  .author-section,
  .release-section,
  .about-page-layout,
  .feature-profile,
  .preview-hero__inner,
  .preview-intro {
    grid-template-columns: 1fr;
  }

  .concept-deck {
    background-attachment: scroll, scroll, scroll;
  }

  .book-showcase,
  .bio-grid,
  .place-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-primary {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .deck-author {
    min-height: auto;
    padding: clamp(2.5rem, 7vw, 4rem) var(--gutter);
  }

  .deck-author::before {
    inset: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background:
      linear-gradient(
        105deg,
        rgba(5, 8, 11, 0.97) 0%,
        rgba(5, 8, 11, 0.88) 48%,
        rgba(5, 8, 11, 0.5) 100%
      ),
      url("assets/places/titan-colony.webp") center / cover;
    opacity: 0.94;
  }

  .deck-author__card {
    width: min(100%, 640px);
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .deck-author__photo {
    width: 160px;
    height: 192px;
  }

  .deck-author__copy {
    max-width: 44rem;
  }

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

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

  .site-footer__meta {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .route-map {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .map-line {
    width: 1px;
    height: 30px;
    justify-self: center;
  }

  .protocol-panel {
    width: min(calc(100% - (var(--gutter) * 2)), 330px);
  }

  .drift-separator__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .drift-separator__copy h2 {
    max-width: 16ch;
  }

  .drift-panel {
    height: 330px;
    opacity: 0.82;
  }

  .world-hero > .page-hero__copy {
    width: min(var(--max), 100%);
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: clamp(1rem, 5.5vw, 1.5rem);
  }

  html {
    scroll-padding-top: 112px;
  }

  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: grid;
    align-items: stretch;
    width: 100%;
    overflow: hidden;
    gap: 0;
    border-top: 1px solid rgba(218, 230, 235, 0.12);
    transition: max-height 180ms ease, opacity 160ms ease, padding 180ms ease, border-color 160ms ease;
  }

  .brand,
  .deck-links a {
    letter-spacing: 0.12em;
  }

  .site-nav {
    letter-spacing: 0.12em;
  }

  .site-nav a {
    white-space: nowrap;
    min-height: 46px;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(218, 230, 235, 0.1);
  }

  .site-nav a[aria-current="page"],
  .site-nav a:hover,
  .site-nav a:focus-visible {
    border-bottom-color: rgba(218, 230, 235, 0.1);
    color: var(--text);
  }

  body.nav-ready .nav-toggle {
    display: grid;
    gap: 4px;
  }

  body.nav-ready .site-header:not(.is-nav-open) .site-nav {
    max-height: 0;
    padding-top: 0;
    border-top-color: transparent;
    opacity: 0;
    pointer-events: none;
  }

  body.nav-ready .site-header.is-nav-open .site-nav {
    max-height: 260px;
    padding-top: 0.35rem;
    opacity: 1;
    pointer-events: auto;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: clamp(3rem, 9vh, 5rem) 0 2rem;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 10vw, 3.1rem);
    letter-spacing: 0.08em;
  }

  .hero-tagline {
    letter-spacing: 0.08em;
  }

  .hero-content {
    margin: 0 auto;
    width: min(calc(100% - (var(--gutter) * 2)), 35rem);
    padding-top: 0;
    padding-bottom: 1.2rem;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(5, 8, 11, 0.62) 0%, rgba(5, 8, 11, 0.96) 52%, rgba(5, 8, 11, 1) 100%),
      linear-gradient(90deg, rgba(5, 8, 11, 0.92), transparent 70%);
  }

  .route-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    flex-wrap: wrap;
    width: min(calc(100% - (var(--gutter) * 2)), 35rem);
    margin: 0 auto;
    gap: 0.42rem;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .route-strip::before,
  .route-strip::after {
    flex-basis: 100%;
    order: 99;
  }

  .protocol-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(calc(100% - (var(--gutter) * 2)), 360px);
    margin: 0 auto 1.5rem;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding-inline: 0.85rem;
    text-align: center;
  }

  .button.ghost {
    width: auto;
    min-height: 40px;
    justify-self: start;
    padding-inline: 0.2rem;
  }

  .hero-actions,
  .inline-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .feature-band {
    padding: 2.4rem 0;
  }

  .newsletter-section {
    padding: 1.4rem;
  }

  .deck-links {
    grid-template-columns: 1fr;
  }

  .deck-author {
    padding: 2.4rem var(--gutter);
  }

  .deck-author__card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1rem;
  }

  .deck-author__photo {
    width: 112px;
    height: 134px;
  }

  .deck-author h2 {
    font-size: 1.75rem;
  }

  .deck-author__copy p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.55;
  }

  .deck-links a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .buy-actions {
    width: 100%;
  }

  .buy-actions .button {
    width: 100%;
    justify-content: center;
  }

  .trust-strip li:not(:last-child)::after {
    display: none;
  }

  .trust-strip {
    flex-direction: column;
    gap: 0.35rem;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }

  .cover-frame img {
    max-width: min(260px, 72vw);
  }

  .book-showcase,
  .bio-grid,
  .place-grid,
  .compact-grid,
  .release-section {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-wrap: nowrap;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 0.35rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .chip {
    flex: 0 0 auto;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .drift-panel {
    width: 100%;
    height: 260px;
    opacity: 0.62;
  }

  .drift-label,
  .drift-endpoint,
  .drift-acheron,
  .drift-offset,
  .drift-correction {
    font-size: 0.52rem;
  }

  .world-hero > .page-hero__copy {
    width: min(var(--max), 100%);
    margin: 0 auto;
  }

  .site-footer {
    padding-top: 2rem;
  }

  .preview-hero {
    min-height: auto;
  }

  .preview-cover-panel {
    padding: 0.8rem;
  }

  .preview-chapter {
    width: calc(100% + (var(--gutter) * 2));
    margin-left: calc(var(--gutter) * -1);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .lumen-mark {
    width: 1.75rem;
    height: 1.75rem;
  }

  .site-nav {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: 2.55rem;
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .page-hero {
    min-height: 34vh;
    padding-top: 3.2rem;
    padding-bottom: 2.2rem;
  }

  .page-hero.compact h1 {
    max-width: 10ch;
    font-size: 2.55rem;
    line-height: 1.06;
  }

  .page-hero.compact p:not(.eyebrow) {
    font-size: 1rem;
  }

  .deck-heading {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .deck-heading span {
    width: 100%;
  }

  .newsletter-section {
    padding: 1.2rem;
  }

  .emailoctopus-slot,
  .emailoctopus-slot .inline-container {
    min-height: 380px !important;
  }

  .image-lightbox__image {
    max-width: calc(100vw - 1.5rem);
    max-height: 76vh;
  }

  .image-lightbox__caption {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .preview-toc a {
    display: grid;
    gap: 0.2rem;
  }

  .audio-preview-panel__heading,
  .audio-track-panel__topline,
  .audio-track-panel__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .audio-preview-panel__heading span,
  .audio-track-panel__meta span:last-child {
    text-align: left;
  }

  .audio-play-button {
    width: 52px;
    height: 52px;
  }

  .preview-toc strong {
    text-align: left;
  }

  .chapter-heading h2 {
    font-size: 2rem;
  }

  .preview-chapter > p {
    font-size: 1rem;
    line-height: 1.76;
  }

  .preview-chapter blockquote {
    padding: 0.85rem 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .is-reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* Helian archive experience */
.protocol-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
  color: var(--cyan);
  font-family: var(--subtitle-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.protocol-panel__link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 160ms ease;
}

.protocol-panel__link:hover svg,
.protocol-panel__link:focus-visible svg {
  transform: translateX(3px);
}

.archive-band {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96), rgba(5, 8, 11, 0.72) 48%, rgba(5, 8, 11, 0.94)),
    url("assets/places/oaa-luna.webp") center 42% / cover;
}

.archive-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(126, 170, 183, 0.05), transparent 28%, rgba(210, 139, 50, 0.04)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 5px);
}

.archive-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.archive-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: 2.25rem;
}

.archive-intro h2 {
  max-width: 10ch;
  margin-bottom: 0;
}

.archive-intro > p {
  max-width: 42rem;
  margin-bottom: 0.4rem;
  color: #b8b4a9;
  font-size: 1.08rem;
}

.archive-console {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.55fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(126, 170, 183, 0.24);
  border-radius: var(--radius-panel);
  background: rgba(6, 10, 14, 0.97);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(232, 229, 220, 0.03);
}

.archive-console__rail {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.archive-console__identity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.archive-console__identity img {
  width: 2.15rem;
  height: 2.15rem;
}

.archive-console__identity div {
  display: grid;
  gap: 0.2rem;
}

.archive-console__identity span,
.archive-console__identity strong,
.archive-display__header,
.archive-progress {
  font-family: var(--mono-font);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-console__identity span {
  color: var(--muted);
}

.archive-console__identity strong {
  color: var(--amber);
}

.archive-tabs {
  display: grid;
}

.archive-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.3rem 0.75rem;
  width: 100%;
  min-height: 106px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.1rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.archive-tabs button::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: transparent;
}

.archive-tabs button > span {
  grid-row: 1 / span 2;
  color: var(--dim);
  font-family: var(--mono-font);
  font-size: 0.72rem;
}

.archive-tabs button strong {
  color: inherit;
  font-family: var(--subtitle-font);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-tabs button small {
  color: var(--dim);
  font-family: var(--mono-font);
  font-size: 0.66rem;
  line-height: 1.5;
}

.archive-tabs button:hover,
.archive-tabs button:focus-visible,
.archive-tabs button[aria-selected="true"] {
  outline: 0;
  color: var(--text);
  background: rgba(126, 170, 183, 0.07);
}

.archive-tabs button[aria-selected="true"]::after {
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(126, 170, 183, 0.35);
}

.archive-tabs button.is-verified > span::after {
  content: " / OK";
  color: var(--cyan);
}

.archive-progress {
  margin: auto 0 0;
  padding: 1.15rem 1.25rem;
  color: var(--cyan);
  border-top: 1px solid var(--line);
}

.archive-console__display {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background:
    radial-gradient(circle at 84% 14%, rgba(126, 170, 183, 0.09), transparent 19rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 42%);
}

.archive-display__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  padding: 0 1.5rem;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}

.archive-display__header strong {
  color: var(--cyan);
}

.anomaly-panel {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.anomaly-panel__copy {
  max-width: 720px;
}

.anomaly-panel h3 {
  max-width: 20ch;
  margin-bottom: 1rem;
  font-family: var(--title-font);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.anomaly-panel__copy > p:last-child {
  max-width: 66ch;
  color: #b3aea3;
  font-size: 1.02rem;
}

.record-diff {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.record-diff div {
  min-width: 0;
  padding: 1rem;
}

.record-diff div + div {
  border-left: 1px solid var(--line);
}

.record-diff dt {
  margin-bottom: 0.35rem;
  color: var(--dim);
  font-family: var(--mono-font);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-diff dd {
  margin: 0;
  color: #ddd9cf;
  font-size: 0.88rem;
  line-height: 1.5;
}

.record-diff .is-corrupt dd {
  color: #e68672;
}

.anomaly-panel blockquote {
  margin: 0;
  padding: 1rem 1.15rem;
  color: #d4d0c6;
  border-left: 2px solid var(--amber);
  background: rgba(210, 139, 50, 0.055);
  font-family: var(--mono-font);
  font-size: 0.86rem;
}

.archive-unlock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(126, 170, 183, 0.26);
  background: rgba(126, 170, 183, 0.065);
}

.archive-unlock > div:first-child {
  display: grid;
  gap: 0.2rem;
}

.archive-unlock span {
  color: var(--cyan);
  font-family: var(--mono-font);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-unlock strong {
  font-family: var(--subtitle-font);
  font-size: 0.95rem;
}

.archive-unlock__actions {
  display: flex;
  gap: 0.65rem;
}

.archive-unlock__actions .button {
  min-height: 42px;
  padding: 0.75rem 0.9rem;
  font-size: 0.66rem;
}

/* Interactive route archive */
.system-map-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  column-gap: 4rem;
  align-items: end;
  max-width: none;
}

.system-map-heading .eyebrow,
.system-map-heading h2 {
  grid-column: 1;
}

.system-map-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: var(--muted);
}

.system-map-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.72fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 2rem;
}

.system-map-explorer .route-map {
  align-content: center;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(8, 12, 16, 0.88);
}

.system-map-explorer .map-node {
  width: 100%;
  border-color: var(--line);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: rgba(16, 26, 34, 0.92);
}

.system-map-explorer .map-node:hover,
.system-map-explorer .map-node:focus-visible,
.system-map-explorer .map-node.is-selected {
  outline: 0;
  border-color: rgba(126, 170, 183, 0.45);
  background: rgba(126, 170, 183, 0.07);
  box-shadow: none;
}

.system-map-explorer .map-node.is-selected::after {
  content: "ACTIVE";
  position: absolute;
  right: 0.7rem;
  bottom: 0.55rem;
  color: var(--cyan);
  font-family: var(--mono-font);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

.system-dossier {
  min-height: 300px;
  padding: clamp(1.35rem, 2.8vw, 2rem);
  border: 1px solid rgba(210, 139, 50, 0.28);
  border-radius: var(--radius-panel);
  background:
    radial-gradient(circle at 100% 0, rgba(210, 139, 50, 0.06), transparent 17rem),
    rgba(8, 12, 16, 0.94);
}

.system-dossier h3 {
  margin-bottom: 0.8rem;
  font-family: var(--title-font);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 500;
}

.system-dossier p:not(.kicker) {
  color: var(--muted);
}

.system-dossier dl {
  display: grid;
  margin: 1.35rem 0 0;
  border-top: 1px solid var(--line);
}

.system-dossier dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.system-dossier dt,
.system-dossier dd {
  margin: 0;
  font-family: var(--mono-font);
  font-size: 0.68rem;
}

.system-dossier dt {
  color: var(--dim);
}

.system-dossier dd {
  color: #d4d0c6;
  text-align: right;
}

.system-dossier .status-good {
  color: var(--cyan);
}

.system-dossier .status-warning {
  color: var(--amber);
}

.system-dossier .status-danger {
  color: #e68672;
}

/* Discovery, conversion, and media polish */
body[data-page="characters"] .page-hero.compact {
  min-height: 260px;
}

.filter-controls {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.filter-controls .filter-bar {
  margin-bottom: 0;
}

.filter-summary {
  flex: 0 0 auto;
  margin: 0.65rem 0 0;
  color: var(--dim);
  font-family: var(--mono-font);
  font-size: 0.68rem;
}

.bio-card,
.place-card {
  scroll-margin-top: 96px;
}

.art-card .art-image img {
  cursor: zoom-in;
}

.art-card .art-image img:focus-visible {
  outline: 2px solid rgba(126, 170, 183, 0.78);
  outline-offset: 4px;
}

.audio-fallback-link {
  display: none;
  width: fit-content;
  margin-top: 0.8rem;
  color: var(--amber);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 0.24rem;
}

.audio-preview-panel.has-playback-error .audio-fallback-link {
  display: inline-flex;
}

.newsletter-cadence {
  color: var(--cyan) !important;
  font-family: var(--mono-font);
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newsletter-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(126, 170, 183, 0.2);
  border-radius: var(--radius-panel);
  background: rgba(6, 10, 14, 0.94);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
}

.newsletter-panel::before {
  opacity: 0.44;
}

.emailoctopus-slot,
.emailoctopus-slot .inline-container {
  min-height: 320px !important;
  background: transparent !important;
}

.emailoctopus-slot .inline-container {
  box-shadow: none !important;
}

.emailoctopus-slot .form-container {
  background: transparent !important;
}

.emailoctopus-slot .background-image {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 320px !important;
  background-image: none !important;
  background-color: transparent !important;
}

@media (max-width: 1120px) {
  .archive-console {
    grid-template-columns: minmax(235px, 0.68fr) minmax(0, 1.4fr);
  }

  .system-map-explorer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .archive-intro,
  .system-map-heading {
    grid-template-columns: 1fr;
  }

  .system-map-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .archive-console {
    grid-template-columns: 1fr;
  }

  .archive-console__rail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .archive-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .archive-tabs button {
    grid-template-columns: 1fr;
    min-height: 122px;
    border-right: 1px solid var(--line);
  }

  .archive-tabs button > span {
    grid-row: auto;
  }

  .archive-progress {
    margin-top: 0;
  }

  .archive-unlock {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 0.65rem;
  }
}

@media (max-width: 720px) {
  .site-header .brand {
    max-width: calc(100vw - 88px);
  }

  .site-header .brand .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .brand .brand-series {
    display: none;
  }

  .nav-toggle span {
    transform-origin: center;
  }

  .archive-band {
    padding: 3.5rem var(--gutter);
  }

  .archive-intro h2 {
    font-size: 2.7rem;
  }

  .archive-tabs {
    grid-template-columns: 1fr;
  }

  .archive-tabs button {
    grid-template-columns: 2rem minmax(0, 1fr);
    min-height: 92px;
    border-right: 0;
  }

  .archive-tabs button > span {
    grid-row: 1 / span 2;
  }

  .archive-display__header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 0.9rem 1rem;
  }

  .record-diff {
    grid-template-columns: 1fr;
  }

  .record-diff div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .archive-unlock__actions {
    width: 100%;
    flex-direction: column;
  }

  .system-map-heading {
    display: block;
  }

  .system-map-explorer .route-map {
    padding: 0.8rem;
  }

  .system-map-explorer .map-node {
    min-height: 94px;
  }

  .filter-controls .filter-bar {
    margin-inline: calc(var(--gutter) * -1);
  }
}

@media (max-width: 480px) {
  .site-header .brand {
    font-size: 0.63rem;
    letter-spacing: 0.045em;
  }

  body[data-page="characters"] .page-hero.compact {
    min-height: 230px;
  }

  .archive-intro > p {
    font-size: 1rem;
  }

  .anomaly-panel {
    padding: 1.2rem;
  }

  .anomaly-panel h3 {
    font-size: 2rem;
  }

  .newsletter-section {
    padding: 1rem;
  }

  .emailoctopus-slot,
  .emailoctopus-slot .inline-container {
    min-height: 350px !important;
  }
}
