html{scroll-behavior:smooth}
@media(prefers-reduced-motion:no-preference){
.motion-pending{opacity:0;translate:0 28px;transition:opacity .75s ease,translate .85s cubic-bezier(.2,.7,.2,1);transition-delay:var(--reveal-delay,0ms);will-change:opacity,translate}
.motion-pending.motion-visible,.motion-pending:focus-within{opacity:1;translate:0 0;will-change:auto}
.hero .slider-copy{animation:hero-copy-in 1s cubic-bezier(.2,.7,.2,1) both}.hero .hero-image{animation:hero-image-in 1.5s ease-out both}
@keyframes hero-copy-in{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
@keyframes hero-image-in{from{opacity:.5;scale:1.035}to{opacity:1;scale:1}}
.explore,.connect,.about-more,.arif-explore,.footer-whatsapp,.guidance-controls button,.quran-controls button,.media-scroll-buttons button,.footer-socials a{transition:background-color .25s,box-shadow .25s,translate .25s,filter .25s}
.explore:hover,.about-more:hover,.arif-explore:hover,.footer-whatsapp:hover{translate:0 -3px;box-shadow:0 8px 22px #3e001c22;filter:brightness(1.05)}
.explore:active,.about-more:active,.arif-explore:active,.footer-whatsapp:active{translate:0 0}
.about-mosaic img,.journey-track img,.media-thumb img{transition:scale .65s cubic-bezier(.2,.7,.2,1)}
.about-mosaic picture:hover img,.gallery-open:hover img,.media-item:hover img,.media-small:hover img{scale:1.045}
.media-play{transition:scale .25s,background-color .25s}.media-feature:hover .media-play,.media-small:hover .media-play{scale:1.08;background-color:#80002088}
.footer-socials a:hover{translate:0 -4px}.guidance-controls button:hover,.quran-controls button:hover,.media-scroll-buttons button:hover{translate:0 -2px}
.language-menu:not([hidden]){animation:language-open .2s ease-out}@keyframes language-open{from{opacity:0;translate:0 -7px}to{opacity:1;translate:0 0}}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.motion-pending{opacity:1;translate:none}}
@media(prefers-reduced-motion:no-preference){.scroll-scrub{will-change:opacity,translate}.scroll-scrub:focus-within{opacity:1!important;translate:0 0!important}}
/* Pinned section trial: short sections hold briefly; tall sections scroll fully first. */
.pin-stage{position:relative;isolation:isolate}.pin-stage>.pin-section{position:sticky;top:var(--pin-top,90px);margin:0}
@media(prefers-reduced-motion:reduce){.pin-stage{height:auto!important}.pin-stage>.pin-section{position:relative;top:auto}}

/* Successive opaque sections slide over the section held underneath. */
@media(prefers-reduced-motion:no-preference){body>.stack-section{position:sticky;top:var(--stack-top,90px);isolation:isolate;box-shadow:0 -14px 35px #20000b12}.site-footer{position:relative;z-index:20}}
/* Sticky sections need a containing body as tall as the complete document. */
html{height:auto;min-height:100%}body{height:auto;min-height:100vh}
