:root {
  color-scheme: dark;
  --ink: #f8f3e8;
  --muted: #c7bdad;
  --soft: #978d7f;
  --paper: #fffaf0;
  --bg: #070912;
  --bg-2: #0d1120;
  --bg-3: #141a2c;
  --panel: rgba(15, 19, 32, 0.72);
  --panel-solid: #101523;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(220, 188, 99, 0.34);
  --gold: #dcbc63;
  --gold-2: #f1d58e;
  --blue: #4aa3ff;
  --red: #9b2432;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 5%, rgba(76, 163, 255, 0.15), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(220, 188, 99, 0.12), transparent 38rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(220, 188, 99, 0.34);
  color: #fff;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-pad {
  padding: 108px 0;
  position: relative;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 18, 0.42);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 11px;
  background: rgba(7, 9, 18, 0.78);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 46px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.38));
}

.brand span {
  display: grid;
  gap: 0;
}

.brand strong {
  font-family: var(--font-serif);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 2px 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

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

.primary-nav a:hover::after,
.primary-nav a.is-active::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(220, 188, 99, 0.38);
  border-radius: 999px;
  color: var(--gold-2);
}

.primary-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 780px;
  display: grid;
  align-items: center;
  padding-top: 124px;
  padding-bottom: 86px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 18, 0.95) 0%, rgba(7, 9, 18, 0.66) 38%, rgba(7, 9, 18, 0.55) 70%, rgba(7, 9, 18, 0.90) 100%),
    url("../images/hero-quantum-spy.jpg") center / cover no-repeat;
  transform: scale(1.04);
  z-index: -2;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: 48rem;
  height: 48rem;
  right: -20rem;
  top: 12rem;
  background: radial-gradient(circle, rgba(74, 163, 255, 0.25), transparent 68%);
  filter: blur(6px);
}

.hero::after {
  width: 44rem;
  height: 44rem;
  left: -18rem;
  bottom: -18rem;
  background: radial-gradient(circle, rgba(220, 188, 99, 0.22), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.74fr);
  gap: clamp(38px, 5.6vw, 76px);
  align-items: center;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1,
h2 {
  font-family: var(--font-serif);
}

h1 {
  max-width: 690px;
  font-size: clamp(3.05rem, 5.8vw, 5.7rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-lede,
.section-lede {
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  max-width: 660px;
}

.hero-actions,
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.btn-primary {
  --btn-bg: linear-gradient(135deg, #f5dc95, #caa84d);
  --btn-color: #15120a;
  border-color: rgba(255, 233, 164, 0.66);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 700px;
}

.hero-proof span {
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  backdrop-filter: blur(12px);
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1;
}

.hero-visual {
  justify-self: center;
  perspective: 1400px;
  position: relative;
}

.book-stage {
  position: relative;
  width: min(460px, 92vw);
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

/* ===== Orbital rings ===== */
.stage-orbits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(74, 163, 255, 0.22));
}

.stage-orbit {
  transform-origin: 250px 250px;
  transform-box: fill-box;
}

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

.stage-orbit--1 { animation: orbit-spin 64s linear infinite; }
.stage-orbit--2 { animation: orbit-spin 38s linear infinite reverse; }
.stage-orbit--3 { animation: orbit-spin 96s linear infinite; }
.stage-orbit--4 {
  animation: pulse-ring 4.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.95; transform: scale(1.06); }
}

/* ===== Floating particles ===== */
.stage-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.stage-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(241, 213, 142, 0.92);
  box-shadow: 0 0 10px rgba(241, 213, 142, 0.75);
  animation: drift 9s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  50%      { transform: translate(10px, -14px); opacity: 1; }
}

.stage-particles span:nth-child(1)  { top: 8%;  left: 14%; animation-delay: 0s; }
.stage-particles span:nth-child(2)  { top: 18%; left: 80%; animation-delay: 1.2s;  background: rgba(74,163,255,0.92);  box-shadow: 0 0 10px rgba(74,163,255,0.7); }
.stage-particles span:nth-child(3)  { top: 32%; left: 6%;  animation-delay: 2.4s; }
.stage-particles span:nth-child(4)  { top: 48%; left: 92%; animation-delay: 0.6s;  background: rgba(74,163,255,0.92);  box-shadow: 0 0 10px rgba(74,163,255,0.7); }
.stage-particles span:nth-child(5)  { top: 64%; left: 4%;  animation-delay: 1.8s; }
.stage-particles span:nth-child(6)  { top: 78%; left: 82%; animation-delay: 3s; }
.stage-particles span:nth-child(7)  { top: 88%; left: 16%; animation-delay: 0.9s;  background: rgba(74,163,255,0.92);  box-shadow: 0 0 10px rgba(74,163,255,0.7); }
.stage-particles span:nth-child(8)  { top: 94%; left: 60%; animation-delay: 2.1s; }
.stage-particles span:nth-child(9)  { top: 3%;  left: 50%; animation-delay: 1.5s; }
.stage-particles span:nth-child(10) { top: 56%; left: 48%; animation-delay: 2.7s;  background: rgba(74,163,255,0.92);  box-shadow: 0 0 10px rgba(74,163,255,0.7); }
.stage-particles span:nth-child(11) { top: 26%; left: 40%; animation-delay: 3.6s; }
.stage-particles span:nth-child(12) { top: 70%; left: 70%; animation-delay: 4.2s; }

/* ===== Cover composition ===== */
.cover-wrap {
  position: relative;
  z-index: 4;
  width: min(280px, 60vw);
  transform: translateZ(60px) rotateY(-6deg) rotateX(3deg);
  transform-style: preserve-3d;
}

.cover-glow {
  position: absolute;
  inset: -22% -32% -22% -22%;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 55%, rgba(220, 188, 99, 0.55), transparent 60%),
    radial-gradient(circle at 30% 75%, rgba(74, 163, 255, 0.45), transparent 65%);
  filter: blur(22px);
  animation: glow-pulse 5.5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

.cover-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(241, 213, 142, 0.18);
}

