:root {
  --bg: #130f13;
  --surface: rgba(12, 12, 18, 0.72);
  --surface-strong: rgba(10, 10, 16, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --text: #f5f1ec;
  --muted: #cfc5c0;
  --line: rgba(255, 255, 255, 0.12);
  --glow-a: rgba(255, 145, 54, 0.42);
  --glow-b: rgba(250, 207, 116, 0.28);
  --accent: #ff8d3a;
  --accent-strong: #ffd27a;
  --accent-contrast: #1a120d;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --pointer-x: 50%;
  --pointer-y: 30%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 15% 18%, var(--glow-a), transparent 24%),
    radial-gradient(circle at 84% 15%, var(--glow-b), transparent 24%),
    linear-gradient(180deg, #070709 0%, #0d0a10 100%);
  overflow-x: hidden;
}

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

body::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 30%, rgba(255, 255, 255, 0.02) 65%, transparent 100%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 2px,
      transparent 2px,
      transparent 28px
    );
  mix-blend-mode: screen;
}

body::after {
  background: radial-gradient(circle at 50% 130%, rgba(0, 0, 0, 0.7), transparent 45%);
  z-index: -1;
}

.theme-judgment {
  --accent: #ff8d3a;
  --accent-strong: #ffd27a;
  --glow-a: rgba(255, 123, 39, 0.5);
  --glow-b: rgba(250, 202, 107, 0.34);
}

.theme-judgment .glow-orb,
.theme-judgment .metal-ribbon {
  display: none;
}

.theme-charged {
  --accent: #58b7ff;
  --accent-strong: #b4e8ff;
  --glow-a: rgba(41, 130, 255, 0.46);
  --glow-b: rgba(98, 232, 255, 0.28);
}

.theme-charged .hero-copy {
  margin-top: -8.25rem;
}

.theme-charged .hero-copy .eyebrow {
  margin-bottom: 1.05rem;
}

.theme-charged .hero h1 {
  margin-bottom: 0.45rem;
}

.theme-charged .hero .lead {
  margin-top: 1.5rem;
  max-width: 45rem;
}

.theme-charged .hero .cta-row {
  margin-top: 2.4rem;
}

.theme-charged .hero-visual {
  padding-top: 0;
}

.theme-charged .glow-orb,
.theme-charged .metal-ribbon {
  display: none;
}

.theme-charged .hero-visual::before,
.theme-charged .hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.theme-charged .hero-visual::before {
  inset: 0 3% 20% 6%;
  background:
    radial-gradient(ellipse at 52% 10%, rgba(214, 239, 255, 0.22), transparent 26%),
    radial-gradient(ellipse at 56% 30%, rgba(96, 171, 255, 0.2), transparent 34%),
    radial-gradient(ellipse at 33% 58%, rgba(45, 108, 198, 0.14), transparent 40%),
    radial-gradient(ellipse at 74% 54%, rgba(66, 122, 215, 0.12), transparent 36%);
  filter: blur(34px);
  opacity: 0.92;
}

.theme-charged .hero-visual::after {
  inset: 16% 10% 34% 10%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(224, 242, 255, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(100, 164, 255, 0.08), rgba(13, 27, 46, 0));
  filter: blur(46px);
  opacity: 0.7;
}

.theme-destiny {
  --accent: #ae77ff;
  --accent-strong: #e3d0ff;
  --glow-a: rgba(158, 88, 255, 0.42);
  --glow-b: rgba(221, 180, 255, 0.22);
}

.theme-destiny .hero-copy {
  margin-top: -6.35rem;
}

.theme-destiny .hero-copy .eyebrow {
  margin-bottom: 1.45rem;
}

.theme-destiny .hero h1 {
  margin-bottom: 0.85rem;
}

.theme-destiny .hero .lead {
  margin-top: 2.45rem;
  max-width: 47rem;
}

.theme-destiny .hero .cta-row {
  margin-top: 3.35rem;
}

.theme-destiny .hero .section-jump {
  margin-top: 3rem;
}

.theme-destiny .hero-visual {
  padding-top: 1.2rem;
}

.theme-destiny .cover-column {
  margin-top: 1rem;
}

.theme-destiny .glow-orb,
.theme-destiny .metal-ribbon {
  display: none;
}

.theme-destiny .hero-visual::before,
.theme-destiny .hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.theme-destiny .hero-visual::before {
  inset: 2% 4% 24% 6%;
  background:
    radial-gradient(ellipse at 54% 16%, rgba(246, 232, 255, 0.18), transparent 22%),
    radial-gradient(ellipse at 52% 34%, rgba(180, 126, 255, 0.16), transparent 32%),
    radial-gradient(ellipse at 34% 56%, rgba(118, 74, 186, 0.12), transparent 38%),
    radial-gradient(ellipse at 76% 58%, rgba(138, 102, 209, 0.1), transparent 36%);
  filter: blur(34px);
  opacity: 0.9;
}

