/* Keep the cinematic at a deliberate scale, even on ultrawide monitors.
   The poster and video share their bounds, crop and edge treatment. */
@media (min-width: 1024px) {
  .cinema {
    --cinema-max-width: 2048px;
    min-height: 640px;
    height: clamp(640px, calc(100svh - 220px), 820px);
    max-height: 820px;
    background: radial-gradient(ellipse at 50% 40%, #202a2e, #11191d 58%, #0c1012 82%);
  }

  .cinema-media {
    inset: 0 auto 0 50%;
    width: min(100%, var(--cinema-max-width));
    max-width: none;
    height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: 50% 22%;
  }

  .cinema-heading {
    width: min(960px, 74vw);
    margin-top: 0;
    padding: 36px 0 128px;
  }

  .cinema-shade { pointer-events: none; }
  .hero-bottom { bottom: 56px; }
}

@media (min-width: 2049px) {
  .cinema-media {
    /* Fade into the full-width atmosphere, without stretching a second video. */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
}