.book-cover {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  position: relative;
  z-index: 2;
}

.cover-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  height: 14%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(241, 213, 142, 0.35) 35%,
    rgba(241, 213, 142, 0.85) 50%,
    rgba(241, 213, 142, 0.35) 65%,
    transparent 100%);
  mix-blend-mode: screen;
  filter: blur(1.5px);
  animation: scan-sweep 5.5s ease-in-out infinite;
}

@keyframes scan-sweep {
  0%   { top: -14%; opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}

/* HUD reticle corners on cover */
.cover-reticle {
  position: absolute;
  inset: 10px;
  z-index: 4;
  pointer-events: none;
}

.ret-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(241, 213, 142, 0.85);
  filter: drop-shadow(0 0 4px rgba(241, 213, 142, 0.6));
}
.ret-corner--tl { top: 0;    left: 0;    border-right: none;  border-bottom: none; }
.ret-corner--tr { top: 0;    right: 0;   border-left: none;   border-bottom: none; }
.ret-corner--bl { bottom: 0; left: 0;    border-right: none;  border-top: none; }
.ret-corner--br { bottom: 0; right: 0;   border-left: none;   border-top: none; }

/* Bottom diagonal ribbon across cover */
.cover-banner {
  position: absolute;
  left: -28%;
  right: -28%;
  bottom: 11%;
  z-index: 5;
  transform: rotate(-7deg);
  padding: 7px 0;
  background: linear-gradient(90deg, #c89d3b 0%, #f5dc95 50%, #c89d3b 100%);
  color: #1c1405;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  box-shadow:
    0 10px 22px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255, 240, 200, 0.5) inset;
  white-space: nowrap;
}

.cover-banner span {
  display: inline-block;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

/* Circular #1 seal overlapping cover top-right */
.cover-badge {
  position: absolute;
  width: 112px;
  height: 112px;
  top: -30px;
  right: -36px;
  z-index: 6;
  filter:
    drop-shadow(0 14px 28px rgba(0,0,0,0.55))
    drop-shadow(0 0 14px rgba(241, 213, 142, 0.5));
  animation: badge-bob 4.2s ease-in-out infinite;
}

@keyframes badge-bob {
  0%, 100% { transform: rotate(8deg)  translateY(0)    scale(1);    }
  50%      { transform: rotate(10deg) translateY(-6px) scale(1.03); }
}

.cover-badge svg { width: 100%; height: 100%; display: block; }

/* ===== Dossier intel cards ===== */
.dossier-card {
  position: absolute;
  z-index: 7;
  min-width: 196px;
  padding: 14px 18px 15px;
  border: 1px solid rgba(241, 213, 142, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(20, 26, 44, 0.94), rgba(8, 11, 22, 0.94));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: translateZ(130px);
}

.dossier-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dossier-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4aa3ff;
  box-shadow: 0 0 10px #4aa3ff;
  animation: dot-blink 1.6s ease-in-out infinite;
}
.dossier-label .dot--gold {
  background: #f1d58e;
  box-shadow: 0 0 10px #f1d58e;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.dossier-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.dossier-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.dossier-card--intel  { top: 22px;    right: -18px; }
.dossier-card--coords { bottom: 36px; left: -22px; }

/* ===== Bottom readout strip ===== */
.stage-readout {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(74, 163, 255, 0.35);
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(225, 235, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 8;
}

.readout-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4aa3ff;
  box-shadow: 0 0 10px #4aa3ff;
  animation: dot-blink 1.4s ease-in-out infinite;
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .stage-orbit,
  .stage-particles span,
  .cover-glow,
  .cover-scan,
  .cover-badge,
  .dossier-label .dot,
  .readout-pulse {
    animation: none !important;
  }
}

.press-marquee {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  padding: 19px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(7, 9, 18, 0.34);
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}

.two-col,
.author-grid,
.universe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 82px);
}

