:root {
  --bg: #060713;
  --panel: #101321;
  --panel-2: #151a2c;
  --ink: #f7f8ff;
  --muted: #b9c0d8;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #58e0ff;
  --magenta: #ff4fd8;
  --violet: #8364ff;
  --gold: #ffd166;
  --max: 1160px;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 72% 8%, rgba(66, 188, 255, 0.18), transparent 28%),
    radial-gradient(circle at 20% 18%, rgba(255, 209, 102, 0.11), transparent 26%),
    linear-gradient(180deg, rgba(5, 8, 24, 0.98), rgba(6, 7, 19, 1) 740px),
    #060713;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(#ffffff 0.75px, transparent 0.75px),
    radial-gradient(rgba(88, 224, 255, 0.75) 0.7px, transparent 0.7px),
    linear-gradient(135deg, rgba(88, 224, 255, 0.10), transparent 36%),
    linear-gradient(315deg, rgba(255, 209, 102, 0.07), transparent 42%);
  background-size: 48px 48px, 89px 89px, 100% 100%, 100% 100%;
  background-position: 0 0, 18px 12px, 0 0, 0 0;
  opacity: 0.5;
}

.mobile-sticky-cta,
.desktop-sticky-cta {
  display: none !important;
}

html.oa-intro-first:not(.oa-intro-complete) body {
  overflow: hidden;
}

html.oa-intro-first:not(.oa-intro-complete) .site-header,
html.oa-intro-first:not(.oa-intro-complete) main,
html.oa-intro-first:not(.oa-intro-complete) .site-footer,
html.oa-intro-first:not(.oa-intro-complete) .mobile-sticky-cta {
  opacity: 0;
  transform: scale(0.985);
}

html.oa-intro-first.oa-intro-traveling .site-header,
html.oa-intro-first.oa-intro-traveling main,
html.oa-intro-first.oa-intro-traveling .site-footer,
html.oa-intro-first.oa-intro-traveling .mobile-sticky-cta {
  opacity: 1;
  transform: none;
  transition: opacity 1100ms ease 1600ms, transform 1100ms ease 1600ms;
}

.andromeda-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(73, 157, 255, 0.16), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(95, 55, 184, 0.30), transparent 42%),
    linear-gradient(180deg, #020316, #040018 72%, #01020b);
  opacity: 1;
  transition: opacity 760ms ease;
}

html.oa-intro-first .andromeda-intro {
  display: grid;
}

html.oa-intro-seen .andromeda-intro,
html.oa-intro-complete .andromeda-intro {
  display: none;
}

.andromeda-intro.is-dismissing {
  opacity: 0;
  pointer-events: none;
}

.wormhole-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 900px;
}

.wormhole-stars {
  position: absolute;
  inset: -12%;
  background-image:
    radial-gradient(#fff 0.8px, transparent 0.8px),
    radial-gradient(rgba(88, 224, 255, 0.9) 0.9px, transparent 0.9px),
    radial-gradient(rgba(255, 209, 102, 0.86) 0.7px, transparent 0.7px);
  background-size: 48px 48px, 92px 92px, 137px 137px;
  opacity: 0.52;
  animation: starDrift 18s linear infinite;
}

.starfield-b {
  opacity: 0.32;
  transform: scale(1.4) rotate(12deg);
  animation-duration: 27s;
  animation-direction: reverse;
}

.wormhole-core {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(82vmin, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.wormhole-core::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    conic-gradient(from 22deg, rgba(74, 150, 255, 0), rgba(74, 150, 255, 0.48), rgba(112, 74, 255, 0.30), rgba(28, 12, 90, 0.52), rgba(74, 150, 255, 0)),
    radial-gradient(circle, transparent 0 29%, rgba(90, 127, 255, 0.22) 42%, rgba(56, 18, 130, 0.18) 54%, transparent 68%);
  filter: blur(5px);
  animation: wormholeSpin 9s linear infinite;
}

.wormhole-ring {
  position: absolute;
  inset: var(--ring-inset);
  border-radius: 50%;
  border: 1px solid rgba(91, 166, 255, 0.30);
  box-shadow:
    0 0 34px rgba(74, 150, 255, 0.26),
    inset 0 0 34px rgba(118, 84, 255, 0.12);
  transform: rotate(var(--ring-rotate));
  animation: ringPulse 4.8s ease-in-out infinite;
}

.ring-1 {
  --ring-inset: 4%;
  --ring-rotate: 8deg;
}

.ring-2 {
  --ring-inset: 15%;
  --ring-rotate: -22deg;
  border-color: rgba(124, 89, 255, 0.34);
  animation-delay: -1.2s;
}

.ring-3 {
  --ring-inset: 27%;
  --ring-rotate: 34deg;
  animation-delay: -2.1s;
}

.ring-4 {
  --ring-inset: 39%;
  --ring-rotate: -40deg;
  border-color: rgba(45, 20, 132, 0.52);
  animation-delay: -3s;
}

.wormhole-light {
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #eef7ff 0 7%, rgba(86, 170, 255, 0.88) 21%, rgba(86, 57, 208, 0.46) 43%, transparent 70%);
  box-shadow: 0 0 100px rgba(83, 153, 255, 0.72), 0 0 160px rgba(80, 41, 185, 0.38);
  animation: coreBreathe 2.8s ease-in-out infinite;
}

.andromeda-galaxy {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  aspect-ratio: 1.55;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.96) 0 7%, rgba(114, 197, 255, 0.82) 12%, transparent 28%),
    conic-gradient(from 18deg, transparent, rgba(74, 150, 255, 0.68), transparent 31%, rgba(112, 74, 255, 0.46), transparent 58%, rgba(39, 16, 117, 0.58), transparent),
    radial-gradient(ellipse, rgba(74, 150, 255, 0.34), transparent 66%);
  filter: blur(0.6px) drop-shadow(0 0 48px rgba(83, 153, 255, 0.56));
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.18) rotate(-18deg);
}

.travel-streak {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 42vh;
  transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(90, 168, 255, 0.86), rgba(112, 74, 255, 0));
  opacity: 0;
  filter: blur(0.2px);
}

.streak-1 { transform: rotate(10deg) translateY(-8vh); }
.streak-2 { transform: rotate(62deg) translateY(-10vh); }
.streak-3 { transform: rotate(128deg) translateY(-9vh); }
.streak-4 { transform: rotate(188deg) translateY(-8vh); }
.streak-5 { transform: rotate(246deg) translateY(-10vh); }
.streak-6 { transform: rotate(306deg) translateY(-9vh); }

.intro-panel {
  position: relative;
  z-index: 2;
  width: min(420px, calc(100vw - 32px));
  padding: 20px 18px 16px;
  border: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 40%, rgba(2, 6, 20, 0.50), rgba(2, 6, 20, 0.16) 58%, transparent 74%);
  box-shadow: none;
  text-align: center;
  backdrop-filter: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.intro-panel::before {
  display: none;
}

.intro-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 6vw, 54px);
  text-shadow: 0 0 26px rgba(88, 165, 255, 0.72);
}

.intro-panel p:not(.eyebrow) {
  max-width: 310px;
  margin: 0 auto 18px;
  color: #dbe7ff;
  font-size: 14px;
}

.intro-enter,
.intro-skip {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.intro-enter {
  min-height: 56px;
  width: min(250px, 100%);
  padding: 14px 22px;
  border: 1px solid rgba(139, 218, 255, 0.62);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(28, 77, 198, 0.94), rgba(61, 65, 201, 0.95), rgba(27, 150, 224, 0.92));
  box-shadow:
    0 0 24px rgba(83, 153, 255, 0.34),
    inset 0 0 18px rgba(255, 255, 255, 0.12);
  text-transform: uppercase;
}

.intro-skip {
  display: block;
  margin: 14px auto 0;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.andromeda-intro.is-traveling .intro-panel {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
}

.andromeda-intro.is-traveling .wormhole-core {
  animation: warpForward 2400ms cubic-bezier(0.14, 0.84, 0.18, 1) forwards;
}

.andromeda-intro.is-traveling .wormhole-core::before {
  animation: wormholeSpin 720ms linear infinite, tunnelBloom 2400ms ease forwards;
}

.andromeda-intro.is-traveling .wormhole-ring {
  animation: ringWarp 900ms ease-in-out infinite;
}

.andromeda-intro.is-traveling .wormhole-stars {
  animation: starRush 900ms linear infinite;
}

.andromeda-intro.is-traveling .travel-streak {
  animation: streakFlash 1100ms ease-in-out 180ms forwards;
}

.andromeda-intro.is-traveling .andromeda-galaxy {
  animation: galaxyReveal 2600ms cubic-bezier(0.14, 0.84, 0.18, 1) forwards;
}

@keyframes starDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, 48px, 0); }
}

@keyframes starRush {
  from { transform: scale(1) translate3d(0, 0, 0); opacity: 0.5; }
  to { transform: scale(1.12) translate3d(-70px, 70px, 0); opacity: 0.92; }
}

@keyframes wormholeSpin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.48; transform: rotate(var(--ring-rotate)) scale(0.98); }
  50% { opacity: 0.86; transform: rotate(var(--ring-rotate)) scale(1.04); }
}

@keyframes coreBreathe {
  0%, 100% { opacity: 0.72; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes warpForward {
  0% { transform: translate(-50%, -50%) scale(1); filter: blur(0); }
  54% { transform: translate(-50%, -50%) scale(1.8); filter: blur(1px); }
  100% { transform: translate(-50%, -50%) scale(2.7); filter: blur(5px); }
}

@keyframes tunnelBloom {
  0% { opacity: 1; filter: blur(5px); }
  48% { opacity: 1; filter: blur(10px) brightness(1.65); }
  100% { opacity: 0.16; filter: blur(18px) brightness(1.1); }
}

@keyframes ringWarp {
  0%, 100% { opacity: 0.38; transform: rotate(var(--ring-rotate)) scale(0.92); }
  50% { opacity: 0.96; transform: rotate(var(--ring-rotate)) scale(1.22); }
}

@keyframes streakFlash {
  0% { opacity: 0; height: 18vh; }
  34% { opacity: 0.95; height: 62vh; }
  100% { opacity: 0; height: 92vh; }
}

@keyframes galaxyReveal {
  0%, 38% { opacity: 0; transform: translate(-50%, -50%) scale(0.18) rotate(-18deg); }
  72% { opacity: 1; transform: translate(-50%, -50%) scale(1.06) rotate(6deg); }
  100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.18) rotate(9deg); }
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.section.tight {
  padding: 62px 0;
}

.band {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(6, 7, 19, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 209, 102, 0.48);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 209, 102, 0.28), transparent 54%),
    rgba(255, 209, 102, 0.08);
  color: var(--gold);
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-title {
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.nav-buy {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(88, 224, 255, 0.38);
  border-radius: var(--radius);
  color: #fff !important;
  background: rgba(88, 224, 255, 0.10);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 72px 0 78px;
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 7, 19, 0.92) 0%, rgba(6, 7, 19, 0.68) 44%, rgba(6, 7, 19, 0.30) 100%),
    radial-gradient(circle at 78% 40%, rgba(88, 224, 255, 0.20), transparent 26%),
    radial-gradient(circle at 62% 24%, rgba(255, 209, 102, 0.13), transparent 24%);
}

.cinematic-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(88, 224, 255, 0.55), rgba(255, 209, 102, 0.32), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
.page-title {
  max-width: 920px;
  margin: 0 0 22px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin: 0;
  color: #e7ebff;
  font-size: 21px;
}

.mobile-headline,
.mobile-hero-product {
  display: none;
}

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

.signal-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
  margin-top: 24px;
}

.signal-rail span {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(88, 224, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(88, 224, 255, 0.10), rgba(255, 255, 255, 0.035)),
    rgba(7, 10, 24, 0.74);
  color: #dfe8ff;
  font-size: 13px;
}

.signal-rail strong {
  display: block;
  color: var(--gold);
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.proof-strip span,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hero-trust {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  max-width: 590px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 209, 102, 0.08);
}

.hero-trust img {
  width: 54px;
}

.hero-trust p {
  margin: 0;
  color: #f3f5ff;
  font-size: 14px;
}

.badge.gold {
  border-color: rgba(255, 209, 102, 0.44);
  color: var(--gold);
  background: rgba(255, 209, 102, 0.10);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-row.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }
}

.button.primary {
  background: linear-gradient(90deg, var(--violet), var(--magenta));
  box-shadow: 0 12px 34px rgba(255, 79, 216, 0.28);
}

.button.secondary {
  border-color: rgba(88, 224, 255, 0.36);
  background: rgba(88, 224, 255, 0.10);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #e3e8ff;
}

.micro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.cover-stage {
  position: relative;
  min-height: 520px;
}

.command-stage {
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(88, 224, 255, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(255, 209, 102, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), var(--shadow);
  overflow: hidden;
}

.command-stage::before,
.command-stage::after {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(88, 224, 255, 0.18);
}

.command-stage::after {
  inset: 32px;
  border-color: rgba(255, 209, 102, 0.16);
}

.hero-book {
  position: absolute;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.46));
}

.hero-book.main {
  width: min(420px, 74vw);
  right: 10%;
  top: 0;
  z-index: 3;
}

.hero-book.left {
  width: min(280px, 48vw);
  left: 0;
  top: 96px;
  opacity: 0.78;
  z-index: 1;
}

.hero-book.right {
  width: min(280px, 48vw);
  right: 0;
  top: 126px;
  opacity: 0.74;
  z-index: 2;
}

.format-note {
  position: absolute;
  right: 2%;
  bottom: 0;
  max-width: 310px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 33, 0.9);
  box-shadow: var(--shadow);
}

.format-note strong {
  display: block;
}

.premium-note {
  border-color: rgba(255, 209, 102, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.10), rgba(16, 19, 33, 0.92));
}

.command-note {
  backdrop-filter: blur(14px);
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.panel,
.book-card,
.proof-card,
.feature,
.sample-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(7, 10, 24, 0.76);
  box-shadow: var(--shadow);
}

.panel,
.feature,
.proof-card,
.sample-box {
  padding: 26px;
}

.feature-grid,
.book-grid,
.proof-grid,
.path-grid,
.mission-steps,
.footer-grid,
.link-grid {
  display: grid;
  gap: 18px;
}

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

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

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(88, 224, 255, 0.065), rgba(255, 255, 255, 0.035)),
    rgba(7, 10, 24, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.path-card::before,
.book-card::before,
.feature::before,
.proof-card::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(88, 224, 255, 0.52), transparent);
  opacity: 0.7;
}

.feature,
.proof-card {
  position: relative;
  overflow: hidden;
}

.path-card p {
  flex: 1;
  color: var(--muted);
}

.path-card .button {
  width: 100%;
  margin-top: 10px;
}

