/* home-only cinematic hero, light theme */
html.hx-light{--bg:#FFFFFF}
html.hx body{background:var(--bg)}
/* transparent nav over hero */
html.hx .hdr{position:fixed;left:0;right:0;top:0;background:transparent;border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;transition:background .6s ease,border-color .6s ease,color .6s ease}
html.hx .hdr .btn.bk{background:none!important;color:inherit;padding:0 0 3px;border-radius:0;border:0;box-shadow:inset 0 -1px 0 currentColor}
html.hx-light .hdr,html.hx-light .hdr a,html.hx-light .hdr .logo,html.hx-light .hdr .dd-b,html.hx-light .hdr #menu{color:#1F1D1A}
html.hx .hdr #menu{background:none;border:0;box-shadow:none;border-radius:0;padding:0}
html.hx.hx-past .hdr{background:#FFFFFF;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
/* mobile bar waits until after the hero */
@media(max-width:860px){html.hx .mbar{transform:translateY(110%);transition:transform .5s ease}html.hx.hx-past .mbar{transform:none}}
/* shared hero bits */
.hx-hero{position:relative;height:100vh;height:100svh;min-height:560px;overflow:hidden;background:var(--bg);isolation:isolate}
.hx-hero picture,.hx-hero .hx-img{position:absolute;inset:0;width:100%;height:100%}
.hx-hero .hx-img{object-fit:cover;display:block}
.hx-veil{position:absolute;inset:0;pointer-events:none;z-index:2}
html.hx-light .hx-veil{background:linear-gradient(180deg,rgba(255,255,255,.7) 0,rgba(255,255,255,0) 20%),linear-gradient(90deg,#FFFFFF 0,rgba(255,255,255,.55) 38%,rgba(255,255,255,0) 70%),linear-gradient(0deg,#FFFFFF 0,rgba(255,255,255,.88) 12%,rgba(255,255,255,0) 44%)}
@media(max-width:760px){html.hx-light .hx-veil{background:linear-gradient(180deg,rgba(255,255,255,.75) 0,rgba(255,255,255,0) 22%),linear-gradient(0deg,#FFFFFF 0,#FFFFFF 28%,rgba(255,255,255,.35) 60%,rgba(255,255,255,0) 80%)}}
.hx-copy{position:absolute;z-index:3;left:max(28px,6vw);right:28px;bottom:clamp(92px,15vh,170px);max-width:900px}
html.hx-light .hx-copy{color:#1F1D1A}
.hx-h{font-family:var(--serif);font-weight:400;font-size:clamp(46px,7.4vw,118px);line-height:.98;letter-spacing:-.015em;margin:0}
.hx-sub{font-size:clamp(15px,1.15vw,17px);line-height:1.6;max-width:30em;margin:26px 0 0;opacity:.86}
.hx-links{display:flex;flex-wrap:wrap;align-items:baseline;gap:14px 34px;margin-top:34px}
.hx-links a{color:inherit;text-decoration:none;font-size:15px;letter-spacing:.01em;position:relative;padding-bottom:5px}
.hx-links a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:currentColor;opacity:.45;transform-origin:left;transition:opacity .4s,transform .6s cubic-bezier(.2,.7,.1,1)}
.hx-links a:hover::after{opacity:1}
.hx-links a.hx-p{font-family:var(--serif);font-size:clamp(22px,1.9vw,28px);letter-spacing:0}
.hx-links a.hx-p::after{opacity:.9}
.hx-links a.hx-p span{display:inline-block;transition:transform .5s cubic-bezier(.2,.7,.1,1);margin-left:.35em}
.hx-links a.hx-p:hover span{transform:translateX(6px)}
/* staggered line reveal */
.hx-ln{display:block;overflow:hidden;padding-bottom:.06em}
.hx-ln>span{display:block;transform:translateY(105%);transition:transform 1.4s cubic-bezier(.16,.84,.2,1)}
.hx-fade{opacity:0;transform:translateY(14px);transition:opacity 1.4s ease,transform 1.4s cubic-bezier(.16,.84,.2,1)}
html.hx-in .hx-ln>span,html.hx-in .hx-fade{transform:none;opacity:1}
.hx-ln:nth-child(2)>span{transition-delay:.12s}.hx-ln:nth-child(3)>span{transition-delay:.24s}
.hx-d1{transition-delay:.5s}.hx-d2{transition-delay:.7s}.hx-d3{transition-delay:.9s}
@media(prefers-reduced-motion:reduce){.hx-ln>span,.hx-fade{transform:none!important;opacity:1!important;transition:none!important}}
@media(max-width:760px){.hx-copy{left:22px;right:22px;bottom:calc(64px + env(safe-area-inset-bottom))}.hx-h{font-size:clamp(42px,12vw,60px)}.hx-sub{font-size:15px;margin-top:18px}.hx-links{gap:12px 26px;margin-top:24px}}
