:root {
  --bg: #14040b;
  --bg-deep: #090205;
  --wine: #5e1732;
  --wine-soft: rgba(124, 37, 62, 0.4);
  --rose: #bb8d96;
  --rose-soft: rgba(228, 184, 190, 0.18);
  --gold: #d3ab67;
  --gold-soft: rgba(211, 171, 103, 0.18);
  --ivory: #f7ede4;
  --sand: #dbc7b7;
  --text: #f5ece4;
  --muted: #d5beb1;
  --border: rgba(240, 217, 184, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  --max-width: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(211, 171, 103, 0.14), transparent 32%),
    radial-gradient(circle at 80% 16%, rgba(180, 76, 95, 0.18), transparent 24%),
    linear-gradient(180deg, #2a0a17 0%, #18060d 28%, #0b0206 100%);
}

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

body::before {
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.68), transparent 84%);
}

body::after {
  z-index: -1;
  opacity: 0.4;
  background-image: radial-gradient(rgba(255, 244, 230, 0.8) 0.75px, transparent 0.75px);
  background-size: 16px 16px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 88%);
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: var(--ivory);
  color: #1f0a12;
}

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

.page-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.section {
  margin-top: 4rem;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 19rem;
}

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

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

.nav a,
.button,
.text-link {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav a {
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(21, 5, 12, 0.52);
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  transform: translateY(-1px);
  color: var(--ivory);
  border-color: rgba(211, 171, 103, 0.45);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(42, 10, 23, 0.82), rgba(14, 4, 8, 0.94)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 45%);
  box-shadow: var(--shadow);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.03), transparent 35%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.96fr);
  gap: 1.75rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual {
  border-radius: 2rem;
}

.hero-copy {
  padding: 3rem;
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -7rem;
  top: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 171, 103, 0.3), transparent 68%);
  filter: blur(4px);
}

.hero-copy h1,
.section-heading h2,
.split-section h2,
.faq-section h2 {
  margin: 0;
  font-family: "Prata", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 8ch;
  font-size: clamp(3.3rem, 7vw, 5.9rem);
  line-height: 0.92;
}

.hero-dek,
.prose p,
.split-section p,
.faq-list p,
.footer-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-dek {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

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

.button-primary {
  background: var(--ivory);
  color: #240811;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 12px 28px rgba(247, 237, 228, 0.18);
}

.button-secondary {
  border: 1px solid rgba(211, 171, 103, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ivory);
}

.hero-note {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--sand);
  font-size: 0.96rem;
  line-height: 1.65;
}

.hero-visual {
  padding: 1.25rem;
}

.poster {
  position: relative;
  min-height: 100%;
  border-radius: 1.7rem;
  padding: 1.75rem;
  background:
    radial-gradient(circle at 25% 20%, rgba(211, 171, 103, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(83, 18, 38, 0.92), rgba(18, 5, 10, 0.96));
  border: 1px solid rgba(255, 244, 230, 0.08);
}

.poster::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(242, 221, 192, 0.12);
}

.poster-mark {
  max-width: 12rem;
  margin: 0 auto 1.5rem;
}

.poster-kicker,
.poster-grid span,
.card-meta,
.card-index {
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.poster-title {
  margin: 0;
  text-align: center;
  font-family: "Prata", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
}

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

.poster-grid div,
.facts dl div {
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 244, 230, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.poster-grid strong,
.facts dd {
  display: block;
  margin-top: 0.45rem;
  color: var(--ivory);
  font-weight: 600;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 50rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.split-section h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
}

.overview-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
}

.prose,
.facts,
.split-section article {
  border-radius: 1.6rem;
  padding: 2rem;
}

.prose p {
  margin: 0;
}

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

.facts h3 {
  margin: 0 0 1.2rem;
  font-family: "Prata", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.facts dl {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.facts dt,
.facts dd {
  margin: 0;
}

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

.character-card {
  border-radius: 1.5rem;
  min-height: 16rem;
  padding: 1.5rem;
}

.character-card h3 {
  margin: 0.75rem 0 0;
  font-family: "Prata", serif;
  font-size: 1.85rem;
  font-weight: 400;
}

.card-meta {
  margin: 0.65rem 0 0;
}

.character-card p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid rgba(211, 171, 103, 0.45);
}

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

.faq-list details {
  border-radius: 1.35rem;
  padding: 1.1rem 1.2rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ivory);
}

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

.faq-list p {
  margin: 0.9rem 0 0;
}

.footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy p {
  margin: 0;
}

.reveal {
  animation: rise 700ms ease both;
}

.reveal:nth-child(2),
.cards-grid .reveal:nth-child(2),
.faq-list .reveal:nth-child(2) {
  animation-delay: 80ms;
}

.reveal:nth-child(3),
.cards-grid .reveal:nth-child(3),
.faq-list .reveal:nth-child(3) {
  animation-delay: 140ms;
}

.reveal:nth-child(4),
.cards-grid .reveal:nth-child(4),
.faq-list .reveal:nth-child(4) {
  animation-delay: 200ms;
}

.reveal:nth-child(5),
.cards-grid .reveal:nth-child(5),
.faq-list .reveal:nth-child(5) {
  animation-delay: 260ms;
}

.reveal:nth-child(6),
.cards-grid .reveal:nth-child(6),
.faq-list .reveal:nth-child(6) {
  animation-delay: 320ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .overview-grid,
  .split-section,
  .footer {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .page-shell {
    width: min(var(--max-width), calc(100% - 1rem));
  }

  .section {
    margin-top: 2.8rem;
  }

  .hero-copy,
  .hero-visual,
  .prose,
  .facts,
  .split-section article,
  .character-card {
    padding: 1.4rem;
  }

  .cards-grid,
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .poster-mark {
    max-width: 9.8rem;
  }

  .brand {
    max-width: 15rem;
  }

  .nav a,
  .button {
    width: 100%;
    justify-content: center;
  }
}