.mission-strip {
  background:
    linear-gradient(90deg, rgba(88, 224, 255, 0.10), rgba(255, 209, 102, 0.055), rgba(255, 79, 216, 0.055)),
    rgba(255, 255, 255, 0.032);
}

.mission-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mission-step {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(9, 13, 31, 0.88), rgba(6, 7, 19, 0.74)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mission-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.mission-step.featured {
  border-color: rgba(255, 209, 102, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.12), rgba(6, 7, 19, 0.78)),
    rgba(255, 255, 255, 0.04);
}

.mission-step.featured::before {
  background: linear-gradient(180deg, var(--gold), transparent);
}

.mission-step span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mission-step h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

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

.mission-step a {
  display: inline-flex;
  margin-top: 10px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.mission-step a:hover {
  color: var(--cyan);
}

.world-console-section {
  position: relative;
}

.world-console {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 430px;
  border: 1px solid rgba(88, 224, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(88, 224, 255, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(255, 209, 102, 0.07), transparent 40%),
    rgba(8, 11, 27, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.world-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}

.world-tabs button {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}

.world-tabs button[aria-selected="true"] {
  border-color: rgba(255, 209, 102, 0.48);
  background: linear-gradient(90deg, rgba(255, 209, 102, 0.16), rgba(88, 224, 255, 0.08));
  color: #fff;
}

.world-display {
  display: grid;
  align-items: center;
  padding: 34px;
}

.world-panel[hidden] {
  display: none;
}

.world-panel h3 {
  max-width: 760px;
  font-size: 40px;
}

.world-panel p {
  max-width: 760px;
  color: #e5ebff;
  font-size: 20px;
}

.intel-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.intel-list li {
  padding: 14px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.intel-list strong {
  color: #fff;
}

.dossier-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.dossier-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dossier-stack article {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(88, 224, 255, 0.20);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 82%, rgba(88, 224, 255, 0.20), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.18));
  overflow: hidden;
}

.dossier-stack article::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.dossier-stack img {
  max-height: 390px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.45));
}

.dossier-stack div {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: var(--radius);
  background: rgba(6, 7, 19, 0.82);
  backdrop-filter: blur(14px);
}

.dossier-stack span,
.dossier-stack strong {
  display: block;
}

.dossier-stack span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.dossier-stack strong {
  color: #fff;
  line-height: 1.2;
}

.feature-number {
  display: block;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 950;
}

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

.book-card {
  position: relative;
  overflow: hidden;
}

.book-card::before {
  z-index: 2;
}

.book-card .badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
}

.book-cover {
  display: block;
  background: #070814;
}

.book-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.book-body {
  padding: 22px;
}

.book-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.book-body p,
.feature p,
.proof-card p,
.panel p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.text-link:hover {
  color: var(--cyan);
}

.omnibus-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 52px;
  align-items: center;
}

.omnibus-grid img,
.author-grid img,
.badge-art {
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.44));
}

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

.proof-card blockquote {
  margin: 0;
}

.proof-card cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-style: normal;
}

.trust-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}

.audio-sample {
  min-height: 170px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed rgba(88, 224, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(88, 224, 255, 0.07);
  text-align: center;
}

.sample-box {
  max-width: 850px;
  margin-inline: auto;
}

.sample-callout {
  margin-top: 18px;
  padding: 22px;
  border-left: 3px solid var(--cyan);
  background: rgba(0, 0, 0, 0.16);
}

.author-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.link-grid {
  grid-template-columns: repeat(5, 1fr);
}

.link-grid a {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.link-grid a:hover {
  border-color: rgba(88, 224, 255, 0.48);
  background: rgba(88, 224, 255, 0.08);
}

.final-cta {
  text-align: center;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #050611;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: #fff;
}

.site-footer p,
.site-footer ul {
  margin: 8px 0 0;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #e9edff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.publisher-note {
  font-size: 13px;
  color: #8f98bc;
}

.mobile-sticky-cta {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 80;
  display: none;
  width: min(100vw, 720px);
  max-width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding:
    10px max(12px, env(safe-area-inset-right))
    calc(10px + env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 19, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.32);
  contain: layout paint;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 110%, 0);
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: transform, opacity;
}

.mobile-sticky-cta a {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  line-height: 1.1;
  white-space: nowrap;
}

.mobile-sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 170ms;
}

@media (max-width: 980px) {
  h1,
  .page-title {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-grid,
  .story-hero-grid,
  .split,
  .omnibus-grid,
  .author-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 500px;
  }

  .feature-grid,
  .book-grid,
  .proof-grid,
  .path-grid,
  .mission-steps,
  .transmission-grid,
  .faction-grid,
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-orbit {
    min-height: 520px;
  }

  .review-cinema-grid {
    grid-template-columns: 1fr;
  }

  .atlas-console .world-tabs {
    grid-template-columns: repeat(5, 1fr);
  }

  .world-console,
  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .world-tabs {
    grid-template-columns: repeat(4, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .world-tabs button {
    text-align: center;
  }

  .site-nav {
    position: absolute;
    inset: 70px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(6, 7, 19, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    padding: 10px;
  }

  .trust-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: clip !important;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  .site-header,
  main,
  .story-experience,
  .hero,
  .section,
  .site-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: 0 !important;
    overflow-x: clip !important;
  }

  .story-hero > .container.story-hero-grid,
  .story-hero .story-arrival,
  .entry-console-grid,
  .section-head,
  .section-head.center,
  .signal-map,
  .progression-table,
  .store-grid,
  .reader-preview-layout {
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .story-hero > .container.story-hero-grid {
    width: 100vw !important;
    padding-left: clamp(16px, 5vw, 28px) !important;
    padding-right: clamp(16px, 5vw, 28px) !important;
    box-sizing: border-box;
  }

  .story-hero .story-arrival h1,
  .story-hero .story-arrival .lede,
  .story-hero .hero-trilogy-strip,
  .story-hero .hero-proof-pulse,
  .story-hero .story-arrival .cta-row,
  .story-hero .hero-entry-links {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 68px 0;
  }

  .andromeda-intro {
    padding: 16px;
  }

  .wormhole-core {
    width: 112vmin;
    top: 42%;
  }

  .intro-panel {
    align-self: center;
    margin-bottom: 0;
    padding: 0;
  }

  .intro-panel h1 {
    font-size: 34px;
  }

  .intro-panel p:not(.eyebrow) {
    font-size: 15px;
  }

  .hero {
    padding: 50px 0 64px;
  }

  h1,
  .page-title {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .lede {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .book-grid,
  .proof-grid,
  .path-grid,
  .mission-steps,
  .transmission-grid,
  .faction-grid,
  .link-grid,
  .dossier-stack {
    grid-template-columns: 1fr;
  }

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

  .experience-orbit {
    min-height: 420px;
  }

  .orbit-book {
    width: 230px;
  }

  .book-a {
    left: 22%;
  }

  .book-b,
  .book-c {
    width: 150px;
  }

  .transmission-card {
    min-height: 0;
    padding: 24px;
  }

  .transmission-card h2,
  .act-card h3 {
    font-size: 26px;
  }

  .atlas-console .world-tabs,
  .world-tabs {
    grid-template-columns: 1fr;
  }

  .faction-card {
    min-height: 230px;
  }

  .act-card {
    grid-template-columns: 94px 1fr;
    gap: 16px;
    min-height: 0;
    padding: 14px;
  }

  .act-card img {
    width: 94px;
  }

  .signal-rail {
    grid-template-columns: 1fr;
  }

  .world-console {
    min-height: 0;
  }

  .world-tabs {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }

  .world-display {
    padding: 20px;
  }

  .world-panel h3 {
    font-size: 29px;
  }

  .world-panel p {
    font-size: 17px;
  }

  .dossier-stack article {
    min-height: 360px;
  }

  .dossier-stack img {
    max-height: 310px;
  }

  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .mobile-sticky-cta {
    display: grid;
  }

  .mobile-sticky-cta .button {
    width: auto;
  }

  .hero-trust {
    grid-template-columns: 44px 1fr;
  }

  .hero-trust img {
    width: 44px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .brand-title {
    font-size: 17px;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  .desktop-headline {
    display: none;
  }

  .mobile-headline {
    display: inline;
  }

  .mobile-hero-product {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 10px;
    border: 1px solid rgba(88, 224, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
  }

  .mobile-hero-product img {
    width: 72px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.42));
  }

  .mobile-hero-product strong,
  .mobile-hero-product span {
    display: block;
  }

  .mobile-hero-product strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
  }

  .mobile-hero-product span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .proof-strip span {
    justify-content: center;
    min-height: 34px;
    padding: 7px 8px;
    font-size: 12px;
    text-align: center;
  }

  .proof-strip span:last-child {
    grid-column: 1 / -1;
  }

  .hero-art {
    min-height: 390px;
  }

  .cover-stage {
    min-height: 360px;
  }

  .hero-book.main {
    width: 260px;
    right: 14%;
  }

  .hero-book.left,
  .hero-book.right {
    width: 170px;
  }

  .hero-book.left {
    top: 80px;
  }

  .hero-book.right {
    top: 102px;
  }

  .format-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 10px;
  }
}

.story-hero {
  min-height: calc(100svh - 72px);
  background-image:
    linear-gradient(180deg, rgba(2, 3, 16, 0.38), rgba(2, 3, 16, 0.82) 76%, rgba(6, 7, 19, 0.98)),
    radial-gradient(circle at 50% 52%, rgba(74, 150, 255, 0.10), transparent 34%),
    url("assets/experience/andromeda-hubble-hero.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center;
}

.story-hero::before {
  background:
    radial-gradient(circle at 50% 48%, rgba(2, 3, 16, 0.02), rgba(2, 3, 16, 0.54) 48%, rgba(2, 3, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 3, 16, 0.72), rgba(2, 3, 16, 0.12), rgba(2, 3, 16, 0.72));
}

.story-hero .story-hero-grid {
  min-height: calc(100svh - 220px);
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  text-align: center;
}

.story-arrival {
  max-width: 860px;
  margin-inline: auto;
  padding: 42px 0;
}

.story-arrival .lede {
  margin-inline: auto;
}

.story-arrival .cta-row {
  justify-content: center;
}

.story-arrival .button.primary {
  min-width: min(320px, 100%);
  background: linear-gradient(90deg, rgba(31, 82, 190, 0.95), rgba(91, 61, 204, 0.96), rgba(42, 157, 232, 0.95));
  box-shadow: 0 0 48px rgba(83, 153, 255, 0.42);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  color: rgba(226, 236, 255, 0.76);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  margin-left: 12px;
  background: linear-gradient(180deg, rgba(91, 166, 255, 0.8), transparent);
}

.orbit-arrival {
  border-top: 1px solid rgba(91, 166, 255, 0.14);
  background:
    radial-gradient(circle at 72% 36%, rgba(74, 150, 255, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(6, 7, 19, 0.96), rgba(10, 10, 31, 0.94));
}

@media (max-width: 980px) {
  .story-hero .story-hero-grid {
    min-height: calc(100svh - 190px);
  }

  .orbit-arrival .story-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .story-hero {
    min-height: calc(100svh - 70px);
    background-size: auto 100%, cover, auto 62%;
    background-position: center, center, center 34%;
  }

  .story-hero .story-hero-grid {
    min-height: calc(100svh - 190px);
    align-items: center;
  }

  .story-arrival {
    padding: 18px 0 28px;
  }

  .story-arrival h1 {
    font-size: 42px;
  }

  .story-arrival .lede {
    font-size: 17px;
  }

  .scroll-cue {
    margin-top: 18px;
  }
}

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

  html.oa-intro-first.oa-intro-traveling .site-header,
  html.oa-intro-first.oa-intro-traveling main,
  html.oa-intro-first.oa-intro-traveling .site-footer,
  html.oa-intro-first.oa-intro-traveling .mobile-sticky-cta {
    transition: opacity 260ms ease, transform 260ms ease;
  }

  .wormhole-stars,
  .wormhole-core::before,
  .wormhole-ring,
  .wormhole-light,
  .andromeda-intro.is-traveling .wormhole-core,
  .andromeda-intro.is-traveling .wormhole-core::before,
  .andromeda-intro.is-traveling .wormhole-ring,
  .andromeda-intro.is-traveling .wormhole-stars,
  .andromeda-intro.is-traveling .travel-streak,
  .andromeda-intro.is-traveling .andromeda-galaxy {
    animation: none;
  }

  .andromeda-intro.is-traveling .andromeda-galaxy {
    opacity: 0.82;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  .andromeda-intro.is-traveling .intro-panel {
    transition-duration: 180ms;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

.character-hero-art {
  position: relative;
  min-height: 560px;
}

.dossier-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 7, 19, 0.94), rgba(6, 7, 19, 0.58)),
    radial-gradient(circle at 72% 35%, rgba(88, 224, 255, 0.18), transparent 28%),
    radial-gradient(circle at 55% 64%, rgba(255, 209, 102, 0.10), transparent 26%);
}

.character-float {
  position: absolute;
  bottom: 0;
  max-height: 530px;
  width: auto;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.52));
}

.character-float.main {
  right: 18%;
  z-index: 3;
}

.character-float.side {
  right: 0;
  max-height: 430px;
  opacity: 0.82;
  z-index: 2;
}

.character-float.back {
  left: 0;
  max-height: 420px;
  opacity: 0.72;
  z-index: 1;
}

.character-carousel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(88, 224, 255, 0.075), transparent 34%),
    rgba(7, 10, 24, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dossier-carousel {
  border-color: rgba(88, 224, 255, 0.24);
}

.character-controls,
.character-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.character-counter {
  min-width: 70px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.character-tabs {
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.18);
}

.character-tabs button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.character-tabs button[aria-selected="true"] {
  border-color: rgba(88, 224, 255, 0.5);
  background: rgba(88, 224, 255, 0.12);
  color: #fff;
}

.character-stage {
  position: relative;
}

.character-slide {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
  min-height: 650px;
  padding: 34px;
}

.character-slide[hidden] {
  display: none;
}

.character-portrait {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: end;
  justify-content: center;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 82%, rgba(88, 224, 255, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.16));
  overflow: hidden;
}

.character-portrait::before {
  content: "ORIGIN ANDROMEDA";
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: var(--radius);
  color: rgba(255, 209, 102, 0.9);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.character-portrait img {
  max-height: 540px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.45));
}

.character-duo {
  gap: 18px;
  align-items: end;
}

.character-duo img:first-child {
  max-height: 450px;
}

.character-duo img:last-child {
  max-height: 380px;
}

.character-copy {
  max-height: 570px;
  overflow: auto;
  padding-right: 8px;
}

.character-copy h3 {
  font-size: 40px;
}

.character-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.character-insights p {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(88, 224, 255, 0.06);
}

.character-insights strong,
.character-insights span {
  display: block;
}

.character-insights strong {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.character-insights span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

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

.story-experience {
  background:
    linear-gradient(180deg, rgba(6, 7, 19, 0), rgba(88, 224, 255, 0.035) 18%, rgba(6, 7, 19, 0) 36%),
    radial-gradient(circle at 80% 14%, rgba(255, 209, 102, 0.08), transparent 24%);
}

.story-hero {
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.story-hero::before {
  background:
    linear-gradient(90deg, rgba(6, 7, 19, 0.96) 0%, rgba(6, 7, 19, 0.72) 42%, rgba(6, 7, 19, 0.22) 100%),
    radial-gradient(circle at 73% 45%, rgba(88, 224, 255, 0.24), transparent 28%),
    radial-gradient(circle at 84% 28%, rgba(255, 209, 102, 0.14), transparent 26%),
    conic-gradient(from 80deg at 76% 45%, transparent, rgba(88, 224, 255, 0.14), transparent, rgba(255, 79, 216, 0.10), transparent);
}

.story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.experience-orbit {
  position: relative;
  min-height: 620px;
  isolation: isolate;
}

.experience-orbit::before {
  content: "";
  position: absolute;
  inset: 8% -3% 8%;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 52% 52%, transparent 0 42%, rgba(2, 5, 20, 0.38) 66%, rgba(2, 5, 20, 0.96) 100%),
    linear-gradient(135deg, rgba(88, 224, 255, 0.20), rgba(131, 100, 255, 0.20) 46%, rgba(255, 79, 216, 0.10)),
    linear-gradient(180deg, rgba(2, 5, 20, 0.06), rgba(2, 5, 20, 0.54)),
    url("assets/experience/andromeda-galaxy-supplied.webp") center / cover no-repeat;
  background-blend-mode: normal, color, multiply, normal;
  filter: saturate(1.14) contrast(1.04) brightness(0.78) drop-shadow(0 0 70px rgba(88, 224, 255, 0.22));
  opacity: 0.86;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0 58%, rgba(0, 0, 0, 0.72) 70%, transparent 88%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 58%, rgba(0, 0, 0, 0.72) 70%, transparent 88%);
}

.experience-orbit::after {
  content: "";
  position: absolute;
  inset: 11% 8% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.36) 0 1.2%, rgba(88, 224, 255, 0.20) 4%, transparent 15%),
    conic-gradient(from 20deg, transparent, rgba(88, 224, 255, 0.13), transparent 24%, rgba(255, 209, 102, 0.07), transparent 54%, rgba(255, 79, 216, 0.10), transparent);
  filter: blur(0.6px);
  opacity: 0.48;
  animation: slowSpin 38s linear infinite;
}