.theme-destiny .hero-visual::after {
  inset: 18% 10% 36% 10%;
  background:
    radial-gradient(ellipse at 50% 6%, rgba(248, 239, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(164, 120, 238, 0.08), rgba(18, 11, 33, 0));
  filter: blur(44px);
  opacity: 0.68;
}

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

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

.site-chrome {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.topbar {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 12, 18, 0.75);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: grid;
  gap: 0.15rem;
}

.brand-mark,
h1,
h2,
h3 {
  font-family: "Orbitron", sans-serif;
}

.brand-mark {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.brand-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

.series-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.series-nav a,
.section-jump a {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.series-nav a:hover,
.series-nav a:focus-visible,
.section-jump a:hover,
.section-jump a:focus-visible,
.series-nav a.is-current {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.page-shell {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero,
.content-panel,
.site-footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 72vh;
  align-items: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.06), transparent 45%);
  z-index: -1;
}

.eyebrow,
.section-label,
.feature-tag,
.card-kicker,
.note-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 0.5rem;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

.title-seed {
  letter-spacing: 0.08em;
}

.hero-copy,
.hero-note,
.feature-card,
.quote-card,
.timeline-item,
.media-copy,
.excerpt-card,
.sample-panel,
.info-card {
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: center;
  margin-top: -1.15rem;
}

.hero-copy .eyebrow {
  margin: 0 0 1.35rem;
}

.lead,
.supporting,
.content-panel p,
.quote-card,
.hero-note p,
.sample-intro,
.excerpt-long p {
  line-height: 1.8;
}

.lead {
  margin: 2.35rem 0 0;
  max-width: 50rem;
  font-size: clamp(1.16rem, 2.2vw, 1.42rem);
}

.supporting {
  max-width: 46rem;
  color: var(--muted);
}

.cta-row,
.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
}

.section-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.9rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 3.15rem 0 0;
  padding: 0;
  list-style: none;
}

.stat-row li {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.stat-row strong {
  display: block;
  font-size: 1.8rem;
  color: var(--accent-strong);
}

.stat-row span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
}

.glow-orb {
  position: absolute;
  width: min(70vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 35%),
    radial-gradient(circle, var(--glow-a), transparent 68%);
  filter: blur(16px);
  opacity: 0.88;
  animation: pulse 8s ease-in-out infinite;
}

.metal-ribbon {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 38% 62% 51% 49% / 43% 42% 58% 57%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.08);
  opacity: 0.45;
  animation: float 12s ease-in-out infinite;
}

.metal-ribbon-a {
  top: 4%;
  right: 10%;
}

.metal-ribbon-b {
  bottom: 6%;
  left: 8%;
  animation-delay: -5s;
}

.cover-column {
  position: relative;
  display: grid;
  gap: 1.35rem;
  width: min(100%, 420px);
  z-index: 1;
}

.book-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 8;
  padding-left: 16px;
  padding-right: 18px;
  filter: drop-shadow(0 24px 55px rgba(0, 0, 0, 0.45));
}

.book-mockup .cover-art,
.book-render .render-art {
  display: block;
}

.book-mockup .cover-art {
  position: relative;
  z-index: 2;
}

.book-mockup::marker {
  content: "";
}

.book-mockup > * {
  position: relative;
  z-index: 2;
}

.book-mockup .cover-art {
  transform: perspective(900px) rotateY(-9deg);
  transform-origin: center left;
}

.book-mockup::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  bottom: 9px;
  width: 18px;
  border-radius: 12px 0 0 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.15));
  transform: perspective(900px) rotateY(38deg);
  transform-origin: right center;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.12);
}

.book-mockup::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 2px;
  bottom: 10px;
  width: 20px;
  border-radius: 0 16px 16px 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(252, 247, 239, 0.95) 0,
      rgba(252, 247, 239, 0.95) 3px,
      rgba(212, 206, 196, 0.92) 3px,
      rgba(212, 206, 196, 0.92) 6px
    );
  box-shadow:
    inset 1px 0 0 rgba(0, 0, 0, 0.22),
    10px 0 18px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.cover-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px 18px 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050507;
  clip-path: inset(var(--cover-crop-top, 0.8%) var(--cover-crop-right, 0.8%) var(--cover-crop-bottom, 0.8%) var(--cover-crop-left, 0.8%) round 24px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

.book-render {
  width: 100%;
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.45));
}

.render-art {
  width: 100%;
  height: auto;
}

.charged-render {
  overflow: hidden;
}

.charged-render .render-art {
  clip-path: inset(0 0 2.8% 0);
}

.cover-mild {
  --cover-crop-top: 0.4%;
  --cover-crop-right: 0.9%;
  --cover-crop-bottom: 0.4%;
  --cover-crop-left: 0.6%;
}

.cover-tight {
  --cover-crop-top: 1.1%;
  --cover-crop-right: 2.2%;
  --cover-crop-bottom: 1.1%;
  --cover-crop-left: 2%;
}

