/* Featured tools remain level while floating above the original white stage. */
.night .instrument-figure>img{animation:level-tool-float 8s ease-in-out infinite;rotate:0deg}
@keyframes level-tool-float{0%,100%{translate:0 -7px}50%{translate:0 7px}}
@media(hover:hover) and (pointer:fine){
 .night .instrument-figure:hover>img{animation:none;rotate:0deg;transform:translate3d(var(--tx,0px),calc(-22px + var(--ty,0px)),70px) scale(1.1)}
}

/* Keep the complete silhouette in view through a slow, continuous push and return. */
.night .finish-chapter{height:clamp(720px,62vw,1050px);min-height:0;background:#08090b}
.night .finish-chapter>img{inset:auto 0 auto;top:50%;width:100%;height:auto;object-fit:contain;transform-origin:50% 68%;filter:grayscale(1) brightness(.72);mask-image:linear-gradient(transparent,#000 19%,#000 87%,transparent);animation:showroom-dolly-loop 24s cubic-bezier(.45,0,.55,1) infinite}
.night .finish-shade{background:linear-gradient(180deg,#08090b33,transparent 48%,#08090b30)}
.night .finish-chapter h2{top:10%;font-size:clamp(80px,8.4vw,145px);pointer-events:none}
.night .finish-chapter>div:last-child{bottom:38px}
@keyframes showroom-dolly-loop{0%,100%{transform:translateY(-50%) scale(1)}50%{transform:translateY(-50%) scale(1.10)}}
@media(max-width:800px){
 .night .instrument-figure{width:100%;aspect-ratio:auto}
 .night .instrument-figure>img{width:100%;max-width:100%;left:0}
 .night .finish-chapter{height:780px}
 .night .finish-chapter>img{top:58%}
 .night .finish-chapter h2{top:11%;font-size:96px}
 .night .finish-chapter>div:last-child{bottom:42px}
}
@media(max-width:480px){
 .night .finish-chapter{height:690px}
 .night .finish-chapter>img{top:59%}
 .night .finish-chapter h2{font-size:82px}
}
.motion-paused .night .instrument-figure>img,.night.motion-paused .instrument-figure>img{animation:none;translate:0 0;rotate:0deg}
.motion-paused .night .finish-chapter>img,.night.motion-paused .finish-chapter>img{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){
 .night .instrument-figure>img{animation:none!important;translate:0 0;rotate:0deg;transform:none!important}
 .night .finish-chapter>img{animation:none;transform:translateY(-50%)}
}
