.film-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #101810;
}

.ambient-film {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.film-error {
  position: absolute;
  inset-inline-end: .75rem;
  inset-block-end: .75rem;
  z-index: 1;
  max-inline-size: calc(100% - 1.5rem);
  border: 1px solid #ffffff42;
  border-radius: .375rem;
  background: #0b0e0bef;
  color: #f6f7ef;
  font-size: .8125rem;
  line-height: 1.25;
  padding: .625rem .75rem;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-enter:not(:is(.film-chapter-copy, .audience-story, .contact-copy)) {
    animation: motion-enter .65s cubic-bezier(.2, .65, .3, 1) both;
  }

  .film-chapter-copy.motion-waiting:not(:focus-within) {
    opacity: 0;
    pointer-events: none;
  }

  .film-chapter-copy.motion-enter > * {
    animation: film-copy-reveal .6s cubic-bezier(.2, .65, .3, 1) both;
  }

  .film-chapter-copy.motion-enter > :is(h2, h3) { animation-delay: .12s; }
  .film-chapter-copy.motion-enter > p { animation-delay: .25s; }

  .contact-copy.motion-waiting > :is(.overline, h2, p),
  .contact-copy.motion-waiting .contact-benefits li {
    opacity: 0;
  }

  .contact-copy.motion-enter > :where(.overline, h2, p),
  .contact-copy.motion-enter h2 em {
    animation: film-copy-reveal .55s cubic-bezier(.2, .65, .3, 1) both;
  }

  .contact-copy.motion-enter > h2 { animation-delay: .07s; }
  .contact-copy.motion-enter h2 em { display: inline-block; animation-delay: .23s; }
  .contact-copy.motion-enter > p { animation-delay: .36s; }

  .contact-copy.motion-enter .contact-benefits li {
    animation: contact-benefit-reveal .46s cubic-bezier(.2, .65, .3, 1) .58s both;
  }

  .contact-copy.motion-enter .contact-benefits li:nth-child(2) { animation-delay: .73s; }
  .contact-copy.motion-enter .contact-benefits li:nth-child(3) { animation-delay: .88s; }

  @keyframes contact-benefit-reveal {
    from { opacity: 0; transform: translateX(-.8rem); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes film-copy-reveal {
    from { opacity: 0; transform: translateY(.9rem); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes motion-enter {
    from { opacity: .55; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