.align-center {
  align-items: center;
}

.book-feature {
  background:
    linear-gradient(180deg, rgba(13, 17, 32, 0.92), rgba(7, 9, 18, 0.98)),
    radial-gradient(circle at 18% 18%, rgba(220, 188, 99, 0.16), transparent 34rem);
}

.feature-art {
  position: relative;
  isolation: isolate;
}

.feature-art::after {
  content: "";
  position: absolute;
  inset: 12% -3% -5% 10%;
  border-radius: 36px;
  background: rgba(74, 163, 255, 0.22);
  filter: blur(46px);
  z-index: -1;
}

.feature-art img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-row span {
  padding: 8px 12px;
  border: 1px solid rgba(220, 188, 99, 0.30);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(220, 188, 99, 0.08);
  font-size: 0.86rem;
}

.library-section {
  background: linear-gradient(180deg, #070912, #0d1120);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 44px;
}

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

.book-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 188, 99, 0.35);
  background:
    linear-gradient(145deg, rgba(220, 188, 99, 0.09), rgba(255, 255, 255, 0.035));
}

.book-card img {
  width: 108px;
  min-height: 170px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 12px 18px 34px rgba(0, 0, 0, 0.36);
}

.book-card--wide {
  grid-column: span 2;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
}

.book-card--wide img {
  width: 100%;
  height: 206px;
  border-radius: 18px;
}

.book-kicker {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-card p:not(.book-kicker),
.press-card p,
.pillar-card p,
.site-footer p,
.author-copy p,
.update-card p {
  color: var(--muted);
}

.universe-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 9, 18, 0.96), rgba(7, 9, 18, 0.75)),
    url("../images/quantum-field.jpg") center / cover no-repeat;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.universe-grid {
  align-items: end;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pillar-card {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(7, 9, 18, 0.54);
  backdrop-filter: blur(14px);
}

.pillar-card span {
  color: var(--gold-2);
  font-family: var(--font-serif);
  font-size: 1.75rem;
}

.pillar-card h3 {
  margin-top: 10px;
}

.awards-section {
  background: linear-gradient(180deg, #0d1120, #070912);
}

.award-photo {
  position: relative;
}

.award-photo::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(220, 188, 99, 0.26);
  border-radius: 34px;
  transform: rotate(-2deg);
}

.award-photo img {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.stat-card {
  min-height: 154px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.stat-card strong {
  display: block;
  color: var(--gold-2);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.press-section {
  background:
    radial-gradient(circle at 16% 20%, rgba(74, 163, 255, 0.11), transparent 38rem),
    radial-gradient(circle at 90% 50%, rgba(220, 188, 99, 0.10), transparent 32rem),
    var(--bg);
}

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

.press-card {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.press-card:hover,
.press-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(220, 188, 99, 0.38);
  background: rgba(220, 188, 99, 0.07);
}

.press-card span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.press-card h3 {
  margin-top: auto;
  padding-top: 42px;
}

.trailers-section {
  background: linear-gradient(180deg, #070912, #111523);
}

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

.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: #000;
  min-height: 330px;
  padding: 0;
  box-shadow: var(--shadow);
}

.video-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48));
}

.video-card:hover img {
  transform: scale(1.06);
  opacity: 0.86;
}

.play-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 9, 18, 0.58);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.play-badge::before {
  content: "▶";
  color: var(--gold-2);
  font-size: 0.8rem;
}

.author-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(220, 188, 99, 0.12), transparent 36rem),
    #070912;
}

.author-grid {
  align-items: center;
}

.author-portrait {
  position: relative;
}

.author-portrait img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.portrait-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 9, 18, 0.62);
  backdrop-filter: blur(12px);
  color: var(--gold-2);
  font-weight: 800;
}

.author-copy p {
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gold-2);
  font-weight: 800;
}

.text-link::after {
  content: "↗";
}

