/* Separate planes compose scroll drift with each component's own image animation. */
.photo_parallax_plane { position:absolute; inset:-3%; display:block; pointer-events:none; }
.photo_parallax_plane > img { width:100%; height:100%; object-fit:cover; }
.photo_parallax_plane > .iih_img { top:0; left:0; width:100%; height:100%; margin-left:0; }
.work_image { position:relative; }
.photo_parallax_mobile_frame { position:relative; display:block; overflow:hidden; aspect-ratio:3/4; }
.photo_parallax_mobile_frame:last-child { grid-column:1/-1; aspect-ratio:16/9; }
.image_trail_gallery .photo_parallax_plane > img.image_trail_image { width:100%; height:100%; aspect-ratio:auto; }
@media(prefers-reduced-motion:reduce) { .photo_parallax_plane { transform:none!important; } }
/* Hidden inline previews keep their original disclosure layout. */
.cases_touch_frame{aspect-ratio:4/3;margin-top:20px;border-radius:20px}
.cases_touch_frame[hidden]{display:none!important}
.cases_touch_frame .cases_touch_image{margin:0;border-radius:inherit;aspect-ratio:auto}
.logo_shuffle_slot img,.footer_logo,.footer_letter{translate:0 var(--image-scroll-y,0%)}
@media(prefers-reduced-motion:reduce){.logo_shuffle_slot img,.footer_logo,.footer_letter{translate:none}}

/* Full case assets move together with their frame, never inside a cropped window. */
.unico_page :is(.unico_photo,.related_image){aspect-ratio:auto}
.unico_page :is(.unico_photo,.related_image)>.photo_parallax_plane{position:relative;inset:auto;width:100%;height:auto}
.unico_page :is(.unico_photo,.related_image) img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;padding:0;box-sizing:border-box}
