.cinema-feature {
  position: relative;
  min-height: min(880px, 92svh);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #070504;
  border-bottom: 1px solid var(--line);
}

.cinema-feature-art,
.cinema-feature-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cinema-feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.72) contrast(1.1) brightness(.8);
  transform: scale(1.035);
}

.cinema-feature-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 5, 4, .97) 0%, rgba(8, 5, 4, .82) 37%, rgba(8, 5, 4, .11) 72%),
    linear-gradient(0deg, rgba(8, 5, 4, .94), transparent 45%);
}

.cinema-feature::before,
.cinema-feature::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  opacity: .42;
  background: repeating-linear-gradient(90deg, transparent 0 28px, var(--gold) 28px 45px, transparent 45px 73px);
}

.cinema-feature::before { top: 0; }
.cinema-feature::after { bottom: 0; }

.cinema-feature-copy {
  width: min(760px, 86vw);
  margin-left: clamp(1.3rem, 7vw, 8rem);
  padding: 7rem 0 6rem;
}

.cinema-overline {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .65rem;
  font-weight: 850;
}

.cinema-overline i {
  padding: .25rem .5rem;
  border: 1px solid rgba(230, 183, 79, .45);
  color: #c2b79f;
  font-style: normal;
  font-size: .52rem;
}

.cinema-feature h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.5vw, 8.5rem);
  font-weight: 400;
  line-height: .83;
  letter-spacing: -.055em;
  text-shadow: 0 10px 50px rgba(0, 0, 0, .55);
}

.cinema-feature h2 em {
  color: var(--gold);
  font-weight: 400;
}

.cinema-feature-copy > p:not(.cinema-overline, .cinema-load-status) {
  max-width: 640px;
  margin: 2rem 0;
  color: #d8cdbb;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-style: italic;
}

.cinema-begin {
  min-width: min(100%, 420px);
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: .9rem 1.25rem;
  border: 1px solid var(--gold);
  background: linear-gradient(110deg, var(--gold), #f2ce75);
  color: #1b0e08;
  cursor: pointer;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cinema-begin:not(:disabled):hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(230, 183, 79, .22);
  filter: brightness(1.05);
}

.cinema-begin:disabled { cursor: wait; filter: grayscale(.5); opacity: .62; }
.cinema-begin-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(27, 14, 8, .55); border-radius: 50%; padding-left: 3px; }
.cinema-begin b, .cinema-begin small { display: block; }
.cinema-begin b { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; }
.cinema-begin small { margin-top: .2rem; color: rgba(27, 14, 8, .7); font-size: .58rem; letter-spacing: .04em; }
.cinema-load-status { min-height: 1.4rem; margin: .6rem 0 0; color: #998e7d; font-size: .62rem; letter-spacing: .05em; }

.cinema-feature-index {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(2rem, 6vw, 5rem);
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 183, 79, .55);
  border-radius: 50%;
  background: rgba(23, 10, 8, .58);
  backdrop-filter: blur(7px);
  transform: rotate(5deg);
  text-align: center;
}

.cinema-feature-index::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(230, 183, 79, .36); border-radius: inherit; }
.cinema-feature-index span, .cinema-feature-index small { position: relative; max-width: 100px; font-size: .48rem; letter-spacing: .13em; text-transform: uppercase; }
.cinema-feature-index strong { position: relative; color: var(--gold); font-family: var(--serif); font-size: 2.5rem; line-height: 1; }

.cinema-player {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: #000;
  color: #fff;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

.cinema-player.active { display: block; }
.cinema-player:focus { outline: none; }
.cinema-stage, .cinema-scene, .cinema-vignette, .cinema-grain, .cinema-curtain { position: absolute; inset: 0; }
.cinema-stage { overflow: hidden; background: #000; }
.cinema-scene { opacity: 0; overflow: hidden; transition-property: opacity; transition-duration: 1.35s; transition-timing-function: ease-in-out; }
.cinema-scene.is-active { opacity: 1; }
.cinema-scene.transition-cut { transition-duration: .08s; }
.cinema-scene.transition-fade-black { transition-duration: 1.8s; }
.cinema-scene img, .cinema-scene video { width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }

.cinema-vignette { z-index: 5; pointer-events: none; background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .42) 78%, rgba(0, 0, 0, .86) 120%), linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 40%); }
.cinema-grain { z-index: 6; pointer-events: none; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; animation: cinema-grain .3s steps(2) infinite; }
@keyframes cinema-grain { 50% { transform: translate3d(-1%, 1%, 0); } }

