/* Quick, tactile motion for KSP METALL. */
:root{--motion-spring:cubic-bezier(.2,.85,.25,1.25)}
:is(.button,.cinema-link,.cinema-controls button,.filters button,.project-filters button,.photozone-jumps a,.work-photo,.text-link,.category-links a,summary){transition:transform .22s var(--motion-spring),background-color .18s ease,color .18s ease,box-shadow .22s ease,border-color .18s ease;touch-action:manipulation}
.cinema-link{padding:15px 23px;border:1px solid #ee985a;border-radius:6px;background:#ee985a;color:#172c26;box-shadow:0 5px 0 #994c25,0 12px 28px #0003;font-weight:750}
.cinema-link span{color:inherit;transition:transform .22s var(--motion-spring)}
@media(hover:hover) and (pointer:fine){
.button:hover,.cinema-link:hover{transform:translateY(-3px);box-shadow:0 7px 0 #994c25,0 15px 30px #0003}
.cinema-link:hover span,.category-links a:hover span{transform:translate(3px,-3px)}
.cinema-controls button:hover,.filters button:hover,.photozone-jumps a:hover{transform:translateY(-3px);box-shadow:0 5px 14px #0002}
.work-photo:hover{transform:translateY(-3px);box-shadow:0 12px 24px #102e451c}
.category-links a:hover{transform:translateX(5px)}
}
:is(.button,.cinema-link,.cinema-controls button,.filters button,.project-filters button,.photozone-jumps a,.work-photo,summary):active{transform:translateY(2px) scale(.975);transition-duration:70ms;box-shadow:0 1px 0 #994c2540}
:is(.button,.cinema-link,.cinema-controls button,.filters button,.photozone-jumps a,.work-photo):focus-visible{outline:3px solid #f38a24;outline-offset:5px}
.cinema-controls button{position:relative;overflow:hidden}
.cinema-controls button[data-scene].active:after{content:"";position:absolute;bottom:0;left:0;height:3px;background:#d07134;width:100%;transform-origin:left;animation:ksp-progress 6s linear both}
.scene-paused .cinema-controls button.active:after{animation-play-state:paused}
.cinema-slide{transition:opacity .55s ease-out}
.cinema-slides{transform:translate3d(var(--hero-x,0px),var(--hero-y,0px),0) scale(1.025);transition:transform .45s ease-out}
@media(prefers-reduced-motion:no-preference){
.cinema-copy>.cinema-kicker{animation:ksp-arrive .46s .04s both}
.cinema-copy>h1{animation:ksp-arrive .58s .1s both}
.cinema-copy>p:not(.cinema-kicker){animation:ksp-arrive .52s .2s both}
.cinema-copy>.cinema-link{animation:ksp-arrive .5s .3s backwards}
.cinema-bottom{animation:ksp-arrive .5s .38s both}
.ksp-reveal-pending{opacity:0;transform:translateY(22px)}
.ksp-revealed{animation:ksp-arrive .5s both}
@keyframes ksp-arrive{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@keyframes ksp-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cinema-slides{transform:none;transition:none}.cinema-controls button.active:after{display:none}.ksp-reveal-pending{opacity:1;transform:none}:is(.button,.cinema-link,.cinema-controls button,.filters button,.project-filters button,.photozone-jumps a,.work-photo,.text-link,.category-links a,summary){transition:none}.ksp-revealed{animation:none}}
