/* Subtle motion. Content is only hidden when JS is active (html.js), so nothing is lost without JS.
   Only the hero intro below touches the hero photo (a short fade). */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }

/* Hero intro, about 1.3 s in total and then completely still: the headline fades in with a small rise, the rest of the copy follows,
   and the product photo fades in a little later (opacity only: no zoom, no rotation, no movement, so overlays stay aligned). */
.js .hero-anim { opacity: 0; transform: translateY(10px); }
.js body.is-ready .hero-anim { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js body.is-ready .hero-anim--1 { transition-delay: 0s; }
.js body.is-ready .hero-anim--2 { transition-delay: 0.08s; }
.js body.is-ready .hero-anim--3 { transition-delay: 0.3s; }
.js body.is-ready .hero-anim--4 { transition-delay: 0.4s; }
.js .hero-poster { opacity: 0; }
.js body.is-ready .hero-poster { opacity: 1; transition: opacity 0.8s var(--ease) 0.4s; }

/* Hide the page briefly while a non-default saved language is applied (see js/boot.js). A fallback keeps it from staying hidden. */
.i18n-wait body { opacity: 0; animation: i18n-show 0.01s 1.5s forwards; }
@keyframes i18n-show { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero-anim, .js .hero-poster { opacity: 1 !important; transform: none !important; }
}
