/* Each cover retains its Figma artboard ratio and original transparent layers.
   The gallery's existing focus state also owns this bounded depth movement. */
.project .project-cover{height:auto!important;background:#fff}
.miko .project-cover{aspect-ratio:1920/1080}
.insta360 .project-cover{aspect-ratio:1640/1156;background:#000}
.talkai .project-cover{aspect-ratio:1754/1081}
.cover-scene{position:absolute;inset:0;overflow:hidden;isolation:isolate;pointer-events:none}
.cover-layer{position:absolute;display:block;max-width:none;user-select:none;pointer-events:none}
.cover-layer[data-depth]{transform-origin:50% 0;transition:transform 360ms var(--ease)}
.cover-layer[data-depth=back]{--subject-rise:-3%;--subject-scale:1.045}
.cover-layer[data-depth=front]{--subject-rise:-5%;--subject-scale:1.065}
.project.is-focused .cover-layer[data-depth]{transform:translate3d(0,var(--subject-rise),0) scale(var(--subject-scale));transition-duration:600ms}
/* Zoom from the upper edge extends clipped device bottoms below the artboard,
   so lifting a source crop never reveals a straight cut edge inside the cover. */
@media(prefers-reduced-motion:reduce){
 .project.is-focused .cover-layer[data-depth],.project.is-focused a{transform:none}
 .cover-layer[data-depth]{transition:none}
}
