:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #f9f7f0;
  background: #19221f;
  font-synthesis: none;
  color-scheme: dark;
  --paper: #f4f1ea;
  --ink: #27332f;
  --muted: #71776e;
}
* { box-sizing: border-box; }
body { margin: 0; overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #b6ac85; outline-offset: 5px;
}
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; }
.btn { border: 1px solid #ffffff50; background: none; padding: 16px 24px; min-height: 48px; font-size: 12px; }
.btn.solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.teal { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.block { width: 100%; }
.text-button { background: none; border: 0; padding: 15px 10px; font-size: 11px; letter-spacing: .04em; min-height: 44px; }
.text-button:hover { color: #d6d0b7; }
.wordmark { background: none; border: 0; text-decoration: none; letter-spacing: .24em; font-size: 23px; line-height: 1.2; text-align: left; padding: 0; }
.wordmark small { display: block; font: 9px Arial, sans-serif; letter-spacing: .25em; margin-top: 8px; }
#app { height: 100svh; min-height: 360px; }
.intro, .showroom { position: absolute; inset: 0; overflow: hidden; visibility: hidden; opacity: 0; transition: opacity .6s ease; }
.intro.active, .showroom.active { visibility: visible; opacity: 1; }
.intro-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.intro-overlay, .vignette { position: absolute; inset: 0; pointer-events: none; }
.intro-overlay { background: linear-gradient(90deg,#07120e99, #07120e28 65%, #07120e08),linear-gradient(0deg,#07120e9c,transparent 60%,#07120e36); }
.vignette { z-index: 2; background: linear-gradient(0deg,#07100da6,transparent 32%,transparent 75%,#07100d8c); }
.intro-head, .topbar { position: absolute; top: max(30px,env(safe-area-inset-top)); left: 4%; right: 4%; display: flex; align-items: center; gap: 26px; z-index: 6; }
.project-location { margin-left: auto; font-size: 10px; letter-spacing: .07em; }
.intro-head > .text-button { margin-left: auto; }
.intro-copy { position: absolute; left: 7%; right: 7%; bottom: clamp(110px,16vh,175px); }
.intro-copy > p, .scene-label > p { font-size: 9px; letter-spacing: .22em; margin-bottom: 22px; }
.intro-copy h1 { font-size: clamp(46px,5.8vw,88px); max-width: 750px; line-height: 1.03; margin-bottom: 24px; letter-spacing: -.045em; }
.intro-copy > span { display: block; font-size: 12px; line-height: 1.75; color: #ffffffe0; }
.intro-actions { margin-top: 30px; }
.intro-copy .btn { display: flex; gap: 48px; align-items: center; }
.intro-copy #loadText { display: block; max-width: 480px; font-size: 10px; line-height: 1.5; margin-top: 12px; color: #ffffffa6; }
.intro-foot { position: absolute; left: 4%; right: 4%; bottom: max(28px,env(safe-area-inset-bottom)); border-top: 1px solid #ffffff50; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .09em; }
#panoCanvas, #travelSnapshot { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
#panoCanvas { z-index: 1; background: #101512; cursor: grab; }
#panoCanvas:active { cursor: grabbing; }
.flat-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
#travelSnapshot { z-index: 3; opacity: 1; transform: scale(1); transition: transform .28s ease,opacity .36s ease; pointer-events: none; }
#travelSnapshot.advancing { transform: scale(1.035); }
#travelSnapshot.fading { opacity: 0; transform: scale(1.045); }
.scene-veil { position: absolute; inset: 0; background: #0b110f; z-index: 4; opacity: 0; transition: opacity .22s ease; pointer-events: none; }
.showroom.is-changing .scene-veil { opacity: .72; }
.showroom.loading-scene .scene-veil { opacity: .86; }
.showroom.is-changing .hotspots { opacity: 0; pointer-events: none; }
.scene-transition { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 7; max-width: 85%; text-align: center; font-size: 11px; letter-spacing: .03em; opacity: 0; visibility: hidden; transition: opacity .2s ease; line-height: 1.8; }
.scene-transition button { display: block; margin: 18px auto 0; padding: 10px 20px; background: none; border: 1px solid #ffffff70; }
.showroom.loading-scene .scene-transition, .showroom.waiting-scene .scene-transition, .showroom.scene-error .scene-transition { opacity: 1; visibility: visible; }
.right-tools { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.scene-label { position: absolute; z-index: 5; left: 4%; bottom: 118px; max-width: 600px; pointer-events: none; }
.scene-label h2 { font-size: clamp(30px,3.5vw,50px); margin-bottom: 12px; }
.scene-label > p { font-size: 8px; margin-bottom: 15px; text-transform: uppercase; }
.scene-label > span { display: block; max-width: 430px; color: #ffffffbd; font-size: 11px; line-height: 1.6; }
.viewer-foot { position: absolute; z-index: 6; left: 4%; right: 4%; bottom: max(22px,env(safe-area-inset-bottom)); padding-top: 15px; border-top: 1px solid #ffffff35; display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 55px; }
.look-hint { font-size: 10px; letter-spacing: .03em; color: #ffffffb0; transition: opacity .4s; }
.look-hint.used { opacity: 0; }
.scene-count { font-size: 10px; font-variant-numeric: tabular-nums; color: #ffffffc0; }
.scene-navigation { position: relative; margin-left: auto; margin-right: 40px; font-size: 10px; }
.scene-navigation > button { width: 100%; background: none; border: 0; padding: 12px 0; font-size: 10px; min-height: 44px; }
.scene-navigation > button span { margin-left: 25px; }
.scene-navigation #guideContent { position: absolute; bottom: 52px; right: 0; min-width: 250px; max-height: 55vh; overflow: auto; background: var(--paper); color: var(--ink); padding: 12px 20px; box-shadow: 0 10px 50px #0003; }
.scene-navigation #guideContent button { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #27332f20; background: none; padding: 15px 0; font-size: 11px; min-height: 44px; }
.immersive-ui { transition: opacity .3s ease; }
.dragging .scene-label { opacity: .35; }
.hotspots { position: absolute; inset: 0; pointer-events: none; z-index: 5; transition: opacity .2s; }
.hotspot { position: absolute; transform: translate(-50%,-50%); display: flex; gap: 10px; align-items: center; border: 0; background: none; padding: 16px; opacity: 0; visibility: hidden; pointer-events: none; min-width: 48px; min-height: 48px; }
.hotspot.visible { opacity: 1; visibility: visible; pointer-events: auto; }
.hotspot-dot { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #ffffffe0; border-radius: 50%; background: #16382c70; box-shadow: 0 0 0 6px #ffffff16; font-size: 12px; flex: 0 0 auto; }
.hotspot-label { font-size: 10px; white-space: nowrap; text-shadow: 0 1px 8px #0008; background: #15261f90; padding: 8px 11px; }
.hotspot:hover .hotspot-dot, .hotspot:focus-visible .hotspot-dot { background: var(--paper); color: var(--ink); }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 100px; transform: translateX(-50%); padding: 12px 18px; max-width: 90vw; background: var(--paper); color: var(--ink); font-size: 12px; opacity: 0; pointer-events: none; line-height: 1.5; }
.toast.show { opacity: 1; }
.panel-backdrop { position: fixed; inset: 0; z-index: 19; background: #0c151299; backdrop-filter: blur(5px); }
.panel { display: none; position: fixed; z-index: 20; background: var(--paper); color: var(--ink); color-scheme: light; box-shadow: 0 20px 100px #0005; overflow: auto; overscroll-behavior: contain; }
.panel.open { display: block; }
.overlay-panel { inset: 6% 5%; padding: 50px; }
.panel-close { position: absolute; right: 16px; top: 12px; width: 44px; height: 44px; border: 0; background: var(--paper); color: var(--ink); font-size: 26px; z-index: 3; }
.panel h3 { font-size: clamp(34px,4vw,54px); line-height: 1.12; margin-bottom: 20px; }
.panel > p, .tours-head > p, .unit-modal-copy > p:first-child { font-size: 9px; letter-spacing: .2em; }
.panel .btn.solid, .panel .btn.teal { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tours-head > span { font-size: 12px; color: var(--muted); }
.tour-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px 24px; margin-top: 36px; }
.tour-card { display: flex; flex-direction: column; align-self: start; border: 0; text-align: left; background: none; padding: 0; color: var(--ink); }
.tour-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; background: #dcded4; }
.tour-card > div { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; }
.tour-card strong { font-size: 11px; font-weight: 400; line-height: 1.5; }
.tour-card span { font-size: 9px; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.tour-card[aria-current=true] img { outline: 2px solid #64796b; outline-offset: 3px; }
.unit-modal { inset: 8% 6%; grid-template-columns: 1.35fr 1fr; max-width: 1320px; margin-inline: auto; }
.unit-modal.open { display: grid; }
.unit-modal-media { position: relative; background: #e7e4dc; min-height: 330px; }
.unit-modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.unit-modal-media.plan-mode img { object-fit: contain; padding: 24px 24px 80px; }
.unit-media-tabs { position: absolute; left: 20px; bottom: 20px; display: flex; background: var(--paper); }
.unit-media-tabs button { padding: 13px 16px; background: none; border: 0; color: var(--ink); font-size: 10px; min-height: 44px; }
.unit-media-tabs [aria-pressed=true] { background: var(--ink); color: var(--paper); }
.unit-visual-badge { position: absolute; left: 20px; top: 20px; background: #f4f1eae8; color: var(--ink); padding: 9px 12px; font-size: 8px; letter-spacing: .13em; }
.unit-modal-copy { padding: 54px 35px 35px; }
.unit-modal-copy h3 { font-size: 40px; }
.unit-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; margin: 28px 0; }
.unit-facts span { display: block; font-size: 9px; color: var(--muted); margin-bottom: 7px; }
.unit-facts strong { font-size: 14px; font-weight: 400; }
.unit-visual-note { font-size: 11px; line-height: 1.65; color: var(--muted); border-top: 1px solid #27332f20; padding-top: 18px; margin-bottom: 22px; }
.availability-row { display: flex; justify-content: space-between; font-size: 11px; border-block: 1px solid #27332f25; padding: 20px 0; margin: 24px 0 16px; }
.availability-row strong { font-weight: 400; }
.unit-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.unit-actions button, .unit-actions a { background: none; border: 0; border-bottom: 1px solid #27332f50; padding: 11px 0; font-size: 11px; text-decoration: none; min-height: 44px; }
.unit-modal-copy > small { display: block; font-size: 9px; color: var(--muted); line-height: 1.65; margin-top: 24px; }
.side-panel { top: 5%; bottom: 5%; right: 4%; width: min(460px,92%); padding: 56px 34px 25px; }
.side-panel h3 { font-size: 39px; }
.context { font-size: 11px; line-height: 1.6; margin-bottom: 24px; color: var(--muted); }
#contactForm { display: grid; gap: 18px; }
#contactForm label { display: block; font-size: 11px; }
#contactForm .optional { color: var(--muted); font-size: 9px; margin-left: 4px; }
#contactForm input, #contactForm textarea { display: block; width: 100%; background: none; border: 0; border-bottom: 1px solid #27332f50; padding: 10px 0; color: var(--ink); font-size: 16px; margin-top: 5px; border-radius: 0; }
#contactForm textarea { height: 80px; resize: vertical; }
#contactForm .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 10px; line-height: 1.5; }
#contactForm .consent input { width: 16px; flex: 0 0 16px; margin-top: 1px; accent-color: var(--ink); }
#contactForm .honeypot { position: absolute; left: -10000px; }
#contactResult { font-size: 11px; line-height: 1.6; min-height: 18px; margin: 0; }
.noscript { position: absolute; z-index: 15; left: 7%; bottom: 85px; font-size: 12px; }
@media (max-width: 1000px) {
  .project-location { display: none; }
  .unit-modal { inset: 5% 4%; grid-template-columns: 1fr 1fr; }
  .unit-modal-copy { padding: 50px 25px 30px; }
  .unit-modal-copy h3 { font-size: 34px; }
}
@media (max-width: 700px) {
  .intro-head, .topbar { top: max(23px,env(safe-area-inset-top)); left: 6%; right: 6%; gap: 14px; }
  .wordmark { font-size: 19px; }
  .wordmark small { font-size: 8px; margin-top: 6px; }
  .intro-head .text-button { font-size: 10px; padding-inline: 0; }
  .intro-copy { left: 7%; right: 7%; bottom: 125px; }
  .intro-copy h1 { font-size: clamp(48px,13vw,70px); margin-bottom: 23px; }
  .intro-copy > p { font-size: 8px; margin-bottom: 19px; }
  .intro-copy > span { font-size: 11px; max-width: 320px; }
  .intro-copy .btn { font-size: 11px; padding: 15px 20px; gap: 36px; }
  .intro-actions { margin-top: 25px; }
  .intro-foot { left: 7%; right: 7%; bottom: max(25px,env(safe-area-inset-bottom)); font-size: 8px; padding-top: 16px; }
  .intro-foot > span:last-child { display: none; }
  .topbar .wordmark { font-size: 16px; }
  .topbar .wordmark small { font-size: 7px; }
  .right-tools { gap: 3px; }
  .right-tools .text-button { font-size: 10px; padding: 12px 6px; }
  .scene-label { left: 6%; right: 6%; bottom: 118px; }
  .scene-label h2 { font-size: 31px; }
  .scene-label > p { font-size: 7px; margin-bottom: 12px; }
  .scene-label > span { font-size: 10px; max-width: 310px; }
  .viewer-foot { left: 6%; right: 6%; bottom: max(20px,env(safe-area-inset-bottom)); gap: 15px; }
  .look-hint { max-width: 110px; font-size: 9px; line-height: 1.6; }
  .scene-navigation { margin-right: 10px; }
  .scene-navigation > button { font-size: 9px; }
  .scene-navigation > button span { margin-left: 12px; }
  .scene-count { font-size: 9px; }
  .hotspot-label { display: none; }
  .hotspot:focus-visible .hotspot-label { display: block; position: absolute; bottom: 100%; left: 0; }
  .overlay-panel { inset: 3% 3%; padding: 60px 22px 28px; }
  .panel h3 { font-size: 37px; }
  .tour-grid { grid-template-columns: 1fr 1fr; gap: 22px 15px; margin-top: 30px; }
  .tour-card strong { font-size: 10px; }
  .tour-card span { font-size: 8px; }
  .unit-modal { inset: 3% 3%; grid-template-columns: 1fr; }
  .unit-modal-media { height: 34vh; min-height: 230px; }
  .unit-modal-copy { padding: 28px 25px; }
  .unit-modal-copy h3 { font-size: 36px; }
  .unit-modal-media.plan-mode img { padding: 12px 12px 65px; }
  .unit-media-tabs { left: 12px; bottom: 12px; }
  .unit-visual-badge { left: 12px; top: 12px; }
  .side-panel { inset: 3% 3%; width: auto; padding: 58px 28px 25px; }
  .scene-navigation #guideContent { min-width: 225px; right: -50px; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .intro-head, .topbar { top: max(15px,env(safe-area-inset-top)); }
  .intro-copy { bottom: 73px; }
  .intro-copy h1 { font-size: 39px; line-height: 1.05; margin-bottom: 12px; }
  .intro-copy > p { margin-bottom: 12px; }
  .intro-copy > span, .intro-copy #loadText { display: none; }
  .intro-actions { margin-top: 15px; }
  .intro-foot { bottom: 14px; padding-top: 11px; }
  .scene-label { bottom: 84px; }
  .scene-label h2 { font-size: 26px; }
  .scene-label > span { display: none; }
  .viewer-foot { bottom: 12px; padding-top: 7px; }
  .unit-modal { inset: 3%; grid-template-columns: 1fr 1fr; }
  .unit-modal-media { height: 100%; min-height: 0; }
  .unit-modal-copy { padding-top: 45px; }
  .side-panel { padding-top: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
