/* Progressive enhancement: content stays visible if this optional script fails. */
:is(.internal-hero, .product-hero) {
  --page-entry-duration: 1200ms;
}

.page-entry-item { will-change: transform, opacity; }
/* The reveal changes visibility only: the photograph remains stationary. */
.page-entry-reveal { will-change: clip-path; }

@media (prefers-reduced-motion: reduce) {
  :is(.internal-hero, .product-hero) {
    --page-entry-duration: 0ms;
  }
  .page-entry-item, .page-entry-reveal { will-change: auto; }
}
