/* Motion system — restrained; everything disabled under prefers-reduced-motion. */

@keyframes m-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes m-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes m-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes m-spin { to { transform: rotate(360deg); } }

/* Scroll reveal (content is visible without JS; .js is set in <head>) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--m-ease-out), transform .9s var(--m-ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .m-why__item[data-reveal].is-visible:nth-child(even) { transform: translateY(2.5rem); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js .m-word, .js .m-hero__kicker, .js .m-hero__text, .js .m-hero__actions, .js .m-hero__floats { opacity: 1; transform: none; }
	.m-hero__img, .is-active .m-hero__img { transform: none; }
	.m-float { animation: none; }
}

/* Site-wide entrance effects (auto-reveal.js adds these classes; nothing is hidden without JS) */
.m-ar-on .m-ar { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1) !important; transition-delay: var(--ar-d, 0ms) !important; }
.m-ar-on .m-ar--start { transform: translate3d(24px, 0, 0); }
.m-ar-on .m-ar--end { transform: translate3d(-24px, 0, 0); }
[dir="ltr"].m-ar-on .m-ar--start, [dir="ltr"] .m-ar-on .m-ar--start { transform: translate3d(-24px, 0, 0); }
[dir="ltr"].m-ar-on .m-ar--end, [dir="ltr"] .m-ar-on .m-ar--end { transform: translate3d(24px, 0, 0); }
.m-ar-on .m-ar--zoom { transform: scale(.97); }
.m-ar-on .m-ar.is-in { opacity: 1; transform: none; }
@media (max-width: 767px) {
	.m-ar-on .m-ar--start, .m-ar-on .m-ar--end { transform: translate3d(0, 22px, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.m-ar-on .m-ar { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print { .m-ar-on .m-ar { opacity: 1 !important; transform: none !important; } }
