/* One screen, one house. Only the request form has its own scroll. */
html,body.single-house{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;background:#eaf7fc}
[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:-1px;padding:0;border:0}
#contenu,#explorer,.house-stage{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
.house-stage{display:grid;place-items:center;background:#eaf7fc;touch-action:none}
.house-art{position:relative;width:min(100vw,133.333dvh);aspect-ratio:4/3;flex:none;isolation:isolate;transition:transform .38s ease,opacity .2s}
.house-art>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
.hotspot,.room-entry{position:absolute;padding:0;background:transparent;border:0;color:transparent;border-radius:3px;cursor:pointer;transition:background .15s}
.hotspot{transform:translate(-50%,-50%);z-index:3}.hotspot-core,.hotspot-label{display:none}
.hotspot:hover,.hotspot:focus-visible{background:#ffffff1c;box-shadow:0 0 0 1px #ffffff80;outline:none}
.room-entry{z-index:1;cursor:url('/assets/passage-cursor.svg') 16 16,pointer}.room-entry:hover,.room-entry:focus-visible{background:#ffffff0a;box-shadow:inset 0 0 0 1px #ffffff55;outline:none}
.house-stage.entering .hotspot,.house-stage.entering .room-entry{pointer-events:none;opacity:0}
#interior{position:absolute;inset:0;padding:0;margin:0;max-width:none;width:100%;height:100%;display:block}
#interior .visit-main{height:100%;width:100%}.room-stage{position:absolute;inset:0;height:100%!important;min-height:0!important;width:100%;border-radius:0;touch-action:none}
.visit-heading,.visit-instructions,.equipment-panel,.passages,.view-controls{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;margin:0}
/* The same controls remain available to keyboard users, revealed only on focus. */
.visit-heading:focus-within,.view-controls:focus-within,.passages:focus-within,.equipment-panel:focus-within{clip-path:none;width:auto;height:auto;max-height:70vh;overflow:auto;white-space:normal;z-index:20;background:#fff;padding:12px;top:12px;left:12px;right:auto;bottom:auto;transform:none;border-radius:8px;max-width:calc(100vw - 24px)}
.equipment-panel:focus-within{top:60px}.visit-heading h1,.visit-heading .eyebrow{display:none}.passage-label{display:none}
.room-stage[data-hover=passage]{cursor:url('/assets/passage-cursor.svg') 16 16,pointer}.room-stage[data-hover=object]{cursor:pointer}.room-stage.dragging{cursor:grabbing}
.bath-compare{top:16px;right:16px;font-size:11px}.hover-label{display:none}.room-error{position:fixed;z-index:30;top:30%;left:20%;background:white}
.project-open{bottom:18px;right:20px;padding:10px 14px;border-radius:30px;gap:12px;background:#fffffff2;color:#245064;box-shadow:0 3px 18px #123b6118;border:1px solid #ffffffaa;font-size:12px!important}.project-open span{border-color:#a7c7d6;width:23px;height:23px}.project-toast{border-radius:12px}
body.leaving .room-stage{opacity:1;transform:none;transition:none}
@media(max-width:600px){.house-art{width:100vw}.project-open{bottom:12px;right:12px}.bath-compare{top:12px;right:12px}.context-card{border-radius:12px}.project-drawer{width:100vw}}
@media(prefers-reduced-motion:reduce){.house-art{transition:none}}
/* The requested contact header and official trade dock share the viewport. */
:root{--header-h:82px;--dock-h:86px}
.house-header{height:var(--header-h);position:fixed;inset:0 0 auto;display:flex;align-items:center;gap:24px;padding:8px 28px;background:#fff;z-index:32;border-bottom:1px solid #dceaf0}
.house-brand{display:flex;align-items:center;gap:18px;background:none;border:0;padding:0;text-align:left;color:#254452}.house-brand img{display:block;object-fit:contain;width:142px;height:65px}.house-brand>span{font-size:15px;font-weight:600;border-left:1px solid #d7e5eb;padding-left:18px}.house-brand>span>span{display:block;font-size:10px;font-weight:400;color:#69838e;margin-top:3px}
.header-contacts{margin-left:auto;display:flex;align-items:center;gap:28px;color:#36596c;font-size:12px;white-space:nowrap}.header-email{border:0;padding:0;color:inherit;background:none;font-size:inherit}.header-contacts a{font-size:15px;font-weight:600;letter-spacing:.02em}.request-slot{width:145px;flex:none}
.project-open{top:20px;bottom:auto;right:28px;z-index:33;background:#005ba4;color:white;border:0;height:42px;border-radius:6px;box-shadow:none}.project-open span{border-color:#ffffff70}
.project-toast{top:91px;bottom:auto;z-index:35}
#contenu{inset:var(--header-h) 0 var(--dock-h);height:auto}
.house-art{width:min(100vw,calc((100dvh - var(--header-h) - var(--dock-h))*1.333333))}
/* A short introduction stays above the house, within the same screen. */
#explorer{display:flex;flex-direction:column}
.house-intro{flex:none;padding:15px 20px 6px;text-align:center;color:#254452}
.house-intro h2{margin:0 0 5px;font-size:clamp(16px,1.7vw,21px);font-weight:600;line-height:1.3;letter-spacing:0}
.house-intro p{margin:0;font-size:13px;line-height:1.5;color:#466575}
.house-intro strong{font-weight:600;color:#005ba4}
#explorer .house-stage{position:relative;inset:auto;flex:1;min-height:0;height:auto;container-type:size}
#explorer .house-art{width:min(100cqw,133.333cqh)}
@media(max-width:600px){.house-intro{padding:12px 18px 6px}.house-intro h2{max-width:370px;margin:0 auto 7px}.house-intro p{max-width:370px;margin:auto;font-size:12px}.intro-break{display:none}}
@media(max-height:550px) and (min-width:601px){.house-intro{padding:6px 16px 3px}.house-intro h2{font-size:16px;margin-bottom:2px}.house-intro p{font-size:11px}.intro-break{display:none}}
.house-trades{position:fixed;inset:auto 0 0;height:var(--dock-h);background:#fff;display:flex;justify-content:center;align-items:center;gap:clamp(12px,4vw,64px);padding:8px 24px;border-top:1px solid #dceaf0;z-index:31}
.house-trades button{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;background:none;border:0;padding:3px 0;min-width:64px;color:#5a707b;font-size:9px;line-height:1.1;max-width:92px;height:100%}.house-trades img{width:42px;height:42px;object-fit:contain;border-radius:50%;transition:transform .15s}.house-trades button:hover img{transform:translateY(-3px)}.house-trades button span{min-height:20px;display:flex;align-items:center;text-align:center}
body:not(.no-webgl) #room-fallback{visibility:hidden}
@media(max-width:900px){.house-brand>span{display:none}.header-contacts{gap:18px}.house-header{gap:20px;padding-inline:20px}.project-open{right:20px}.house-trades{gap:2vw}.house-trades button{min-width:0;flex:1}}
@media(max-width:600px){:root{--header-h:112px;--dock-h:78px}.house-header{padding:7px 14px 35px;gap:0}.house-brand img{width:132px;height:62px}.header-contacts{position:absolute;bottom:9px;left:16px;right:16px;justify-content:space-between;font-size:11px;gap:8px}.header-contacts a{font-size:13px}.project-open{top:21px;right:14px;height:36px;padding:8px 10px;font-size:11px!important}.project-open span{width:20px;height:20px}.house-trades{gap:0;padding:5px 5px}.house-trades img{width:31px;height:31px}.house-trades button{font-size:7.5px;gap:5px;padding-inline:1px}.house-trades button span{min-height:25px}.project-toast{top:120px;right:12px;bottom:auto}}
@media(max-height:550px) and (min-width:601px){:root{--header-h:64px;--dock-h:62px}.house-brand img{height:48px;width:112px}.project-open{top:12px;height:38px}.house-trades img{height:30px;width:30px}.house-trades button{gap:3px;font-size:8px}.house-trades{padding-block:3px}}
