:root {
  --rocket-red: #E01B1B;
  --slate-gray: #6E7073;
  --warm-gold: #D79B2E;
  --sky-blue: #3FA9F5;
  --deep-navy: #1A2744;
  --warm-brown: #5C3A1E;
  --soft-cream: #F5E6D0;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light-gray: #F0F0F0;
  --text-dark: #1A1A1A;
  --text-medium: #4A4A4A;
  --text-light: #8A8A8A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Navigation */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--rocket-red);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--slate-gray);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-medium);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--rocket-red);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Sections */

section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rocket-red);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-medium);
  max-width: 640px;
  line-height: 1.7;
}

/* Hero Section */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--deep-navy) 0%, #2A3F5F 100%);
  background-image: url('assets/poster-mystery.png');
  background-size: cover;
  background-position: center top;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 39, 68, 0.5) 0%, rgba(26, 39, 68, 0.7) 55%, rgba(26, 39, 68, 0.95) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero h1 .red {
  color: var(--rocket-red);
}

.hero h1 .gold {
  color: var(--warm-gold);
}

.hero-tagline {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}

.hero-meta {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta-item {
  text-align: center;
}

.hero-meta-item .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.3rem;
}

.hero-meta-item .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Theme Section */

.theme-section {
  background: var(--off-white);
  text-align: center;
}

