/* film: video tiles in the Good Peeps look. A soft cream frame, a floating pill tag, a slight tilt. */
.film { position: absolute; margin: 0; left: 2.5%; bottom: .5rem; width: min(19rem, 27%); transform: rotate(-3deg); z-index: 1; will-change: transform; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px;
  background: var(--gp-deep, #2f543e); box-shadow: 0 0 0 4px var(--gp-cream, #f5f0e6), 0 18px 40px rgba(20, 30, 24, .28); }
.film .tag--float { left: -1.2rem; top: -.7rem; transform: rotate(-5deg); }
.film .tag--float.tag--end { left: auto; right: -1rem; top: auto; bottom: -.6rem; transform: rotate(4deg); }
.film--season { left: 3%; bottom: .2rem; width: min(17rem, 25%); transform: rotate(2.5deg); }

html[data-mode="present"] .film { width: min(13rem, 20%); bottom: .3rem; }
@media (max-width: 900px) {
  .film, .film--season { position: relative; left: auto; bottom: auto; width: 100%; transform: none; margin: 0 0 1.1rem; }
  .film .tag--float { left: .7rem; top: .7rem; transform: none; }
  .film .tag--float.tag--end { right: .7rem; bottom: .7rem; transform: none; }
}
/* intro: the opening film covers the hero section, under the copy and the wave; the 3D canvas waits behind it */
.intro-film { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 1; transition: opacity .65s ease; pointer-events: none; }
.intro-film.is-out { opacity: 0; }
html[data-intro="on"] .stage canvas { opacity: 0 !important; }
html[data-intro="on"] #top .labels { visibility: hidden; }
/* cine: a film-quality still as a photo tile */
/* will-change gives a rotated, shadowed picture its own compositor layer, rastered before it scrolls in. Without it the
   tile was rastered on the frame it first appeared: one 67 to 100 ms frame at that boundary (tools/loaf.mjs found it). */
.card--shot .cine { display: block; width: 100%; height: 100%; min-height: 9.5rem; object-fit: cover; object-position: 40% 50%; border-radius: 18px; transform: rotate(2deg); will-change: transform;
  box-shadow: 0 0 0 4px #fff, 0 14px 32px rgba(72, 64, 65, .18); }
@media print { .film, .intro-film { display: none; } }
