@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/CormorantGaramond-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/CormorantGaramond-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/BarlowCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #100b0d;
  --bg-soft: rgba(31, 19, 22, 0.88);
  --panel: rgba(25, 16, 18, 0.8);
  --panel-alt: rgba(46, 25, 29, 0.78);
  --border: rgba(197, 165, 144, 0.18);
  --border-strong: rgba(197, 165, 144, 0.35);
  --text: #f8f0e6;
  --muted: #bcaea2;
  --paper: #eaded1;
  --paper-2: #d9c8b7;
  --red: #a32a37;
  --red-bright: #d04b5c;
  --gold: #9c845f;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --max-width: 1220px;
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(158, 41, 56, 0.28), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(108, 77, 47, 0.18), transparent 34%),
    linear-gradient(180deg, #140d10 0%, #0f090b 44%, #140b0d 100%);
}

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

body::before {
  z-index: -3;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 82%);
}

body::after {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42));
}

.page-noise::before {
  z-index: -1;
  opacity: 0.1;
  background-image:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.18) 0 0.8px, transparent 1px),
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 36% 68%, rgba(255, 255, 255, 0.12) 0 0.8px, transparent 1px),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px);
}

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

a {
  color: inherit;
}

a,
button,
summary {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 30;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  color: #150f12;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-frame {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  margin-bottom: 1rem;
  backdrop-filter: blur(0px);
}

.topbar.is-scrolled {
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  width: min(26rem, 100%);
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.nav a {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(18, 12, 13, 0.7);
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover,
.source-list a:hover,
.button:hover {
  transform: translateY(-2px);
  color: var(--text);
}

.section {
  margin-top: 4rem;
}

.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(33, 21, 24, 0.92), rgba(18, 12, 13, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel::before {
  content: attr(data-panel-label);
  position: absolute;
  top: 1.15rem;
  right: 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234, 222, 209, 0.46);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.6rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--paper-2);
  font-size: 0.9rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.9rem);
}

h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.1rem);
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

p,
dd,
dt,
li,
summary,
figcaption {
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.45;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.story-copy,
.story-aside,
.timeline-card,
.footer,
.cast-card,
.gallery-card,
.faq-list details {
  padding: 2rem;
}

.hero-copy {
  min-height: 100%;
}

.hero-copy::selection,
.hero-visual::selection {
  background: rgba(208, 75, 92, 0.42);
}

.hero-dek {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: var(--paper);
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.button-primary {
  background: linear-gradient(180deg, #c94455, #922735);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button-secondary,
.button-tertiary {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
}

.signal-note {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
}

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

.stat-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.stat-card dt {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.stat-card dd {
  margin: 0.3rem 0 0;
  color: var(--paper);
  font-size: 1.25rem;
}

.panel-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.hero-visual img,
.gallery-card img {
  width: 100%;
  border-radius: calc(var(--radius) - 10px);
  object-fit: cover;
}

.hero-visual figcaption,
.gallery-card figcaption {
  padding: 1rem 0.3rem 0.2rem;
  color: var(--muted);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.2rem;
}

.story-copy .lede {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--paper);
  font-size: 1.42rem;
}

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

.story-aside {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.note-card {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.note-card:first-child {
  border-top: 0;
  padding-top: 0.6rem;
}

.note-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

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

.gallery-card {
  grid-column: span 4;
  padding: 0.9rem;
}

.gallery-card.is-wide {
  grid-column: span 8;
}

.gallery-card.is-tall {
  grid-row: span 2;
}

.gallery-card img {
  aspect-ratio: 4 / 3;
}

.gallery-card.is-wide img {
  aspect-ratio: 16 / 9;
}

.gallery-card.is-tall img {
  aspect-ratio: 3 / 4;
}

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

.cast-card {
  min-height: 17rem;
}

.cast-role,
.cast-meta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cast-role {
  margin: 0.9rem 0 0.4rem;
  color: var(--paper-2);
  font-size: 0.86rem;
}

.cast-meta {
  margin: 0.45rem 0 0.95rem;
  color: var(--red-bright);
  font-size: 0.9rem;
}

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

.timeline-card {
  min-height: 14rem;
}

.timeline-card p,
.cast-card p:last-child {
  color: var(--paper);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list details {
  background:
    linear-gradient(180deg, rgba(50, 26, 31, 0.88), rgba(18, 12, 13, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding-right: 2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  color: var(--paper-2);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 1rem 0 0;
  color: var(--paper);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  margin-top: 4rem;
  align-items: start;
}

.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.source-list a {
  display: inline-flex;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  text-decoration: none;
}

.footer-copy p:last-child,
.footer-meta {
  color: var(--muted);
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

@media (max-width: 1080px) {
  .hero,
  .story-layout,
  .timeline-grid,
  .footer {
    grid-template-columns: 1fr;
  }

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

  .gallery-card,
  .gallery-card.is-wide {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .site-frame {
    width: min(var(--max-width), calc(100% - 1rem));
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-copy,
  .hero-visual,
  .story-copy,
  .story-aside,
  .timeline-card,
  .footer,
  .cast-card,
  .gallery-card,
  .faq-list details {
    padding: 1.25rem;
  }

  .panel::before {
    top: 0.9rem;
    right: 1rem;
    font-size: 0.72rem;
  }

  .stat-grid,
  .cast-grid,
  .timeline-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card.is-wide,
  .gallery-card.is-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .button {
    width: 100%;
  }

  .footer {
    gap: 1.2rem;
  }
}
