:root {
  --bg: #090807;
  --bg-2: #110f0d;
  --bg-3: #181512;
  --ink: #f4eee4;
  --muted: #b7ada0;
  --faint: #7d746a;
  --gold: #d4b07a;
  --gold-2: #e8c99a;
  --wine: #8a2e3b;
  --wine-2: #c45a68;
  --line: rgba(212, 176, 122, 0.22);
  --line-strong: rgba(212, 176, 122, 0.45);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1180px;
  --header: 78px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--gold-2);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 10px 16px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(9, 8, 7, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.logo-text span {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a140c;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--gold-2);
  color: #1a140c;
}

.btn-buy,
.nav .btn-buy {
  background: #ffb020;
  border-color: #ffd56a;
  color: #1a1204;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.35), 0 10px 28px rgba(255, 176, 32, 0.28);
  text-shadow: none;
}

.btn-buy:hover,
.nav .btn-buy:hover {
  background: #ffc44a;
  border-color: #ffe19a;
  color: #1a1204;
  box-shadow: 0 0 0 1px rgba(255, 196, 74, 0.5), 0 12px 32px rgba(255, 176, 32, 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(212, 176, 122, 0.12);
  color: var(--gold-2);
}

.btn-lg {
  padding: 16px 28px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  margin: 5px auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.94) 0%, rgba(9, 8, 7, 0.72) 48%, rgba(9, 8, 7, 0.35) 100%),
    linear-gradient(180deg, rgba(9, 8, 7, 0.2), rgba(9, 8, 7, 0.85)),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2000&q=80")
      center/cover no-repeat;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 80px;
}

.kicker {
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 500;
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  color: var(--muted);
  margin-bottom: 22px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.poster-card {
  justify-self: end;
  width: min(100%, 380px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.poster-art {
  aspect-ratio: 2 / 3;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}

.poster-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(9, 8, 7, 0.92));
}

.poster-overlay small {
  display: block;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 11px;
}

.poster-overlay strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 0.95;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-3);
  min-height: 220px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(9, 8, 7, 0.92));
  font-size: 13px;
  color: var(--muted);
}

.gallery-item figcaption strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 4px;
}

.gallery-item--hero {
  grid-column: span 5;
  min-height: 420px;
}

.gallery-item--wide {
  grid-column: span 7;
  min-height: 420px;
}

.gallery-item--half {
  grid-column: span 4;
  min-height: 280px;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cast-card {
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-3);
}

.cast-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1714;
}

.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cast-body {
  padding: 20px 22px 24px;
  background:
    radial-gradient(circle at top right, rgba(212, 176, 122, 0.1), transparent 45%),
    var(--bg-3);
}

.score-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(9, 8, 7, 0.8);
  display: grid;
  place-items: center;
  text-align: center;
}

.score-badge b {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-2);
  line-height: 1;
}

.score-badge span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 28px 0;
}

.facts-grid article {
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.facts-grid article:last-child {
  border-right: 0;
}

.facts-grid span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

.facts-grid strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
}

.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.rooms {
  display: grid;
  gap: 22px;
}

.room {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.room-index {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.room h3 {
  font-size: 32px;
  margin-bottom: 8px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  background: var(--bg-3);
  padding: 28px;
}

.quote {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  line-height: 1.35;
  color: var(--gold-2);
  margin: 0 0 16px;
}

.spoiler {
  border: 1px dashed var(--line-strong);
  padding: 24px;
  background: rgba(138, 46, 59, 0.12);
}

.spoiler[hidden] {
  display: none;
}

.cast-card .role {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cast-card h3 {
  font-size: 24px;
  margin: 8px 0;
}

.cast-body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.verdict {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line-strong);
  padding: 36px;
  background:
    linear-gradient(120deg, rgba(212, 176, 122, 0.08), transparent 40%),
    var(--bg-3);
}

.meter {
  width: 210px;
  height: 210px;
}

.meter circle {
  fill: none;
  stroke-width: 8;
}

.meter .track {
  stroke: rgba(212, 176, 122, 0.15);
}

.meter .value {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 560;
  stroke-dashoffset: 146;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.meter-label {
  font-family: var(--font-display);
  font-size: 54px;
  fill: var(--ink);
}

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.88), rgba(9, 8, 7, 0.55)),
    url("https://images.unsplash.com/photo-1414609245224-afa02bfb3fda?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 20px;
  font-family: var(--font-display);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
  margin: 12px 0 0;
}

.poll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.poll button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 16px;
  cursor: pointer;
  font: inherit;
}

.poll button:hover,
.poll button.is-on {
  border-color: var(--gold);
  color: var(--gold);
}

.room:hover,
.cast-card:hover,
.gallery-item:hover {
  border-color: var(--line-strong);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-hero {
  padding: 72px 0 28px;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 34px;
  margin-top: 1.4em;
}

.prose ul {
  padding-left: 18px;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 16px;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--gold);
}

.form-note {
  color: var(--faint);
  font-size: 14px;
}

.success {
  display: none;
  border: 1px solid var(--gold);
  padding: 20px;
  color: var(--gold-2);
}

.success.is-visible {
  display: block;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: #070605;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer h3 {
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer a,
.footer p {
  color: var(--muted);
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.legal {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--faint);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  padding: 18px 20px;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.cookie.is-open {
  display: flex;
}

.cookie.is-open ~ .float-buy {
  display: none !important;
}

.float-buy {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: none;
}

body.scrolled .float-buy {
  display: inline-flex;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .verdict,
  .room,
  .facts-grid,
  .cast-grid,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--hero,
  .gallery-item--wide,
  .gallery-item--half {
    grid-column: span 1;
    min-height: 260px;
  }

  .facts-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .menu-toggle {
    display: block;
  }

  .header-tools .btn-buy {
    padding: 11px 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    margin-left: 0;
    background: rgba(9, 8, 7, 0.96);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    padding: 18px 20px 24px;
    align-items: flex-start;
  }

  .nav.is-open {
    display: flex;
  }

  .poster-card {
    justify-self: start;
  }

  .cookie {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
