/* Aangan Studio — states that exist only when scripted motion runs (html.js-motion).
   Without it every element is simply shown: reduced motion and failed scripts both get the finished page. */

/* Hidden until motion.js takes over, so nothing flashes before it animates in. */
.js-motion [data-reveal],
.js-motion [data-hero-title] { visibility: hidden; }
.js-motion [data-hero-rise] { opacity: 0; }

/* Endless motion runs only on screen: live.js gives [data-live] .is-live while in view. Off screen, even a
   compositor animation costs a main-thread frame every 16 ms. Pseudo-elements are named: `*` misses them. */
.js-motion [data-live]:not(.is-live) *, .js-motion [data-live]:not(.is-live) *::before, .js-motion [data-live]:not(.is-live) *::after { animation-play-state: paused !important; }

.split-line { padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split-word { display: inline-block; }

/* Theme change: the new theme opens as a circle (theme.js); no default cross-fade. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
