/* Homepage only. Disable globally with MIAODI_HOME_MOTION.enabled in home-motion.js. */
body[data-page="home"].home-motion-enabled{--home-reveal-duration:500ms;--home-hover-duration:300ms;--home-control-duration:200ms}
@keyframes home-soft-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
body[data-page="home"].home-motion-enabled .home-revealing{animation:home-soft-reveal var(--home-reveal-duration) ease-out var(--home-reveal-delay,0ms) backwards}
body[data-page="home"].home-motion-enabled .m-button,
body[data-page="home"].home-motion-enabled .m-link{transition:color var(--home-control-duration) ease,border-color var(--home-control-duration) ease,background-color var(--home-control-duration) ease}
body[data-page="home"].home-motion-enabled .m-link:hover{border-color:currentColor}
body[data-page="home"].home-motion-enabled .m-button:focus-visible,
body[data-page="home"].home-motion-enabled .m-link:focus-visible,
body[data-page="home"].home-motion-enabled .home-collection-photo:focus-visible{outline:2px solid var(--deep,#173b43);outline-offset:4px}
@media(hover:hover) and (pointer:fine){
body[data-page="home"].home-motion-enabled .home-collection-photo img{transition:transform var(--home-hover-duration) ease-out}
body[data-page="home"].home-motion-enabled .home-collection-photo:hover img{transform:scale(1.02)}
}
@media(prefers-reduced-motion:reduce){
body[data-page="home"].home-motion-enabled .home-revealing{animation:none}
body[data-page="home"].home-motion-enabled .home-collection-photo img{transition:none;transform:none}
body[data-page="home"].home-motion-enabled .m-button,
body[data-page="home"].home-motion-enabled .m-link{transition:none}
}
@media(prefers-reduced-motion:reduce){body[data-page="home"].home-motion-enabled .home-collection-photo:hover img{transform:none;transition:none}}
