.film__poster {
  position: relative; display: grid; align-items: end; isolation: isolate;
  aspect-ratio: 1585 / 992; overflow: clip;
  padding: var(--gap); background: var(--ink); color: var(--ground);
}
.film__poster img, .film__poster::before { position: absolute; inset: 0; }
.film__poster img { width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.film__poster::before {
  content: ""; z-index: -1;
  background: linear-gradient(to top, rgb(18 14 12 / .44), rgb(18 14 12 / .28) 24%, transparent 62%);
}
.film__panel { display: flex; justify-content: space-between; align-items: center; gap: var(--title-lead); }
@media (prefers-reduced-motion: no-preference) {
  .film__poster[data-film-reveal] img { transform: var(--film-track-start); }
  .film__poster[data-film-reveal="playing"] img {
    animation: film-track-in var(--film-track-duration) var(--ease-entrance) both;
  }

  @media (max-width: 760px) {
    .film__poster[data-film-reveal] img { transform: var(--film-track-start-stacked); }
    .film__poster[data-film-reveal="playing"] img {
      animation-duration: var(--film-track-duration-stacked);
    }
  }
}

@keyframes film-track-in {
  to { transform: translateX(0) scale(1); }
}

.film__copy p { margin-top: var(--title-lead); }
.film__play {
  flex: none; display: grid; place-items: center; width: clamp(52px, 6vw, 88px); aspect-ratio: 1;
  border: var(--hair) solid color-mix(in srgb, currentColor 50%, transparent); border-radius: 50%;
  transition: color var(--dur-ui) var(--ease-ui), background-color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
}
.film__play svg { width: var(--icon-h); height: auto; margin-left: 2px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .film__play:hover { background: var(--ground); border-color: var(--ground); color: var(--ink); }
}
.film__screen { position: relative; width: min(78vw, 100cqw, calc(100cqh * 16 / 9)); }
.film__screen iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
@media (max-width: 760px) {
  .film__poster { aspect-ratio: 4 / 3; }
  .film-lightbox .lightbox__stage { container-type: size; }
  .film-lightbox[open] { grid-template-rows: auto minmax(0, 1fr); }
  .film__screen { width: min(100cqw, calc(100cqh * 16 / 9)); }
}
