/* A short crossfade under the port; the wave now belongs to the room sequence. */
.home-family{--arrival-blend:clamp(80px,10svh,108px)}
.home-family .site-content,.arrival-motion .home-family .site-content{margin-top:calc(-1 * var(--arrival-blend));border-radius:0;-webkit-mask:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.1) calc(var(--arrival-blend) * .2),rgba(0,0,0,.78) calc(var(--arrival-blend) * .75),#000 var(--arrival-blend));mask:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.1) calc(var(--arrival-blend) * .2),rgba(0,0,0,.78) calc(var(--arrival-blend) * .75),#000 var(--arrival-blend))}
.home-family .arrival-fade{inset:auto 0 -1px;height:var(--arrival-blend);background:linear-gradient(to bottom,#173e4300 0%,#173e4333 55%,#173e4380 100%)}
.home-family .room-story{aspect-ratio:auto;grid-template-rows:auto auto auto}
.home-family .room-story>.room-panel-1{min-height:clamp(540px,48.4vw,740px);padding-block:55px}
.home-family .room-story>.room-panel-2{min-height:clamp(430px,43.2vw,660px)}
.home-family .room-story>.room-panel-3{min-height:clamp(430px,41.7vw,640px)}
.home-family .room-story>.room-panel:nth-child(2){clip-path:none;-webkit-mask-image:url('assets/club-wave-mask.svg'),linear-gradient(#000,#000);mask-image:url('assets/club-wave-mask.svg'),linear-gradient(#000,#000);-webkit-mask-size:100% 48px,100% calc(100% - 47px);mask-size:100% 48px,100% calc(100% - 47px);-webkit-mask-position:top center,bottom center;mask-position:top center,bottom center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.home-family .room-story>.room-panel-1 .room-copy{max-width:540px}
.home-family .room-story>.room-panel-1 .room-eyebrow{font-size:12px;letter-spacing:.13em;color:#fffaf2;margin-bottom:20px;font-weight:400}
.home-family .room-story>.room-panel-1 .room-copy h2{font-size:clamp(48px,4.8vw,70px);font-weight:400;line-height:1.06;letter-spacing:-.04em;color:#fffaf2;margin-bottom:27px;text-shadow:0 1px 6px #102c3933}
.home-family .room-story>.room-panel-1 .room-copy>p:not(.room-eyebrow){font-size:17px;font-weight:400;line-height:1.8;max-width:49ch;color:#fffaf2;margin-bottom:18px;text-shadow:0 1px 5px #102c3940}
.home-family .room-story>.room-panel-1 .room-actions{margin-top:25px;gap:16px 25px}
@media(min-width:801px) and (max-width:1050px){
 .home-family .room-story>.room-panel-1{padding-block:45px}
 .home-family .room-story>.room-panel-1 .room-copy h2{font-size:48px}
 .home-family .room-story>.room-panel-1 .room-copy>p:not(.room-eyebrow){font-size:16px;line-height:1.75}
}
@media(max-width:800px){
 .home-family{--arrival-blend:64px}
 .home-family .room-story>.room-panel-1{min-height:650px;padding-block:50px}
 .home-family .room-story>.room-panel-2,.home-family .room-story>.room-panel-3{min-height:clamp(430px,62svh,540px)}
 .home-family .room-story>.room-panel-1 .room-copy h2{font-size:clamp(38px,9.6vw,46px);line-height:1.08;margin-bottom:25px}
 .home-family .room-story>.room-panel-1 .room-eyebrow{font-size:11px;line-height:1.6;margin-bottom:20px}
 .home-family .room-story>.room-panel-1 .room-copy>p:not(.room-eyebrow){font-size:15px;line-height:1.8;max-width:40ch;margin-bottom:18px}
 .home-family .room-story>.room-panel-1 .room-button,.home-family .room-story>.room-panel-1 .room-text-link{font-size:13px}
}
@media(max-width:350px){.home-family .room-story>.room-panel-1{min-height:680px}.home-family .room-story>.room-panel-1 .room-copy h2{font-size:36px}.home-family .room-story>.room-panel-1 .room-copy>p:not(.room-eyebrow){font-size:14px}}
@media(prefers-reduced-motion:reduce){.home-family .site-content,.arrival-motion .home-family .site-content{margin-top:calc(-1 * var(--arrival-blend))!important}}

/* Two successive arrivals: momentum, a short recoil, then rest. */
.home-family #hero-title>.welcome-first,.home-family #hero-title>.welcome-second{display:block}
@media(prefers-reduced-motion:no-preference){
 .home-family .room-story-motion #esprit .room-copy{transform:none;transition:opacity .7s ease}
 .home-family .room-story-motion #hero-title{opacity:1;translate:none;transform:none;transition:none}
 .home-family .room-story-motion #hero-title>.welcome-first,
 .home-family .room-story-motion #hero-title>.welcome-second{--welcome-slide-distance:-150px;--welcome-recoil:-10px;opacity:0;transform:translate3d(var(--welcome-slide-distance),0,0)}
 .home-family .room-story-motion #hero-title>.welcome-second{--welcome-slide-distance:-190px;--welcome-recoil:-14px}
 .home-family .room-story-motion #esprit .room-copy.room-visible #hero-title>.welcome-first{animation:welcome-word-impact .68s .04s both}
 .home-family .room-story-motion #esprit .room-copy.room-visible #hero-title>.welcome-second{animation:welcome-word-impact .8s .58s both}
}
@keyframes welcome-word-impact{
 0%{opacity:0;transform:translate3d(var(--welcome-slide-distance),0,0);animation-timing-function:cubic-bezier(.18,.7,.25,1)}
 52%{opacity:1;transform:translate3d(0,0,0);animation-timing-function:ease-out}
 69%{opacity:1;transform:translate3d(var(--welcome-recoil),0,0);animation-timing-function:ease-in-out}
 87%{opacity:1;transform:translate3d(2px,0,0);animation-timing-function:ease-out}
 100%{opacity:1;transform:translate3d(0,0,0)}
}
@media(max-width:800px) and (prefers-reduced-motion:no-preference){
 .home-family .room-story-motion #hero-title>.welcome-first{--welcome-slide-distance:-85px;--welcome-recoil:-7px}
 .home-family .room-story-motion #hero-title>.welcome-second{--welcome-slide-distance:-110px;--welcome-recoil:-10px}
}
