/* Motion has one owner per property: entrances use translate, hover uses transform. */
@media(prefers-reduced-motion:no-preference){
 [data-motion-reveal="pending"]:not(.motion-rule){opacity:.4;translate:0 32px}
 .motion-rule[data-motion-reveal="pending"]{opacity:0}
 .hero-content>h1{animation:none}
 .hero-img{animation:ih-hero-zoom 14s cubic-bezier(.18,.6,.35,1) both}
 .hero-content .title-mask>span,.hero-content .title-mask>em{animation:ih-title-enter 1.2s .08s cubic-bezier(.16,1,.3,1) both}
 .hero-content .title-mask:nth-child(2)>span,.hero-content .title-mask:nth-child(2)>em{animation-delay:.24s}
 .hero-content>.eyebrow{animation:ih-hero-follow .9s .12s both}
 .hero-content>.hero-lead{animation:ih-hero-follow 1s .42s both}
 .hero-content>.hero-sub{animation:ih-hero-follow 1s .54s both}
 .hero-content>.actions{animation:ih-hero-follow 1s .66s both}
 .scroll-hint span{animation:none}
 .scroll-hint .scroll-arrow svg{animation:ih-scroll-cue 1.9s ease-in-out infinite}
 #back-top svg{animation:ih-up-cue 2s ease-in-out infinite}
 #back-top:hover svg,#back-top:focus-visible svg{animation-duration:2s}
 #gallery[open]{animation:ih-gallery-open .3s ease-out both}
 @keyframes ih-hero-zoom{from{transform:scale(1.1)}to{transform:scale(1)}}
 @keyframes ih-title-enter{from{transform:translateY(105%);opacity:.35}to{transform:translateY(0);opacity:1}}
 @keyframes ih-hero-follow{from{opacity:.35;translate:0 26px}to{opacity:1;translate:0 0}}
 @keyframes ih-scroll-cue{0%,100%{transform:translateY(-3px);opacity:.65}50%{transform:translateY(4px);opacity:1}}
 @keyframes ih-up-cue{0%,100%{transform:translateY(3px);opacity:.65}50%{transform:translateY(-5px);opacity:1}}
 @keyframes ih-gallery-open{from{opacity:.3}to{opacity:1}}
}
.gallery-bottom button:disabled{opacity:.3;cursor:default}
/* Touch taps do not acquire a second, sticky desktop hover movement. */
@media(hover:none),(pointer:coarse){
 .cards article:hover,.steps article:hover,.button:hover,.text-link:hover,.social-icons a.social-icon:hover,.contact-details .contact-link:hover,.contact-details .contact-link:hover svg{transform:none}
 .cards article:hover .service-visual img,.project:hover img{transform:none}
 .project.detail:hover img{transform:scale(1.65)}
 .social-icons a.social-icon:hover,.contact-details .contact-link:hover svg{filter:none}
}
