/* Full-bleed photographic doorway; the smaller frame clears the overlaid navigation. */
.home .topbar{display:none}
.home .site-header{position:fixed;inset:var(--hero-toolbar,0px) 0 auto;background:#fff;color:var(--ink);transition:background .3s,color .3s,border-color .3s}
.home.door-hero-active:not(.hero-past-intro) .site-header{background:transparent;color:#fff;border-bottom-color:#ffffff38}
.home.door-hero-active:not(.hero-past-intro) .site-header .brand strong,.home.door-hero-active:not(.hero-past-intro) .site-header .brand small,.home.door-hero-active:not(.hero-past-intro) .site-header .icon-btn{color:inherit}
.home.door-hero-active:not(.hero-past-intro) .site-header .desktop-nav a:hover{color:inherit;opacity:.7}
.home.door-hero-active:not(.hero-past-intro) .site-header .budget-link b{background:#ffffff26;color:inherit}
.home .site-header .mobile-nav,.home .site-header .header-search{background:#fff;color:var(--ink)}
.home.hero-past-intro .site-header{background:#fffffff5;backdrop-filter:blur(12px)}
.home .site-header .brand img{clip-path:circle(47.5% at 50% 50%)}
.door-story{--hero-top:0px;--hero-nav-height:94px;--stage-height:max(460px,calc(100svh - var(--hero-top)));--scrub-distance:0px;--door-angle:0deg;--intro-opacity:1;--reveal-opacity:0;--room-opacity:0;--room-zoom:1.08;--exterior-zoom:1;--closed-opacity:1;--leaf-opacity:0;--leaf-shade:0;--story-progress:0;--portal-clip:inset(0 50%);position:relative;height:calc(var(--stage-height) + var(--scrub-distance));background:#4e3f2e;color:#fff}
.door-scene-anchor{position:absolute;left:0;top:0;width:1px;height:1px;pointer-events:none}
.door-stage{position:relative;isolation:isolate;height:var(--stage-height);overflow:hidden;background:#4e3f2e;color:#fff}
.is-scroll-ready .door-stage{position:absolute;left:0;top:0;width:100%}
.is-scroll-ready .door-stage.is-pinned{position:fixed;top:var(--hero-top)}
.is-scroll-ready .door-stage.is-ended{top:auto;bottom:0}
.door-canvas{position:relative;width:100%;height:100%;transform:translateZ(0);isolation:isolate}
.door-exterior{position:absolute;inset:0;z-index:0;transform:scale(var(--exterior-zoom));transform-origin:50% 50%;will-change:transform}
.door-exterior>.door-open-plate,.door-exterior>.door-closed-plate{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%}
.door-portal{position:absolute;inset:0}
.door-portal>img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%;transform:scale(var(--room-zoom))}
/* Cut only the moving leaf out of the same plate, keeping the frame pixel-aligned. */
.door-open-plate{clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,var(--leaf-x) var(--leaf-y),var(--leaf-x) calc(var(--leaf-y) + var(--leaf-h)),calc(var(--leaf-x) + var(--leaf-w)) calc(var(--leaf-y) + var(--leaf-h)),calc(var(--leaf-x) + var(--leaf-w)) var(--leaf-y),var(--leaf-x) var(--leaf-y),0 0)}
.door-closed-plate{opacity:var(--closed-opacity)}
.door-hinge{position:absolute;left:var(--leaf-x,40%);top:var(--leaf-y,15%);width:var(--leaf-w,22%);height:var(--leaf-h,75%);perspective:1600px;perspective-origin:50% 50%;opacity:var(--leaf-opacity)}
.door-leaf{position:absolute;inset:0;transform-origin:100% 50%;transform:rotateY(var(--door-angle));transform-style:preserve-3d;will-change:transform}
.door-leaf-front{position:absolute;inset:0;overflow:hidden;background:#252c32;backface-visibility:hidden;transform:translateZ(1px)}
.door-leaf-front>img{position:absolute;width:var(--plate-w);height:var(--plate-h);max-width:none;left:var(--texture-x);top:var(--texture-y)}
.door-leaf-front:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0009,#0002);opacity:var(--leaf-shade)}
.door-leaf-edge{position:absolute;right:-1px;top:0;width:8px;height:100%;background:linear-gradient(90deg,#343b42,#0f1418);transform:rotateY(90deg);transform-origin:right center;backface-visibility:hidden}
.door-room{position:absolute;inset:0;z-index:1;opacity:var(--room-opacity);clip-path:var(--portal-clip);will-change:clip-path,opacity;pointer-events:none}
.door-room>img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%;transform:scale(var(--room-zoom));will-change:transform}
.door-veil{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,#080e118c 0px,#080e1152 var(--hero-nav-height),#080e1100 calc(var(--hero-nav-height) + 150px)),linear-gradient(0deg,#10171380,transparent 30%),#11150f0a}
.door-kicker{display:block;font-size:12px;line-height:1.5;font-weight:600;letter-spacing:.2em;text-transform:uppercase;margin-bottom:25px;color:#fff}
.door-story a:focus-visible{outline:2px solid #fff;outline-offset:7px}
.door-scroll-cue{position:absolute;z-index:4;bottom:68px;left:50%;transform:translateX(-50%);display:none;flex-direction:column;align-items:center;gap:15px;opacity:var(--intro-opacity);color:#fff;white-space:nowrap}
.is-scroll-ready .door-scroll-cue{display:flex}
.door-scroll-cue>span:first-child{font-size:8px;font-weight:550;letter-spacing:.2em}
.door-scroll-track{position:relative;display:block;height:37px;width:1px;background:#ffffff40;overflow:hidden}
.door-scroll-track i{position:absolute;inset:0;background:#fff;transform:translateY(-100%);animation:door-cue 2.8s ease-in-out infinite}
@keyframes door-cue{0%,10%{transform:translateY(-100%)}60%,100%{transform:translateY(100%)}}
.door-reveal{position:absolute;z-index:3;left:6%;right:6%;top:var(--hero-nav-height);bottom:70px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:1100px;transform:translateY(calc(20px * (1 - var(--reveal-opacity))));opacity:var(--reveal-opacity);will-change:opacity,transform}
.door-reveal>*{flex-shrink:0;max-width:100%}
.door-reveal:before{content:"";position:absolute;inset:-50vh -20vw;z-index:-1;background:radial-gradient(ellipse,#101b2499,transparent 75%);pointer-events:none}
.door-reveal h2{font-size:clamp(42px,5.4vw,88px);font-weight:500;line-height:1.06;letter-spacing:-.05em;margin:0 0 24px;color:inherit;text-wrap:balance}
.door-reveal p{font-size:17px;line-height:1.8;color:#fffffff0;margin:0 auto;max-width:660px;text-wrap:pretty}
.door-story-footer{position:absolute;z-index:5;bottom:24px;left:3%;right:max(3%,95px);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#ffffffe0;font-size:8px;font-weight:550;letter-spacing:.16em}
.door-story-footer>span{display:flex;align-items:center;gap:10px}
.door-story-footer i{display:inline-block;width:3px;height:3px;border-radius:50%;background:currentColor}
.door-story-footer>a{display:flex;align-items:center;gap:20px;font-size:11px;font-weight:400;letter-spacing:0}
.door-story-footer>a>span{font-size:18px;font-weight:300}
.door-progress{position:absolute;inset:auto 0 0;height:2px;z-index:6;background:#ffffff26}
.door-progress>span{display:block;height:100%;background:#fff9;transform:scaleX(var(--story-progress));transform-origin:left}
@media(max-height:740px) and (min-width:761px){.door-reveal h2{font-size:clamp(42px,5vw,72px)}.door-scroll-cue{bottom:53px;gap:9px}.door-scroll-track{height:28px}.door-story-footer{bottom:18px}}
@media(max-width:760px){
    .door-story{--hero-nav-height:77px;--stage-height:max(460px,calc(100svh - var(--hero-top)))}
    .door-kicker{font-size:8px;letter-spacing:.16em;margin-bottom:22px}
    .door-scroll-cue{bottom:77px;gap:14px}
    .door-scroll-cue>span:first-child{font-size:7px;letter-spacing:.18em}
    .door-story-footer{left:6%;right:82px;bottom:23px;font-size:7px;letter-spacing:.08em}
    .door-story-footer>span{gap:6px}
    .door-story-footer>a{font-size:10px;gap:10px}
    .door-reveal{left:7%;right:7%}
    .door-reveal h2{font-size:clamp(34px,10vw,60px);line-height:1.1;letter-spacing:-.045em;margin-bottom:22px}
    .door-kicker{font-size:11px;margin-bottom:18px}
    .door-reveal p{font-size:15px;max-width:340px}
}
@media(prefers-reduced-motion:reduce){.door-story{--scrub-distance:0px!important}.is-scroll-ready .door-stage{position:relative;top:auto}.door-story .door-scroll-cue,.door-progress{display:none}.door-exterior,.door-leaf,.door-room,.door-room>img,.door-reveal{will-change:auto}.home .site-header{transition:none}}
@media(max-width:760px) and (max-height:500px) and (orientation:landscape){.door-story{--stage-height:max(340px,calc(100svh - var(--hero-top)))}.door-reveal h2{font-size:32px;line-height:1.1;margin-bottom:14px}.door-kicker{font-size:10px;margin-bottom:12px}.door-reveal p{font-size:13px;line-height:1.6;max-width:530px}}
