html,body{margin:0;background:#1a251e}#track{height:240svh;pointer-events:none}.experience{position:fixed;inset:0;overflow:hidden;background:#c8b591}.camera{position:absolute;inset:0;perspective:1000px;perspective-origin:72% 65%;overflow:hidden}.world{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform}.facade,.inside{position:absolute;inset:0;backface-visibility:hidden}.facade img,.inside img{width:100%;height:100%;object-fit:cover;display:block}.inside{transform-origin:72% 65%;transform:translateZ(-600px) scale(.65);background:#c9b99d}.reveal{position:absolute;border:10px solid #bda481;box-shadow:inset 0 0 25px #30201466;transform:translateZ(-12px);pointer-events:none}.threshold{position:absolute;transform-origin:center top;transform:rotateX(90deg);background:repeating-linear-gradient(90deg,#c5b59c 0 60px,#9e8f7c 61px 62px);pointer-events:none}.intro{position:absolute;z-index:2;left:6%;bottom:22%;color:#fff;pointer-events:none;text-shadow:0 2px 15px #17241ac0}.intro h1{font-size:clamp(38px,4.8vw,73px)}.intro p{font-size:12px}.intro:before{content:'';position:absolute;z-index:-1;inset:-50px;background:radial-gradient(ellipse at left,#10251c77,transparent 75%)}.room-heading{position:absolute;top:100px;left:5%;color:white;text-shadow:0 1px 15px #0009;pointer-events:none}.room-heading small{letter-spacing:.2em;font-size:8px}.room-heading h2{font:500 38px 'Playfair Display';margin:10px 0}.room-heading p{font-size:11px}.room-heading[hidden],.material-points[hidden],.space-nav[hidden]{display:none}.material-points{position:absolute;inset:0;pointer-events:none;z-index:3}.point{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px;color:white;pointer-events:auto;min-height:44px;border:0;background:none;font-size:10px;text-align:left}.point i{display:grid;place-items:center;width:32px;height:32px;border:1px solid #fff;border-radius:50%;background:#203c2ccc;font-style:normal;box-shadow:0 0 0 5px #ffffff22;font-size:18px}.point span{padding:8px 11px;background:#233c2de8;line-height:1.4;max-width:145px}.point:hover i{background:#d6b98b;color:#183326}.space-nav{position:absolute;bottom:83px;left:5%;right:5%;display:flex;justify-content:center;gap:4px;overflow:auto;scrollbar-width:none;z-index:4}.space-nav button{white-space:nowrap;min-height:44px;border:1px solid #ffffff66;background:#142b21bc;color:white;padding:9px 14px;font-size:10px}.space-nav button[aria-pressed=true]{background:#e0cba5;color:#20342a;border-color:#e0cba5}.bottom{position:absolute;bottom:30px;left:5%;right:5%;display:flex;align-items:center;gap:20px;color:#fff;text-shadow:0 1px 9px #0009;font-size:9px;letter-spacing:.1em;z-index:4}.track-line{height:2px;flex:1;background:#ffffff55}.track-line i{display:block;height:2px;background:#e3c797;width:0}.bottom button{min-height:44px;background:#173327c9;color:white;border:1px solid #ffffff66;padding:8px 15px;font-size:10px}.disclosure{position:absolute;bottom:7px;left:5%;color:#fff;background:#182d23b3;padding:3px 6px;font-size:7px;letter-spacing:.1em}.night-light{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#0b184670,#08162f30 60%,#0a192b70);opacity:0;transition:opacity 1s}.is-night .night-light{opacity:1}.is-night .camera{filter:brightness(.63) saturate(.8)}.camera{transition:filter 1s}.panel{z-index:12}.panel-backdrop{z-index:11}.panel-open{overflow:hidden}header{z-index:5}.experience .mode button{cursor:pointer;opacity:1}.space-nav:before{content:'';position:fixed;bottom:0;left:0;right:0;height:150px;background:linear-gradient(transparent,#0d2319b3);z-index:-1;pointer-events:none}@media(max-width:700px){.intro{bottom:24%;left:6%;right:6%}.intro h1{font-size:38px}.intro p{font-size:11px;max-width:250px;line-height:1.6}.room-heading{top:84px}.room-heading h2{font-size:28px}.room-heading p{font-size:10px;max-width:180px}.space-nav{justify-content:flex-start;bottom:86px}.bottom{gap:10px;font-size:8px;bottom:29px}.bottom button{font-size:9px;max-width:130px}.point span{font-size:8px;padding:7px;max-width:105px}.point{gap:5px}.point i{width:27px;height:27px;font-size:15px}.disclosure{font-size:6px;max-width:90%;line-height:1.5}}@media(prefers-reduced-motion:reduce){.camera,.night-light{transition:none}}

.threshold{display:none}.reveal{border:2px solid #65523c;box-shadow:inset 0 0 12px #30201444}html{scrollbar-width:none}html::-webkit-scrollbar{display:none}

.point[hidden]{display:none}

/* Full-size final image avoids retaining an enlarged composited texture. */
.settled-room{position:absolute;inset:0;pointer-events:none;opacity:0}.settled-room img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}#room-swap{opacity:0;transition:opacity .24s ease-in-out}.is-night .settled-room{filter:brightness(.63) saturate(.8)}.settled-room{transition:filter 1s}.inside{will-change:auto}.point,.space-nav,.room-heading{transition:opacity .2s ease}#room-swap:not([src]){visibility:hidden}
@media(prefers-reduced-motion:reduce){#room-swap{transition:none}.settled-room{transition:none}}

/* Portrait phones: keep the entire 16:9 composition visible within a dedicated frame. */
.ambient-image,.mobile-materials,.zoom-photo{display:none}.image-viewer{position:absolute;inset:0;z-index:20;background:#0b1612;display:grid;place-items:center}.image-viewer[hidden]{display:none}.image-viewer img{display:block;width:100%;height:100%;object-fit:contain}.image-viewer button{position:absolute;top:max(16px,env(safe-area-inset-top));right:16px;min-width:76px;min-height:44px;background:#f2e8d5;color:#20342b;border:0;padding:10px 16px;z-index:2}.image-viewer p{position:absolute;bottom:max(15px,env(safe-area-inset-bottom));left:20px;right:20px;color:#e6ddcd;text-align:center;font-size:11px}.image-open{overflow:hidden}
@media(max-width:700px) and (orientation:portrait){
.experience{background:#12251e;--photo-top:calc(50% - 15px)}
.ambient-image{display:block;position:absolute;inset:-30px;background:linear-gradient(#13251bd9,#13251bf2),url('assets/rooms/fast/exterior.webp') center/cover;filter:blur(14px);pointer-events:none}
.camera,.settled-room{inset:auto 0;top:var(--photo-top);width:100%;height:auto;aspect-ratio:16/9;transform:translateY(-50%);overflow:hidden}
.facade img,.inside img,.settled-room img{object-fit:contain}
.camera{border-top:1px solid #e5d1ac44;border-bottom:1px solid #e5d1ac44}
header{height:auto;min-height:70px;padding:max(12px,env(safe-area-inset-top)) 16px 10px;align-items:center;gap:8px;background:linear-gradient(#0b1e18ed,#0b1e1800)}
.logo{font-size:8px;gap:6px}.symbol{width:32px;height:34px;font-size:19px}.header-actions{gap:0;flex-wrap:nowrap}.header-actions>button{font-size:10px;padding:8px 7px;min-height:44px}.mode button{font-size:10px;padding:0 8px;min-height:44px}.mode{border-color:#ffffff55}
.intro{left:20px;right:20px;top:max(100px,calc(env(safe-area-inset-top) + 82px));bottom:auto;text-shadow:none}.intro h1{font-size:clamp(25px,7.1vw,33px);line-height:1.17;margin:15px 0 12px}.intro .eyebrow{font-size:8px;letter-spacing:.13em}.intro p{font-size:11px;line-height:1.7;max-width:290px;margin:0}.intro:before{display:none}
.room-heading{top:max(100px,calc(env(safe-area-inset-top) + 82px));left:20px;right:20px;text-shadow:none}.room-heading h2{font-size:31px;margin:12px 0}.room-heading p{max-width:none;font-size:11px}.room-heading small{font-size:8px}
.point{width:44px;height:44px;min-height:44px;padding:0;justify-content:center;gap:0}.point i{width:26px;height:26px;font-size:16px;box-shadow:0 0 0 3px #ffffff25}.point span{display:none}
.mobile-materials:not([hidden]){display:flex;position:absolute;left:16px;right:16px;gap:6px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#9c8b6a transparent;padding:0 0 5px;z-index:4}.mobile-materials button{flex:none;min-height:44px;padding:10px 12px;border:1px solid #ffffff33;background:#1e382deb;color:#e8dfcf;font-size:10px;white-space:nowrap}
.zoom-photo{display:block;position:absolute;right:16px;z-index:4;min-height:44px;padding:10px 12px;border:0;background:#172e25e0;color:#e1c79d;font-size:10px}
.space-nav{left:16px;right:16px;bottom:calc(100px + env(safe-area-inset-bottom));justify-content:flex-start;gap:6px;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:#b99c71 transparent}.space-nav button{padding:9px 13px;min-height:44px;font-size:11px;border-radius:3px}.space-nav:before{height:190px;background:linear-gradient(transparent,#0a1c15)}
.bottom{left:16px;right:16px;bottom:calc(32px + env(safe-area-inset-bottom));gap:12px;font-size:8px}.bottom button{min-height:46px;font-size:11px;max-width:145px;padding:10px 12px}.bottom #stage{max-width:120px;line-height:1.6}.track-line{min-width:12px}
.disclosure{left:16px;bottom:calc(9px + env(safe-area-inset-bottom));font-size:6px;background:transparent;padding:0;line-height:1.5;max-width:90%}.night-light{background:#07172b33}
.panel{padding:20px 18px max(25px,env(safe-area-inset-bottom));width:100%}.panel-form input,.panel-form select,.panel-form textarea{font-size:16px}.panel h2{font-size:30px}.panel-top{position:sticky;top:-20px;background:#f5f2ec;z-index:2;padding:8px 0}.panel button{min-height:44px}
}
@media(max-width:375px) and (orientation:portrait){header{padding-left:12px;padding-right:12px}.header-actions>button{padding:8px 5px}.mode button{padding:0 6px}.intro{top:87px}.intro h1{font-size:25px}.room-heading{top:87px}}
@media(max-height:700px) and (orientation:portrait){.intro{top:82px}.intro h1{font-size:24px;margin:11px 0 7px}.intro p{font-size:10px}.room-heading{top:82px}.room-heading h2{font-size:26px;margin:8px 0}.room-heading p{font-size:10px}.room-heading small{font-size:7px}.experience{--photo-top:46%}.space-nav{bottom:calc(90px + env(safe-area-inset-bottom))}}
@media(max-width:950px) and (orientation:landscape) and (max-height:500px){header{height:54px;padding:0 16px}.logo{font-size:8px}.symbol{width:30px;height:32px}.intro{bottom:24%;left:4%}.intro h1{font-size:30px;margin:14px 0}.intro p{font-size:10px}.room-heading{top:64px;left:4%}.room-heading h2{font-size:23px;margin:5px 0}.room-heading small,.room-heading p{font-size:8px}.space-nav{bottom:63px;left:4%;right:4%}.space-nav button{font-size:9px;padding:8px;min-height:40px}.bottom{bottom:17px;font-size:8px}.disclosure{bottom:2px;font-size:6px}.point span{font-size:8px;max-width:100px}.point i{width:26px;height:26px}}
@media(max-width:700px) and (orientation:portrait){.experience:not(.in-room) .zoom-photo{top:calc(var(--photo-top) + 28.125vw + 8px)!important}.camera{border:0;outline:1px solid #e5d1ac33}}
/* Prevent focusing a control from scrolling the fixed scene itself. */
.experience{overflow:clip}.ambient-image{inset:0}
@media(max-width:950px) and (orientation:landscape) and (max-height:500px){.experience{background:#13281f}.facade img,.inside img,.settled-room img{object-fit:contain}.camera{border:0;outline:none}}
@media(max-width:950px) and (orientation:landscape) and (max-height:500px){.inside{background:#13281f}}

/* Room changes use decoded image layers and a visible, time-based transition. */
#settled-image,#room-swap{transform-origin:center center}#room-swap{transition:none}
.switching-room .material-points,.switching-room .mobile-materials,.switching-room .room-heading{opacity:0;pointer-events:none}
.material-points,.mobile-materials,.room-heading{transition:opacity .22s ease}
.space-nav[aria-busy="true"]{cursor:progress}.space-nav button{transition:background .2s,color .2s}

#exterior-points[hidden],#exterior-materials[hidden]{display:none}
@media(max-width:700px) and (orientation:portrait){.experience:not(.in-room) .zoom-photo{top:calc(var(--photo-top) + 28.125vw + 66px)!important}}

/* Match the point coordinate system to a complete, uncropped photo. */
.facade img,.inside img,.settled-room img{object-fit:contain}
.point{padding:0;transform:translate(-16px,-50%)}
.point i{flex:none}
.point.label-left{flex-direction:row-reverse;transform:translate(calc(-100% + 16px),-50%)}
@media(min-width:701px) and (min-height:501px){
 .experience{background:#10251e}
 .camera,.settled-room{inset:90px 24px 145px;background:#10251e}
 .inside{background:#10251e}
 .intro{left:5%;bottom:165px;max-width:470px;padding:22px 26px;border-left:3px solid #dfc39b;background:linear-gradient(100deg,#0b2118f5,#0b2118df);box-shadow:0 12px 35px #06140c33;text-shadow:0 2px 5px #0008}
 .intro:before{display:none}
 .intro h1{font-size:clamp(32px,3.1vw,48px);line-height:1.12;margin:14px 0;color:#fff}
 .intro h1 em{color:#f6dfba}
 .intro p{color:#fff;font-size:12px;line-height:1.7;margin:0}
 .intro .eyebrow{color:#f2d7aa}
 .room-heading{top:96px;left:4%;padding:12px 18px;background:linear-gradient(100deg,#10251ee8,#10251e99);max-width:300px}
 .room-heading h2{font-size:30px;margin:7px 0}
 .room-heading p{line-height:1.6;margin:5px 0}
 .room-heading small{color:#f2d7aa}
}
@media(max-width:700px) and (orientation:portrait){.point,.point.label-left{transform:translate(-50%,-50%)}}
.facade{background:#10251e}

/* Use the full desktop viewport for the uncropped photo, with compact overlay controls. */
@media(min-width:701px) and (min-height:501px){
 .experience{background:#14201b}
 .camera,.settled-room{inset:6px;background:#14201b}
 .facade,.inside{background:#14201b}
 header{height:60px;padding:0 3%;background:linear-gradient(#102019d9,#10201955,transparent)}
 .symbol{width:34px;height:36px;font-size:19px}
 .intro{left:3%;bottom:88px;max-width:400px;padding:16px 20px;background:linear-gradient(100deg,#0b2118ed,#0b2118c9)}
 .intro h1{font-size:clamp(28px,2.7vw,39px);margin:10px 0}
 .intro p{font-size:11px}
 .intro .eyebrow{font-size:8px}
 .room-heading{top:72px;left:3%;padding:10px 14px;max-width:270px}
 .room-heading h2{font-size:26px;margin:5px 0}
 .room-heading p{font-size:10px}
 .bottom{bottom:12px;left:3%;right:3%;gap:16px}
 .bottom button{background:#132b22ed}
 .space-nav{bottom:12px;left:165px;right:185px;justify-content:center}
 .space-nav:before{height:90px;background:linear-gradient(transparent,#10251eaa)}
 .space-nav button{padding:9px 12px;background:#142b21ed}
 .in-room .bottom #stage{max-width:130px;line-height:1.5}
 .in-room .bottom .track-line{visibility:hidden}
 .disclosure{bottom:0;font-size:6px;padding:1px 4px}
}
/* Release the animated perspective layer once outside, avoiding stale clipping on return. */
.camera{isolation:isolate;contain:paint}
.camera.at-exterior{perspective:none}
.camera.at-exterior .world{transform-style:flat;will-change:auto}
.camera.at-exterior .inside{visibility:hidden}
.settled-room[hidden]{display:none}

/* Explicit room navigation remains usable over both the photo and panorama. */
.room-select-label{display:flex;align-items:center;gap:9px;margin-top:9px;font-size:10px;pointer-events:auto}
#room-select{max-width:180px;min-height:44px;border:1px solid #d7c09a;background:#173327;color:#fff;padding:9px 10px;font:11px 'Be Vietnam Pro';pointer-events:auto}
#room-select:focus-visible{outline:3px solid #e5cda5;outline-offset:3px}
#room-load-status{display:block;font-size:10px;line-height:1.5;color:#f0dfbf;max-width:260px;margin-top:5px}
.room-heading{z-index:6}.space-nav{z-index:6;overscroll-behavior:contain}.space-nav button{pointer-events:auto}
@media(max-width:700px) and (orientation:portrait){.room-select-label{margin-top:5px}#room-select{max-width:160px}.room-heading{max-width:calc(100% - 32px)}#room-load-status{font-size:9px}}

/* A continuous photo-to-doorway transition without opaque moving backgrounds. */
.camera{perspective:none!important;isolation:isolate;contain:paint}
.world,.camera.at-exterior .world{transform:none!important;transform-style:flat;will-change:auto}
.facade,.inside{background:transparent!important;backface-visibility:visible}
.facade{z-index:2;will-change:transform,opacity;transition:none}
.inside{z-index:1;transform-origin:center center!important;will-change:transform}
.camera.at-exterior .inside{visibility:visible}
.reveal,.threshold{display:none!important}

/* Routine room changes stay silent; reserve this space for actionable errors. */
#room-load-status:empty{display:none}



/* Mobile uses the full viewport, with original photos over portrait scene extensions. */
.room-controls{display:contents}.room-photo-action{display:none}
@media(max-width:700px) and (orientation:portrait){
 .experience,.experience.in-room{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:62px 90px minmax(0,1fr) 44px 44px 44px;align-content:stretch;gap:0;background:#12251e}
 .experience header,.experience.in-room header{position:relative;inset:auto;grid-row:1;grid-column:1;height:62px;min-height:0;padding:8px 12px;box-sizing:border-box;background:#12251e}
 .experience .ambient-image{display:none}
 .experience .room-controls,.experience.in-room .room-controls{display:grid;grid-row:2;grid-column:1;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:40px 38px;align-content:center;align-items:center;gap:4px 8px;height:90px;min-height:90px;box-sizing:border-box;padding:4px 12px;position:relative;inset:auto;z-index:6;background:transparent}
 .experience:not(.in-room) .room-controls{visibility:hidden;pointer-events:none}
 .in-room #room-heading{display:contents;opacity:1;pointer-events:auto}
 .in-room #room-heading small,.in-room #room-heading p,.in-room .room-select-label{display:none}
 .in-room #room-title,.in-room.panorama-inline #room-title{grid-column:1;grid-row:1;font-size:23px;line-height:1.15;margin:0;max-width:none;padding:0;background:none}
 .in-room #room-load-status:not(:empty){grid-column:1/-1;margin:0}
 .in-room .room-photo-action{display:block;grid-column:2;grid-row:1;position:relative;min-height:40px;padding:6px 10px;border:1px solid #e2cda744;border-radius:3px;background:#173327;color:#e2cda7;font:10px 'Be Vietnam Pro'}
 .in-room #zoom-photo{display:none!important}
 .experience .camera,.experience .settled-room,.experience .panorama-view,.experience.in-room .camera,.experience.in-room .settled-room,.experience.in-room .panorama-view{position:relative!important;inset:auto!important;grid-row:3;grid-column:1;width:100%;height:100%;min-height:0;aspect-ratio:auto;transform:none!important;outline:0;border:0;background:#12251e}
 .experience .facade img,.experience .inside img,.experience .settled-room img{object-fit:contain;mask-image:linear-gradient(to bottom,transparent calc(50% - 28.125vw),#000 calc(50% - 28.125vw + 14px),#000 calc(50% + 28.125vw - 14px),transparent calc(50% + 28.125vw));background:none}
 .experience .intro{grid-row:2;grid-column:1;position:relative;inset:auto;align-self:center;margin:0;padding:2px 16px;box-sizing:border-box;z-index:2}
 .experience .intro .eyebrow{font-size:7px;letter-spacing:.1em}
 .experience .intro h1{font-size:22px;line-height:1.1;margin:4px 0}
 .experience .intro p{font-size:9px;line-height:1.3;max-width:none;margin:0}
 .experience .mobile-materials:not([hidden]){display:flex;position:relative;inset:auto!important;grid-row:4;grid-column:1;align-self:stretch;min-width:0;box-sizing:border-box;margin:0;padding:6px 12px 0;gap:5px;background:#12251e;scrollbar-width:none}
 .experience .mobile-materials button{min-height:38px;padding:6px 9px;font-size:10px;border-radius:3px}
 .experience #room-nav:not([hidden]){display:flex!important;grid-row:5;grid-column:1;position:relative;inset:auto;gap:5px;min-width:0;margin:0;padding:6px 12px 0;justify-content:flex-start;align-self:stretch;box-sizing:border-box;scrollbar-width:none;background:#12251e}
 .experience #room-nav:before{display:none}
 .experience #room-nav button{min-height:38px;padding:6px 10px;font-size:10px;border-radius:3px;flex:none}
 .experience:not(.in-room) #zoom-photo{display:block;position:relative;inset:auto!important;grid-row:5;grid-column:1;justify-self:end;align-self:center;min-height:38px;padding:6px 10px;font-size:10px;margin-right:12px}
 .experience .bottom,.experience.in-room .bottom{grid-row:6;grid-column:1;position:relative;inset:auto;justify-content:flex-end;align-self:stretch;box-sizing:border-box;padding:2px 12px max(4px,env(safe-area-inset-bottom));margin:0;background:#12251e}
 .experience .bottom button{min-height:38px;padding:6px 10px;font-size:10px;max-width:none;border:0;background:transparent;color:#e2cda7}
 .experience .bottom #stage,.experience .bottom .track-line,.experience .disclosure{display:none!important}
 .experience #intro{transition:none}
 .experience .material-points{transition:none}
}
@media(max-width:360px) and (orientation:portrait){
 .experience header,.experience.in-room header{padding-left:8px;padding-right:8px;gap:4px}
 .experience .header-actions>button{padding:8px 4px;font-size:9px}
 .experience .mode button{padding:0 5px;font-size:9px}
 .experience .intro h1{font-size:21px}
 .in-room #room-title,.in-room.panorama-inline #room-title{font-size:21px}
}

.photo-layer{position:absolute;inset:0;pointer-events:none}#swap-photo{opacity:0}#room-swap{opacity:1}
@media(max-width:700px) and (orientation:portrait){
 .facade:before,.inside:before,.photo-layer:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:var(--mobile-scene);background-position:center;background-size:100% 100%;background-repeat:no-repeat}
 .facade img,.inside img{position:relative;z-index:1}
 .photo-layer img{z-index:1}
}