.hero-book {
  transform: perspective(1200px) rotateY(-12deg) rotateX(3deg);
  transition: transform 260ms ease;
  transform-origin: center left;
}

.hero:hover .hero-book {
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(-6px);
}

.hero-note,
.feature-card,
.quote-card,
.timeline-item,
.excerpt-card,
.sample-panel {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 14, 0.54);
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.feature-card p {
  margin: 0;
}

.info-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.info-card h3,
.info-card p {
  margin: 0;
}

.content-panel {
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.section-heading {
  margin-bottom: 1rem;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.4rem;
}

.story-copy {
  display: grid;
  align-content: start;
  gap: 1.45rem;
}

.story-copy .section-label,
.story-copy h2,
.story-copy p {
  margin: 0;
}

.story-copy h2 {
  margin-top: 0.3rem;
}

.story-copy p + p {
  margin-top: 0.65rem;
}

.destiny-story-copy {
  gap: 1.75rem;
}

.destiny-story-copy h2 {
  margin-top: 0.45rem;
  line-height: 1.04;
}

.destiny-story-copy p {
  font-size: clamp(1.18rem, 2vw, 1.34rem);
}

.destiny-story-copy p + p {
  margin-top: 0.95rem;
}

.feature-grid,
.quote-grid,
.book-grid {
  display: grid;
  gap: 1rem;
}

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

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

.quote-card p,
.info-card p {
  margin: 0;
}

.quote-card-cinematic {
  text-align: center;
}

.quote-card-cinematic p {
  max-width: 16ch;
  margin-inline: auto;
  font-size: 0.95rem;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.quote-card-cinematic footer {
  text-align: center;
}

.quote-card footer {
  margin-top: 1rem;
  color: var(--accent-strong);
  font-weight: 700;
}

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

.timeline-item {
  min-height: 100%;
}

.timeline-year {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-strong);
  font-weight: 800;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1.25rem;
  align-items: center;
}

.theme-judgment .media-panel .section-heading {
  margin-bottom: 1.35rem;
}

.theme-judgment .media-panel .media-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.5rem;
  text-align: center;
}

.theme-judgment .media-panel .media-copy p {
  max-width: 30rem;
  margin: 0;
}

.theme-judgment .media-panel .mini-actions {
  justify-content: center;
  margin-top: 0.15rem;
}

.video-frame {
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.34);
}

.video-frame video {
  width: 100%;
  border-radius: 20px;
  background: #000;
}

.excerpt-card {
  display: grid;
  gap: 1rem;
}

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

.book-card {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(9, 11, 18, 0.6);
}

.book-card-cover {
  max-width: 170px;
  align-self: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.3rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.sample-page .page-shell {
  max-width: 980px;
  margin-inline: auto;
}

.screenplay-grid {
  align-content: start;
}

.screenplay-cta-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 14, 0.54);
  overflow: hidden;
  isolation: isolate;
}

.screenplay-panel-video,
.screenplay-cta-overlay {
  position: absolute;
  inset: 0;
}

.screenplay-panel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.02) brightness(0.72);
}

.screenplay-cta-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 6, 11, 0.28), rgba(4, 6, 11, 0.62)),
    radial-gradient(circle at 50% 50%, rgba(255, 148, 49, 0.1), transparent 38%);
}

.screenplay-cta-panel .mini-actions {
  position: relative;
  z-index: 2;
  justify-content: center;
  margin-top: 0;
}

.screenplay-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.screenplay-meta-grid .info-card {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 14, 0.54);
}

.screenplay-preview {
  margin: 1.6rem 0 0;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(6, 8, 14, 0.62);
  color: var(--text);
  white-space: pre-wrap;
  overflow-x: auto;
  font-family: "Courier New", monospace;
  font-size: 0.94rem;
  line-height: 1.58;
}

.screenplay-preview::selection {
  background: rgba(255, 210, 122, 0.28);
}

.sample-page .reveal,
.sample-page .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.sample-panel h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin-bottom: 0.85rem;
}

.sample-intro {
  margin: 0.35rem 0 1.5rem;
}

.excerpt-long {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(7deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.96;
  }
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: 1fr;
    border-radius: 28px;
    justify-items: start;
  }

  .series-nav {
    justify-content: start;
  }

  .hero,
  .split-panel,
  .media-grid {
    grid-template-columns: 1fr;
  }

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

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

  .screenplay-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-chrome {
    width: min(100% - 1rem, 100%);
  }

  .hero,
  .content-panel,
  .site-footer {
    border-radius: 24px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    margin-top: 0;
  }

  .theme-charged .hero-copy {
    margin-top: 0;
  }

  .theme-destiny .hero-copy {
    margin-top: 0;
  }

  .feature-grid,
  .timeline,
  .quote-grid {
    grid-template-columns: 1fr;
  }

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

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

  .book-card-cover {
    max-width: 210px;
  }

  .screenplay-preview {
    padding: 1rem;
    font-size: 0.82rem;
    line-height: 1.5;
    white-space: pre;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-footer {
    flex-direction: column;
  }
}