.cinema-caption {
  position: absolute;
  z-index: 10;
  left: clamp(1.4rem, 7vw, 8rem);
  bottom: clamp(7rem, 15vh, 10rem);
  width: min(780px, calc(100% - 3rem));
  text-shadow: 0 3px 25px #000;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}
.cinema-caption.is-visible { opacity: 1; transform: translateY(0); }
.cinema-caption[data-position="right"] { left: auto; right: clamp(1.4rem, 7vw, 8rem); text-align: right; }
.cinema-caption[data-position="right"] .cinema-scene-copy { margin-left: auto; }
.cinema-caption[data-position="center"] { left: 50%; bottom: clamp(8rem, 17vh, 12rem); transform: translate(-50%, 22px); text-align: center; }
.cinema-caption[data-position="center"].is-visible { transform: translate(-50%, 0); }
.cinema-chapter { margin: 0 0 .8rem; color: #e9c56b; font-size: .62rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 850; }
.cinema-scene-title { margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 7vw, 8rem); font-weight: 400; line-height: .86; letter-spacing: -.055em; }
.cinema-scene-copy { max-width: 660px; margin: 1.1rem 0 0; color: #eadfc8; font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.5rem); font-style: italic; }
.cinema-caption[data-style="impact"] .cinema-scene-title { color: #f0c861; text-transform: uppercase; letter-spacing: -.035em; }
.cinema-caption[data-style="punchline"] .cinema-scene-title { color: #fff3d5; font-style: italic; }
.cinema-caption[data-style="title"] .cinema-scene-title { color: #f0c861; }
.cinema-caption[data-style="quiet"] .cinema-scene-title { font-size: clamp(2.6rem, 5.3vw, 6rem); font-style: italic; }
.cinema-caption[data-style="anthem"] .cinema-scene-title { color: #f5d887; text-transform: uppercase; text-shadow: 0 3px 25px #000, 0 0 50px rgba(213, 53, 37, .45); }
.cinema-demo-badge { position: absolute; z-index: 12; top: 1.2rem; left: 1.2rem; padding: .35rem .55rem; border: 1px solid rgba(255, 255, 255, .32); background: rgba(0, 0, 0, .32); color: rgba(255, 255, 255, .72); backdrop-filter: blur(5px); font-size: .5rem; text-transform: uppercase; letter-spacing: .14em; }

.cinema-curtain { z-index: 30; display: grid; place-items: center; background: #000; opacity: 1; pointer-events: none; transition: opacity 1.2s ease; }
.cinema-curtain span { color: var(--gold); font-family: var(--serif); font-size: clamp(1rem, 2vw, 1.5rem); letter-spacing: .2em; text-transform: uppercase; }
.cinema-player.started .cinema-curtain { opacity: 0; }

.cinema-controls {
  position: absolute;
  z-index: 40;
  left: 1rem;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: auto auto auto minmax(80px, 1fr) auto auto auto;
  align-items: center;
  gap: .7rem;
  padding: .65rem .8rem;
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(7, 5, 4, .63);
  backdrop-filter: blur(14px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease;
}
.cinema-player.controls-hidden .cinema-controls:not(:focus-within) { opacity: 0; transform: translateY(15px); pointer-events: none; }
.cinema-control, .cinema-exit { min-width: 40px; min-height: 40px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.cinema-control:hover, .cinema-control:focus-visible, .cinema-exit:hover, .cinema-exit:focus-visible { color: var(--gold); outline: 1px solid rgba(230, 183, 79, .55); outline-offset: 2px; }
.cinema-time { color: rgba(255, 255, 255, .68); font-variant-numeric: tabular-nums; font-size: .6rem; }
.cinema-seek { width: 100%; accent-color: var(--gold); cursor: pointer; }
.cinema-exit { padding-inline: .7rem; text-transform: uppercase; letter-spacing: .13em; font-size: .58rem; white-space: nowrap; }
.cinema-exit span { margin-left: .4rem; font-size: 1rem; vertical-align: -1px; }

@media (max-width: 700px) {
  .cinema-feature { min-height: 0; display: block; }
  .cinema-feature-art { bottom: auto; height: clamp(330px, 95vw, 470px); }
  .cinema-feature-art img { object-position: 43% 20%; filter: saturate(.85) contrast(1.05) brightness(.95); transform: none; }
  .cinema-feature-scrim { background: linear-gradient(0deg, #070504 0%, #070504 calc(100% - clamp(330px, 95vw, 470px)), transparent calc(100% - clamp(330px, 95vw, 470px) + 80px)); }
  .cinema-feature-copy { width: auto; margin: 0 1.3rem; padding: calc(clamp(330px, 95vw, 470px) + 1rem) 0 4rem; }
  .cinema-feature h2 { font-size: clamp(3.8rem, 17vw, 6.2rem); }
  .cinema-feature-index { display: none; }
  .cinema-overline { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .cinema-begin { min-width: 100%; }
  .cinema-caption { left: 1.3rem; bottom: 7.5rem; width: calc(100% - 2.6rem); }
  .cinema-caption[data-position="right"] { left: 1.3rem; right: auto; text-align: left; }
  .cinema-caption[data-position="right"] .cinema-scene-copy { margin-left: 0; }
  .cinema-caption[data-position="center"] { left: 50%; bottom: 8rem; }
  .cinema-scene-title { font-size: clamp(1.6rem, 7vw, 2.6rem); line-height: 1.06; }
  .cinema-caption[data-style="quiet"] .cinema-scene-title { font-size: clamp(1.6rem, 7vw, 2.6rem); }
  .cinema-scene-copy { margin-top: .65rem; font-size: 1rem; line-height: 1.35; }
  .cinema-chapter { margin-bottom: .6rem; font-size: .55rem; }
  .cinema-controls { left: max(.5rem, env(safe-area-inset-left)); right: max(.5rem, env(safe-area-inset-right)); grid-template-columns: auto auto minmax(50px, 1fr) auto auto; gap: .2rem; padding: .4rem; }
  .cinema-control, .cinema-exit { min-width: 44px; min-height: 44px; }
  .cinema-time { display: none; }
  .cinema-seek { min-width: 0; height: 44px; }
  .cinema-exit { padding-inline: .35rem; font-size: 0; }
  .cinema-exit span { margin: 0; font-size: 1.4rem; }
}

@media (max-width: 700px) and (orientation: portrait) {
  .cinema-stage { background: radial-gradient(ellipse at 50% 30%, #28190f, #080605 70%); }
  .cinema-scene { top: 12%; bottom: auto; height: auto; aspect-ratio: 16 / 9; }
  .cinema-caption,
  .cinema-caption[data-position="right"],
  .cinema-caption[data-position="center"] { left: 1.2rem; right: 1.2rem; top: calc(12% + 56.25vw + 1.5rem); bottom: auto; width: auto; text-align: left; transform: translateY(12px); }
  .cinema-caption.is-visible,
  .cinema-caption[data-position="center"].is-visible { transform: translateY(0); }
  .cinema-caption .cinema-scene-copy { margin-left: 0; }
  .cinema-demo-badge { top: max(.7rem, env(safe-area-inset-top)); left: .7rem; }
  .cinema-vignette { background: radial-gradient(ellipse at 50% 30%, transparent 25%, rgba(0, 0, 0, .3) 80%); }
}

@media (orientation: landscape) and (max-height: 500px) {
  .cinema-caption,
  .cinema-caption[data-position="right"],
  .cinema-caption[data-position="center"] { bottom: calc(5rem + env(safe-area-inset-bottom)); width: min(560px, calc(100% - 3rem)); }
  .cinema-scene-title,
  .cinema-caption[data-style="quiet"] .cinema-scene-title { font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.05; }
  .cinema-scene-copy { margin-top: .4rem; font-size: .9rem; line-height: 1.25; }
  .cinema-chapter { margin-bottom: .4rem; font-size: .5rem; }
  .cinema-controls { padding-block: .3rem; }
  .cinema-demo-badge { top: .5rem; left: max(.7rem, env(safe-area-inset-left)); }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-scene img, .cinema-scene video { animation: none !important; transform: none !important; }
  .cinema-scene { transition-duration: .01ms !important; }
  .cinema-grain { animation: none; }
}
