/* The loop is the first screen. Media and controls stay inside its stacking context. */
.hero.hero-3d{position:relative;isolation:isolate;display:block;width:100%;max-width:none;height:100svh;min-height:560px;margin:0;padding:0;overflow:hidden;background:var(--cream);--h3d-position:50% 50%;--h3d-scrim:1}
.h3d-backdrop,.h3d-backdrop picture{position:absolute;inset:0}
.h3d-backdrop :is(img,video){position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:var(--h3d-position)}
.h3d-loop{opacity:0;transition:opacity .4s var(--out)}
.hero-3d.is-playing .h3d-loop{opacity:1}
.h3d-backdrop picture{transition:opacity .4s var(--out)}
.hero-3d.is-playing .h3d-backdrop picture{opacity:0}
.hero-3d::after{content:"";position:absolute;inset:0 0 auto;height:max(300px,38svh,var(--h3d-copy-band,0px));z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(255,249,240,var(--h3d-scrim)) 0%,rgba(255,249,240,var(--h3d-scrim)) 72%,rgba(255,249,240,0) 100%);transition:opacity .25s var(--out)}
.h3d-copy{position:absolute;z-index:2;left:clamp(22px,4.6vw,88px);right:22px;top:max(calc(var(--nav-clear) + 20px),12svh)}
.hero-3d #hero-title{max-width:1000px;width:min(78%,1000px);margin:0;color:var(--ink);font:800 clamp(36px,3.7vw,68px)/1.04 var(--bricolage);letter-spacing:-.035em;text-wrap:balance}
.h3d-subhead{margin:16px 0 0}
@media(min-width:600px){.h3d-subhead{margin-inline:auto}}
.h3d-actions{display:flex;align-items:stretch;gap:12px;margin-top:22px}
.hero-3d .hero-cta{min-height:48px;padding:12px 22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ink);border-radius:999px;font:600 16px/1.3 var(--sans);text-align:center;text-decoration:none;cursor:pointer;color:var(--ink);background:var(--sun)}
                                                                                                  
.hero-3d .hero-cta{background:var(--coral);border-color:transparent}
.hero-3d .hero-cta:hover{background:#ff6d4d}
.h3d-copy h1,.h3d-actions>*{opacity:1;transition:opacity .3s var(--out)}
.h3d-actions>:first-child{transition-delay:60ms}.h3d-actions>:last-child{transition-delay:120ms}
.hero-3d :focus-visible{outline:3px solid var(--ink);outline-offset:5px}
/* Back the CTA focus ring with cream so its contrast is independent of the video. */
.hero-3d .hero-cta:focus-visible{box-shadow:0 0 0 10px var(--cream)}
.hero-3d .hero-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:10px 16px;border:1px solid var(--ink);border-radius:999px;background:var(--cream);color:var(--ink);font:600 14px/1.2 var(--sans);cursor:pointer}
.h3d-loop-toggle{position:absolute;z-index:2;right:24px;bottom:28px}
.hero-toggle svg{fill:currentColor}.hero-toggle .play-icon,.hero-toggle[aria-pressed="true"] .pause-icon{display:none}.hero-toggle[aria-pressed="true"] .play-icon{display:block}
.hero-3d.controls-obscured :is(.h3d-loop-toggle){visibility:hidden}
@media(max-aspect-ratio:1/1){
 .hero.hero-3d{--h3d-position:50% 50%;--h3d-scrim:1}
 /* Keep matching frame zero painted under the video when an occluded decoder resumes. */
 .hero-3d.is-playing .h3d-backdrop picture{opacity:1;transition:none}
 .h3d-copy{top:calc(var(--nav-clear) + 8px);left:22px;right:22px}
 .hero-3d #hero-title{width:100%;max-width:650px;font-size:clamp(30px,5.1vw,44px)}
 .h3d-actions{flex-direction:column;gap:10px;margin-top:16px;max-width:570px}
 .hero-3d .hero-cta{padding:10px 14px;font-size:14px;min-height:48px}
 .hero-3d .hero-cta{flex:none;width:100%;white-space:nowrap;min-width:0}
 .h3d-loop-toggle{right:16px;bottom:76px}
}
@media(prefers-reduced-motion:reduce){
 .h3d-loop,.h3d-backdrop picture,.hero-3d::after,.h3d-copy h1,.h3d-actions>*{transition:none!important}
 html .hero-3d .h3d-backdrop picture{opacity:1}
 html .hero-3d .h3d-loop{opacity:0}
 html .hero-3d .h3d-loop-toggle{display:none}
}

/* Default hero keeps the unused alternate frame out of layout. */
.hero-3d .h3d-frame{display:none}
/* The cream band continues behind the navbar without its usual separator. */
#siteHead.over-hero::after{background:transparent}

/* bd-27, Peach and cream. Pool coordinates use the original 1920 by 1080 frame.
   Apricot #F5C9A4 and core #F7DAB8 are sampled from the lit reference still.
   The flat upper lip lets the prescribed tinted navbar meet its own ground. */
#view-home .hero.hero-3d{background:#F0DFCC}
#view-home .hero-3d::after{
 background:linear-gradient(to bottom,#F0DFCC 0px,#F0DFCC calc(var(--nav-clear) + 16px),transparent calc(var(--nav-clear) + 150px)),url("assets/bd27-pool.svg") 0 0 / 100% 100svh no-repeat,#F0DFCC;
 -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);
 mask-image:linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%);
}
#view-home .hero-3d :is(#hero-title,.hero-ink,.hero-line:first-child){color:#1C1915}
#view-home .hero-3d .hero-line:last-child{color:#782708}
@supports (background-clip:text) or (-webkit-background-clip:text){
 #view-home .hero-3d .hero-line:last-child{background:linear-gradient(100deg,#782708 15%,#782430 90%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
}
#view-home .h3d-subhead{color:#1C1915}
#view-home .h3d-loop-toggle{background:#FFFFFF;color:#23201B;border-color:#23201B}
body:has(#view-home:not([hidden])) #siteHead:not(.on-ink){background:color-mix(in srgb,#F0DFCC 78%,transparent);color:#23201B;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body:has(#view-home:not([hidden])) #siteHead:not(.on-ink) :is(.wordmark,.nav-links a,.phone-menu-toggle){color:#23201B}
body:has(#view-home:not([hidden])) #siteHead:not(.on-ink) .nav-links a[aria-current]{background:#D3C4B3}
body:has(#view-home:not([hidden])) #siteHead:not(.on-ink) .phone-menu-toggle{background:#FFFFFF;border-color:#23201B}
body:has(#view-home:not([hidden])) #siteHead:not(.on-ink) #primary-menu{background:#F0DFCC}
@media(min-width:641px){body:has(#view-home:not([hidden])) #siteHead:not(.on-ink) #primary-menu{background:transparent}}
body:has(#view-home:not([hidden])) .motion-pill{background:#FFFFFF;color:#23201B;border-color:var(--coral)}
body:has(#view-home:not([hidden])) #siteHead:not(.on-ink) .nav-pill{background:#D3C4B3}
