:root{color-scheme:dark;--ohana-bg:#071b14;--ohana-ink:#f7f6f0;--ohana-muted:#d5e2da;--ohana-accent:#ed923e}
*{box-sizing:border-box}
body{margin:0;background:var(--ohana-bg);color:var(--ohana-ink);font:400 1.125rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit;cursor:pointer}
a{color:inherit}
:is(a,button):focus-visible{outline:3px solid #fff;outline-offset:4px}
.ohana-tour{height:100vh;height:100dvh;min-height:480px;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.ohana-tour-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:24px;padding:20px 28px;background:var(--ohana-bg);z-index:2}
.ohana-back{display:inline-flex;align-items:center;justify-self:start;gap:10px;min-height:48px;padding:10px 16px;border:1px solid #91a69a;border-radius:999px;text-decoration:none;font-size:1rem;font-weight:600}
.ohana-back:hover{background:#ffffff14}
.ohana-tour-title{text-align:center}
.ohana-tour-title p{margin:0 0 2px;color:var(--ohana-muted);font-size:1rem;font-weight:600}
.ohana-tour-title h1{margin:0;font:400 2.5rem/1.1 Georgia,serif}
.ohana-tour-title>span{display:block;margin-top:4px;font-size:1rem;color:var(--ohana-muted)}
.ohana-colors{justify-self:end;min-width:0;margin:0;padding:0;border:0}
.ohana-colors legend{margin-bottom:8px;font-size:1rem;font-weight:600;color:var(--ohana-muted)}
.ohana-colors>div{display:flex;gap:8px}
.ohana-colors button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 16px;border:1px solid #91a69a;border-radius:999px;background:#123c2d;color:#fff;font-weight:600}
.ohana-colors button[aria-pressed="true"]{background:#f7f6f0;color:#143d2e;border-color:#f7f6f0}
.color-dot{width:16px;height:16px;flex:0 0 16px;border-radius:50%;border:1px solid #ffffff80}
.color-dot.green{background:#126354}.color-dot.saffron{background:#d7aa38}
.ohana-scene-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden}
.ohana-scene-frame{position:relative;width:100%;aspect-ratio:1600/1070;flex:none}
.ohana-scene-frame>img{display:block;width:100%;height:100%;object-fit:contain}
.ohana-living-hotspot{position:absolute;left:39.5%;top:71%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:8px;padding:0;border:0;background:none;color:#fff;min-width:120px}
.ohana-door-icon{display:grid;place-items:center;width:52px;height:52px;border:2px solid #fff;border-radius:50%;background:#174936;box-shadow:0 0 0 6px #ffffff30,0 4px 16px #0006}
.ohana-hotspot-label{padding:8px 14px;border-radius:10px;background:#102e23f5;color:#fff;font-size:1.125rem;line-height:1.3;font-weight:700;white-space:nowrap}
.ohana-living-hotspot:hover .ohana-door-icon{background:#24664b;transform:scale(1.06)}
.ohana-tour-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:16px 28px max(16px,env(safe-area-inset-bottom));background:var(--ohana-bg)}
.ohana-tour-footer p{margin:0;max-width:48ch;font-size:1.125rem;color:var(--ohana-muted)}
.ohana-tour-footer>span{flex-shrink:0;font-size:1rem;color:var(--ohana-muted)}
dialog{width:min(480px,calc(100% - 32px));padding:32px;border:1px solid #91a69a;border-radius:20px;background:#f7f6f0;color:#1d1d1f;box-shadow:0 24px 80px #0005}
dialog::backdrop{background:#03110ccc}
dialog form{margin:0}.ohana-dialog-label{margin:0 0 12px;color:#174936;font-size:1rem;font-weight:700}
dialog h2{margin:0;font:400 2.25rem/1.2 Georgia,serif}
dialog h2+p{margin:20px 0 24px;font-size:1.125rem;line-height:1.6}
.ohana-dialog-close{min-height:48px;padding:12px 20px;border:0;border-radius:999px;background:#174936;color:#fff;font-size:1.125rem;font-weight:600}
.ohana-dialog-close:focus-visible{outline-color:#174936}
@media(max-width:760px){
  .ohana-tour{min-height:480px}
  .ohana-tour-header{grid-template-columns:1fr;justify-items:start;gap:16px;padding:12px 16px}
  .ohana-back{min-height:44px;font-size:1rem;padding:8px 12px}
  .ohana-tour-title{position:absolute;right:16px;top:15px;text-align:right}
  .ohana-tour-title h1{font-size:2rem}.ohana-tour-title p{display:none}.ohana-tour-title>span{font-size:.9375rem}
  .ohana-colors{justify-self:stretch}.ohana-colors legend{font-size:1rem;margin-bottom:6px}
  .ohana-colors button{flex:1;padding:10px 16px;font-size:1.125rem}.ohana-colors>div{gap:12px}
  .ohana-tour-footer{flex-direction:column;align-items:flex-start;gap:8px;padding:14px 16px max(14px,env(safe-area-inset-bottom))}
  .ohana-tour-footer p{font-size:1.125rem;line-height:1.5}.ohana-tour-footer>span{font-size:1rem}
  .ohana-door-icon{width:44px;height:44px}.ohana-living-hotspot{gap:6px;min-width:112px}.ohana-hotspot-label{font-size:1rem;padding:7px 10px}
}
@media(max-width:380px){.ohana-back span{max-width:110px;line-height:1.35}.ohana-tour-title{top:20px}.ohana-tour-title>span{max-width:120px}}
@media(max-height:500px) and (min-width:600px){
  .ohana-tour{min-height:320px}.ohana-tour-header{grid-template-columns:1fr auto 1fr;gap:16px;padding:8px 16px}
  .ohana-tour-title{position:static;text-align:center}.ohana-tour-title h1{font-size:1.75rem}.ohana-tour-title p,.ohana-tour-title>span,.ohana-colors legend{display:none}
  .ohana-colors{justify-self:end}.ohana-colors>div{gap:6px}.ohana-colors button{font-size:1rem;padding:8px 12px;min-height:44px}
  .ohana-tour-footer{flex-direction:row;padding:8px 16px;gap:16px}.ohana-tour-footer p{font-size:1rem}
}
@media(prefers-reduced-motion:no-preference){.ohana-door-icon{transition:transform .15s ease,background-color .15s ease}}
.ohana-room-back{justify-self:end;min-height:48px;padding:10px 16px;border:1px solid #91a69a;border-radius:999px;background:#123c2d;color:#fff;font-size:1rem;font-weight:600}
.ohana-room-back[hidden],.ohana-colors[hidden]{display:none}
.ohana-kitchen-hotspot{left:86%;top:55%}
.ohana-return-hotspot{left:14%;top:55%}
@media(max-width:760px){.ohana-room-back{justify-self:stretch}.ohana-kitchen-hotspot{left:80%;top:52%}.ohana-return-hotspot{left:20%;top:52%}}
.ohana-bathroom-hotspot{left:clamp(64px,94%,calc(100% - 64px));top:30%}
.ohana-bathroom-hotspot[hidden]{display:none}
@media(max-width:760px){.ohana-bathroom-hotspot{top:24%}.ohana-kitchen-hotspot{top:80%}}
.ohana-scene-hotspot{left:clamp(74px,var(--spot-x),calc(100% - 74px));top:var(--spot-y)}
.ohana-scene-hotspot .ohana-door-icon{font-size:26px}
.ohana-mobile-rooms{display:none}
@media(max-width:760px),(max-height:500px) and (max-width:1000px){
 .ohana-scene-hotspot{display:none}
 .ohana-mobile-rooms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
 .ohana-mobile-rooms button{min-height:48px;padding:8px 10px;border:1px solid #91a69a;border-radius:10px;background:#174936;color:#fff;font-size:1rem;font-weight:600;line-height:1.35}
 .ohana-mobile-rooms button:only-child{grid-column:1/-1}
 .ohana-tour-footer{flex-direction:column;align-items:stretch;gap:10px}
 .ohana-tour-footer p{font-size:1rem}
}
@media(max-height:500px) and (min-width:600px) and (max-width:1000px){.ohana-mobile-rooms{grid-template-columns:repeat(3,minmax(0,1fr))}.ohana-tour-footer p{display:none}}
.ohana-mobile-rooms[hidden]{display:none}
/* Render-relative return navigation remains stationary during scene morphs. */
.ohana-scene-frame{isolation:isolate}
.ohana-room-back{position:absolute;top:16px;left:16px;z-index:10;max-width:calc(100% - 32px);min-height:48px;background:#0b2c21f2;box-shadow:0 3px 14px #0004;text-align:left}
.ohana-scene-hotspot{z-index:5}
.ohana-transition-layer{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;will-change:transform,opacity}
#ohana-exterior{position:relative;z-index:0}
@media(max-width:760px){.ohana-room-back{top:8px;left:8px;max-width:calc(100% - 16px);min-height:44px;padding:8px 12px;font-size:1rem}}
.ohana-mobile-rooms button{display:flex;align-items:center;justify-content:center;gap:8px}
.ohana-mobile-room-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px}
.ohana-mobile-room-icon svg{display:block;width:24px;height:24px}
