/* Cinematic motion layer — start-states scoped under html.cs-motion ONLY.
   motion.js adds .cs-motion only when JS runs AND prefers-reduced-motion is off,
   so content is always visible without JS / under reduced motion (§9.85). */
.cs-motion .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.22,.8,.3,1), transform .9s cubic-bezier(.22,.8,.3,1); will-change: opacity, transform; }
.cs-motion .reveal.in { opacity: 1; transform: none; }

.cs-motion .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.3,1); }
.cs-motion .reveal-stagger.in > * { opacity: 1; transform: none; }
.cs-motion .reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.cs-motion .reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.cs-motion .reveal-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.cs-motion .reveal-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.cs-motion .reveal-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.cs-motion .reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.cs-motion .reveal-stagger.in > *:nth-child(7) { transition-delay: .47s; }
.cs-motion .reveal-stagger.in > *:nth-child(8) { transition-delay: .54s; }

@media (prefers-reduced-motion: reduce) {
    .cs-motion .reveal, .cs-motion .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
    .hero-slide.active { animation: none !important; }
}
