@font-face {
  font-family: "Gloock";
  src: url("assets/fonts/Gloock-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-Regular.ttf") format("truetype");
  font-display: swap;
}

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

:root {
  --paper: #f4eee6;
  --paper-strong: #efe3d1;
  --ink: #1b1715;
  --ink-soft: rgba(27, 23, 21, 0.72);
  --ink-faint: rgba(27, 23, 21, 0.12);
  --lacquer: #8c2f2d;
  --lacquer-deep: #5f1f1f;
  --gold: #ae8550;
  --gold-soft: rgba(174, 133, 80, 0.3);
  --shadow: 0 24px 80px rgba(24, 18, 15, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --site-width: min(1180px, calc(100vw - 40px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(140, 47, 45, 0.18), transparent 26rem),
    linear-gradient(180deg, #181312 0, #221a17 25rem, var(--paper) 25rem, var(--paper) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 65%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  width: var(--site-width);
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  width: 100%;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  background: rgba(244, 238, 230, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.brand {
  width: min(310px, 48vw);
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a[aria-current="true"] {
  background: rgba(140, 47, 45, 0.1);
  color: var(--lacquer-deep);
  transform: translateY(-1px);
}

.section {
  padding: 48px 0;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  margin-top: 26px;
  padding: 72px;
  align-items: center;
  border-radius: 40px;
  background:
    radial-gradient(circle at top left, rgba(174, 133, 80, 0.12), transparent 28rem),
    radial-gradient(circle at top right, rgba(140, 47, 45, 0.22), transparent 22rem),
    linear-gradient(180deg, #181312 0%, #231917 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 32px 88px rgba(24, 18, 15, 0.28);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: auto -12% -26% auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 133, 80, 0.18) 0%, transparent 70%);
}

.hero::after {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: #f7efe8;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 238, 214, 0.74);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Gloock", serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.8rem, 9vw, 6.8rem);
  line-height: 0.94;
  max-width: 10ch;
}

.hero-dek {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 1.12rem;
  line-height: 1.72;
  color: rgba(247, 239, 232, 0.8);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  color: #fff8f2;
  background: linear-gradient(135deg, var(--lacquer) 0%, #a44541 100%);
  box-shadow: 0 14px 28px rgba(140, 47, 45, 0.28);
}

.button-secondary {
  color: #fff8f2;
  border: 1px solid rgba(255, 238, 214, 0.24);
  background: rgba(255, 248, 242, 0.08);
}

.hero-note {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 238, 214, 0.72);
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.07);
  border: 1px solid rgba(255, 238, 214, 0.12);
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffcd93;
  box-shadow: 0 0 0 6px rgba(255, 205, 147, 0.12);
}

.fact-grid {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fact-card {
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 248, 242, 0.12), rgba(255, 248, 242, 0.05));
  border: 1px solid rgba(255, 238, 214, 0.12);
}

.fact-card dt {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 238, 214, 0.62);
}

.fact-card dd {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-stage {
  position: relative;
  z-index: 1;
}

.stage-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 248, 242, 0.92) 0%, rgba(239, 227, 209, 0.88) 100%);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stage-card::before,
.stage-card::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 18%;
  background:
    linear-gradient(180deg, rgba(102, 29, 31, 0.92), rgba(57, 22, 23, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 8px, transparent 8px 28px);
  box-shadow: inset -12px 0 26px rgba(0, 0, 0, 0.16);
}

.stage-card::before {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

.stage-card::after {
  right: 0;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.stage-header,
.stage-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27, 23, 21, 0.62);
}

.stage-footer {
  margin-top: 18px;
}

.stage-footer p {
  margin: 0;
  max-width: 32ch;
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
}

.miniature-scene {
  position: relative;
  z-index: 1;
  min-height: 480px;
  margin-top: 18px;
  padding: 30px 28px;
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.85), transparent 24%),
    linear-gradient(180deg, rgba(243, 232, 216, 0.94) 0%, rgba(227, 209, 183, 0.96) 100%);
  border: 1px solid rgba(174, 133, 80, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  overflow: hidden;
}

.scene-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78%, 360px);
  transform: translate(-50%, -56%);
  opacity: 0.2;
  filter: saturate(0.6);
}

.scene-ruler {
  position: absolute;
  inset: 26px 28px auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(27, 23, 21, 0.48);
}

.scene-ruler::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  border-bottom: 1px dashed rgba(27, 23, 21, 0.2);
}

