/* SITEGALLERYPHOTOS / TOPO09-SCROLL
   Motion layer ONLY. The TOPO08 design remains unchanged at progress=0.
   The single sticky stage exists entirely in the first hero. */
.sg09-scroll-stage { position: relative; height: 320svh; background: #070707; isolation: isolate; }
.sg09-scroll-stage > .sg08-hero { position: sticky !important; top: 0; height: 100svh; min-height: 0; overflow: hidden; background: #050505; }
.sg09-scroll-stage .sg08-ink { will-change: transform; transform: translate3d(0, var(--sg09-ink-y, 0%), 0) scale(1.03) !important; }
.sg09-scroll-stage .sg08-composition .sg08-front-card {
  transform: translate3d(var(--sg09-front-x, 0px), var(--sg09-front-y, 0px), 0) rotate(var(--sg09-front-rotation, -3.4deg)) !important;
  will-change: transform;
}
.sg09-scroll-stage .sg08-composition .sg08-back-card {
  transform: translate3d(var(--sg09-back-x, 0px), var(--sg09-back-y, 0px), 0) rotate(var(--sg09-back-rotation, 5deg)) !important;
  will-change: transform;
}
.sg09-scroll-stage .sg08-crosses { opacity: var(--sg09-cross-opacity, 1); }
.sg09-scroll-stage .sg08-scroll { opacity: var(--sg09-scroll-opacity, 1); }
.sg09-scroll-stage .sg08-menu { position: absolute; z-index: 50; }
.sg09-scroll-stage .sg08-hero { contain: paint; }
/* A short black layer under the moving background is intentional. */
@media (max-width: 650px) {
  .sg09-scroll-stage { height: 270svh; }
  .sg09-scroll-stage .sg08-menu { max-width: calc(100vw - 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .sg09-scroll-stage { height: 120svh; }
  .sg09-scroll-stage .sg08-ink,
  .sg09-scroll-stage .sg08-front-card,
  .sg09-scroll-stage .sg08-back-card { will-change: auto; }
}