.orbit-ring {
  position: absolute;
  inset: 11% 2% 4%;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.ring-b {
  inset: 18% 8% 10%;
  border-color: rgba(255, 209, 102, 0.18);
  transform: rotate(18deg);
}

.orbit-book {
  position: absolute;
  z-index: 2;
  width: min(330px, 50vw);
  display: block;
  line-height: 0;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.55));
  transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
}

.orbit-book img {
  display: block;
  width: 100%;
  height: auto;
}

.orbit-book:hover,
.orbit-book:focus-visible {
  filter: drop-shadow(0 34px 56px rgba(0, 0, 0, 0.62)) drop-shadow(0 0 18px rgba(88, 224, 255, 0.24));
}

.orbit-book:focus-visible {
  outline: 2px solid rgba(88, 224, 255, 0.72);
  outline-offset: 6px;
  border-radius: 8px;
}

.book-a {
  left: 28%;
  top: 2%;
  z-index: 4;
}

.book-a:hover,
.book-a:focus-visible {
  transform: translateY(-4px);
}

.book-b {
  left: 2%;
  top: 24%;
  width: min(250px, 38vw);
  opacity: 0.86;
  transform: rotate(-7deg);
}

.book-b:hover,
.book-b:focus-visible {
  opacity: 1;
  transform: rotate(-5deg) translateY(-4px);
}

.book-c {
  right: 0;
  top: 31%;
  width: min(250px, 38vw);
  opacity: 0.86;
  transform: rotate(7deg);
}

.book-c:hover,
.book-c:focus-visible {
  opacity: 1;
  transform: rotate(5deg) translateY(-4px);
}

.orbit-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 3%;
  margin: 0;
  transform: translateX(-50%);
  padding: 7px 11px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: 999px;
  background: rgba(4, 8, 22, 0.62);
  color: rgba(226, 236, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.transmission-strip {
  padding: 0;
  border-block: 1px solid rgba(88, 224, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(88, 224, 255, 0.10), rgba(255, 209, 102, 0.05), rgba(255, 79, 216, 0.07)),
    rgba(255, 255, 255, 0.03);
}

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

.transmission-card {
  min-height: 290px;
  padding: 34px;
  border-inline: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.transmission-card span,
.faction-card .book-kicker {
  color: var(--gold);
}

.transmission-card h2 {
  font-size: 30px;
}

.transmission-card p,
.faction-card p,
.act-card p {
  color: var(--muted);
}

.trailer-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(112, 77, 255, 0.18), transparent 32%),
    radial-gradient(circle at 18% 72%, rgba(88, 224, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 10, 28, 0.98), rgba(5, 6, 18, 0.98));
}

.trailer-section::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto;
  height: 360px;
  background:
    radial-gradient(ellipse at center, rgba(88, 224, 255, 0.2), transparent 62%),
    conic-gradient(from 135deg, transparent, rgba(112, 77, 255, 0.28), transparent, rgba(255, 79, 216, 0.18), transparent);
  filter: blur(22px);
  opacity: 0.56;
  pointer-events: none;
}

.trailer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.trailer-feature,
.trailer-card {
  border: 1px solid rgba(88, 224, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 10, 24, 0.82);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.trailer-feature {
  display: grid;
  grid-template-rows: auto 1fr;
}

.trailer-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at center, rgba(88, 224, 255, 0.14), transparent 42%),
    #02030a;
}

.trailer-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-play {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(88, 224, 255, 0.32), transparent 18%),
    radial-gradient(circle at 62% 58%, rgba(255, 79, 216, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(13, 29, 70, 0.96), rgba(5, 7, 22, 0.98));
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.trailer-play::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(88, 224, 255, 0.12), transparent),
    radial-gradient(#fff 0.7px, transparent 0.8px);
  background-size: 100% 100%, 38px 38px;
  opacity: 0.34;
  pointer-events: none;
}

.trailer-play span {
  position: relative;
  z-index: 1;
}

.play-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(88, 224, 255, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(88, 224, 255, 0.28), rgba(88, 224, 255, 0.08) 56%, transparent 57%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 36px rgba(88, 224, 255, 0.28);
}

.play-mark::before {
  content: "";
  margin-left: 5px;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.trailer-play:hover,
.trailer-play:focus-visible {
  background:
    radial-gradient(circle at 50% 46%, rgba(88, 224, 255, 0.42), transparent 20%),
    radial-gradient(circle at 62% 58%, rgba(255, 79, 216, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(18, 43, 100, 0.98), rgba(5, 7, 22, 0.98));
}

.trailer-frame.small {
  min-height: 180px;
}

.trailer-copy {
  padding: 24px;
}

.trailer-copy h3 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 3vw, 42px);
}

.trailer-copy p,
.trailer-card.compact span {
  color: var(--muted);
}

.trailer-stack {
  display: grid;
  gap: 18px;
}

.trailer-card {
  display: grid;
  grid-template-columns: 1fr;
}

.trailer-card .trailer-copy {
  padding: 18px;
}

.trailer-card .trailer-copy h3 {
  font-size: 22px;
  margin-bottom: 0;
}

.trailer-card.compact {
  padding: 20px;
  gap: 8px;
  align-content: center;
  min-height: 118px;
}

.trailer-card.compact a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.trailer-card.compact a:hover {
  color: var(--cyan);
}

.atlas-section {
  position: relative;
}

.atlas-console {
  min-height: 520px;
}

.atlas-console .world-tabs {
  grid-template-columns: 1fr;
}

.faction-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(88, 224, 255, 0.10), transparent 28%),
    rgba(255, 255, 255, 0.035);
}

.faction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.faction-card {
  position: relative;
  min-height: 330px;
  padding: 24px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(88, 224, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 10, 24, 0.8);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faction-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.trilogy-act-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(88, 224, 255, 0.035)),
    rgba(255, 255, 255, 0.03);
}

.act-grid {
  display: grid;
  gap: 20px;
}

.act-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 270px;
  padding: 20px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(88, 224, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(7, 10, 24, 0.78);
  box-shadow: var(--shadow);
}

.act-card img {
  width: 190px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
}

.act-card h3 {
  font-size: 32px;
}