.scene-platform {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 42px;
  height: 78px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(174, 133, 80, 0.18) 0%, rgba(140, 47, 45, 0.18) 100%),
    linear-gradient(90deg, rgba(27, 23, 21, 0.2) 0 4px, transparent 4px 28px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.scene-orbit {
  position: absolute;
  inset: 98px 72px 116px;
  border-radius: 50%;
  border: 2px solid rgba(140, 47, 45, 0.18);
}

.scene-orbit::before,
.scene-orbit::after,
.scene-figure::before,
.scene-figure::after {
  content: "";
  position: absolute;
}

.scene-orbit::before {
  top: -12px;
  left: calc(50% - 12px);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 32%, #fef5e8 0, #ddb17b 55%, #a76b46 100%);
}

.scene-orbit::after {
  bottom: 10%;
  right: 12%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--lacquer);
  box-shadow: 0 0 0 12px rgba(140, 47, 45, 0.08);
}

.scene-figure {
  position: absolute;
  bottom: 72px;
}

.scene-figure-large {
  left: 22%;
  width: 72px;
  height: 168px;
}

.scene-figure-small {
  right: 18%;
  width: 38px;
  height: 88px;
}

.scene-figure::before {
  left: 50%;
  top: 0;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #2b1d1b;
  transform: translateX(-50%);
}

.scene-figure::after {
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 74%;
  background: linear-gradient(180deg, #342220 0%, var(--lacquer) 100%);
  clip-path: polygon(36% 0, 64% 0, 84% 28%, 100% 100%, 0 100%, 16% 28%);
  border-radius: 30% 30% 16% 16%;
  transform: translateX(-50%);
}

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

.section-heading .eyebrow,
.footer .eyebrow {
  color: rgba(140, 47, 45, 0.8);
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 14ch;
}

.section-heading p:last-child {
  margin: 18px 0 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

.overview-grid,
.cast-grid,
.watch-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.overview-card,
.cast-card,
.watch-card,
.faq-item,
.footer {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 23, 21, 0.08);
  background: rgba(255, 252, 248, 0.78);
  box-shadow: var(--shadow);
}

.overview-card,
.cast-card,
.watch-card {
  padding: 24px;
}

.overview-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 248, 242, 0.82) 100%),
    linear-gradient(135deg, rgba(174, 133, 80, 0.08), rgba(140, 47, 45, 0.08));
}

.accent-card {
  background:
    linear-gradient(180deg, rgba(140, 47, 45, 0.96) 0%, rgba(95, 31, 31, 0.96) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent);
  color: #fff8f2;
}

.accent-card p,
.accent-card .card-index,
.accent-card h3 {
  color: inherit;
}

.card-index,
.watch-label {
  margin: 0 0 18px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 23, 21, 0.48);
}

.overview-card h3,
.cast-card h3,
.watch-card h3 {
  margin: 0;
  font-family: "Gloock", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.overview-card p:last-child,
.cast-card p:last-child,
.watch-card p:last-child,
.watch-list,
.faq-item p,
.footer-copy,
.footer-meta p {
  margin: 14px 0 0;
  line-height: 1.72;
  color: var(--ink-soft);
}

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

.cast-card {
  position: relative;
  overflow: hidden;
}

.cast-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--lacquer), rgba(174, 133, 80, 0.82));
}

.cast-role {
  margin: 12px 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(140, 47, 45, 0.8);
}

.watch-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.primary-watch {
  color: #fff8f2;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 26rem),
    linear-gradient(140deg, #8b2e2b 0%, #60201f 100%);
}

.primary-watch .watch-label,
.primary-watch p,
.primary-watch h3,
.primary-watch .button {
  color: inherit;
}

.primary-watch .button-primary {
  background: #fff3ea;
  color: var(--lacquer-deep);
  box-shadow: 0 14px 28px rgba(21, 10, 9, 0.16);
}

.watch-list {
  padding-left: 20px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-item {
  padding: 0 24px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-weight: 700;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--lacquer);
}

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

.faq-item p {
  margin: 0 0 22px;
}

.footer {
  margin-top: 24px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
}

.footer-copy {
  max-width: 26rem;
}

.footer-meta {
  max-width: 28rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

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

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

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at top right, rgba(140, 47, 45, 0.18), transparent 18rem),
      linear-gradient(180deg, #181312 0, #221a17 18rem, var(--paper) 18rem, var(--paper) 100%);
  }

  .page-shell {
    width: min(100vw - 24px, 1180px);
  }

  .topbar,
  .footer {
    border-radius: 28px;
  }

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

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

  .brand {
    width: min(100%, 280px);
  }

  .hero {
    gap: 28px;
    padding: 36px 24px;
    border-radius: 32px;
  }

  .fact-grid,
  .overview-grid,
  .cast-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 8ch;
  }

  .miniature-scene {
    min-height: 400px;
  }

  .scene-figure-large {
    left: 18%;
  }

  .scene-figure-small {
    right: 16%;
  }

  .section {
    padding: 36px 0;
  }

  .section-heading h2 {
    max-width: 11ch;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
