/* Only the artwork moves; card dimensions and native scroll behavior stay put. */
.scroll-motion-active .hero-painting > img {
  transform: translate3d(0, var(--hero-drift, 0px), 0) scale(var(--hero-zoom,1.18));
  transform-origin: center;
  transition: none;
}

.scroll-motion-active .hero-copy {
  transform: translate3d(0, var(--hero-rise, 0px), 0);
  opacity: var(--hero-opacity, 1);
  transition: none;
}

/* A focused link should remain steady and fully legible. */
.scroll-motion-active .hero-copy:focus-within {
  transform: none;
  opacity: 1;
}

.scroll-motion-active .studio-photo > img {
  transform: translate3d(0, var(--studio-drift, 0px), 0) scale(1.14);
  transform-origin: center;
  transition: none;
}

.scroll-motion-active .collection .art-image-button img {
  transform: none; /* Keep the complete painting visible at its natural ratio. */
  transform-origin: center;
  transition: none;
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  height: 3px;
  background: var(--coral, #111);
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
}

@media (max-width: 600px) {
  .scroll-progress { height: 2px; }
}



/* Both slideshow layers share the same bounded scroll movement. */
.scroll-motion-active .showcase-media{transform:translate3d(0,var(--showcase-drift,0px),0) scale(1.08)}

