/* Subtle image motion; the existing card/gallery effects remain unchanged. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .legacy-bologna-article img,
    .legacy-bologna-side-card img,
    .wsma-feature-card img,
    .committee-card-profile img,
    .photo-gallery-thumb img {
        transition: transform 520ms cubic-bezier(.2, .7, .25, 1), filter 520ms ease;
        transform-origin: center;
    }

    .legacy-bologna-article img:hover,
    .legacy-bologna-article a:hover img,
    .legacy-bologna-side-card img:hover,
    .legacy-bologna-side-card a:hover img,
    .wsma-feature-card:hover img,
    .wsma-feature-card:focus-visible img,
    .committee-card:hover .committee-card-profile img,
    .photo-gallery-thumb:hover img,
    .photo-gallery-thumb:focus-visible img {
        transform: scale(1.035);
        filter: saturate(1.06) contrast(1.02);
    }
}

@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
    /* Size against the invitation panel, not the viewport: fixed cover
       otherwise magnifies this wide photo to the screen's full height. */
    .wsma-home-cta[data-art-fixed-photo] {
        background-attachment: fixed;
        background-size: var(--art-cta-width) var(--art-cta-height);
        background-position: center var(--art-cta-top);
        background-repeat: no-repeat;
    }

    .inner-page-topper {
        background-position: center calc(42% + var(--art-parallax-y, 0px));
    }

    .wsma-home-hero .hero-slide {
        background-position: center calc(50% + var(--art-parallax-y, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .legacy-bologna-article img,
    .legacy-bologna-side-card img,
    .wsma-feature-card img,
    .committee-card-profile img,
    .photo-gallery-thumb img {
        transition: none;
        transform: none;
        filter: none;
    }
}
