/* Motion stays within the existing hero layout. */
@media (prefers-reduced-motion: no-preference) {
    .lms-home .hero .headline-left,
    .lms-home .hero .headline-right,
    .lms-home .hero .hero-copy,
    .lms-home .hero .hero-side {
        animation: hero-arrive 650ms cubic-bezier(.2,.7,.3,1) both;
    }
    .lms-home .hero .headline-right { animation-delay: 100ms; }
    .lms-home .hero .hero-copy { animation-delay: 160ms; }
    .lms-home .hero .hero-side { animation-delay: 240ms; }
    .lms-home .hero .hero-visual > img {
        animation: hero-photo-arrive 800ms ease-out both;
        transform-origin: 50% 80%;
    }
    .lms-home .hero .headline-star { animation: hero-sparkle 1600ms 450ms ease-in-out 2; }
    .lms-home .hero .feature-art > i { animation: hero-sparkle 1600ms 700ms ease-in-out 2; }
    .lms-home .hero .hero-perks > span svg { transition: transform 200ms ease; }
    .lms-home .hero .hero-perks > span:hover svg { transform: translateY(-3px) rotate(-5deg); }
    .lms-home .hero .hero-feature { transition: transform 220ms ease, box-shadow 220ms ease; }
    .lms-home .hero .hero-feature:hover,
    .lms-home .hero .hero-feature:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 28px #21133318; }
    @media (hover: hover) and (pointer: fine) {
        .lms-home .hero .hero-visual > img {
            transform: perspective(1100px) translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0) rotateX(var(--hero-rx, 0deg)) rotateY(var(--hero-ry, 0deg));
        }
        .lms-home .hero .hero-orbit {
            transform: translate3d(var(--orbit-x, 0px), var(--orbit-y, 0px), 0) rotate(-20deg);
        }
        .lms-home .hero.is-tracking .hero-visual > img { will-change: transform; }
    }
}
@keyframes hero-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-photo-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-sparkle { 0%,100% { transform: rotate(0) scale(1); } 50% { transform: rotate(16deg) scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
    .lms-home .hero *, .lms-home .hero *::before, .lms-home .hero *::after { animation: none !important; transition: none !important; }
}
