/*
 * GSAP choreography runtime (js/motion-choreography.js adds html.rv-gsap-motion).
 * Legacy CSS entrance rules are neutralised here so their transitions and
 * !important keyframes cannot fight the scroll-driven scenes.
 */

/*
 * Scene targets from build until their entrance finishes: a CSS transition
 * would animate the inline start state and, as a transition, override the
 * Web Animation in the cascade.
 */
html.rv-gsap-motion .rv-gsap-live {
  transition: none !important;
}

/* Wave hero: copy entrance is owned by the GSAP hero timeline. */
html.rv-gsap-motion body.wave-experience-ready .wave-hero [data-wave-reveal] {
  opacity: 1;
  transform: none;
}

html.rv-gsap-motion body.wave-experience-ready .wave-hero.is-ready [data-wave-reveal],
html.rv-gsap-motion body.wave-experience-ready .wave-hero.is-ready [data-wave-reveal]:nth-child(n) {
  animation: none !important;
}

/* Showreel: the one-shot stage and chip scenes replace the class transitions. */
html.rv-gsap-motion body.wave-experience-ready [data-showreel-reveal],
html.rv-gsap-motion body.wave-experience-ready [data-showreel-stage] {
  opacity: 1;
  transform: none;
  transition: none !important;
}