.review-cinema-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.story-gateway {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 224, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(6, 7, 19, 0.96));
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .story-hero-grid,
  .review-cinema-grid {
    grid-template-columns: 1fr;
  }

  .experience-orbit {
    min-height: 520px;
  }

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

  .trailer-grid {
    grid-template-columns: 1fr;
  }

  .atlas-console .world-tabs {
    grid-template-columns: repeat(5, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .story-hero {
    min-height: auto;
  }

  .experience-orbit {
    min-height: 420px;
  }

  .orbit-book {
    width: 230px;
  }

  .book-a {
    left: 22%;
  }

  .book-b,
  .book-c {
    width: 150px;
  }

  .transmission-grid,
  .faction-grid {
    grid-template-columns: 1fr;
  }

  .trailer-copy {
    padding: 20px;
  }

  .trailer-frame.small {
    min-height: auto;
  }

  .trailer-card.compact {
    min-height: 0;
  }

  .transmission-card {
    min-height: 0;
    padding: 24px;
  }

  .transmission-card h2,
  .act-card h3 {
    font-size: 26px;
  }

  .atlas-console .world-tabs {
    grid-template-columns: 1fr;
  }

  .faction-card {
    min-height: 230px;
  }

  .act-card {
    grid-template-columns: 94px 1fr;
    gap: 16px;
    min-height: 0;
    padding: 14px;
  }

  .act-card img {
    width: 94px;
  }

}

@media (max-width: 980px) {
  .character-hero-art {
    min-height: 480px;
  }

  .character-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .character-portrait {
    min-height: 430px;
  }

  .character-portrait img {
    max-height: 420px;
  }

  .character-copy {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .character-hero-art {
    min-height: 360px;
  }

  .character-float.main {
    right: 18%;
    max-height: 330px;
  }

  .character-float.side,
  .character-float.back {
    max-height: 250px;
  }

  .character-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .character-slide {
    padding: 18px;
  }

  .character-portrait {
    min-height: 340px;
  }

  .character-portrait img {
    max-height: 330px;
  }

  .character-copy h3 {
    font-size: 30px;
  }

  .character-insights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .story-hero {
    min-height: min(760px, calc(100svh - 64px));
    padding: 44px 0 54px;
  }

  .story-hero .story-hero-grid {
    min-height: calc(100svh - 190px);
  }

  .story-arrival {
    padding: 10px 0 22px;
  }

  .story-arrival .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .story-arrival .button {
    min-height: 52px;
  }

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

  .orbit-arrival {
    padding-block: 46px 34px;
  }

  .orbit-arrival .section-head {
    text-align: left;
  }

  .experience-orbit {
    min-height: 360px;
    margin-top: 10px;
  }

  .experience-orbit::before {
    inset: 12% -2% 8%;
    border-radius: 22px;
    background-position: center;
  }

  .orbit-book {
    width: min(210px, 48vw);
  }

  .book-a {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .book-a:hover,
  .book-a:focus-visible {
    transform: translateX(-50%) translateY(-4px);
  }

  .book-b,
  .book-c {
    width: min(138px, 32vw);
  }

  .book-b {
    left: 2%;
    top: 30%;
  }

  .book-c {
    right: 2%;
    top: 34%;
  }

  .orbit-hint {
    bottom: 1%;
    max-width: calc(100% - 32px);
    font-size: 11px;
  }

  .transmission-strip {
    padding: 14px 0;
    border-block-color: rgba(88, 224, 255, 0.12);
    background:
      radial-gradient(circle at 50% 0%, rgba(88, 224, 255, 0.12), transparent 34%),
      rgba(7, 10, 24, 0.78);
  }

  .transmission-grid {
    gap: 12px;
  }

  .transmission-card {
    border: 1px solid rgba(88, 224, 255, 0.18);
    border-radius: var(--radius);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
      rgba(9, 12, 27, 0.88);
  }

  .transmission-card h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .trailer-grid {
    gap: 14px;
  }

  .trailer-card .trailer-copy h3 {
    font-size: 21px;
  }

  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .mobile-sticky-cta {
    left: 8px;
    right: 8px;
    bottom: 0;
    width: auto;
    max-width: none;
    gap: 10px;
    border: 1px solid rgba(88, 224, 255, 0.20);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    padding:
      10px max(10px, env(safe-area-inset-right))
      calc(10px + env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
    transform: translate3d(0, calc(100% + 12px), 0);
  }

  .mobile-sticky-cta.is-visible {
    transform: translate3d(0, 0, 0);
  }

  .mobile-sticky-cta a {
    min-height: 48px;
    padding: 10px 8px;
    font-size: 15px;
  }
}

.hero-entry-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 16px;
}

.hero-entry-links a {
  color: rgba(226, 236, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-entry-links a:hover {
  color: var(--cyan);
}

.hero-trilogy-strip {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: min(520px, 100%);
  margin: 24px auto 0;
  padding: 12px 14px 10px;
  border: 1px solid rgba(88, 224, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 8, 24, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.hero-trilogy-strip a {
  display: flex;
  flex: 0 1 150px;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 4px;
  color: #fff;
  text-decoration: none;
}

.hero-trilogy-strip img {
  width: auto;
  height: 104px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.46));
}

.hero-trilogy-strip a:nth-child(2) img {
  height: 122px;
}

.hero-trilogy-strip span {
  color: rgba(226, 236, 255, 0.82);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.hero-proof-pulse {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
  margin: 14px auto 0;
}

.hero-proof-pulse a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 209, 102, 0.07);
  color: rgba(244, 236, 205, 0.94);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-proof-pulse a:hover {
  border-color: rgba(88, 224, 255, 0.42);
  background: rgba(88, 224, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

@media (min-width: 981px) {
  .story-hero .hero-trilogy-strip {
    width: min(920px, 100%);
    margin-top: 34px;
    padding: 24px 30px 18px;
    border-color: rgba(88, 224, 255, 0.22);
    background:
      radial-gradient(circle at 50% 30%, rgba(88, 224, 255, 0.12), transparent 42%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
      rgba(5, 8, 24, 0.48);
  }

  .story-hero .hero-trilogy-strip a {
    flex-basis: 250px;
    gap: 11px;
  }

  .story-hero .hero-trilogy-strip img {
    height: 190px;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: 224px;
  }

  .story-hero .hero-trilogy-strip span {
    font-size: 13px;
  }

  .story-hero .hero-entry-links,
  .story-hero .scroll-cue {
    display: none;
  }
}

.has-hidden-signal {
  cursor: pointer;
}

.has-hidden-signal {
  position: relative;
}

.has-hidden-signal::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(88, 224, 255, 0.72);
  box-shadow: 0 0 16px rgba(88, 224, 255, 0.62);
  opacity: 0.32;
  pointer-events: none;
}

.has-hidden-signal:hover::after,
.has-hidden-signal:focus-visible::after {
  opacity: 0.9;
}

.signal-popup {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.signal-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.signal-popup-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(88, 224, 255, 0.16), transparent 32%),
    rgba(1, 3, 12, 0.78);
  backdrop-filter: blur(10px);
}

.signal-popup-card {
  position: relative;
  width: min(520px, calc(100vw - 44px));
  max-width: calc(100vw - 44px);
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid rgba(88, 224, 255, 0.34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 12%, rgba(88, 224, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(14, 20, 44, 0.98), rgba(5, 8, 24, 0.98));
  color: #fff;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 54px rgba(88, 224, 255, 0.18);
  overflow: hidden;
}

.signal-popup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(88, 224, 255, 0.14), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px);
  opacity: 0.36;
  pointer-events: none;
}

.signal-popup-card > * {
  position: relative;
  z-index: 1;
}

.signal-popup-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.signal-popup-close:hover,
.signal-popup-close:focus-visible {
  border-color: rgba(88, 224, 255, 0.46);
  background: rgba(88, 224, 255, 0.12);
}

.signal-popup-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.signal-popup-card h2 {
  margin: 0 42px 14px 0;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.03;
}

.signal-popup-card p:not(.signal-popup-kicker) {
  margin: 0;
  color: #dfe7ff;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.signal-popup-action {
  width: auto;
  margin-top: 22px;
}

body.signal-popup-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .signal-popup {
    padding: 16px;
  }

  .signal-popup-card {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    padding: 24px 20px 22px;
  }

  .signal-popup-card h2 {
    margin-right: 36px;
  }

  .signal-popup-action {
    width: 100%;
  }
}

.entry-console {
  padding-block: 22px;
  border-block: 1px solid rgba(88, 224, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(88, 224, 255, 0.08), rgba(131, 100, 255, 0.07), rgba(255, 79, 216, 0.055)),
    rgba(255, 255, 255, 0.02);
}

.entry-console-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.entry-card {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(7, 10, 24, 0.74);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.entry-card.primary-entry {
  border-color: rgba(88, 224, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(43, 95, 217, 0.42), rgba(255, 79, 216, 0.18)),
    rgba(7, 10, 24, 0.78);
}

.entry-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.entry-card strong {
  font-size: 17px;
  line-height: 1.22;
}

.signal-map-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 224, 255, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.018);
}

.signal-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}

.signal-map article {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(7, 10, 24, 0.76);
}

.signal-map span,
.progression-table span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.signal-map strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.signal-map p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.progression-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.progression-table article,
.store-grid a {
  padding: 22px;
  border: 1px solid rgba(88, 224, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.progression-table h3 {
  font-size: 28px;
}

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

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

.store-grid a {
  display: grid;
  gap: 4px;
  color: #fff;
  text-decoration: none;
}

.store-grid span {
  color: var(--muted);
  font-size: 14px;
}

.reader-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: start;
}

.reading-panel {
  padding: 28px;
  border: 1px solid rgba(88, 224, 255, 0.20);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(7, 10, 24, 0.78);
  box-shadow: var(--shadow);
}

.reading-panel span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.reading-panel h3 {
  margin-top: 10px;
  font-size: 34px;
}

.reading-panel p {
  color: var(--muted);
  font-size: 18px;
}

.character-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
}

.character-filter-bar button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(88, 224, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.character-filter-bar button.is-active {
  border-color: rgba(255, 209, 102, 0.44);
  color: var(--gold);
  background: rgba(255, 209, 102, 0.09);
}

.desktop-sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  gap: 8px;
  width: 156px;
}

.desktop-sticky-cta a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid rgba(88, 224, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(6, 7, 19, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.desktop-sticky-cta a:first-child {
  background: linear-gradient(90deg, var(--violet), var(--magenta));
  border-color: transparent;
}

.story-arrival {
  width: min(920px, 100%);
}

.story-arrival .eyebrow,
.section-head .eyebrow {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

.story-arrival .lede {
  max-width: 820px;
}

@media (min-width: 981px) {
  .story-hero {
    min-height: min(860px, calc(100svh - 72px));
    padding-block: 64px 74px;
  }

  .story-hero .story-hero-grid {
    min-height: min(680px, calc(100svh - 210px));
  }

  .story-arrival {
    padding-block: 22px;
  }
}

@media (max-width: 640px) {
  .story-hero {
    min-height: min(720px, calc(100svh - 62px));
    padding: 32px 0 44px;
    background-size: auto 100%, cover, auto 74%;
    background-position: center, center, center 28%;
  }

  .story-hero .story-hero-grid {
    min-height: min(600px, calc(100svh - 160px));
    place-items: end center;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .story-arrival {
    width: 100%;
    max-width: 100%;
    padding: 0 0 10px;
    overflow: hidden;
  }

  .story-arrival .eyebrow {
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  .story-arrival h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(34px, 10.5vw, 42px);
    line-height: 1.04;
  }

  .story-arrival .lede {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-entry-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .hero-entry-links a {
    min-height: 34px;
    padding: 8px 6px;
    border: 1px solid rgba(88, 224, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
    font-size: 11px;
    text-align: center;
  }

  .scroll-cue {
    margin-top: 12px;
  }

  .orbit-arrival .cta-row,
  .dossier-preview .cta-row,
  .final-cta .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .final-cta .lede {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  body {
    position: relative;
  }

  .site-header,
  main,
  .story-experience,
  .hero,
  .section,
  .site-footer {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header {
    gap: 12px;
  }

  .site-nav {
    display: none !important;
  }

  .brand,
  .brand-copy,
  .story-hero,
  .story-hero .story-hero-grid,
  .story-arrival,
  .story-arrival > *,
  .story-arrival .cta-row,
  .hero-entry-links,
  .hero-trilogy-strip,
  .hero-proof-pulse,
  .entry-console,
  .entry-console-grid,
  .signal-map-section,
  .signal-map,
  .progression-table,
  .store-grid,
  .desktop-sticky-cta,
  .experience-orbit,
  .orbit-arrival,
  .transmission-strip,
  .trailer-section,
  .signal-map-section,
  .atlas-section,
  .faction-section,
  .dossier-preview,
  .trilogy-act-section,
  .review-cinema,
  .story-gateway {
    max-width: 100%;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-title,
  .brand-subtitle {
    white-space: normal;
  }

  .story-hero {
    contain: paint;
  }

  .story-hero .story-hero-grid,
  .story-arrival,
  .orbit-arrival,
  .transmission-strip,
  .trailer-section,
  .atlas-section,
  .faction-section,
  .dossier-preview,
  .trilogy-act-section,
  .review-cinema,
  .story-gateway {
    overflow-x: clip;
  }

  .container {
    width: min(100%, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    padding-inline: 14px;
    margin-inline: auto;
  }

  .story-arrival {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 100%;
  }

  .story-arrival h1,
  .story-arrival .lede {
    width: 100%;
    max-width: 100%;
    text-align: center;
    text-wrap: balance;
  }

  .story-arrival .lede {
    padding-inline: 2px;
  }

  .story-arrival .button,
  .hero-trilogy-strip img,
  img,
  iframe {
    max-width: 100%;
  }

  .hero-trilogy-strip {
    width: min(100%, 330px);
    max-width: 330px;
    margin-top: 14px;
    padding: 9px 8px 8px;
  }

  .hero-trilogy-strip a {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 2px;
  }

  .hero-trilogy-strip img {
    height: 76px;
  }

  .hero-trilogy-strip a:nth-child(2) img {
    height: 88px;
  }

  .hero-trilogy-strip span {
    font-size: 10px;
  }

  .hero-proof-pulse {
    width: min(100%, 340px);
    max-width: 340px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
  }

  .hero-proof-pulse a {
    width: 100%;
    min-width: 0;
    justify-content: center;
    min-height: 44px;
    padding: 7px 6px;
    font-size: clamp(9px, 2.65vw, 11px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .entry-console {
    padding-block: 14px;
  }

  .entry-console-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .entry-card {
    min-width: 0;
  }

  .entry-card {
    min-height: 104px;
    padding: 14px 12px;
  }

  .entry-card strong {
    font-size: 14px;
  }

  .section-head,
  .section-head.center {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .section-head h2 {
    max-width: 100%;
    font-size: clamp(28px, 8.6vw, 34px);
    line-height: 1.08;
    text-wrap: balance;
  }

  .signal-map,
  .progression-table,
  .store-grid,
  .reader-preview-layout {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .signal-map article {
    min-height: 0;
    min-width: 0;
  }

  .character-filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .desktop-sticky-cta {
    display: none;
  }

  .story-arrival .cta-row {
    margin-top: 16px;
  }

  .scroll-cue {
    display: none;
  }

  .mobile-sticky-cta {
    max-width: calc(100% - 16px);
  }

  .mobile-sticky-cta a {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Character page dossier-first layout */
.dossier-first-screen {
  padding-top: clamp(26px, 5vw, 58px);
}

.compact-dossier-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.compact-dossier-head h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
}

.compact-dossier-head .muted {
  max-width: 650px;
  margin-inline: auto;
}

.dossier-first-screen .character-carousel {
  margin-top: 0;
  border-radius: 18px;
}

.dossier-first-screen .character-tabs {
  gap: 12px;
  padding: 18px 18px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(88, 224, 255, 0.12), transparent 34%),
    rgba(4, 7, 18, 0.72);
}

.dossier-first-screen .character-tabs button {
  min-width: 108px;
  min-height: 54px;
  padding: 10px 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.dossier-first-screen .character-stage {
  border-top: 1px solid rgba(88, 224, 255, 0.12);
}

@media (max-width: 760px) {
  .dossier-first-screen {
    padding-top: 18px;
  }

  .dossier-first-screen .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    overflow: hidden;
  }

  .compact-dossier-head {
    margin-bottom: 16px;
    padding-inline: 6px;
  }

  .compact-dossier-head h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .compact-dossier-head .muted {
    font-size: 15px;
  }

  .dossier-first-screen .character-carousel {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
  }

  .dossier-first-screen .character-tabs {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
  }

  .dossier-first-screen .character-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 15px;
  }

  .dossier-first-screen .character-stage {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .dossier-first-screen .character-slide,
  .dossier-first-screen .character-portrait,
  .dossier-first-screen .character-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* First-visit Andromeda wormhole intro */
.andromeda-intro {
  background:
    radial-gradient(circle at 50% 58%, rgba(18, 116, 255, 0.22), transparent 20%),
    radial-gradient(circle at 50% 44%, rgba(38, 84, 191, 0.26), transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(3, 12, 38, 0.94), transparent 58%),
    linear-gradient(180deg, #00030b 0%, #020817 54%, #00040c 100%);
}

.andromeda-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(#fff 0.65px, transparent 0.7px),
    radial-gradient(rgba(88, 224, 255, 0.9) 0.85px, transparent 0.9px);
  background-size: 64px 64px, 116px 116px;
  background-position: 0 0, 23px 17px;
  opacity: 0.24;
  pointer-events: none;
}

.andromeda-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 18%, rgba(13, 44, 112, 0.16) 30%, transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 16%, transparent 80%, rgba(0, 0, 0, 0.46));
  opacity: 0;
  pointer-events: none;
}

.intro-panel {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: min(420px, calc(100vw - 32px));
}

.intro-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 6vw, 54px);
  letter-spacing: 0;
  line-height: 1.02;
}

.intro-panel p:not(.eyebrow) {
  margin: 0 auto 18px;
  color: rgba(218, 236, 255, 0.82);
}

.intro-skip {
  margin-top: 6px;
  color: rgba(218, 236, 255, 0.64);
}

.andromeda-intro.is-traveling .intro-panel {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
}

.andromeda-intro.is-traveling::after {
  animation: introVignetteFlash 3800ms cubic-bezier(0.16, 0.82, 0.2, 1) forwards;
}

.andromeda-intro.is-traveling .wormhole-core {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: cinematicWarpForward 3300ms cubic-bezier(0.14, 0.84, 0.18, 1) forwards;
}

.andromeda-intro.is-traveling .wormhole-stars {
  animation: starRush 720ms linear infinite;
}

.andromeda-intro.is-traveling .travel-streak {
  animation: cinematicStreakFlash 2100ms ease-in-out 420ms forwards;
}

.andromeda-intro.is-traveling .andromeda-galaxy {
  animation: cinematicGalaxyReveal 3400ms cubic-bezier(0.14, 0.84, 0.18, 1) forwards;
}

@keyframes introVignetteFlash {
  0% { opacity: 0; transform: scale(1); }
  38% { opacity: 0.28; }
  68% { opacity: 0.62; transform: scale(1.04); }
  100% { opacity: 0; transform: scale(1.16); }
}

@keyframes cinematicWarpForward {
  0% { transform: translate(-50%, -50%) scale(0.78) rotate(0deg); opacity: 0; }
  22% { opacity: 0.9; }
  66% { transform: translate(-50%, -50%) scale(1.25) rotate(20deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3.2) rotate(42deg); opacity: 0.92; }
}

@keyframes cinematicStreakFlash {
  0% { opacity: 0; height: 22vh; filter: blur(0.2px); }
  28% { opacity: 0.95; }
  100% { opacity: 0; height: 96vh; filter: blur(1px); }
}

@keyframes cinematicGalaxyReveal {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.12) rotate(-18deg); filter: blur(1px) drop-shadow(0 0 30px rgba(83, 153, 255, 0.42)); }
  28% { opacity: 0.92; }
  58% { opacity: 1; transform: translate(-50%, -50%) scale(0.86) rotate(8deg); filter: blur(0.2px) drop-shadow(0 0 66px rgba(83, 153, 255, 0.74)); }
  100% { opacity: 0.72; transform: translate(-50%, -50%) scale(2.4) rotate(34deg); filter: blur(1.8px) drop-shadow(0 0 120px rgba(83, 153, 255, 0.78)); }
}

@media (max-width: 760px) {
  .intro-panel {
    width: min(430px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .intro-panel h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: normal;
  }

  .intro-panel p:not(.eyebrow) {
    font-size: 14px;
  }
}

/* Final wormhole visual pass */
.andromeda-intro {
  background:
    radial-gradient(circle at 50% 46%, rgba(92, 188, 255, 0.18), transparent 14%),
    radial-gradient(circle at 50% 47%, rgba(83, 60, 185, 0.38), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(2, 7, 28, 0.12), rgba(0, 0, 0, 0.82) 76%),
    linear-gradient(180deg, #01030b 0%, #03091d 48%, #00030b 100%);
}

.wormhole-scene {
  perspective: 1200px;
}

.wormhole-core {
  top: 46%;
  width: min(86vmin, 820px);
  transform: translate(-50%, -50%) rotateX(16deg) scale(1);
  transform-style: preserve-3d;
}

.wormhole-core::before {
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #000107 0 10%, rgba(6, 13, 38, 0.96) 13%, rgba(53, 181, 255, 0.82) 16%, rgba(54, 67, 185, 0.52) 20%, transparent 28%),
    conic-gradient(from 24deg, transparent 0 13deg, rgba(151, 232, 255, 0.92) 23deg, rgba(72, 110, 255, 0.28) 44deg, transparent 68deg, rgba(128, 67, 255, 0.62) 100deg, transparent 137deg, rgba(78, 205, 255, 0.84) 176deg, transparent 214deg, rgba(105, 78, 255, 0.54) 270deg, transparent 318deg),
    radial-gradient(circle, transparent 0 20%, rgba(42, 139, 255, 0.32) 29%, rgba(77, 57, 205, 0.26) 45%, rgba(4, 10, 34, 0.82) 66%, transparent 78%);
  filter: blur(0.6px) saturate(1.55) contrast(1.08);
  box-shadow:
    inset 0 0 96px rgba(0, 0, 0, 0.94),
    inset 0 0 140px rgba(67, 205, 255, 0.22),
    0 0 96px rgba(66, 177, 255, 0.36);
}

.wormhole-core::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98) 0 4%, rgba(96, 209, 255, 0.88) 8%, rgba(29, 44, 126, 0.54) 18%, rgba(0, 1, 8, 0.98) 35%, transparent 56%),
    conic-gradient(from 0deg, transparent, rgba(113, 212, 255, 0.50), transparent 38%, rgba(105, 73, 255, 0.44), transparent 72%);
  filter: drop-shadow(0 0 42px rgba(91, 205, 255, 0.78));
  transform: translateZ(44px);
  animation: wormholeThroat 3.4s ease-in-out infinite;
}

.wormhole-ring {
  border-color: rgba(117, 211, 255, 0.42);
  box-shadow:
    0 0 26px rgba(67, 180, 255, 0.24),
    inset 0 0 40px rgba(105, 84, 255, 0.18);
}

.ring-1 { --ring-inset: 0%; }
.ring-2 { --ring-inset: 13%; }
.ring-3 { --ring-inset: 25%; }
.ring-4 { --ring-inset: 37%; }

.wormhole-light {
  inset: 45%;
  background:
    radial-gradient(circle, #ffffff 0 9%, rgba(103, 209, 255, 0.96) 19%, rgba(72, 84, 230, 0.58) 38%, transparent 68%);
  box-shadow:
    0 0 80px rgba(105, 214, 255, 0.86),
    0 0 180px rgba(88, 89, 255, 0.48);
}

.andromeda-galaxy {
  width: 70%;
  aspect-ratio: 1.78;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 1) 0 4%, rgba(174, 232, 255, 0.94) 7%, rgba(75, 151, 255, 0.40) 16%, transparent 26%),
    conic-gradient(from 22deg, transparent, rgba(178, 233, 255, 0.88), transparent 26%, rgba(92, 126, 255, 0.34), transparent 48%, rgba(191, 231, 255, 0.74), transparent 66%, rgba(100, 92, 255, 0.42), transparent),
    radial-gradient(ellipse at 50% 50%, rgba(95, 178, 255, 0.38), transparent 65%);
  filter: blur(0.25px) drop-shadow(0 0 70px rgba(102, 201, 255, 0.72));
  transform: translate(-50%, -50%) scale(0.2) rotate(-24deg);
}

.andromeda-intro.is-traveling .wormhole-core {
  animation: wormholeDive 2600ms cubic-bezier(0.13, 0.86, 0.2, 1) forwards;
}

.andromeda-intro.is-traveling .wormhole-core::before {
  animation: wormholeSpin 460ms linear infinite, tunnelBloom 2600ms ease forwards;
}

.andromeda-intro.is-traveling .wormhole-core::after {
  animation: throatDive 2600ms cubic-bezier(0.13, 0.86, 0.2, 1) forwards;
}

.andromeda-intro.is-traveling .andromeda-galaxy {
  animation: galaxyArrival 2600ms cubic-bezier(0.13, 0.86, 0.2, 1) forwards;
}

@keyframes wormholeThroat {
  0%, 100% { opacity: 0.82; transform: translateZ(44px) scale(0.92); }
  50% { opacity: 1; transform: translateZ(64px) scale(1.08); }
}

@keyframes wormholeDive {
  0% { transform: translate(-50%, -50%) rotateX(16deg) scale(1); filter: blur(0); opacity: 1; }
  34% { transform: translate(-50%, -50%) rotateX(10deg) scale(1.34) rotate(18deg); opacity: 1; }
  72% { transform: translate(-50%, -50%) rotateX(4deg) scale(2.35) rotate(42deg); filter: blur(0.8px); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotateX(0deg) scale(4.3) rotate(70deg); filter: blur(2.2px); opacity: 0.78; }
}

@keyframes throatDive {
  0% { opacity: 0.92; transform: translateZ(44px) scale(0.95); }
  42% { opacity: 1; transform: translateZ(96px) scale(1.28); }
  100% { opacity: 0.15; transform: translateZ(190px) scale(4.8); }
}

@keyframes galaxyArrival {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.12) rotate(-30deg); filter: blur(1.8px) drop-shadow(0 0 20px rgba(102, 201, 255, 0.38)); }
  28% { opacity: 0.95; }
  62% { opacity: 1; transform: translate(-50%, -50%) scale(1.05) rotate(8deg); filter: blur(0.3px) drop-shadow(0 0 82px rgba(102, 201, 255, 0.82)); }
  100% { opacity: 0.84; transform: translate(-50%, -50%) scale(2.9) rotate(36deg); filter: blur(1.4px) drop-shadow(0 0 140px rgba(102, 201, 255, 0.82)); }
}

@media (max-width: 760px) {
  .wormhole-core {
    top: 42%;
    width: min(90vmin, 520px);
  }

  .intro-panel {
    width: min(304px, calc(100vw - 64px));
    max-width: calc(100vw - 64px);
    margin-inline: auto;
    transform: translateY(-6px);
    padding: 16px 12px 12px;
  }

  .intro-enter {
    width: min(214px, 100%);
    max-width: 100%;
    min-height: 48px;
    padding-inline: 12px;
    box-sizing: border-box;
    font-size: 13px;
  }

  .intro-panel h1 {
    max-width: 218px;
    margin-inline: auto;
    font-size: clamp(27px, 7.4vw, 31px);
    line-height: 0.96;
  }

  .intro-panel p:not(.eyebrow) {
    max-width: 260px;
  }
}

@media (max-width: 760px) {
  .dossier-first-screen,
  .dossier-first-screen .container,
  .dossier-first-screen .character-carousel,
  .dossier-first-screen .character-tabs,
  .dossier-first-screen .character-stage,
  .dossier-first-screen .character-slide,
  .dossier-first-screen .character-portrait,
  .dossier-first-screen .character-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .dossier-first-screen .container {
    padding-inline: 14px !important;
    margin-inline: auto !important;
    overflow: hidden;
  }

  .dossier-first-screen .character-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .dossier-first-screen .character-tabs button {
    width: 100% !important;
    min-width: 0 !important;
    padding-inline: 8px !important;
  }

  .dossier-first-screen .character-slide {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  html,
  body {
    inline-size: 100%;
    max-inline-size: 100%;
    overflow-x: hidden !important;
  }

  .site-header,
  main,
  .story-experience,
  .hero,
  .section,
  .site-footer {
    inline-size: 100vw !important;
    max-inline-size: 100vw !important;
    margin-inline: 0 !important;
    overflow-x: clip !important;
  }

  .container,
  .story-hero .story-hero-grid,
  .story-arrival,
  .entry-console-grid,
  .section-head,
  .section-head.center,
  .signal-map,
  .progression-table,
  .store-grid,
  .reader-preview-layout {
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    margin-inline: auto !important;
    min-inline-size: 0 !important;
  }

  .container,
  .story-hero .story-hero-grid {
    padding-inline: 20px !important;
    box-sizing: border-box;
  }

  .story-arrival > *,
  .entry-console-grid > *,
  .signal-map > * {
    max-inline-size: 100% !important;
    min-inline-size: 0 !important;
  }

  .story-arrival h1,
  .story-arrival .lede {
    inline-size: 100% !important;
    max-inline-size: 100% !important;
  }

  .story-arrival h1 {
    font-size: clamp(33px, 9.2vw, 39px);
  }

  .hero-trilogy-strip,
  .hero-proof-pulse,
  .story-arrival .cta-row,
  .hero-entry-links {
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    margin-inline: auto !important;
  }

  .story-arrival .button {
    width: min(100%, 260px) !important;
  }

  .story-hero > .container.story-hero-grid {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    display: grid !important;
    place-items: center !important;
  }

  .story-hero .story-arrival {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
  }

  .story-hero .story-arrival h1,
  .story-hero .story-arrival .lede,
  .story-hero .hero-trilogy-strip,
  .story-hero .hero-proof-pulse,
  .story-hero .story-arrival .cta-row,
  .story-hero .hero-entry-links {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .story-hero .story-arrival h1 {
    text-align: center !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

@media (max-width: 980px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header,
  main,
  .story-experience,
  .hero,
  .section,
  .site-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: 0 !important;
    overflow-x: clip !important;
  }

  .story-hero > .container.story-hero-grid,
  .container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  .story-hero .story-arrival,
  .entry-console-grid,
  .section-head,
  .section-head.center,
  .signal-map,
  .progression-table,
  .store-grid,
  .reader-preview-layout {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 0 !important;
  }

  .story-hero .story-arrival h1,
  .story-hero .story-arrival .lede,
  .story-hero .hero-trilogy-strip,
  .story-hero .hero-proof-pulse,
  .story-hero .story-arrival .cta-row,
  .story-hero .hero-entry-links {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .story-hero .story-arrival h1 {
    text-align: center !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}

@media (max-width: 980px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header,
  main,
  .story-experience,
  .hero,
  .section,
  .site-footer {
    width: 100% !important;
    max-width: 100% !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: clip !important;
    box-sizing: border-box;
  }

  .container,
  .story-hero > .container.story-hero-grid {
    width: 100% !important;
    max-width: 100% !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  .story-hero > .container.story-hero-grid {
    display: grid !important;
    justify-items: center !important;
  }

  .story-hero .story-arrival {
    width: 100% !important;
    max-width: 520px !important;
    inline-size: 100% !important;
    max-inline-size: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    box-sizing: border-box;
  }

  .story-hero .story-arrival > *,
  .story-hero .story-arrival h1,
  .story-hero .story-arrival .lede,
  .story-hero .hero-trilogy-strip,
  .story-hero .hero-proof-pulse,
  .story-hero .story-arrival .cta-row,
  .story-hero .hero-entry-links {
    width: 100% !important;
    max-width: 100% !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .story-hero .hero-trilogy-strip {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .story-hero .hero-trilogy-strip a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .story-hero .hero-proof-pulse {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .story-hero .hero-proof-pulse a {
    min-width: 0 !important;
    padding: 10px 6px !important;
    overflow-wrap: break-word;
  }

  .story-hero .story-arrival .cta-row {
    justify-items: center !important;
  }
}

/* Premium production polish */
.andromeda-intro {
  background:
    radial-gradient(ellipse at 50% 54%, rgba(74, 153, 255, 0.16), transparent 24%),
    radial-gradient(ellipse at 50% 44%, rgba(81, 54, 177, 0.22), transparent 48%),
    radial-gradient(ellipse at 50% 52%, rgba(2, 7, 28, 0.26), rgba(0, 1, 8, 0.86) 74%),
    linear-gradient(180deg, #00020a 0%, #030515 50%, #00020a 100%);
}

.andromeda-intro::before {
  background:
    radial-gradient(rgba(255, 255, 255, 0.78) 0.55px, transparent 0.7px),
    radial-gradient(rgba(104, 219, 255, 0.64) 0.7px, transparent 0.9px),
    radial-gradient(rgba(255, 255, 255, 0.42) 0.45px, transparent 0.65px);
  background-size: 73px 91px, 137px 113px, 211px 167px;
  background-position: 5px 11px, 41px 19px, 83px 61px;
  opacity: 0.2;
  filter: blur(0.12px);
}

.wormhole-stars {
  inset: -8%;
  background-image: url("assets/experience/starfield-premium.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.42;
  filter: saturate(1.12);
}

.starfield-b {
  opacity: 0.18;
  transform: scale(1.16) rotate(-8deg);
  animation-duration: 34s;
}

.andromeda-intro::after {
  background:
    radial-gradient(ellipse at 50% 48%, transparent 0 24%, rgba(63, 140, 255, 0.13) 38%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.58));
}

.intro-author {
  display: block;
  margin-top: -8px !important;
  margin-bottom: 20px !important;
  color: rgba(255, 214, 128, 0.82) !important;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.intro-enter {
  outline: none;
  border-color: rgba(126, 217, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(43, 92, 207, 0.98), rgba(32, 158, 227, 0.96)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 52%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 18px 52px rgba(38, 136, 255, 0.28);
}

.intro-enter:focus-visible {
  outline: 2px solid rgba(126, 217, 255, 0.62);
  outline-offset: 3px;
}

.wormhole-core {
  filter: drop-shadow(0 0 42px rgba(71, 174, 255, 0.22));
}

.wormhole-core::before {
  background:
    radial-gradient(circle at 50% 50%, #000107 0 9%, rgba(5, 12, 38, 0.96) 13%, rgba(57, 188, 255, 0.86) 16%, rgba(58, 72, 190, 0.52) 21%, transparent 30%),
    conic-gradient(from 24deg, transparent 0 10deg, rgba(154, 233, 255, 0.92) 21deg, rgba(75, 112, 255, 0.25) 43deg, transparent 66deg, rgba(118, 72, 255, 0.56) 98deg, transparent 138deg, rgba(78, 205, 255, 0.82) 176deg, transparent 216deg, rgba(102, 78, 255, 0.5) 271deg, transparent 318deg),
    radial-gradient(circle, transparent 0 18%, rgba(45, 140, 255, 0.3) 31%, rgba(77, 57, 205, 0.24) 45%, rgba(4, 10, 34, 0.86) 66%, transparent 80%);
  filter: blur(0.45px) saturate(1.65) contrast(1.12);
}

.trailer-play {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(88, 224, 255, 0.24), transparent 23%),
    radial-gradient(circle at 58% 62%, rgba(122, 78, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(9, 20, 52, 0.98), rgba(4, 6, 18, 0.98));
}

.trailer-play::before {
  z-index: 0;
  opacity: 0.24;
}

.trailer-play::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(1, 3, 12, 0.22), transparent 38%, rgba(1, 3, 12, 0.54)),
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(0, 0, 0, 0.34) 78%);
  pointer-events: none;
}

.trailer-poster {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 0;
  width: min(34%, 190px);
  max-height: 78%;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-2deg);
  opacity: 0.74;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.62));
}

.compact-play .trailer-poster {
  width: min(32%, 118px);
  opacity: 0.68;
}

.trailer-play span,
.trailer-play .play-mark {
  z-index: 2;
}

.trailer-play:hover,
.trailer-play:focus-visible {
  background:
    radial-gradient(circle at 50% 44%, rgba(88, 224, 255, 0.3), transparent 24%),
    radial-gradient(circle at 58% 62%, rgba(122, 78, 255, 0.26), transparent 36%),
    linear-gradient(135deg, rgba(12, 28, 68, 0.98), rgba(4, 6, 18, 0.98));
}

@media (max-width: 760px) {
  .intro-author {
    font-size: 10px;
    margin-top: -6px !important;
    margin-bottom: 14px !important;
  }

  .trailer-poster {
    width: min(34%, 130px);
  }
}

/* Cover-matched premium visual pass */
:root {
  --bg: #030611;
  --panel: #0a1020;
  --panel-2: #0d1728;
  --ink: #f4f7ff;
  --muted: #aeb9d0;
  --line: rgba(172, 202, 232, 0.18);
  --cyan: #78d7ff;
  --magenta: #7f8cff;
  --violet: #2f5eaa;
  --gold: #d7b96d;
  --silver: #d8e3ef;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
}

html.oa-intro-first:not(.oa-intro-complete) body,
body {
  overflow-x: hidden;
}

html.oa-intro-first:not(.oa-intro-complete) .site-header,
html.oa-intro-first:not(.oa-intro-complete) main,
html.oa-intro-first:not(.oa-intro-complete) .site-footer,
html.oa-intro-first:not(.oa-intro-complete) .mobile-sticky-cta {
  opacity: 1;
  transform: none;
}

.andromeda-intro {
  display: none !important;
}

body {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(65, 131, 198, 0.2), transparent 44%),
    radial-gradient(ellipse at 88% 18%, rgba(215, 185, 109, 0.08), transparent 32%),
    linear-gradient(180deg, #02040d 0%, #06101e 38%, #030611 100%);
}

body::before {
  background:
    linear-gradient(180deg, rgba(3, 6, 17, 0.1), rgba(3, 6, 17, 0.84)),
    url("assets/experience/starfield-premium.png");
  background-size: cover;
  background-position: center top;
  opacity: 0.32;
}

.site-header {
  border-bottom-color: rgba(149, 190, 226, 0.14);
  background:
    linear-gradient(180deg, rgba(5, 9, 23, 0.94), rgba(5, 9, 23, 0.78));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.brand-mark {
  border-color: rgba(215, 185, 109, 0.54);
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 185, 109, 0.18), transparent 60%),
    linear-gradient(180deg, #111827, #070b15);
  color: #f2d88d;
  box-shadow: 0 0 28px rgba(120, 215, 255, 0.14);
}

.brand-title,
h1,
h2,
h3 {
  color: #f8fbff;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.eyebrow,
.book-kicker {
  color: var(--cyan);
}

.button.primary {
  border-color: rgba(164, 219, 255, 0.55);
  background:
    linear-gradient(135deg, #1b4f9d 0%, #2298d5 58%, #70cdf5 100%);
  box-shadow:
    0 16px 42px rgba(44, 146, 213, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.button.secondary,
.button.ghost,
.hero-proof-pulse a,
.hero-entry-links a,
.entry-card,
.transmission-card,
.faction-card,
.world-console,
.trailer-feature,
.trailer-card,
.act-card,
.character-carousel,
.author-card,
.format-card {
  border-color: rgba(161, 194, 222, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(7, 13, 29, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 70px rgba(0, 0, 0, 0.3);
}

.button.ghost,
.button.secondary {
  color: #eaf3ff;
}

.button.secondary {
  background:
    linear-gradient(180deg, rgba(120, 215, 255, 0.12), rgba(120, 215, 255, 0.035)),
    rgba(7, 13, 29, 0.84);
}

.story-hero {
  min-height: calc(100svh - 76px);
  background-image:
    linear-gradient(180deg, rgba(2, 4, 13, 0.2), rgba(2, 4, 13, 0.8) 74%, #030611 100%),
    radial-gradient(ellipse at 50% 48%, rgba(78, 142, 216, 0.18), transparent 42%),
    url("assets/experience/andromeda-hubble-hero.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center;
}

.story-hero::before {
  background:
    linear-gradient(90deg, rgba(2, 4, 13, 0.82), rgba(2, 4, 13, 0.34) 50%, rgba(2, 4, 13, 0.82)),
    radial-gradient(ellipse at 50% 54%, rgba(120, 215, 255, 0.16), transparent 40%),
    linear-gradient(180deg, transparent 0%, rgba(3, 6, 17, 0.68) 100%);
}

.story-arrival {
  padding-top: clamp(54px, 8vh, 108px);
  padding-bottom: clamp(34px, 7vh, 86px);
  position: relative;
  z-index: 1;
}

.story-arrival h1 {
  max-width: 960px;
  margin-inline: auto;
  letter-spacing: 0;
}

.story-arrival .lede {
  color: rgba(229, 238, 249, 0.9);
}

.reveal,
.reveal.in {
  opacity: 1 !important;
  transform: none !important;
}

.hero-trilogy-strip {
  width: min(720px, 100%);
  padding: 18px 22px 14px;
  border-color: rgba(151, 191, 225, 0.22);
  background:
    linear-gradient(180deg, rgba(13, 26, 48, 0.86), rgba(5, 10, 23, 0.84)),
    radial-gradient(ellipse at 50% 0%, rgba(120, 215, 255, 0.13), transparent 62%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.36);
}

.hero-trilogy-strip a {
  flex-basis: 190px;
}

.hero-trilogy-strip img {
  height: 140px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.58));
}

.hero-trilogy-strip a:nth-child(2) img {
  height: 164px;
}

.hero-trilogy-strip span,
.hero-proof-pulse a {
  color: rgba(232, 239, 249, 0.88);
}

.hero-proof-pulse a {
  border-color: rgba(215, 185, 109, 0.22);
  background:
    linear-gradient(180deg, rgba(215, 185, 109, 0.09), rgba(120, 215, 255, 0.025)),
    rgba(8, 14, 30, 0.82);
}

.entry-console,
.orbit-arrival,
.atlas-section,
.dossier-preview,
.trilogy-act-section {
  background: transparent;
}

.trailer-play {
  background:
    radial-gradient(circle at 50% 44%, rgba(120, 215, 255, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(9, 19, 43, 0.98), rgba(3, 6, 17, 0.98));
}

.trailer-play::before {
  background:
    linear-gradient(90deg, transparent, rgba(120, 215, 255, 0.1), transparent),
    url("assets/experience/starfield-premium.png");
  background-size: 100% 100%, cover;
}

.play-mark {
  border-color: rgba(120, 215, 255, 0.58);
  background:
    radial-gradient(circle at 50% 50%, rgba(120, 215, 255, 0.26), rgba(120, 215, 255, 0.08) 56%, transparent 57%),
    rgba(216, 227, 239, 0.07);
}

.text-link {
  color: var(--cyan);
}

@media (min-width: 1000px) {
  .story-hero .story-hero-grid {
    min-height: calc(100svh - 120px);
  }
}

@media (max-width: 760px) {
  html,
  body,
  main,
  section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .story-hero > .container.story-hero-grid,
  .story-hero .story-arrival {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  .story-hero {
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .story-arrival {
    padding-top: 44px;
    text-align: center;
  }

  .story-arrival h1,
  .story-arrival .lede,
  .story-arrival .cta-row,
  .story-arrival .hero-entry-links,
  .hero-proof-pulse,
  .hero-trilogy-strip {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .hero-trilogy-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 10px 10px;
  }

  .hero-trilogy-strip a {
    min-width: 0 !important;
    padding: 0;
  }

  .hero-trilogy-strip img {
    max-width: 100%;
    height: 88px;
  }

  .hero-trilogy-strip a:nth-child(2) img {
    height: 100px;
  }

  .hero-proof-pulse {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-proof-pulse a {
    min-width: 0 !important;
    padding: 10px 6px;
    font-size: 12px;
    line-height: 1.2;
    overflow-wrap: break-word;
  }

  .story-arrival .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .story-arrival .button {
    width: min(250px, 100%);
  }

  .entry-console-grid {
    grid-template-columns: 1fr !important;
  }

  .entry-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .story-hero > .container.story-hero-grid,
  .story-hero .story-arrival,
  .story-hero .story-arrival > *,
  .story-hero .hero-trilogy-strip,
  .story-hero .hero-proof-pulse,
  .story-hero .story-arrival .cta-row,
  .story-hero .hero-entry-links {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .story-hero > .container.story-hero-grid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .story-hero .story-arrival h1 {
    font-size: clamp(30px, 8vw, 34px) !important;
    line-height: 1.06 !important;
    overflow-wrap: normal !important;
  }

  .story-hero .story-arrival .lede {
    font-size: 16px !important;
    line-height: 1.55 !important;
    width: min(310px, calc(100vw - 54px)) !important;
    max-width: min(310px, calc(100vw - 54px)) !important;
  }

  .story-hero .hero-trilogy-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .story-hero .hero-trilogy-strip img {
    height: 76px !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: 86px !important;
  }

  .story-hero .hero-proof-pulse {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .story-hero .hero-proof-pulse a {
    font-size: 11px !important;
    padding: 9px 5px !important;
  }

  .story-hero .story-arrival .button,
  .story-hero .story-arrival .button.primary {
    width: 290px !important;
    min-width: 0 !important;
    max-width: calc(100vw - 80px) !important;
  }

  .entry-console {
    padding-block: 14px !important;
  }

  .entry-console-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .entry-card {
    min-height: 76px !important;
    padding: 12px 10px !important;
    text-align: center;
  }

  .entry-card span {
    font-size: 10px !important;
  }

  .entry-card strong {
    font-size: 14px !important;
    line-height: 1.16 !important;
  }

  .trailer-section {
    padding-block: 34px !important;
  }

  .trailer-section .section-head {
    margin-bottom: 18px !important;
  }

  .trailer-section .section-head h2 {
    font-size: clamp(26px, 7vw, 32px) !important;
  }

  .trailer-grid {
    gap: 12px !important;
  }

  .trailer-copy {
    display: none !important;
  }

  .trailer-frame {
    aspect-ratio: 2 / 1 !important;
  }

  .trailer-play {
    gap: 8px !important;
    font-size: 12px !important;
  }

  .play-mark {
    width: 52px !important;
    height: 52px !important;
  }

  .play-mark::before {
    border-left-width: 13px !important;
    border-top-width: 9px !important;
    border-bottom-width: 9px !important;
  }

  .trailer-frame.small {
    min-height: 104px !important;
  }

  .compact-play .trailer-poster,
  .trailer-poster {
    width: min(28%, 96px) !important;
  }

  .final-cta {
    padding-block: 44px !important;
  }
}

.trailer-hero {
  min-height: auto;
  padding-block: 112px 58px;
  background:
    linear-gradient(180deg, rgba(4, 6, 17, 0.45), rgba(4, 6, 17, 0.96)),
    radial-gradient(circle at 68% 30%, rgba(88, 224, 255, 0.16), transparent 28%),
    radial-gradient(circle at 22% 12%, rgba(255, 79, 216, 0.10), transparent 26%),
    #050817;
}

@media (max-width: 760px) {
  .story-hero {
    min-height: auto !important;
    padding-block: 36px 34px !important;
  }

  .story-hero .story-arrival {
    gap: 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .story-hero .hero-proof-pulse {
    gap: 6px !important;
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
  }

  .story-hero .hero-proof-pulse a {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 4px !important;
    font-size: 10.5px !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .story-hero .hero-trilogy-strip {
    padding: 10px 8px 9px !important;
  }

  .story-hero .story-arrival .cta-row {
    gap: 10px !important;
  }

  .trailer-hero {
    padding-block: 48px 30px !important;
  }
}

/* Premium site polish pass */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 50% -8%, rgba(52, 139, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 8%, rgba(120, 68, 200, 0.12), transparent 32%),
    linear-gradient(180deg, #03050d 0%, #070a18 42%, #03050d 100%);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(5, 7, 18, 0.92), rgba(5, 7, 18, 0.76)),
    rgba(4, 6, 16, 0.78) !important;
  border-bottom: 1px solid rgba(126, 179, 255, 0.17) !important;
  backdrop-filter: blur(18px);
}

.site-nav {
  gap: 7px !important;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px !important;
  color: rgba(236, 242, 255, 0.78) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(118, 206, 255, 0.32) !important;
  background: rgba(87, 155, 255, 0.12) !important;
  color: #fff !important;
}

.site-nav .nav-buy {
  border-color: rgba(231, 197, 112, 0.42) !important;
  background:
    linear-gradient(135deg, rgba(42, 91, 210, 0.92), rgba(66, 164, 235, 0.88)) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(44, 120, 240, 0.22);
}

.story-hero,
.hero,
.trailer-hero,
.lore-hero {
  position: relative;
  isolation: isolate;
}

.story-hero::after,
.hero::after,
.trailer-hero::after,
.lore-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3, 5, 13, 0.9));
}

.hero-copy h1,
.section-head h2,
.sample-box h2,
.final-cta h2 {
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.lede,
.muted,
.panel p,
.feature p,
.book-card p,
.lore-card p,
.world-panel p {
  color: rgba(222, 231, 255, 0.78) !important;
}

.button,
.entry-card,
.panel,
.book-card,
.feature,
.sample-box,
.store-grid a,
.lore-card,
.world-console,
.constellation-links a,
.character-slide {
  border-radius: 10px !important;
}

.button {
  min-height: 54px;
  letter-spacing: 0 !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.button.primary {
  background:
    linear-gradient(135deg, #224fc6 0%, #2aa3e9 100%) !important;
  border-color: rgba(126, 210, 255, 0.64) !important;
}

.button.secondary,
.button.ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 13, 30, 0.72) !important;
  border-color: rgba(126, 179, 255, 0.22) !important;
}

.story-experience .entry-console-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.entry-console {
  background:
    linear-gradient(90deg, rgba(38, 123, 217, 0.12), rgba(88, 224, 255, 0.07), rgba(149, 94, 255, 0.08)),
    rgba(4, 6, 16, 0.68) !important;
}

.entry-card {
  min-height: 104px;
  border-color: rgba(126, 179, 255, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 27, 0.82) !important;
}

.entry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 224, 255, 0.42) !important;
}

.game-gateway {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 6, 17, 0.96), rgba(7, 13, 32, 0.92) 48%, rgba(3, 6, 17, 0.98)),
    radial-gradient(circle at 82% 42%, rgba(39, 139, 229, 0.22), transparent 34%),
    radial-gradient(circle at 18% 8%, rgba(222, 190, 106, 0.1), transparent 24%);
}

.game-gateway::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(126, 179, 255, 0.12), transparent 22%, transparent 78%, rgba(126, 179, 255, 0.08)),
    radial-gradient(circle at 55% 50%, rgba(88, 224, 255, 0.12), transparent 38%);
  opacity: 0.72;
}

.game-gateway-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

.game-gateway-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.game-gateway-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 24px;
  color: rgba(224, 233, 255, 0.78);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.62;
}

.game-logo-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px solid rgba(126, 179, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(3, 6, 17, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 34px 88px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.game-logo-card::after {
  content: "Open Game Portal";
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(231, 197, 112, 0.35);
  border-radius: 999px;
  color: rgba(255, 244, 204, 0.92);
  background: rgba(5, 8, 18, 0.78);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.game-logo-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.06) contrast(1.08) drop-shadow(0 20px 44px rgba(36, 157, 255, 0.18));
}

.game-logo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 224, 255, 0.42);
}

.hero-trilogy-strip {
  background:
    linear-gradient(180deg, rgba(8, 14, 34, 0.62), rgba(4, 7, 18, 0.86)),
    radial-gradient(circle at 50% 35%, rgba(88, 224, 255, 0.13), transparent 48%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.32);
}

.hero-proof-pulse a,
.proof-strip span {
  border-color: rgba(231, 197, 112, 0.25) !important;
  background:
    linear-gradient(180deg, rgba(231, 197, 112, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(8, 12, 29, 0.72) !important;
}

.lore-hero {
  min-height: auto;
  padding-block: 118px 68px;
  background:
    linear-gradient(90deg, rgba(3, 5, 13, 0.96), rgba(5, 9, 24, 0.78) 46%, rgba(3, 5, 13, 0.94)),
    radial-gradient(circle at 68% 36%, rgba(77, 143, 255, 0.22), transparent 31%),
    radial-gradient(circle at 82% 18%, rgba(150, 80, 210, 0.16), transparent 24%),
    #03050d;
}

.lore-orb {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(126, 179, 255, 0.18);
  border-radius: 16px;
  background: rgba(6, 10, 24, 0.66);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
}

.lore-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(3, 5, 13, 0.16) 42%, rgba(3, 5, 13, 0.86) 78%),
    linear-gradient(180deg, transparent, rgba(3, 5, 13, 0.42));
}

.lore-orb img {
  width: 118%;
  height: 118%;
  object-fit: cover;
  transform: rotate(-8deg) scale(1.04);
  filter: saturate(1.1) contrast(1.12) brightness(0.82);
}

.lore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lore-card,
.world-console,
.constellation-links a {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(126, 179, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
    rgba(8, 13, 30, 0.78);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.lore-card span,
.constellation-links span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.lore-card h3,
.world-panel h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.04;
}

.lore-card p,
.world-panel p {
  margin: 0;
}

.world-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid rgba(126, 179, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.world-tabs button {
  flex: 1;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(236, 242, 255, 0.72);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.world-tabs button[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(135deg, rgba(42, 91, 210, 0.9), rgba(42, 163, 233, 0.82));
}

.constellation-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.constellation-links a {
  color: #fff;
  text-decoration: none;
}

.constellation-links strong {
  display: block;
  font-size: 18px;
  line-height: 1.22;
}

@media (max-width: 1100px) {
  .story-experience .entry-console-grid,
  .lore-grid,
  .constellation-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-gateway-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .story-hero > .container.story-hero-grid,
  .story-hero .story-arrival,
  .story-hero .story-arrival > *,
  .story-hero .hero-trilogy-strip,
  .story-hero .hero-proof-pulse,
  .story-hero .story-arrival .cta-row {
    width: min(332px, calc(100vw - 56px)) !important;
    max-width: min(332px, calc(100vw - 56px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .site-header {
    align-items: flex-start !important;
    gap: 10px !important;
    padding-inline: 14px !important;
  }

  .site-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    min-height: 34px;
    padding: 8px 10px !important;
    font-size: 11px !important;
  }

  .site-nav .nav-buy {
    padding-inline: 14px !important;
  }

  .story-experience .entry-console-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .story-hero .story-arrival h1 {
    font-size: clamp(30px, 7.4vw, 34px) !important;
  }

  .story-hero .story-arrival .lede {
    width: min(300px, calc(100vw - 70px)) !important;
    max-width: min(300px, calc(100vw - 70px)) !important;
    font-size: 15px !important;
    line-height: 1.48 !important;
  }

  .story-hero .hero-trilogy-strip {
    padding: 8px 7px !important;
  }

  .story-hero .hero-trilogy-strip img {
    height: 66px !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: 76px !important;
  }

  .story-hero .hero-trilogy-strip span {
    font-size: 10px !important;
  }

  .story-hero .hero-proof-pulse {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .story-hero .hero-proof-pulse a {
    min-height: 48px !important;
    padding: 7px 4px !important;
    font-size: 10px !important;
  }

  .story-hero .story-arrival .button,
  .story-hero .story-arrival .button.primary {
    width: min(260px, calc(100vw - 92px)) !important;
    min-height: 50px !important;
  }

  .entry-card {
    min-height: 74px !important;
  }

  .game-gateway {
    padding-block: 40px !important;
  }

  .game-gateway-grid {
    width: min(332px, calc(100vw - 56px)) !important;
    max-width: min(332px, calc(100vw - 56px)) !important;
    margin-inline: auto !important;
    gap: 18px;
  }

  .game-gateway-copy h2 {
    font-size: 32px;
  }

  .game-gateway-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .game-gateway-copy .cta-row {
    grid-template-columns: 1fr;
  }

  .game-logo-card {
    padding: 12px;
    border-radius: 10px;
  }

  .game-logo-card::after {
    right: 12px;
    bottom: 10px;
    font-size: 9px;
  }

  .lore-hero {
    padding-block: 54px 34px;
  }

  .lore-orb {
    min-height: 250px;
  }

  .lore-orb img {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .lore-grid,
  .constellation-links {
    grid-template-columns: 1fr;
  }

  .world-tabs {
    border-radius: 12px;
    overflow-x: auto;
  }

  .world-tabs button {
    min-width: 92px;
  }
}

/* Desktop-only experience pass: preserve mobile, use wide screens with intent. */
@media (min-width: 981px) {
  :root {
    --max: 1280px;
  }

  .container {
    width: min(var(--max), calc(100% - 96px));
  }

  .site-header,
  main,
  .story-experience,
  .hero,
  .section,
  .site-footer {
    width: auto !important;
    max-width: 100% !important;
  }

  .site-header {
    min-height: 76px;
    padding-block: 15px !important;
    padding-inline: max(48px, calc((100vw - var(--max)) / 2)) !important;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-title {
    font-size: 22px;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .site-nav {
    gap: 10px !important;
  }

  .site-nav a {
    padding-inline: 10px !important;
    font-size: 13px !important;
  }

  .site-nav .nav-buy {
    padding-inline: 20px !important;
  }

  .hero {
    min-height: min(820px, calc(100vh - 76px));
    padding-block: clamp(86px, 8vw, 132px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
    gap: clamp(64px, 7vw, 112px);
  }

  .hero-copy {
    max-width: 700px;
  }

  h1,
  .page-title {
    font-size: clamp(58px, 5.1vw, 78px);
    line-height: 1;
  }

  .lede {
    max-width: 690px;
    font-size: clamp(20px, 1.55vw, 23px);
    line-height: 1.55;
  }

  .cta-row {
    gap: 14px;
  }

  .button {
    min-height: 58px;
    padding-inline: 26px;
  }

  .hero-art {
    min-height: 620px;
  }

  .cover-stage {
    min-height: 600px;
  }

  .hero-book.main {
    width: min(500px, 38vw);
    right: 8%;
  }

  .hero-book.left,
  .hero-book.right {
    width: min(330px, 25vw);
  }

  .format-note {
    right: 0;
    max-width: 360px;
  }

  .story-hero {
    min-height: calc(100vh - 76px);
    padding-block: clamp(76px, 7vw, 118px) clamp(72px, 6vw, 108px);
  }

  .story-hero > .container.story-hero-grid {
    width: min(var(--max), calc(100% - 96px)) !important;
    max-width: var(--max) !important;
    padding-inline: 0 !important;
  }

  .story-hero .story-arrival {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
    grid-template-areas:
      "eyebrow books"
      "headline books"
      "lede books"
      "actions proof";
    column-gap: clamp(52px, 6vw, 104px);
    row-gap: 18px;
    align-items: center;
    width: 100% !important;
    max-width: none !important;
    text-align: left !important;
  }

  .story-hero .story-arrival .eyebrow {
    grid-area: eyebrow;
    margin: 0;
  }

  .story-hero .story-arrival h1 {
    grid-area: headline;
    max-width: 720px !important;
    margin: 0;
    font-size: clamp(58px, 5.1vw, 78px);
    text-align: left !important;
  }

  .story-hero .story-arrival .lede {
    grid-area: lede;
    max-width: 680px !important;
    margin: 0;
    text-align: left !important;
  }

  .story-hero .hero-trilogy-strip {
    grid-area: books;
    width: 100% !important;
    max-width: 720px !important;
    min-height: 500px;
    margin: 0 !important;
    padding: 34px 34px 24px !important;
    justify-content: space-between;
    align-self: center;
  }

  .story-hero .hero-trilogy-strip a {
    flex: 1 1 0;
    gap: 13px;
  }

  .story-hero .hero-trilogy-strip img {
    height: clamp(320px, 23vw, 390px) !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: clamp(380px, 27vw, 460px) !important;
  }

  .story-hero .hero-proof-pulse {
    grid-area: proof;
    justify-content: stretch;
    max-width: 720px;
    width: 100%;
    margin: 0;
  }

  .story-hero .hero-proof-pulse a {
    flex: 1 1 0;
    min-height: 46px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .story-hero .story-arrival .cta-row {
    grid-area: actions;
    margin: 0;
    justify-content: flex-start;
  }

  .story-hero .story-arrival .button.primary {
    min-width: 280px;
  }

  .entry-console {
    padding-block: 52px !important;
  }

  .story-experience .entry-console-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .entry-card {
    min-height: 132px;
    padding: 24px 20px;
  }

  .entry-card strong {
    font-size: 22px;
  }

  .section {
    padding-block: 110px;
  }

  .section.tight {
    padding-block: 76px;
  }

  .section-head {
    max-width: 900px;
    margin-bottom: 44px;
  }

  .section-head.center {
    max-width: 940px;
  }

  .feature-grid,
  .book-grid,
  .proof-grid,
  .path-grid,
  .mission-steps,
  .footer-grid,
  .link-grid,
  .lore-grid,
  .constellation-links {
    gap: 24px;
  }

  .panel,
  .feature,
  .proof-card,
  .sample-box,
  .book-body,
  .lore-card,
  .world-console,
  .constellation-links a {
    padding: 30px;
  }

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

  .book-card h3,
  .path-card h3,
  .feature h3 {
    font-size: 28px;
    line-height: 1.08;
  }

  .omnibus-grid {
    grid-template-columns: 430px minmax(0, 1fr);
    gap: 72px;
  }

  .author-grid {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 72px;
  }

  .author-grid img {
    width: min(380px, 100%);
  }

  .dossier-first-screen {
    padding-top: 72px;
  }

  .compact-dossier-head {
    max-width: 980px;
    margin-bottom: 34px;
  }

  .compact-dossier-head h1 {
    font-size: clamp(62px, 5vw, 78px);
  }

  .dossier-first-screen .character-carousel {
    max-width: 1280px;
    margin-inline: auto;
  }

  .dossier-first-screen .character-tabs {
    padding: 22px 26px;
  }

  .dossier-first-screen .character-tabs button {
    min-width: 126px;
  }

  .character-slide {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
    gap: 42px;
    min-height: 700px;
    padding: 42px;
  }

  .character-portrait {
    min-height: 610px;
  }

  .character-portrait img {
    max-height: 600px;
  }

  .character-copy {
    max-height: 620px;
    padding-right: 14px;
  }

  .character-copy h3 {
    font-size: 50px;
  }

  .character-insights {
    gap: 14px;
  }

  .trailer-hero .hero-art,
  .trailer-hero .cover-stage {
    min-height: 520px;
  }

  .trailer-section {
    padding-block: 120px;
  }

  .trailer-grid {
    grid-template-columns: minmax(0, 1.32fr) minmax(360px, 0.68fr);
    gap: 28px;
  }

  .game-gateway-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  }

  .game-logo-card {
    padding: 34px;
  }

  .lore-hero {
    padding-block: 132px 86px;
  }

  .lore-orb {
    min-height: 520px;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .site-header {
    padding-inline: 32px !important;
  }

  .site-nav {
    gap: 5px !important;
  }

  .site-nav a {
    padding-inline: 7px !important;
    font-size: 12px !important;
  }

  .story-hero .story-arrival {
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    column-gap: 42px;
  }

  .story-hero .story-arrival h1 {
    font-size: clamp(54px, 5.8vw, 68px);
  }

  .story-hero .hero-trilogy-strip {
    min-height: 360px;
    padding-inline: 24px !important;
  }

  .story-hero .hero-trilogy-strip img {
    height: clamp(190px, 18vw, 240px) !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: clamp(220px, 21vw, 280px) !important;
  }
}

/* Premium background and expanded homepage narrative */
html {
  background: #03050d;
}

body {
  background:
    linear-gradient(180deg, rgba(3, 5, 13, 0.82) 0%, rgba(3, 5, 13, 0.94) 42%, rgba(3, 5, 13, 0.98) 100%),
    radial-gradient(circle at 18% 12%, rgba(88, 224, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(122, 92, 255, 0.12), transparent 28%),
    url("assets/experience/andromeda-galaxy.webp"),
    #03050d !important;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%, min(1240px, 92vw) auto, auto;
  background-position: center, center, center, calc(100% + 180px) 140px, center;
  background-attachment: fixed, fixed, fixed, fixed, scroll;
}

body::before {
  opacity: 0.34;
}

.story-seo-brief {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(126, 179, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(5, 9, 24, 0.82), rgba(8, 13, 30, 0.68)),
    radial-gradient(circle at 78% 20%, rgba(88, 224, 255, 0.11), transparent 32%);
}

.story-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.story-seo-brief .section-head {
  max-width: 860px;
  margin: 0;
}

.story-seo-brief .section-head p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(222, 231, 255, 0.78);
  font-size: 18px;
  line-height: 1.72;
}

.reader-fit-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(126, 179, 255, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(7, 11, 27, 0.78);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.reader-fit-panel span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.reader-fit-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reader-fit-panel li {
  padding-left: 18px;
  border-left: 2px solid rgba(88, 224, 255, 0.42);
  color: rgba(222, 231, 255, 0.78);
}

.game-page-hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 5, 13, 0.96), rgba(4, 8, 24, 0.76) 48%, rgba(3, 5, 13, 0.98)),
    radial-gradient(circle at 78% 44%, rgba(50, 159, 255, 0.22), transparent 28%);
}

.game-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}

.game-identity {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.game-identity::before {
  content: "";
  position: absolute;
  width: min(520px, 72vw);
  aspect-ratio: 1;
  border: 1px solid rgba(231, 197, 112, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(88, 224, 255, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 0 44%, rgba(88, 224, 255, 0.08) 45%, transparent 47%);
  box-shadow: 0 0 80px rgba(58, 158, 255, 0.12);
}

.game-logo-wide {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  height: auto;
  padding: 22px;
  border: 1px solid rgba(126, 179, 255, 0.18);
  border-radius: 14px;
  background: rgba(3, 6, 17, 0.82);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.34);
}

.game-emblem {
  position: absolute;
  right: 2%;
  bottom: 2%;
  z-index: 1;
  width: min(250px, 32vw);
  height: auto;
  opacity: 0.48;
  filter: drop-shadow(0 20px 44px rgba(31, 153, 255, 0.2));
}

.game-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 980px) {
  .story-seo-grid,
  .game-page-grid,
  .game-brief-grid {
    grid-template-columns: 1fr;
  }

  .game-identity {
    min-height: 380px;
  }

  .game-emblem {
    width: min(180px, 44vw);
  }
}

@media (max-width: 760px) {
  .game-page,
  .game-page-hero,
  .game-page .section {
    width: 100vw;
    max-width: 100vw;
    overflow-x: clip;
  }

  .game-page .container,
  .game-page-grid,
  .game-brief-grid {
    width: min(332px, calc(100vw - 56px)) !important;
    max-width: min(332px, calc(100vw - 56px)) !important;
    margin-inline: auto !important;
    min-width: 0;
  }

  .game-page h1,
  .game-page .lede,
  .game-page p,
  .game-page .proof-strip,
  .game-page .cta-row,
  .game-identity {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .game-page h1 {
    font-size: clamp(34px, 9.2vw, 42px);
    line-height: 1;
  }

  .game-page .lede {
    font-size: 16px;
    line-height: 1.55;
  }

  .game-page .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .game-page .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .game-identity {
    min-height: 340px;
    overflow: hidden;
  }

  .game-logo-wide {
    width: 100%;
    padding: 10px;
  }

  .game-emblem {
    right: -24px;
    bottom: -6px;
    opacity: 0.32;
  }

  .story-seo-grid {
    width: min(332px, calc(100vw - 56px)) !important;
    max-width: min(332px, calc(100vw - 56px)) !important;
    margin-inline: auto !important;
  }
}

/* Landing-page trilogy covers: larger, still one horizontal row. */
.story-hero .hero-trilogy-strip {
  overflow: visible;
  border-color: rgba(88, 224, 255, 0.28) !important;
  background:
    linear-gradient(180deg, rgba(9, 18, 39, 0.72), rgba(3, 7, 18, 0.9)),
    radial-gradient(circle at 50% 42%, rgba(88, 224, 255, 0.18), transparent 48%) !important;
}

.story-hero .hero-trilogy-strip a {
  transition: transform 180ms ease, filter 180ms ease;
}

.story-hero .hero-trilogy-strip img {
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  filter:
    saturate(1.12)
    contrast(1.08)
    drop-shadow(0 24px 34px rgba(0, 0, 0, 0.64))
    drop-shadow(0 0 22px rgba(88, 224, 255, 0.16)) !important;
}

.story-hero .hero-trilogy-strip a:hover {
  transform: translateY(-4px);
}

@media (min-width: 981px) {
  .story-hero .hero-trilogy-strip {
    max-width: 760px !important;
    min-height: 470px !important;
    padding: 32px 38px 24px !important;
  }

  .story-hero .hero-trilogy-strip img {
    height: clamp(330px, 24vw, 380px) !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: clamp(370px, 27vw, 430px) !important;
  }

  .story-hero .hero-trilogy-strip span {
    margin-top: 4px;
    font-size: 14px !important;
  }
}

@media (max-width: 760px) {
  .story-hero .hero-trilogy-strip {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    padding: 12px 9px 10px !important;
    min-height: 166px;
  }

  .story-hero .hero-trilogy-strip a {
    min-width: 0 !important;
    padding-inline: 0 !important;
  }

  .story-hero .hero-trilogy-strip img {
    width: auto !important;
    height: 112px !important;
    max-width: 100% !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: 126px !important;
  }

  .story-hero .hero-trilogy-strip span {
    font-size: 10px !important;
  }
}

/* Premium landing hero pass: richer space field, stronger trilogy presence. */
.story-hero {
  isolation: isolate;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(2, 4, 13, 0.12) 0%, rgba(2, 4, 13, 0.34) 38%, rgba(2, 4, 13, 0.92) 100%),
    radial-gradient(ellipse at 50% 38%, rgba(88, 224, 255, 0.18), transparent 34%),
    radial-gradient(ellipse at 78% 18%, rgba(126, 86, 255, 0.15), transparent 32%),
    url("assets/experience/andromeda-galaxy.webp"),
    #03050d !important;
  background-repeat: no-repeat !important;
  background-size: cover, cover, cover, min(1220px, 138vw) auto, auto !important;
  background-position: center, center, center, 50% 7%, center !important;
}

.story-hero::before {
  background:
    linear-gradient(180deg, rgba(2, 4, 13, 0.78) 0%, rgba(2, 4, 13, 0.16) 26%, transparent 58%),
    radial-gradient(ellipse at 50% 28%, rgba(88, 224, 255, 0.13), transparent 45%),
    url("assets/experience/starfield-premium.png") !important;
  background-repeat: no-repeat, no-repeat, repeat !important;
  background-size: cover, cover, 520px auto !important;
  opacity: 0.58 !important;
}

.story-hero::after {
  height: 48% !important;
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 5, 13, 0.96) 100%),
    radial-gradient(ellipse at 50% 12%, rgba(88, 224, 255, 0.1), transparent 58%) !important;
}

.story-hero .hero-trilogy-strip {
  position: relative;
  overflow: visible !important;
  border: 1px solid rgba(113, 220, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 70px rgba(34, 155, 218, 0.11),
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(231, 197, 112, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(10, 18, 39, 0.78), rgba(3, 7, 18, 0.92)),
    radial-gradient(ellipse at 50% 32%, rgba(88, 224, 255, 0.2), transparent 56%),
    radial-gradient(ellipse at 50% 120%, rgba(231, 197, 112, 0.11), transparent 58%) !important;
  backdrop-filter: blur(14px) saturate(1.18);
}

.story-hero .hero-trilogy-strip::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(88, 224, 255, 0.2), transparent 58%),
    radial-gradient(ellipse at 50% 76%, rgba(92, 69, 255, 0.12), transparent 62%);
  filter: blur(18px);
  opacity: 0.8;
}

.story-hero .hero-trilogy-strip a {
  position: relative;
  z-index: 1;
}

.story-hero .hero-trilogy-strip a::before {
  content: "";
  position: absolute;
  inset: 18% 10% 16%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 224, 255, 0.2), transparent 64%);
  filter: blur(14px);
  opacity: 0.72;
}

.story-hero .hero-trilogy-strip a:nth-child(2)::before {
  inset: 15% 2% 13%;
  background: radial-gradient(circle, rgba(231, 197, 112, 0.18), transparent 65%);
  opacity: 0.9;
}

@media (min-width: 981px) {
  .story-hero {
    background-size: cover, cover, cover, min(1380px, 88vw) auto, auto !important;
    background-position: center, center, center, 50% 3%, center !important;
  }

  .story-hero .story-arrival {
    max-width: 960px !important;
  }

  .story-hero .hero-trilogy-strip {
    max-width: 860px !important;
    min-height: 535px !important;
    padding: 36px 42px 26px !important;
  }

  .story-hero .hero-trilogy-strip img {
    height: clamp(360px, 26vw, 420px) !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: clamp(410px, 30vw, 480px) !important;
  }
}

@media (max-width: 760px) {
  .story-hero {
    background-size: cover, cover, cover, 155vw auto, auto !important;
    background-position: center, center, center, 50% 0%, center !important;
  }

  .story-hero::before {
    opacity: 0.64 !important;
  }

  .story-hero .hero-trilogy-strip {
    gap: 8px !important;
    min-height: 182px !important;
    padding: 14px 10px 11px !important;
  }

  .story-hero .hero-trilogy-strip img {
    height: 124px !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: 140px !important;
  }
}

/* Final hero alignment lock: prevents inherited carousel/orbit rules from affecting the landing row. */
.story-hero > .container.story-hero-grid,
.story-hero .story-arrival,
.story-hero .story-arrival > *,
.story-hero .hero-trilogy-strip,
.story-hero .hero-proof-pulse,
.story-hero .story-arrival .cta-row {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.story-hero .hero-trilogy-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: end !important;
  justify-items: center !important;
  width: 100% !important;
  transform: none !important;
}

.story-hero .hero-trilogy-strip a {
  display: grid !important;
  grid-template-rows: 1fr auto !important;
  align-items: end !important;
  justify-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  transform: none !important;
}

.story-hero .hero-trilogy-strip a:hover {
  transform: translateY(-4px) !important;
}

.story-hero .hero-proof-pulse {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
}

.story-hero .hero-proof-pulse a {
  min-width: 0 !important;
  width: 100% !important;
  overflow-wrap: anywhere;
}

@media (min-width: 981px) {
  .story-hero > .container.story-hero-grid {
    width: min(1260px, calc(100vw - 96px)) !important;
    max-width: min(1260px, calc(100vw - 96px)) !important;
  }

  .story-hero .story-arrival {
    width: min(960px, 100%) !important;
  }

  .story-hero .hero-trilogy-strip {
    width: min(860px, 100%) !important;
    gap: 34px !important;
  }
}

@media (max-width: 760px) {
  html,
  body,
  .story-experience,
  .story-hero {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  .story-hero > .container.story-hero-grid,
  .story-hero .story-arrival {
    width: min(334px, calc(100vw - 40px)) !important;
    max-width: min(334px, calc(100vw - 40px)) !important;
    margin-inline: auto !important;
  }

  .story-hero .story-arrival h1,
  .story-hero .story-arrival .lede {
    width: 100% !important;
    max-width: 100% !important;
  }

  .story-hero .hero-trilogy-strip {
    width: 100% !important;
    max-width: 100% !important;
    gap: 6px !important;
  }

  .story-hero .hero-trilogy-strip img {
    height: 118px !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: 134px !important;
  }

  .story-hero .hero-proof-pulse {
    gap: 7px !important;
  }

  .story-hero .hero-proof-pulse a {
    padding: 10px 7px !important;
    font-size: 10px !important;
    line-height: 1.18 !important;
  }

  .story-hero .story-arrival .cta-row {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Final correction: keep trilogy covers in normal visible flow. */
.story-hero .hero-trilogy-strip {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
}

.story-hero .hero-trilogy-strip a {
  display: flex !important;
  flex: 1 1 0 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

.story-hero .hero-trilogy-strip img {
  position: static !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .story-hero .hero-trilogy-strip a {
    gap: 7px !important;
  }

  .story-hero .hero-trilogy-strip img {
    height: 118px !important;
    max-width: 86px !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    height: 134px !important;
    max-width: 96px !important;
  }
}

@media (min-width: 981px) {
  .story-hero .hero-trilogy-strip {
    gap: 28px !important;
  }

  .story-hero .hero-trilogy-strip a {
    flex: 0 1 auto !important;
  }

  .story-hero .hero-trilogy-strip img {
    width: clamp(138px, 11.2vw, 168px) !important;
    height: auto !important;
    max-width: none !important;
  }

  .story-hero .hero-trilogy-strip a:nth-child(2) img {
    width: clamp(158px, 12.8vw, 194px) !important;
    height: auto !important;
    max-width: none !important;
  }
}

/* Mobile hero centering: neutralize inherited desktop grid placement. */
@media (max-width: 760px) {
  .site-header,
  .site-nav,
  main,
  .story-experience {
    max-width: 100vw !important;
    min-width: 0 !important;
  }

  .site-header,
  main,
  .story-experience {
    overflow-x: clip !important;
  }

  .story-hero > .container.story-hero-grid {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    justify-items: center !important;
    padding-inline: 0 !important;
    position: relative !important;
    left: 50vw !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .story-hero .story-arrival {
    display: block !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .story-hero .story-arrival .eyebrow,
  .story-hero .story-arrival h1,
  .story-hero .story-arrival .lede,
  .story-hero .hero-trilogy-strip,
  .story-hero .hero-proof-pulse,
  .story-hero .story-arrival .cta-row {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Entry console: keep the game route as a final, secondary option. */
.story-experience .entry-card.game-entry {
  border-color: rgba(126, 179, 255, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(7, 11, 27, 0.72) !important;
}

@media (min-width: 981px) {
  .story-experience .entry-card.game-entry {
    grid-column: 3 / span 2;
  }
}

@media (max-width: 760px) {
  .story-experience .entry-card.game-entry {
    grid-column: 1 / -1;
  }
}

/* Hero readability: subtle shadow over bright galaxy areas. */
.story-hero .story-arrival .eyebrow,
.story-hero .story-arrival h1,
.story-hero .story-arrival .lede {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.72),
    0 0 28px rgba(0, 0, 0, 0.42) !important;
}

.story-hero .story-arrival h1 {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.34));
}

/* Trailer page intro: context without restoring the large hero block. */
.trailer-intro {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 28px;
}

.trailer-intro h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.trailer-intro .muted {
  max-width: 660px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .trailer-section {
    padding-top: 58px !important;
  }

  .trailer-intro {
    margin-bottom: 20px;
  }

  .trailer-intro h1 {
    font-size: clamp(32px, 8.8vw, 42px);
  }
}
