@font-face {
  font-family: Cinzel;
  src: url("Cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #10191c;
  --night: #0b1215;
  --ivory: #f5e7d2;
  --soft: #d0c2ac;
  --gold: #e7ad63;
  --line: #9f826451;
  --display: Cinzel, Georgia, serif;
  --body: Inter, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --wrap: 90rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #96754f var(--night); }
body { margin: 0; color: var(--ivory); background: var(--ink); font: 400 1rem/1.65 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
::selection { color: var(--night); background: var(--gold); }
:focus-visible { outline: 2px solid #ffd18a; outline-offset: 5px; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; }
svg { display: block; flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h2, h3 { font-family: var(--display); line-height: 1.12; font-weight: 500; }
[hidden] { display: none !important; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: .6rem; left: .6rem; padding: .7rem 1rem; background: var(--night); transform: translateY(-150%); }
.skip:focus { transform: none; }

.masthead { position: absolute; top: 0; z-index: 2; width: 100%; }
.mast-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 5rem;
  border-bottom: 1px solid #f5e7d238;
}
.mast-inner a { text-decoration: none; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: .65rem; font: 600 1rem/1 var(--display); letter-spacing: .12em; }
.brand img, .outro img { object-fit: contain; }
.sections, .languages { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.sections a, .languages a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .78rem; font-weight: 600; }
.sections a:hover, .brand:hover, .languages a:hover { color: var(--gold); }
.languages { justify-self: end; gap: .25rem; }
.languages a { justify-content: center; min-width: 2.75rem; color: #e2d6c5; }
.languages a[aria-current] { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .55em; }

.hero { position: relative; isolation: isolate; display: grid; min-height: min(57rem, max(43rem, 94svh)); background: #253334; }
.hero-art, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; object-fit: cover; object-position: 51% 45%; }
.hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, #0b1418ec, transparent 29%),
    linear-gradient(0deg, var(--ink) 1%, #10191cef 12%, #10191c65 39%, transparent 64%),
    linear-gradient(90deg, #10191c8c, transparent 63%);
}
.hero-inner { position: relative; display: flex; align-items: end; padding-block: 8rem clamp(5rem, 10vh, 7.5rem); }
.hero-copy h1 {
  font: 500 clamp(3.5rem, 9.35vw, 9.6rem)/.91 var(--display);
  letter-spacing: -.035em;
  text-shadow: 0 .16em .5em #05090c9e;
}
.hero-copy > p { margin-top: .9rem; font: 500 clamp(1.18rem, 2.5vw, 2.35rem)/1.3 var(--display); color: var(--ivory); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.75rem; margin-top: 1.8rem; }
.play-primary, .read-link, .film-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.15rem;
  font-size: .85rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s, background-color .2s, border-color .2s;
}
.play-primary { padding: .6rem 1.15rem .6rem .9rem; color: var(--night); background: var(--gold); }
.play-primary:hover { background: #ffd18a; }
.read-link { color: var(--ivory); }
.read-link svg { color: var(--gold); }
.read-link:hover { color: var(--gold); }
.hero-caption, figcaption { color: var(--soft); font-size: .67rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero-caption { position: absolute; right: 0; bottom: 1.2rem; }

.world { padding-block: clamp(4rem, 8vw, 8rem) clamp(5rem, 10vw, 10rem); }
.world-intro {
  display: grid;
  grid-template-columns: 1.17fr .83fr;
  align-items: center;
  gap: 2rem clamp(2rem, 7vw, 8rem);
  padding-block: clamp(2.2rem, 4.6vw, 4.6rem);
  border-block: 1px solid var(--line);
}
.world-intro h2 { font-size: clamp(2.15rem, 4.2vw, 4.55rem); letter-spacing: -.028em; }
.world-intro p, .scene-copy > p { max-width: 45ch; color: var(--soft); font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.75; }
.world-scene {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 2rem clamp(2.25rem, 6vw, 7.5rem);
  margin-top: clamp(3.25rem, 8vw, 7.5rem);
}
.world-scene figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 75% 50%; }
figcaption { padding-block: .65rem; border-bottom: 1px solid var(--line); }
.scene-copy h3 { margin-bottom: 1.1rem; font-size: clamp(1.8rem, 3vw, 3.25rem); letter-spacing: -.027em; }
.scene-copy .question { margin-top: 1.55rem; color: #f4c587; font: italic 500 clamp(1.25rem, 1.85vw, 1.85rem)/1.4 Georgia, serif; }

.screening { background: var(--night); border-block: 1px solid var(--line); }
.screening-inner { padding-block: clamp(3.25rem, 6vw, 6rem); }
.screening-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.25rem; }
.screening-title h2 { font-size: clamp(2rem, 4.1vw, 4.5rem); letter-spacing: -.03em; }
.screening-title p { display: flex; align-items: center; gap: .65rem; color: var(--soft); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.screening-title p span { color: var(--gold); }
.screening-title time { font-variant-numeric: tabular-nums; }
.poster { display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 2.39; text-decoration: none; background: #263537; }
.poster img, .poster::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster img { object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2,.65,.3,1); }
.poster::after { content: ""; z-index: -1; background: linear-gradient(0deg, #091115a6, transparent 56%), #0a14192b; }
.poster:hover img { transform: scale(1.035); }
.poster-play { display: grid; place-items: center; width: clamp(3.5rem, 8vw, 6rem); aspect-ratio: 1; border: 1px solid #f5e7d2; border-radius: 50%; color: var(--ivory); background: #10191cbf; transition: background-color .25s, color .25s, border-color .25s; }
.poster-play svg { width: 49%; height: 49%; }
.poster:hover .poster-play { background: var(--gold); color: var(--night); border-color: var(--gold); }
.poster-label { position: absolute; bottom: clamp(.65rem, 2vw, 1.35rem); left: clamp(.8rem, 2vw, 1.65rem); font-weight: 650; font-size: .8rem; }
.screening-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.film-link { min-width: 9.75rem; padding: .45rem 1rem; border: 1px solid #a085688c; letter-spacing: .13em; font-size: .72rem; }
.film-link svg { color: var(--gold); }
.film-link:hover { border-color: var(--gold); color: var(--gold); background: #211d18; }
.outro { padding-top: clamp(3.5rem, 7vw, 6.5rem); text-align: center; }
.outro img { margin-inline: auto; }
.outro-title { margin-top: 1rem; font: 500 clamp(1.6rem, 3vw, 3rem)/1.2 var(--display); text-wrap: balance; }
.colophon { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 6rem); padding-block: 1.2rem; border-top: 1px solid var(--line); color: var(--soft); text-align: left; font-size: .78rem; }
.colophon a { white-space: nowrap; }
.up { display: inline-block; vertical-align: middle; margin-left: .1rem; transform: rotate(180deg); }
.up svg { width: 1rem; height: 1rem; }

.cinema { width: min(94vw, 92rem, calc(77dvh * 2.388)); max-width: none; max-height: 98dvh; margin: auto; border: 0; padding: 0; background: var(--night); color: var(--ivory); }
.cinema::backdrop { background: #060b0dee; }
.cinema-panel { border: 1px solid var(--line); }
.cinema-bar { display: flex; align-items: center; justify-content: space-between; padding: .4rem .5rem .4rem clamp(.65rem, 2vw, 1.35rem); gap: .5rem; }
.cinema-bar h2 { font-size: clamp(.78rem, 2.3vw, 1.35rem); text-wrap: initial; }
#film-language { color: var(--soft); margin-left: .5em; font: 500 .69em var(--body); white-space: nowrap; }
.cinema-tools { display: flex; gap: .25rem; }
.cinema button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--ivory); background: none; border: 1px solid transparent; cursor: pointer; }
.cinema button:hover { border-color: var(--gold); color: var(--gold); }
.cinema button:focus-visible { outline-offset: -2px; }
.cinema video { display: block; width: 100%; aspect-ratio: 1920 / 804; background: #000; }
.cinema video:fullscreen { object-fit: contain; }
.film-error { padding: .75rem 1rem; font-size: .875rem; }
.film-error a { color: var(--gold); }
@media (max-width: 700px) {
  .mast-inner { min-height: 4rem; grid-template-columns: 1fr auto; }
  .sections { display: none; }
  .hero { min-height: min(43rem, max(34rem, 90svh)); }
  .hero-art { object-position: 51% 35%; }
  .hero::after { background: linear-gradient(180deg, #0b1418de, transparent 27%), linear-gradient(0deg, var(--ink) 1%, #10191cf2 16%, #10191c70 46%, transparent 72%); }
  .hero-copy h1 { font-size: clamp(2.55rem, 12vw, 5.4rem); }
  .hero-copy > p { margin-top: .5rem; }
  .hero-actions { margin-top: 1.25rem; column-gap: 1rem; }
  .hero-caption { bottom: .6rem; }
  .world-intro, .world-scene { grid-template-columns: 1fr; }
  .world-intro { gap: 1rem; }
  .world-scene { gap: 1.5rem; }
  .world-scene figure img { aspect-ratio: 1.55; }
  .poster { aspect-ratio: 1.65; }
  .screening-actions > a { flex: 1; min-width: 0; }
}
@media (max-width: 365px) {
  .hero-actions { align-items: start; flex-direction: column; gap: .1rem; }
  .hero-inner { padding-bottom: 4rem; }
  .cinema-tools { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.hero-actions .play-primary {
  min-height: 4.5rem;
  min-width: min(100%, 15rem);
  justify-content: start;
  gap: .9rem;
  padding: .68rem 1.2rem .68rem .75rem;
  background: #efba74;
  box-shadow: 0 .55rem 1.8rem #080d1399;
  font-size: clamp(1.06rem, 1.25vw, 1.22rem);
  font-weight: 720;
}
.hero-actions .play-primary:hover { background: #ffda9f; }
.hero-actions .pressure-gauge {
  width: 2.9rem;
  height: 2.9rem;
  overflow: visible;
}
.play-text { display: grid; line-height: 1.2; }
.play-time { margin-top: .16rem; font-size: .74rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.read-link { color: var(--soft); }
@media (max-height: 700px) and (min-width: 701px) {
  .hero { min-height: max(29rem, 100svh); }
  .hero-inner { padding-block: 6rem 3.5rem; }
}
@media (max-width: 700px) {
  .hero-actions .play-primary { min-height: 4rem; min-width: 12.25rem; }
  .hero-actions .pressure-gauge { width: 2.55rem; height: 2.55rem; }
  .hero-actions .read-link { min-height: 2.75rem; }
}
.gauge-track, .gauge-charge { stroke-width: 1.75; stroke-linecap: round; }
.gauge-track { opacity: .45; }
.gauge-charge { stroke-dasharray: 1; stroke-dashoffset: .8; transition: stroke-dashoffset .32s ease-out; }
.gauge-play { fill: currentColor; stroke: none; }
.gauge-needle { opacity: 0; stroke-width: 2.25; stroke-linecap: round; transform-origin: 24px 24px; transform: rotate(-125deg); }
.play-primary:is(:hover, :focus-visible) .gauge-charge { stroke-dashoffset: .25; }
.play-primary:active { box-shadow: 0 .15rem .65rem #080d1399; }
.play-primary:active .gauge-charge { stroke-dashoffset: 0; }
.play-primary:active .gauge-play { opacity: 0; }
.play-primary:active .gauge-needle { opacity: 1; transform: rotate(122deg); transition: transform .48s cubic-bezier(.14,.68,.28,1); }

@media (max-height: 520px) {
  .hero { min-height: max(21rem, 100svh); }
  .hero-inner { padding-block: 5rem 2.55rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); }
  .hero-copy > p { margin-top: .35rem; }
  .hero-actions { margin-top: .7rem; }
  .hero-caption { bottom: .45rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero { overflow: clip; }
  .hero-art { animation: daylight 2s cubic-bezier(.16,.67,.3,1) both; }
  .cinema[open] { animation: screen-on .24s cubic-bezier(.19,1,.22,1) both; }
  @keyframes daylight {
    from { transform: scale(1.06); filter: brightness(.83); }
    to { transform: scale(1); filter: brightness(1); }
  }
  @keyframes screen-on {
    from { opacity: .45; transform: scale(.982); }
    to { opacity: 1; transform: scale(1); }
  }
}

.cinema.is-expanded { width: 100%; height: 100%; max-height: 100dvh; }
.is-expanded .cinema-panel { display: flex; height: 100%; flex-direction: column; border: 0; }
.is-expanded video { flex: 1; min-height: 0; aspect-ratio: auto; object-fit: contain; }
[data-expand][aria-pressed="true"] { color: var(--gold); }