.theme-quote {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.theme-subtext {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Character Cards */

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.character-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.character-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}

.character-card-body {
  padding: 1.5rem;
}

.character-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.character-card-body .role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rocket-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.character-card-body p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Art Gallery */

.gallery {
  background: var(--deep-navy);
  color: var(--white);
}

.gallery .section-label {
  color: var(--warm-gold);
}

.gallery .section-title {
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item--wide {
  grid-column: 1 / -1;
}

.gallery-item--wide img {
  height: 500px !important;
  object-position: top center;
}

@media (max-width: 700px) {
  .gallery-item--wide img {
    height: 240px !important;
  }
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
}

/* Story Section */

.story-section {
  background: var(--off-white);
}

.story-beats {
  margin-top: 3rem;
  display: grid;
  gap: 0;
}

.story-beat {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.story-beat:last-child {
  border-bottom: none;
}

.story-beat .beat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rocket-red);
  padding-top: 0.3rem;
}

.story-beat .beat-text {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.8;
}

/* Constellation */

.constellation-section {
  text-align: center;
  background: var(--deep-navy);
  color: var(--white);
}

.constellation-section .section-label {
  color: var(--warm-gold);
}

.constellation-section .section-title {
  color: var(--white);
}

.constellation-subtitle {
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.constellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 0 auto 3rem;
  max-width: 1100px;
}

.constellation-node {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease;
}

.constellation-node:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.node-role {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.node-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.node-belief {
  font-style: italic;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  opacity: 0.8;
}

.node-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

/* Node colour accents */
.node--false-answer { border-color: rgba(63, 169, 245, 0.4); }
.node--false-answer .node-role { color: #3FA9F5; }
.node--false-answer .node-belief { color: #3FA9F5; }

.node--fear { border-color: rgba(110, 112, 115, 0.5); }
.node--fear .node-role { color: var(--slate-gray); }
.node--fear .node-belief { color: rgba(255,255,255,0.5); }

.node--center {
  border-color: var(--warm-gold);
  background: rgba(215, 155, 46, 0.12);
}
.node--center .node-role { color: var(--warm-gold); }
.node--center .node-name { color: var(--warm-gold); }
.node--center .node-belief { color: var(--warm-gold); }

.node--mentor { border-color: rgba(215, 155, 46, 0.3); }
.node--mentor .node-role { color: var(--warm-gold); }
.node--mentor .node-belief { color: rgba(215, 155, 46, 0.8); }

.node--grounding { border-color: rgba(224, 27, 27, 0.4); }
.node--grounding .node-role { color: var(--rocket-red); }
.node--grounding .node-belief { color: rgba(224, 27, 27, 0.9); }

.node--sidekick { border-color: rgba(255, 255, 255, 0.15); }
.node--sidekick .node-role { color: rgba(255,255,255,0.5); }
.node--sidekick .node-belief { color: rgba(255,255,255,0.5); }

.node--power {
  grid-column: 1 / -1;
  border-color: var(--rocket-red);
  background: rgba(224, 27, 27, 0.1);
  text-align: center;
}
.node--power .node-role { color: var(--rocket-red); }
.node--power .node-name { font-size: 1.3rem; color: var(--white); }
.node--power .node-belief { color: var(--rocket-red); font-size: 1rem; }
.node--power .node-desc {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.constellation-theme {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.constellation-theme-line {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--warm-gold);
  margin-bottom: 0.5rem;
}

.constellation-theme-line--sub {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* Villains */

.villain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.villain-card {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.villain-card:hover {
  transform: translateY(-2px);
}

.villain-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.villain-card .villain-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rocket-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.villain-card .villain-quote {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--rocket-red);
}

.villain-card p {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Episodes */

.episode-list {
  margin-top: 3rem;
}

.episode-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  align-items: start;
}

.episode-item:last-child {
  border-bottom: none;
}

.episode-number {
  width: 3rem;
  height: 3rem;
  background: var(--rocket-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.episode-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.episode-content p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Style Guide Section */

.style-section {
  background: var(--off-white);
}

.color-swatches {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.swatch {
  text-align: center;
}

.swatch-color {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.swatch-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.swatch-hex {
  font-size: 0.72rem;
  color: var(--text-light);
  font-family: 'SF Mono', 'Menlo', monospace;
}

.style-rules {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.style-rule {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.style-rule h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.style-rule p {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.style-rule .do {
  color: #2EA44F;
  font-weight: 600;
}

.style-rule .dont {
  color: var(--rocket-red);
  font-weight: 600;
}

/* Key Scenes */

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.scene-card {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2rem;
}

.scene-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.scene-card .scene-type {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gold);
  margin-bottom: 0.75rem;
}

.scene-card p {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.scene-card blockquote {
  margin-top: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--warm-gold);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.scene-card--with-image {
  padding: 0;
  overflow: hidden;
}

.scene-card--with-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 16px 16px 0 0;
}

.scene-card--with-image h3,
.scene-card--with-image .scene-type,
.scene-card--with-image p,
.scene-card--with-image blockquote {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.scene-card--with-image h3 {
  margin-top: 1.25rem;
}

.scene-card--with-image blockquote {
  margin-bottom: 1.5rem;
}

.scene-featured {
  margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  position: relative;
}

.scene-featured img {
  width: 100%;
  display: block;
}

.scene-featured-caption {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.25rem 2rem;
  font-size: 0.88rem;
  line-height: 1.6;
  font-style: italic;
  text-align: center;
}

/* =====================
   Market Landscape / Honest Assessment
   ===================== */

.landscape-section {
  background: #0d1724;
  color: var(--white);
}

.landscape-section .section-label {
  color: var(--warm-gold);
}

.landscape-section .section-title {
  color: var(--white);
}

.landscape-subtitle {
  color: rgba(255, 255, 255, 0.6);
  max-width: 620px;
  margin: 0 auto 3rem;
}

/* Comparison block */
.landscape-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 3.5rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-card {
  padding: 2rem 2rem 2.5rem;
}

.comparison-card--them {
  background: rgba(255, 255, 255, 0.04);
}

.comparison-card--us {
  background: rgba(215, 155, 46, 0.08);
}

.comparison-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
}

.comparison-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.comparison-card--us .comparison-title {
  color: var(--warm-gold);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.comparison-list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.5;
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-card--us .comparison-list li {
  color: rgba(255, 255, 255, 0.75);
}

.comparison-verdict {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  line-height: 1.5;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-verdict--us {
  color: rgba(215, 155, 46, 0.85);
  border-top-color: rgba(215, 155, 46, 0.2);
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-divider-word {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.25);
  writing-mode: vertical-rl;
}

/* The truth statement */
.landscape-truth {
  background: rgba(224, 27, 27, 0.08);
  border: 1px solid rgba(224, 27, 27, 0.25);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 3.5rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.landscape-truth-headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--rocket-red);
  margin-bottom: 0.75rem;
}

.landscape-truth-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* Why Now grid */
.landscape-why-now {
  text-align: center;
}

.why-now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.why-now-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: background 0.2s ease, transform 0.2s ease;
}

.why-now-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.why-now-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.why-now-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-now-body {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 768px) {
  .landscape-comparison {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .comparison-divider {
    width: auto;
    height: 40px;
    writing-mode: horizontal-tb;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .comparison-divider-word {
    writing-mode: horizontal-tb;
  }
}

/* Footer */

footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 3rem 2rem;
  font-size: 0.85rem;
}

footer .footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

footer p {
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Scripts Page */

.script-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.script-nav-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.script-nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.script-nav-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.script-nav-card .script-meta {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rocket-red);
  margin-bottom: 0.5rem;
}

.script-nav-card p {
  font-size: 0.85rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.screenplay {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 0;
}

.screenplay .script-header {
  border-bottom: 2px solid var(--rocket-red);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.screenplay .script-header h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.screenplay .script-header .script-subtitle {
  font-size: 1rem;
  color: var(--text-medium);
  font-style: italic;
}

.screenplay .script-meta-bar {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.screenplay .script-meta-bar .meta-item {
  font-size: 0.8rem;
}

.screenplay .script-meta-bar .meta-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rocket-red);
  font-size: 0.7rem;
}

.screenplay .script-meta-bar .meta-value {
  color: var(--text-medium);
  margin-top: 0.15rem;
}

.screenplay .scene-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2.5rem 0 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.screenplay .part-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rocket-red);
  margin: 3rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.screenplay .action {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin: 0.75rem 0;
}

.screenplay .action em {
  color: var(--text-dark);
}

.screenplay .dialogue-block {
  margin: 1.25rem 0;
  padding-left: 8rem;
}

.screenplay .character-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.screenplay .parenthetical {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 0.15rem;
}

.screenplay .dialogue {
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 320px;
}

.screenplay .transition {
  text-align: right;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin: 2rem 0;
}

.screenplay .director-notes {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 12px;
}

.screenplay .director-notes h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.screenplay .director-notes p {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.screenplay .director-notes p:last-child {
  margin-bottom: 0;
}

.screenplay .director-notes strong {
  color: var(--text-dark);
}

.screenplay .montage-item {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.7;
  padding-left: 1.25rem;
  border-left: 2px solid var(--warm-gold);
  margin: 0.75rem 0;
}

.screenplay .beat-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--warm-gold);
  margin: 2rem 0 0.75rem;
}

.screenplay hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 2.5rem 0;
}

.script-divider {
  border: none;
  border-top: 3px solid var(--deep-navy);
  margin: 4rem auto;
  max-width: 200px;
}

/* Active nav link */
.nav-links a.nav-active {
  color: var(--rocket-red);
  font-weight: 700;
}

/* Per-page section nav */
.section-nav {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0 2rem;
  position: sticky;
  top: 64px;
  z-index: 90;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.section-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0.25rem;
  white-space: nowrap;
}

.section-nav a {
  display: inline-block;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-medium);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.section-nav a:hover {
  color: var(--rocket-red);
  border-bottom-color: var(--rocket-red);
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: var(--rocket-red);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--deep-navy);
}

@media (max-width: 768px) {
  .screenplay .dialogue-block {
    padding-left: 2.5rem;
  }

  .screenplay .dialogue {
    max-width: 100%;
  }
}

/* Poster Section */

.poster-section {
  padding: 5rem 2rem;
  background: var(--deep-navy);
  text-align: center;
}

.poster-inner {
  max-width: 900px;
  margin: 0 auto;
}

.poster-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--warm-gold);
  margin-bottom: 0.5rem;
}

.poster-tagline {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.poster-image {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.poster-quote {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */

@media (max-width: 768px) {
  .nav-hamburger {
    display: block;
  }

  nav.menu-open {
    bottom: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
  }

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

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

  .section-title {
    font-size: 2rem;
  }

  .theme-quote {
    font-size: 1.5rem;
  }

  .story-beat {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-meta {
    gap: 1.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

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

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

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

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

  .style-rules {
    grid-template-columns: 1fr;
  }

  .why-now-grid {
    grid-template-columns: 1fr;
  }

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

  .node--power {
    grid-column: 1 / -1;
  }

  .scene-card--with-image img {
    height: 180px;
  }

  .character-card img {
    height: 220px;
  }

  .poster-section {
    padding: 3rem 1.5rem;
  }

  .poster-tagline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .poster-quote {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

  .theme-quote {
    font-size: 1.3rem;
  }

  .hero-meta {
    gap: 1rem;
  }

  .hero-meta-item .value {
    font-size: 0.85rem;
  }

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

  .node--power {
    grid-column: auto;
  }

  .color-swatches {
    justify-content: center;
  }

  .scene-featured-caption {
    padding: 1rem 1.25rem;
    font-size: 0.82rem;
  }

  .episode-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }

  .episode-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.8rem;
  }

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

  .poster-quote {
    font-size: 0.88rem;
  }
}
