:root { --champagne:#f7d34d; --line:#ffffff54; --gutter:clamp(16px,3vw,42px); }
body { background:#1a1a1a; }
h1,h2,.brand,.floor-number { font-family:system-ui,sans-serif; }
.masthead { min-height:0; padding:18px var(--gutter); background:none; }
.brand,.masthead nav,.scene-tools,.floor-card,.room-actions { background:#eee8dcf5; color:#1a1a1a; border:1px solid #fff8; border-radius:999px; box-shadow:0 6px 28px #1a1a1a40; }
.brand { padding:10px 16px; font-size:15px; font-weight:650; letter-spacing:-.025em; }
.masthead nav,.room-actions { gap:2px; padding:4px; }
.control,.floor-card .floor-number,.floor-card small { color:inherit; }
.control { border:0; border-radius:999px; background:transparent; font-weight:560; }
.control:hover { background:#cfc4b0; color:#1a1a1a; }
.control[aria-current=true],.control[aria-pressed=true],.control.primary { background:#1a1a1a; color:#f7d34d; }
.control:focus-visible,a:focus-visible { outline:2px solid #94653b; outline-offset:3px; }
.house-footer h1,.room-footer h2 { font-size:clamp(30px,4.3vw,64px); font-weight:570; }
.house-footer p,.room-footer p { font-size:14px; }
.facade::after { background:linear-gradient(0deg,#1a1a1aeb,transparent 36%); }
.facade-flight-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.facade :is(img, .facade-flight-video) { filter:saturate(1.14) contrast(1.04); transition:filter .45s; }
.house.evening .facade :is(img, .facade-flight-video) { filter:brightness(.68) saturate(1.22) contrast(1.14) hue-rotate(9deg); }
.floor-card { padding:9px 15px; }
.floor-card::before { border-color:#f7d34d; }
.floor-hit path { fill:#f7d34d38; }
.floor-hit .floor-marker { fill:#1a1a1a; stroke:#f7d34d; stroke-width:1.5; pointer-events:all; cursor:pointer; }
.floor-hit .floor-marker-label { font:600 16px system-ui,sans-serif; fill:#fff; }
.floor-hit:hover .floor-marker,.floor-hit:focus-visible .floor-marker { fill:#4d4d4d; stroke-width:2.5; }
.floor-hit circle { fill:#1a1a1a; }
.scene-tools { position:absolute; z-index:3; top:50%; right:var(--gutter); translate:0 -50%; display:grid; padding:4px; }
.scene-tools .control { min-width:44px; padding:6px 11px; }
.room-actions { position:absolute; right:0; bottom:0; }
.room-footer>div:first-child { max-width:calc(100% - 380px); }
.plan-layout,.location-view { background:#f3f3f3; color:#1a1a1a; color-scheme:light; }
.plan-details .kind,.plan-details > p,.plan-details dt { color:#4d4d4d; }
.plan-details dl div { border-color:#1a1a1a26; }
.stage-media { mask-image:none; overflow:hidden; border-radius:22px; }
.stage { background:#fff; border-radius:22px; }
.stage .original-plan { object-fit:contain; padding:6%; }
.plan-tools { display:flex; flex-wrap:wrap; margin:0 0 14px; }
.location-view { min-height:100svh; display:grid; grid-template-columns:minmax(0,1.5fr) 1fr; align-items:center; gap:clamp(20px,5vw,70px); padding:100px var(--gutter) 40px; }
.location-view img { display:block; width:100%; max-height:72svh; object-fit:cover; border-radius:22px; }
.location-view h1 { font-size:clamp(38px,5vw,76px); }
.location-view p { margin:16px 0 24px; }
.complex-facts { margin:24px 0; }
.complex-facts div { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid #1a1a1a26; }
.complex-facts dd { margin:0; font-weight:650; text-align:right; }
.complex-actions { display:flex; flex-wrap:wrap; gap:6px; }
.location-view .complex-source { font-size:13px; color:#4d4d4d; margin-bottom:0; }
@media(max-width:740px) {
 .masthead { flex-direction:column; align-items:flex-start; gap:8px; padding:12px var(--gutter); }
 .masthead nav { max-width:100%; }
 .masthead .control { font-size:12px; }
 .plan-layout,.location-view { padding-top:126px; }
 .location-view { grid-template-columns:1fr; align-content:center; }
 .room-footer>div:first-child { max-width:100%; }
 .room-actions { position:static; }
 .room-footer { gap:10px; }
 .floor-card { bottom:142px; }
}
@media(prefers-reduced-motion:reduce) { .facade img { transition:none; } }
.facade-dock { position:absolute; z-index:4; bottom:30px; left:50%; translate:-50% 0; display:flex; align-items:center; gap:12px; padding:8px; border:1px solid #ffffff65; border-radius:20px; background:#1a1a1ae8; backdrop-filter:blur(16px); max-width:calc(100% - 32px); }
.facade-views { display:flex; gap:6px; overflow-x:auto; padding:3px; }
.facade-view { border:2px solid transparent; padding:0; border-radius:12px; overflow:hidden; position:relative; flex:0 0 112px; height:70px; cursor:pointer; color:white; background:#1a1a1a; }
.facade-view img { width:100%; height:100%; object-fit:cover; opacity:.7; }
.facade-view span { position:absolute; bottom:5px; left:5px; right:5px; font:500 11px system-ui; text-shadow:0 1px 5px #000; }
.facade-view[aria-pressed=true] { border-color:#f7d34d; }
.facade-view[aria-pressed=true] img { opacity:1; }
.tour-play { color:white; white-space:nowrap; }
.house-footer { bottom:140px; pointer-events:none; }
.house-footer a { pointer-events:auto; }
.house .floor-card { top:auto; bottom:270px; left:var(--gutter); translate:none; }
.house .floor-card::before { display:none; }
.house[data-angle]:not([data-angle="0"]) .floor-card::before { display:none; }
.room-scenes { position:absolute; z-index:4; top:100px; left:var(--gutter); display:flex; gap:4px; padding:4px; border-radius:28px; background:#eee8dcf2; color:#1a1a1a; }
@media(max-width:740px) {
 .facade-dock { bottom:16px; width:calc(100% - 32px); gap:4px; }
 .facade-views { flex:1; }
 .facade-view { flex-basis:86px; height:62px; }
 .tour-play { padding:8px; font-size:12px; }
 .house-footer { bottom:122px; }
 .house-footer h1 { font-size:36px; }
 .house .floor-card { bottom:270px; }
 .room-scenes { top:120px; }
}

