/* Reversible scenes compose with the existing one-time entrances. No scene
   transforms the filming section or a gallery ancestor: sticky remains native. */
@media (prefers-reduced-motion:no-preference) {
  .scroll-scenes-on .hero-copy {
    translate: 0 var(--scene-hero-copy-y,0px);
  }
  .scroll-scenes-on .hero-visual {
    translate: var(--scene-hero-video-x,0px) var(--scene-hero-video-y,0px);
    scale: var(--scene-hero-video-scale,1);
    transform-origin: 55% 45%;
  }
  .scroll-scenes-on .hero-copy:focus-within,
  .scroll-scenes-on .hero-visual:focus-within {
    translate: none;
    scale: 1;
  }
  .scroll-scenes-on .film-grid > .film-card {
    scale: var(--scene-film-scale,1);
    transform-origin: 50% 15%;
  }
  .scroll-scenes-on .film-grid > .film-card:first-child {
    translate: calc(0px - var(--scene-film-x,0px)) var(--scene-film-y-a,0px);
  }
  .scroll-scenes-on .film-grid > .film-card:nth-child(2) {
    translate: var(--scene-film-x,0px) var(--scene-film-y-b,0px);
  }
  .scroll-scenes-on .film-grid > .film-card:focus-within { translate: none; scale: 1; }

  /* Transform belongs to scroll; individual scale remains available for hover. */
  .scroll-scenes-on.motion-enabled .film-image > img,
  .scroll-scenes-on.motion-enabled .film-card:hover .film-image > img {
    transform: translate3d(0,var(--scene-image-y,0px),0) scale(var(--scene-image-zoom,1));
  }
  .scroll-scenes-on.motion-enabled .about-portrait > img {
    transform: translate3d(0,var(--scene-portrait-y,0px),0) scale(var(--scene-portrait-zoom,1));
    transform-origin: 50% 56%;
  }
  .scroll-scenes-on .permit-copy > h2,
  .scroll-scenes-on .film-heading > h2,
  .scroll-scenes-on .survey-copy > h2,
  .scroll-scenes-on .about-details h2,
  .scroll-scenes-on .questions > div:first-child > h2,
  .scroll-scenes-on .contact-main > h2 {
    translate: 0 var(--scene-title-y,0px);
    scale: var(--scene-title-scale,1);
    transform-origin: 0% 80%;
  }
  .scroll-scenes-on .dossier-list li {
    opacity: var(--scene-row-opacity,1);
    translate: var(--scene-row-x,0px) 0;
    border-top-color: color-mix(in srgb,var(--lime) var(--scene-row-highlight,0%),#465249);
  }
}
@media (prefers-reduced-motion:reduce), print {
  .scroll-scenes-on .hero-copy,
  .scroll-scenes-on .hero-visual,
  .scroll-scenes-on .film-grid > .film-card,
  .scroll-scenes-on .permit-copy > h2,
  .scroll-scenes-on .film-heading > h2,
  .scroll-scenes-on .survey-copy > h2,
  .scroll-scenes-on .about-details h2,
  .scroll-scenes-on .questions > div:first-child > h2,
  .scroll-scenes-on .contact-main > h2,
  .scroll-scenes-on .dossier-list li { translate: none !important; scale: 1 !important; opacity: 1 !important; }
  .scroll-scenes-on.motion-enabled .film-image > img,
  .scroll-scenes-on.motion-enabled .about-portrait > img { transform: none !important; }
}
