.cinema-hero {
  --cinema-ink: #dff0ff;
  --cinema-fade: 900ms;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - 4.5rem);
  min-height: calc(100svh - 4.5rem);
  overflow: hidden;
  background: #080c16;
}
.cinema-visual, .cinema-frame, .cinema-frame img, .cinema-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cinema-visual { z-index: -2; }
.cinema-frame {
  opacity: 0;
  transition: opacity var(--cinema-fade) cubic-bezier(.25, .7, .3, 1);
}
.cinema-frame.is-current { z-index: 2; opacity: 1; }
.cinema-frame.is-previous { z-index: 1; transition: opacity 1ms var(--cinema-fade); }
.cinema-frame img, .cinema-frame video { object-fit: cover; object-position: var(--scene-focus, 72%) 50%; }
.cinema-frame video { display: block; opacity: 0; transition: opacity 240ms ease-out; }
.cinema-frame video.is-ready { opacity: 1; }

.cinema-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, #080c16 0%, #080c16e8 10%, #080c1650 33%, transparent 55%),
    linear-gradient(90deg, #080b15f8 0%, #080b15ed 22%, #080b15b3 40%, #080b154a 67%, #080b1514 100%);
  pointer-events: none;
}
.cinema-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4rem);
  padding-block: clamp(3.4rem, 8vh, 6rem) clamp(2.5rem, 7vh, 5rem);
}
.cinema-intro, .cinema-caption { position: relative; z-index: 1; }
.cinema-intro .eyebrow { display: flex; gap: .65rem; align-items: center; color: #c9d9f1; }
.cinema-intro h1 {
  margin-top: .9rem;
  color: white;
  font-size: clamp(3.3rem, 8.3vw, 8rem);
  font-weight: 620;
  line-height: .91;
  letter-spacing: -.075em;
}
.cinema-intro h1 > span:not(.title-period) { color: var(--cinema-ink); }
.cinema-intro > p:not(.eyebrow) {
  max-width: 28rem;
  margin-top: 1.5rem;
  color: #d4def0;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.cinema-intro .button-row { margin-top: 1.65rem; }
.cinema-intro .button-primary { color: #101827; background: #e2edff; }
.cinema-intro .button-primary:hover { background: #fff; }
.cinema-intro .button-outline { background: #0b1423ba; }
.cinema-intro .button-outline:hover { background: #253956; }

.cinema-caption {
  align-self: end;
  margin-bottom: .25rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid #9fbcdf57;
  border-radius: .85rem;
  background: #0b1424df;
  box-shadow: 0 1rem 2.5rem #060d1c66;
}
.cinema-caption .eyebrow { color: #aec9e8; font-size: .78rem; letter-spacing: .1em; }
.cinema-caption h2 {
  margin-top: .32rem;
  color: #f4f8ff;
  font-size: 1.27rem;
  line-height: 1.16;
  letter-spacing: -.028em;
}
.cinema-caption p:not(.eyebrow) { min-height: 2.7em; margin-block: .44rem .5rem; color: #cfdbec; font-size: .89rem; line-height: 1.4; }
.cinema-caption a { color: #c6dfff; font-size: .88rem; font-weight: 640; text-decoration: underline; text-underline-offset: .23em; }
.cinema-caption a:hover { color: white; }

.cinema-signal {
  position: absolute;
  right: clamp(2rem, 9vw, 9rem);
  top: 42%;
  width: clamp(10rem, 25vw, 26rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
  color: #a4d6fa;
  pointer-events: none;
}
.cinema-signal i { position: absolute; inset: 0; border: 1px solid #a4d6fa54; border-radius: 50%; }
.cinema-signal i:nth-child(2) { inset: 13%; border-color: #a4d6fa33; }
.cinema-signal i:nth-child(3) { inset: 29%; border-color: #a4d6fa3b; border-style: dashed; }
.cinema-signal::before, .cinema-signal::after {
  content: "";
  position: absolute;
  inset: 50% -6% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a4d6fa45 18%, transparent 18% 82%, #a4d6fa45 82%, transparent);
}
.cinema-signal::after { transform: rotate(90deg); }
.cinema-signal i:first-child::after {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9ecff;
  box-shadow: 0 0 .65rem #b2dcff;
}
@media (prefers-reduced-motion: no-preference) {
  .cinema-signal i:first-child { animation: cinema-orbit 28s linear infinite paused; }
  [data-playing] .cinema-signal i:first-child { animation-play-state: running; }
  @keyframes cinema-orbit { to { transform: rotate(1turn); } }
}

.cinema-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(.6rem, 2vw, 1.45rem);
  align-items: start;
  padding-bottom: clamp(4.6rem, 7vh, 5.3rem);
}
.cinema-playback {
  display: grid;
  place-items: center;
  width: 2.65rem;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid #7388ac;
  border-radius: 50%;
  background: #15223ad9;
  color: var(--cinema-ink);
  cursor: pointer;
}
.cinema-playback:hover { background: #2d4468; }
.cinema-playback i { border: .34rem solid transparent; border-left: .53rem solid currentColor; border-right: 0; margin-left: .12rem; }
[data-motion-enabled] .cinema-playback i { width: .54rem; height: .66rem; margin-left: 0; border: solid currentColor; border-width: 0 .14rem; }
.cinema-chapters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-column: 2;
  gap: clamp(.5rem, 1.65vw, 1.1rem);
}
.cinema-playback[hidden] + .cinema-chapters { grid-column: 1 / -1; }
.cinema-chapters a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .5rem 0 0;
  color: #bdcde1;
  font: 600 clamp(.78rem, 1.14vw, .95rem)/1.16 var(--display);
}
.cinema-chapters a::before, .cinema-chapters a::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: .5rem;
  background: #a3bde073;
}
.cinema-chapters a[aria-current], .cinema-chapters a:hover { color: white; }
.cinema-chapters a[aria-current]::before { background: #90bad9; }
.cinema-chapters a::after { background: #e2f4ff; transform: scaleX(0); transform-origin: left; }
.cinema-chapters a[aria-current]::after { transform: scaleX(var(--progress, 0)); }
.cinema-chapters a[aria-current]:hover::before, .cinema-chapters a:hover::before { background: #e2f4ff; }

@media (max-width: 790px) {
  .cinema-main { grid-template-columns: minmax(0, 1fr) minmax(10.75rem, 13rem); }
  .cinema-signal { right: 4%; }
}
@media (max-width: 620px) {
  .cinema-hero::before {
    background:
      linear-gradient(0deg, #080c16 0%, #080c16e6 17%, #080c1680 52%, #080c1673 75%, #080c16c2),
      linear-gradient(90deg, #080b15c7, #080b1544 82%);
  }
  .cinema-main {
    grid-template-columns: 1fr;
    align-content: space-between;
    padding-block: clamp(2rem, 6vh, 3.4rem) 1.2rem;
    gap: clamp(1.5rem, 5vh, 3.5rem);
  }
  .cinema-intro h1 { font-size: clamp(3rem, 11.75vw, 4.6rem); }
  .cinema-intro > p:not(.eyebrow) { margin-top: 1rem; }
  .cinema-intro .button-row { margin-top: 1.18rem; gap: .45rem; }
  .cinema-intro .button { min-height: 2.75rem; padding: .53rem .86rem; font-size: .86rem; }
  .cinema-signal { top: auto; right: -1.2rem; bottom: 4.2rem; transform: none; opacity: .62; }
  .cinema-caption { max-width: 22rem; margin: 0; padding: .72rem .85rem; }
  .cinema-caption p:not(.eyebrow) { min-height: 0; margin-block: .3rem; }
  .cinema-chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem .55rem; }
  .cinema-chapters a { padding-top: .35rem; font-size: .79rem; }
  .cinema-playback { width: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) { .cinema-frame.is-previous { transition-delay: 0s; } }
