/* Depth is confined to visual layers; text and document scrolling stay stable. */
/* Browser-native scroll timelines track both directions without a smoothing loop. */
@supports (animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference){
  #homepage-introduction>.hrs-about-content,
  #homepage-matchmaker>.container,
  #homepage-affiliate>.container,
  #homepage-activities>.container,
  #homepage-testimonials>.container{
   animation:hrs-section-scroll 1s linear both;
   animation-timeline:view(block);
   animation-range:entry 0% cover 30%;
   transform-origin:50% 50%;
  }
 }
}
@keyframes hrs-section-scroll{
 from{opacity:.65;transform:translate3d(0,40px,0) scale(.985)}
 to{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
/* A small parallax drift throughout the viewport, rather than pinning the section. */
@supports(animation-timeline:view()){
 @media(min-width:768px) and (prefers-reduced-motion:no-preference){
  #homepage-affiliate>.container,
  #homepage-activities>.container{
   animation:hrs-section-drift 1s linear both;
   animation-timeline:view(block);
   animation-range:entry 0% exit 100%;
   opacity:1;
  }
 }
}
@keyframes hrs-section-drift{
 from{transform:translate3d(0,58px,0)}
 to{transform:translate3d(0,-58px,0)}
}
/* Explicit preview scroll motion replaces the unreliable timeline on these sections. */
#homepage-affiliate>.container,#homepage-activities>.container{
 animation:none!important;
 transform:translate3d(0,var(--section-scroll-y,0px),0)!important;
 opacity:1!important;
 transition:none!important;
}
.journey-window{perspective:1600px}
.journey-photo{rotate:y var(--banner-yaw,0deg)}
.journey-copy{translate:var(--banner-copy-x,0px) var(--banner-copy-y,0px);transition:translate .45s ease-out}
.journey-window-shade:after{content:'';position:absolute;inset:0;background:linear-gradient(120deg,#daa34908,transparent 45%);pointer-events:none}
.depth-scroll-image{transform:translate3d(0,var(--image-drift,0px),0) scale(1.07)!important;transition:none!important}
#homepage-affiliate .card{position:relative;overflow:hidden}
#homepage-affiliate .card:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 1px 0 #fff;opacity:.7}
.home-preview-motion #homepage-affiliate .card.depth-active{border-color:#d8bb91!important;box-shadow:0 18px 35px #392b2914!important}
#homepage-affiliate .card img{transition:transform .6s cubic-bezier(.22,1,.36,1)}
#homepage-affiliate .card:hover img{transform:translateY(-4px) scale(1.04)}
.home-preview-motion #homepage-matchmaker a,.home-preview-motion #homepage-testimonials a,.home-preview-motion #homepage-affiliate .btn{transition:transform .3s,box-shadow .3s,background .3s}
.home-preview-motion #homepage-matchmaker .feature-content a:hover,.home-preview-motion #homepage-testimonials .text-center>a:hover,.home-preview-motion #homepage-affiliate .btn:hover{box-shadow:0 8px 20px #64171d22;transform:translateY(-3px)}
@media(max-width:767px){.journey-copy{translate:none}.homepage-scene-layer{transform:translate3d(0,calc((1 - var(--scene-reveal))*25px),0)}.homepage-scene-layer .scene-stagger-card{translate:none}}
@media(prefers-reduced-motion:reduce){.homepage-scene-layer{opacity:1;transform:none;will-change:auto}.journey-copy{translate:none;transition:none}.journey-photo{rotate:none}.depth-scroll-image{transform:none!important;transition:none!important}#homepage-affiliate .card img{transition:none}#homepage-affiliate .card:hover img{transform:none}}
