/* motion.css: the styles motion.js needs (copied into each site with it). Only active once JS has run
   (html.js), so the page still reads fully without JavaScript. */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .wi { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2, .75, .15, 1); }
.js [data-split].in .wi { transform: none; }

.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.2, .75, .15, 1); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].in { opacity: 1; transform: none; }

.js [data-unveil] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1); }
.js [data-unveil].in { clip-path: inset(0 0 0 0); }
.js [data-unveil] img { transform: scale(1.18); transition: transform 2.2s cubic-bezier(.2, .75, .15, 1); }
.js [data-unveil].in img { transform: scale(1); }

[data-parallax] { will-change: transform; }
[data-magnetic] { transition: transform .35s cubic-bezier(.2, .75, .15, 1); }

[data-marquee] { overflow: hidden; }
[data-marquee] .marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-speed, 40s) linear infinite; }
[data-marquee]:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

[data-progress] { transform-origin: 0 50%; transform: scaleX(0); }

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