/*
 * Motion start states. EVERYTHING here is scoped to html.motion-ok, which head.js only sets
 * when reduced motion is off and which is removed again if site.js/GSAP fail to boot.
 * Without it the page is fully visible and static.
 */
html.motion-ok [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
html.motion-ok [data-frame]:not(.is-revealed) { clip-path: inset(100% 0 0 0); }
html.motion-ok [data-line]:not(.is-in) { transform: scaleX(0); }
html.motion-ok [data-split-words]:not(.is-split) { visibility: hidden; }
html.motion-ok [data-split-words].is-split:not(.is-in) .word-inner { transform: translateY(110%); }
html.motion-ok .hero:not(.is-intro) .hero__eyebrow,
html.motion-ok .hero:not(.is-intro) .hero__description,
html.motion-ok .hero:not(.is-intro) .hero__actions,
html.motion-ok .hero:not(.is-intro) .hero__bottom,
html.motion-ok .hero:not(.is-intro) .hero__next,
html.motion-ok .hero:not(.is-intro) .hero__ruler { opacity: 0; }
html.motion-ok .hero:not(.is-intro) .hero__window { clip-path: inset(100% 0 0 0); }
html.motion-ok [data-cta]:not(.is-in) .cta__button { transform: scale(.8); opacity: 0; }
html.motion-ok[data-effect-reveal='0'] [data-reveal] { opacity: 1; transform: none; }
html.motion-ok[data-effect-reveal='0'] [data-frame] { clip-path: none; }
html.motion-ok[data-effect-reveal='0'] [data-line] { transform: none; }
html.motion-ok[data-effect-reveal='0'] [data-split-words] { visibility: visible; }
html.motion-ok[data-effect-reveal='0'] [data-split-words] .word-inner { transform: none !important; }
html.motion-ok[data-effect-reveal='0'] [data-cta] .cta__button { transform: none; opacity: 1; }

.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .06em .16em; margin: -.08em -.06em -.16em; }
.word-inner { display: inline-block; will-change: transform; }
[data-read] .w { display: inline; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .marquee-band__track { animation: none; }
    .scroll-cue__line::after { animation: none; }
}