.updates-section {
  padding-bottom: 110px;
  background:
    linear-gradient(180deg, #070912, rgba(20, 26, 44, 0.96)),
    radial-gradient(circle at 85% 60%, rgba(74, 163, 255, 0.18), transparent 34rem);
}

.update-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(220, 188, 99, 0.22);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(220, 188, 99, 0.10), rgba(255, 255, 255, 0.035)),
    url("../images/next-release-teaser.jpg") right center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.update-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 18, 0.96), rgba(7, 9, 18, 0.74) 52%, rgba(7, 9, 18, 0.42));
}

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

.signup-form {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(7, 9, 18, 0.64);
  backdrop-filter: blur(14px);
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-weight: 800;
  font-size: 0.88rem;
}

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

.signup-row input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 17px;
  outline: none;
}

.signup-row input:focus {
  border-color: rgba(220, 188, 99, 0.65);
  box-shadow: 0 0 0 4px rgba(220, 188, 99, 0.10);
}

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

.site-footer {
  padding: 54px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #05070d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.45fr 0.75fr;
  gap: 34px;
}

.brand--footer {
  margin-bottom: 16px;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  display: block;
  color: var(--muted);
  margin: 8px 0;
}

.site-footer a:not(.brand):hover {
  color: #fff;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.video-modal__panel {
  position: relative;
  width: min(1040px, 96vw);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 9, 18, 0.72);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 9, 18, 0.94);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 12px 10px;
  }

  .hero-grid,
  .two-col,
  .author-grid,
  .universe-grid,
  .update-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 92px;
  }

  .hero-visual {
    order: -1;
  }

  .book-stage {
    width: min(400px, 92vw);
  }

  .cover-wrap {
    width: min(240px, 56vw);
  }

  .cover-badge {
    width: 96px;
    height: 96px;
    top: -22px;
    right: -22px;
  }

  .dossier-card {
    min-width: 168px;
    padding: 12px 14px 13px;
  }

  .dossier-card strong { font-size: 1.15rem; }
  .dossier-card small  { font-size: 0.72rem; }

  .hero-proof,
  .stat-grid,
  .press-grid,
  .book-grid,
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .book-card--wide {
    grid-column: span 2;
  }

  .press-marquee {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .section-pad {
    padding: 76px 0;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 38px;
  }

  .hero {
    min-height: auto;
    padding-top: 106px;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.55rem);
  }

  h2 {
    font-size: clamp(2.55rem, 12vw, 4.4rem);
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-proof,
  .stat-grid,
  .press-grid,
  .book-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .book-card,
  .book-card--wide {
    grid-column: auto;
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .book-card img,
  .book-card--wide img {
    width: 94px;
    height: 146px;
    min-height: 146px;
    border-radius: 10px;
  }

  .book-card--wide img {
    object-fit: cover;
  }

  .dossier-card--intel  { top: 14px;   right: -6px; }
  .dossier-card--coords { bottom: 28px; left: -6px; }

  .cover-banner { font-size: 0.66rem; padding: 6px 0; }

  .stage-readout {
    font-size: 0.58rem;
    padding: 6px 12px;
    letter-spacing: 0.18em;
  }

  .cover-badge {
    width: 84px;
    height: 84px;
    top: -16px;
    right: -14px;
  }

  .video-card,
  .video-card img {
    min-height: 238px;
  }

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

  .signup-row .btn {
    width: 100%;
  }

  .footer-grid {
    gap: 22px;
  }
}

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

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

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


button.btn {
  cursor: pointer;
}

.press-card--feature {
  border-color: rgba(220, 188, 99, 0.28);
  background: linear-gradient(145deg, rgba(220, 188, 99, 0.10), rgba(255, 255, 255, 0.045));
}

.release-panel {
  justify-self: end;
  width: min(340px, 100%);
  padding: 28px;
  border: 1px solid rgba(220, 188, 99, 0.32);
  border-radius: 28px;
  background: rgba(7, 9, 18, 0.70);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.release-panel span {
  display: block;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.release-panel strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 0.96;
}

.release-panel p {
  margin: 14px 0 0;
}

.coming-soon-page .site-header {
  background: rgba(7, 9, 18, 0.72);
}

.coming-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 148px;
  overflow: hidden;
}

.coming-card {
  max-width: 840px;
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid rgba(220, 188, 99, 0.26);
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.026));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.coming-card h1 {
  max-width: 760px;
}

@media (max-width: 980px) {
  .release-panel {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .coming-hero {
    padding-top: 110px;
  }

  .coming-card {
    border-radius: 28px;
  }

  .release-panel {
    width: 100%;
  }
}
