/* Keep the first frame stable before Slick wraps the slides. No JS: first photo remains visible. */
.mainBody #mainSlider:not(.slick-initialized) > .slider-item:not(:first-child) { display: none; }
.mainBody .main-slider, .gpyh-home .gpyh-hero { transition: opacity .65s ease; }
html.orgsite-hero-pending .mainBody .main-slider,
html.orgsite-hero-pending .gpyh-home .gpyh-hero { opacity: 0; }
html.orgsite-hero-pending #mainSlider .slider-image-container img,
html.orgsite-hero-pending .gpyh-hero-slide-bg,
html.orgsite-hero-pending .gpyh-hero-slide-copy { animation-play-state: paused !important; }
/* Preserve the outgoing photo's final zoom throughout the crossfade. */
.mainBody #mainSlider .slider-image-container img { transition: none; }
@media (prefers-reduced-motion: reduce) {
    .mainBody .main-slider, .gpyh-home .gpyh-hero { transition: none; }
    .mainBody #mainSlider .slider-image-container img,
    .gpyh-home .gpyh-hero-slide-bg, .gpyh-home .gpyh-hero-slide-copy { animation: none !important; transform: none !important; transition: none !important; }
}
