@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#080f18;--surface:#0f1926;--stroke:#273447;--text:#f7f4ec;--muted:#98a6b7;--gold:#edc17a;--gold2:#c89b52;--green:#45d39a}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit}
button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
a{color:inherit}
.page-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.topbar{height:78px;flex:0 0 auto;background:#0c141f;border-bottom:1px solid #253040;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,3vw,48px);position:relative;z-index:10}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--gold)}
.brand-mark{width:39px;height:44px;flex-shrink:0}
.brand-label{display:flex;flex-direction:column;gap:4px;white-space:nowrap}
.brand-label strong{font:800 20px/1.1 'Manrope',sans-serif;letter-spacing:-.5px;color:var(--text)}
.brand-label small{font-size:8px;letter-spacing:2px;font-weight:700;color:var(--gold)}
.primary-nav{align-self:stretch;display:flex;align-items:stretch;gap:15px}
.nav-item{display:flex;align-items:center;gap:9px;border:0;border-bottom:2px solid transparent;padding:2px 18px 0;color:#aeb9c8;background:transparent;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.nav-item svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}
.nav-active{color:var(--gold);border-bottom-color:var(--gold)}
.nav-button{cursor:pointer}.nav-button:hover{color:#fff}
.header-tag{display:flex;align-items:center;gap:8px;border:1px solid #3a4958;border-radius:24px;padding:9px 12px;color:#d4dce5;letter-spacing:1.5px;font-size:10px;font-weight:800;white-space:nowrap}
.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #2f725b26;flex:none}
.layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 356px;min-height:600px}
.viewer-area{position:relative;overflow:hidden;background:radial-gradient(ellipse at 47% 52%,#34475c 0%,#1a2a3e 44%,#0b1624 75%,#07101b 100%);isolation:isolate;min-height:620px}
.viewer-canvas{position:absolute;inset:0;z-index:1;cursor:grab;touch-action:none}
.viewer-canvas:active{cursor:grabbing}
.viewer-canvas canvas{display:block;width:100%;height:100%}
.viewer-vignette{position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(180deg,rgba(7,15,26,.54),transparent 33%,transparent 73%,rgba(6,13,23,.76)),linear-gradient(90deg,rgba(7,16,26,.17),transparent 38%,transparent 80%,rgba(7,16,26,.1))}
.heading-overlay{position:absolute;top:38px;left:clamp(20px,4vw,55px);z-index:3;pointer-events:none;text-shadow:0 2px 20px #0a1427}
.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:800;letter-spacing:2.6px;color:var(--gold);margin:0 0 14px}
.eyebrow-line{height:1px;width:24px;background:var(--gold)}
h1,h2{font-family:Manrope,system-ui,sans-serif}
.heading-overlay h1{font-size:clamp(32px,3.3vw,55px);font-weight:800;line-height:1.09;letter-spacing:-1.9px;margin:0}
.heading-overlay h1 em{font-style:normal;color:var(--gold)}
.heading-overlay>p:last-child{font-size:13px;color:#d4dbe6;margin:16px 0 0}
.help-pill{position:absolute;z-index:3;left:clamp(20px,4vw,55px);bottom:118px;display:flex;gap:12px;align-items:center;padding:12px 18px 12px 12px;border:1px solid #6070806b;border-radius:12px;background:#0b1723c9;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 7px 25px #07101b44;pointer-events:none;transition:opacity .6s}
.help-pill.hidden{opacity:0}
.help-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #6b7d9249;border-radius:9px;color:var(--gold)}
.help-icon svg{height:24px;width:24px;stroke:currentColor;stroke-width:1.6;fill:none}
.help-pill strong,.help-pill small{display:block}.help-pill strong{font-size:12px;margin-bottom:4px}.help-pill small{font-size:11px;color:#b2bfcc}
.viewer-footer{position:absolute;z-index:3;left:clamp(20px,4vw,55px);right:clamp(20px,3vw,42px);bottom:36px;display:flex;align-items:center;justify-content:space-between;gap:15px;pointer-events:none}
.camera-control-bar{display:flex;align-items:center;gap:8px;pointer-events:auto}
.icon-button{height:45px;width:45px;display:grid;place-items:center;border-radius:11px;background:#0b1724c9;border:1px solid #61728666;color:#f3f6f7;cursor:pointer;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:background .18s,border .18s,color .18s}
.icon-button:hover{color:var(--gold);border-color:var(--gold);background:#1a293b}
.icon-button svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.control-divider{height:22px;border-left:1px solid #8b9aaf60;margin:0 2px}
.viewer-footer-hint{font-size:10px;letter-spacing:2.8px;font-weight:800;color:#c9d3dd;text-shadow:0 2px 14px #06101c;white-space:nowrap}
.sidebar{background:#101a28;border-left:1px solid #2c394c;display:flex;flex-direction:column;justify-content:space-between;padding:37px 26px 23px;overflow:auto}
.section-topline{color:var(--gold);font-size:10px;font-weight:800;letter-spacing:2px;display:flex;gap:12px;align-items:center}
.round-icon{width:34px;height:34px;display:grid;place-items:center;background:#cc9d5340;border:1px solid #d0a36188;border-radius:9px}
.round-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linejoin:round}
.sidebar h2{font-weight:800;font-size:clamp(25px,2.2vw,31px);line-height:1.25;letter-spacing:-1.2px;margin:26px 0 16px}
.sidebar h2 span{color:var(--gold)}
.sidebar-lede{font-size:13px;line-height:1.85;color:#b0bac8;margin:0 0 27px}
.status-card{border:1px solid #334255;border-radius:10px;background:#172433;display:flex;align-items:center;gap:10px;padding:14px;font-size:11px;font-weight:700;color:#e7e8eb}
.status-type{margin-left:auto;color:#9eafbe;font-size:10px;font-weight:700;white-space:nowrap}
.views-section{margin-top:35px}
.block-heading{display:flex;justify-content:space-between;margin-bottom:14px;color:#bec7d2;font-size:10px;font-weight:800;letter-spacing:1.6px}
.block-heading small{font-size:10px;letter-spacing:.9px;color:var(--gold)}
.views-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.view-button{cursor:pointer;display:flex;flex-direction:column;gap:11px;align-items:flex-start;padding:15px;background:#172230;border:1px solid #344357;border-radius:10px;color:#c2ccd7;font-weight:700;text-align:left;font-size:12px;transition:.16s}
.view-button:hover{border-color:#b88c51;color:#fff}
.view-button.selected{background:#453b2d;border-color:var(--gold);color:#fff;box-shadow:inset 0 0 0 1px #dbb77926}
.view-number{font:800 19px/1 Manrope,sans-serif;color:#66798f}.view-button.selected .view-number{color:var(--gold)}
.auto-row{display:flex;align-items:center;gap:12px;margin-top:26px;padding:15px 0;width:100%;text-align:left;background:transparent;border:0;border-top:1px solid #344357;border-bottom:1px solid #344357;color:#eaf0f2;cursor:pointer}
.auto-icon{width:37px;height:37px;display:grid;place-items:center;background:#1d2b39;border-radius:9px;color:var(--gold);flex-shrink:0}.auto-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none}
.auto-copy{display:flex;flex:1;flex-direction:column;gap:5px}.auto-copy strong{font-size:12px}.auto-copy small{font-size:11px;color:#8e9bac}
.switch{width:35px;height:21px;border-radius:30px;background:#3b495b;transition:background .2s;display:flex;align-items:center;padding:3px;flex:none}.switch-knob{width:15px;height:15px;background:white;border-radius:50%;transition:transform .2s}
.auto-row[aria-pressed="true"] .switch{background:var(--gold2)}.auto-row[aria-pressed="true"] .switch-knob{transform:translateX(14px)}
.sidebar-lower{margin-top:34px}
.future-card{background:linear-gradient(140deg,#292b2e,#182334);border:1px solid #8f765347;border-radius:13px;padding:20px;position:relative;overflow:hidden}
.future-card:after{content:'';position:absolute;height:100px;width:100px;border-radius:50%;right:-49px;top:-44px;background:#dab3721a;box-shadow:0 0 80px #dab37222}
.future-kicker{display:block;color:var(--gold);font-size:10px;font-weight:800;letter-spacing:2px;margin-bottom:12px}
.future-card strong{display:block;font:700 14px/1.5 Manrope,sans-serif;max-width:220px}.future-card p{color:#a8b5c6;font-size:11px;line-height:1.7;margin:8px 0 16px}
.future-progress{display:flex;gap:6px}.future-progress span{width:25px;height:3px;border-radius:5px;background:#4c5870}.future-progress span:first-child{background:var(--gold)}
.attribution{font-size:10px;line-height:1.65;color:#77869a;margin:18px 0 0}.attribution a{color:#c4a875;text-underline-offset:2px}.attribution a:hover{color:#fff}
.loading{position:absolute;inset:0;z-index:4;display:grid;place-items:center;background:radial-gradient(ellipse at center,#253649e8,#081423ec);transition:opacity .5s,visibility .5s}
.loading.dismissed{opacity:0;visibility:hidden;pointer-events:none}
.loading-inner{width:min(295px,80%);display:flex;align-items:center;flex-direction:column;text-align:center}
.loading-spinner{width:51px;height:51px;border:2px solid #e6bd7650;border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:22px}
.loading strong{font:700 16px Manrope,sans-serif;margin-bottom:8px}.loading span{font-size:12px;color:#a9b7c5;line-height:1.6}
.progress-track{height:3px;width:100%;background:#354455;margin-top:26px;border-radius:4px;overflow:hidden}.progress-track div{height:100%;width:5%;background:var(--gold);transition:width .2s}
.retry-button{border:1px solid var(--gold);background:#392f22;color:var(--gold);border-radius:8px;padding:11px 14px;margin-top:22px;cursor:pointer}.retry-button[hidden]{display:none}
.about-dialog{position:fixed;max-width:min(480px,calc(100vw - 28px));width:100%;border:1px solid #516177;border-radius:16px;padding:35px;background:#111d2d;color:#ecf0f5;box-shadow:0 30px 100px #0009}
.about-dialog::backdrop{background:#02060bd4;backdrop-filter:blur(5px)}
.dialog-close{position:absolute;right:16px;top:10px;border:0;background:transparent;color:#c9d4e1;font-size:28px;cursor:pointer}.dialog-close:hover{color:var(--gold)}
.modal-eyebrow{font-size:10px;letter-spacing:2px;color:var(--gold);font-weight:800}.about-dialog h2{font-size:26px;line-height:1.2;margin:18px 0}.about-dialog p{color:#afbfce;font-size:13px;line-height:1.8}.about-dialog .modal-note{font-size:11px;color:#90a1b3}.modal-confirm{margin-top:10px;background:var(--gold);color:#111a24;font-weight:800;border:0;border-radius:9px;padding:13px 18px;cursor:pointer}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.layout{grid-template-columns:minmax(0,1fr) 315px}.sidebar{padding:27px 20px 20px}.nav-item{padding-inline:10px}.sidebar h2{font-size:25px}.viewer-footer-hint{display:none}}
@media(max-width:850px){.topbar{height:69px;padding-inline:20px}.brand-label strong{font-size:17px}.brand-mark{width:32px;height:38px}.brand-label small{font-size:7px;letter-spacing:1.6px}.primary-nav{margin-left:auto;margin-right:12px}.nav-item{font-size:12px}.nav-active{padding-inline:8px}.header-tag{display:none}.layout{display:flex;flex-direction:column}.viewer-area{height:min(72vh,680px);height:min(72dvh,680px);min-height:460px;flex:none}.sidebar{border-left:0;border-top:1px solid #2c394c;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px;padding:28px}.sidebar-lower{margin-top:0;align-self:start}.sidebar h2{margin:16px 0 9px}.sidebar-lede{margin-bottom:18px}.views-section{margin-top:20px}.auto-row{margin-top:18px}.future-card{margin-top:0}}
@media(max-width:610px){.topbar{height:66px;padding:0 15px}.brand{gap:7px}.brand-mark{width:27px;height:32px}.brand-label strong{font-size:16px}.brand-label small{font-size:6.5px;letter-spacing:1px}.primary-nav{margin:0}.primary-nav .nav-active{font-size:0;padding:0 12px}.primary-nav .nav-active svg{width:20px;height:20px}.nav-button{padding:0 5px;font-size:12px}.viewer-area{height:62dvh;min-height:440px;max-height:590px}.heading-overlay{top:23px;left:20px}.heading-overlay h1{font-size:31px;letter-spacing:-1.2px}.heading-overlay .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:10px}.heading-overlay>p:last-child{font-size:11px;margin-top:9px;max-width:245px}.viewer-footer{left:15px;right:15px;bottom:20px}.icon-button{height:43px;width:43px}.help-pill{left:15px;bottom:82px;padding:8px 12px 8px 8px}.help-icon{height:29px;width:29px}.help-icon svg{height:18px;width:18px}.help-pill strong{font-size:10px}.help-pill small{font-size:9px}.sidebar{display:flex;padding:23px 20px;gap:26px}.sidebar h2{font-size:27px}.views-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.view-button{padding:11px 8px;gap:7px;font-size:10px}.view-number{font-size:17px}.future-card{padding:18px}.sidebar-lower{margin-top:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Version 2 — apartment selection */
.heading-overlay h1{font-size:clamp(29px,3vw,47px)}
.apartments-section{margin-top:26px}
.demo-note{font-size:10px;line-height:1.6;color:#b4c1cd;border:1px solid #3d4a5a;background:#172534;padding:10px 11px;border-radius:9px;margin-bottom:12px}
.demo-note-dot{display:inline-block;width:6px;height:6px;vertical-align:middle;margin-right:4px;background:var(--gold);border-radius:50%}
.apartment-list{display:grid;gap:7px}
.apartment-option{width:100%;text-align:left;display:flex;align-items:center;gap:11px;background:#172332;color:#e6ecf1;border:1px solid #344459;border-radius:10px;padding:11px 12px;cursor:pointer;transition:border-color .2s,background .2s}
.apartment-option:hover,.apartment-option:focus-visible{border-color:var(--gold);background:#263142}
.apartment-option.selected{border-color:var(--gold);background:#382f29;box-shadow:inset 0 0 0 1px #e2bb7d28}
.apartment-id{font:800 13px/1.2 Manrope,sans-serif;min-width:65px}
.apartment-metrics{font-size:11px;color:#aebbc7;white-space:nowrap}
.apartment-option .availability-dot{margin-left:auto;flex:none}
.availability-dot{width:8px;height:8px;border-radius:50%;background:#4fdb9f;box-shadow:0 0 0 3px #43c48c1b}
.availability-dot.reserved{background:#f1b94e;box-shadow:0 0 0 3px #e8af491b}
.availability-dot.sold{background:#f07577;box-shadow:0 0 0 3px #f075771b}
.apartment-details{margin-top:18px;background:linear-gradient(145deg,#27313c,#121e2e);border:1px solid #bd985e;border-radius:13px;padding:17px}
.apartment-details[hidden]{display:none}
.details-head{display:flex;align-items:center;justify-content:space-between}
.details-eyebrow{font-size:9px;font-weight:800;letter-spacing:1.8px;color:var(--gold)}
.details-head button{border:1px solid #48576a;border-radius:8px;background:#162437;color:#dce5ee;font-size:19px;cursor:pointer;width:28px;height:28px;line-height:1}
.details-head button:hover{color:var(--gold);border-color:var(--gold)}
.details-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 17px}
.details-title h3{margin:0;font:800 22px/1.2 Manrope,sans-serif}
.availability-pill{font-size:10px;border:1px solid #396e59;border-radius:30px;background:#183c2e;color:#6fe3b1;padding:7px 9px;font-weight:700;white-space:nowrap}
.availability-pill.reserved{color:#f4c76d;border-color:#76603c;background:#393021}
.availability-pill.sold{color:#ff9291;border-color:#7c4346;background:#43262c}
.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 10px;border-block:1px solid #455366;padding:14px 0}
.details-grid>div{display:flex;flex-direction:column;gap:6px}
.details-grid small{font-size:9px;letter-spacing:1.4px;color:#96a5b5;font-weight:700}
.details-grid strong{font-size:13px}
.details-description{color:#bac7d3;font-size:11px;line-height:1.7;margin:13px 0}
.detail-action{width:100%;background:#3b3a38;color:#afbcc6;border:1px solid #4d5260;padding:12px 9px;border-radius:9px;font-weight:800;font-size:11px;cursor:not-allowed}
.viewer-area:has(.apartment-tooltip.visible) .viewer-canvas{cursor:pointer}
.apartment-tooltip{position:absolute;z-index:3;left:0;top:0;transform:translate(-50%,-125%);background:#111d2be8;border:1px solid var(--gold);border-radius:7px;padding:6px 9px;pointer-events:none;color:#f8ebda;font-size:11px;font-weight:800;opacity:0;transition:opacity .12s;white-space:nowrap;box-shadow:0 10px 30px #0007}
.apartment-tooltip.visible{opacity:1}
.views-section{margin-top:24px}
.view-button{padding:10px 12px;gap:6px}
.view-number{font-size:16px}
.auto-row{margin-top:18px}
@media(max-width:850px){.apartments-section{margin-top:18px}.apartment-list{grid-template-columns:1fr 1fr}.apartment-metrics{font-size:10px}.sidebar-upper{min-width:0}.sidebar-lower{min-width:0}}
@media(max-width:610px){.apartment-list{grid-template-columns:1fr 1fr}.apartment-option{padding:10px 8px;gap:7px}.apartment-id{min-width:55px;font-size:11px}.apartment-metrics{font-size:10px}.views-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.viewer-footer-hint{display:none}.sidebar h2{font-size:24px}}


/* V3: accessible, responsive theater player (HTML5 native video controls). */
.detail-action-live{background:linear-gradient(130deg,#f3c778,#dab06a);border:1px solid #f1cb89;color:#15202d;font-size:12px;cursor:pointer;box-shadow:0 10px 25px #0002}
.detail-action-live:not(:disabled):hover{filter:brightness(1.07)}
.detail-action-live:disabled{background:#3b3a38;color:#adb5bf;border:1px solid #4d5260;cursor:not-allowed;box-shadow:none}
.tour-availability{color:#9eafbf;font-size:10px;line-height:1.6;margin:8px 0 0}
.tour-dialog{width:min(1100px,calc(100vw - 36px));max-width:1100px;max-height:min(94vh,900px);max-height:min(94dvh,900px);padding:0;border:1px solid #425369;border-radius:18px;color:#f5f2eb;background:#0e1925;box-shadow:0 32px 110px #000b;overflow:auto;overscroll-behavior:contain}
.tour-dialog::backdrop{background:#02060ce6;backdrop-filter:blur(9px)}
.tour-shell{display:flex;flex-direction:column;min-width:0}
.tour-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 26px;border-bottom:1px solid #263747;background:#111e2b}
.tour-header-main{min-width:0}.tour-eyebrow{display:block;font-size:9px;letter-spacing:2px;color:#e8bd7c;font-weight:800;margin-bottom:9px}
.tour-header h2{font:800 clamp(17px,2.4vw,25px)/1.2 Manrope,sans-serif;letter-spacing:-.55px;margin:0 0 6px}.tour-meta{font-size:11px;color:#96a9ba}
.tour-close{display:grid;place-items:center;flex:none;width:40px;height:40px;background:#1b2b3c;border:1px solid #35495a;color:#fff;border-radius:10px;font-size:27px;line-height:1;cursor:pointer}
.tour-close:hover{border-color:#e9bd7b;color:#e9bd7b}
.tour-video-frame{background:#040b11;line-height:0;aspect-ratio:16/9;max-height:65dvh}
.tour-video-frame video{display:block;width:100%;height:100%;max-height:65dvh;object-fit:contain;background:#03070d}
.tour-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 25px;background:#111e2b;border-top:1px solid #263747}
.tour-footnote{font-size:11px;line-height:1.6;color:#92a7b9}
.tour-back{padding:12px 18px;border:1px solid #d8ad6e;background:#ddba7d;color:#101b29;font:800 12px Manrope,sans-serif;border-radius:9px;white-space:nowrap;cursor:pointer}
.tour-back:hover{background:#f2d39c}
@media(max-width:610px){.tour-dialog{width:calc(100vw - 16px);max-height:93dvh;border-radius:12px}.tour-header{padding:15px 13px}.tour-header h2{font-size:17px}.tour-eyebrow{font-size:8px;letter-spacing:1.1px}.tour-close{width:34px;height:34px}.tour-footer{padding:12px;flex-direction:column;align-items:stretch;gap:9px}.tour-back{width:100%}.tour-footnote{text-align:center;font-size:10px}.tour-video-frame,.tour-video-frame video{max-height:54dvh}}

/* V4 — drop-in replacement for an investor's walkthrough, without editing code. */
.tour-tools{padding:17px 25px 18px;background:#0e1b2a;border-top:1px solid #304354}
.tour-tools-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px}
.tour-tools-title strong{font:800 13px Manrope,sans-serif;color:#f8efe1}
.tour-tools-title span{font-size:10px;color:#d5b884;font-weight:700;max-width:360px;overflow-wrap:anywhere}
.tour-tools>p{font-size:11px;color:#aebed0;line-height:1.65;margin:8px 0 12px}
.tour-tools-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.tour-upload-button,.tour-reset-button{font:800 11px Manrope,sans-serif;cursor:pointer;border-radius:8px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;min-height:39px}
.tour-upload-button{border:1px solid #d9b578;background:#e5bb7d;color:#132130}
.tour-upload-button:hover{filter:brightness(1.08)}
.tour-reset-button{border:1px solid #627084;background:#223143;color:#f1f5fb}
.tour-reset-button:hover{border-color:var(--gold)}
.tour-reset-button[hidden]{display:none}
.tour-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.tour-file-input:focus-visible+.tour-upload-button{outline:2px solid var(--gold)}
.tour-upload-button:focus-within{outline:2px solid var(--gold)}
.tour-tools>p.tour-upload-note{color:#8295a9;margin:12px 0 0;font-size:10px}
.tour-tools .tour-upload-note.error{color:#ffa2a2}
@media(max-width:610px){.tour-tools{padding:14px 13px}.tour-tools-title{display:block}.tour-tools-title span{display:block;margin-top:7px}.tour-tools-actions{display:flex}.tour-upload-button{flex:1;min-width:170px}.tour-reset-button{flex:1}.tour-video-frame{aspect-ratio:16/9}}


/* V7 — apartment focus badge. Subtle, readable, and out of the main drag area. */
.focus-indicator{position:absolute;z-index:3;right:clamp(20px,3vw,42px);bottom:102px;pointer-events:none;min-width:205px;max-width:min(270px,54vw);padding:12px 15px;background:#111c2ee3;border:1px solid #c39b63a6;border-radius:12px;box-shadow:0 12px 34px #0005;backdrop-filter:blur(10px)}
.focus-indicator[hidden]{display:none}
.focus-indicator-kicker{display:block;color:var(--gold);letter-spacing:1.3px;font-size:8px;font-weight:800;margin-bottom:5px}
.focus-indicator strong{display:block;font:800 17px/1.2 Manrope,sans-serif;color:#fff3db}
.focus-indicator small{display:block;margin-top:5px;color:#b7c4d1;font-size:9px;line-height:1.5}
@media(max-width:610px){.focus-indicator{right:15px;bottom:80px;padding:9px 11px;min-width:0;max-width:190px}.focus-indicator-kicker{font-size:7px}.focus-indicator strong{font-size:14px}.focus-indicator small{font-size:8px}}

/* V8: only the new independent indoor walk entry point. */
.detail-walk-action{display:block;text-align:center;background:linear-gradient(140deg,#17283c,#27394f);color:#f5d8a1;border:1px solid #ae8851;font-size:12px;font-weight:800;border-radius:9px;padding:13px 12px;margin-top:9px;transition:background .2s}
.detail-walk-action:hover{background:#324a65}
.detail-walk-action[hidden]{display:none}

/* V8.3: open full-screen property information page; no building in that view. */
.detail-page-action{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border-radius:10px;border:1px solid #f1cb89;background:linear-gradient(120deg,#f1c982,#d6a866);color:#142335;font:800 12px Manrope,sans-serif;text-decoration:none;transition:filter .2s}
.detail-page-action:hover{filter:brightness(1.08)}
.detail-page-action span{font-size:18px}

/* V8.4 — Ulaz u poredjenje, bez promena na 3D prikazu. */
.compare-entry{display:flex;align-items:center;gap:11px;margin-top:13px;padding:13px 13px;border:1px solid #8d724d;border-radius:11px;background:linear-gradient(125deg,#2b2b2a,#1d2938);color:#eac38c;text-decoration:none;transition:border-color .18s,background .18s}
.compare-entry:hover{border-color:#f5cc88;background:#302e2a}
.compare-entry-icon{width:32px;height:32px;flex:none;border:1px solid #b38b54;border-radius:9px;display:grid;place-items:center;font-size:19px}
.compare-entry>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:3px}.compare-entry strong{font:800 12px Manrope,sans-serif}.compare-entry small{font-size:10px;color:#adb7c3}.compare-entry>span:last-child{font-size:18px}
.compare-details-link{display:block;text-align:center;margin-top:9px;border:1px solid #8b7658;border-radius:9px;padding:12px 10px;color:#eed0a4;font:800 11px Manrope,sans-serif;text-decoration:none;background:#202c37;transition:border-color .18s}.compare-details-link:hover{border-color:#ecc17d;background:#273442}


/* V9.1 UPDATE — AI construction intro embedded over existing Three.js viewer. */
.construction-intro{position:absolute;inset:0;z-index:7;isolation:isolate;overflow:hidden;background:#0b1624 url('./assets/DN_Construction_V3_Poster.jpg') center/contain no-repeat;transition:opacity .14s ease-out}
.construction-intro[hidden],.intro-replay[hidden],.construction-intro__play[hidden]{display:none!important}
.construction-intro.is-closing{opacity:0;pointer-events:none}
.construction-intro__video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#0b1624}
.construction-intro__shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(4,12,23,.76),rgba(4,12,23,.08) 26%,rgba(4,12,23,.06) 63%,rgba(4,12,23,.80)),linear-gradient(90deg,rgba(6,14,25,.24),transparent 26%,transparent 78%,rgba(6,14,25,.24))}
.construction-intro__top,.construction-intro__bottom{position:absolute;z-index:2;left:clamp(16px,3vw,44px);right:clamp(16px,3vw,44px);display:flex;justify-content:space-between;align-items:center;gap:15px}
.construction-intro__top{top:clamp(16px,3vw,33px)}
.construction-intro__bottom{bottom:clamp(16px,3vw,33px);align-items:flex-end}
.construction-intro__eyebrow,.construction-intro__label{font:800 10px/1.4 Manrope,sans-serif;letter-spacing:2px;color:#f4d397;text-shadow:0 2px 8px #000}
.construction-intro__label{display:block;font-size:9px;margin-bottom:8px}
.construction-intro__bottom strong{display:block;max-width:590px;font:800 clamp(16px,2.4vw,28px)/1.24 Manrope,sans-serif;text-shadow:0 3px 16px #000d;color:#fff}
.construction-intro__skip,.construction-intro__play,.intro-replay{border:1px solid #dfbd88;background:rgba(11,22,36,.88);color:#fff2d8;border-radius:9px;font:800 11px Manrope,sans-serif;padding:12px 15px;cursor:pointer;white-space:nowrap;box-shadow:0 4px 20px #0005}
.construction-intro__skip:hover,.construction-intro__play:hover,.intro-replay:hover{background:#2b3642;border-color:#ffe0a4}
.construction-intro__skip span{margin-left:7px}
.intro-replay{position:absolute;z-index:3;top:22px;right:20px;opacity:.88;padding:9px 12px}
@media(max-width:610px){.construction-intro__top,.construction-intro__bottom{left:17px;right:17px}.construction-intro__eyebrow{max-width:160px;font-size:8px;line-height:1.6;letter-spacing:1.2px}.construction-intro__skip{padding:10px 10px;font-size:10px}.construction-intro__bottom{display:block}.construction-intro__bottom strong{font-size:17px}.construction-intro__play{margin-top:12px}.intro-replay{top:12px;right:12px;font-size:10px}.construction-intro__video{object-fit:contain}}
@media(prefers-reduced-motion:reduce){.construction-intro{transition:none}}

/* V9.1 + V3 — desktop viewport fit.
   Keep the full construction video and 3D viewer visible below the top bar;
   long apartment content scrolls inside the sidebar instead of stretching the scene. */
@media (min-width: 851px) {
  .page-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
  .layout {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }
  .viewer-area {
    min-height: 0;
  }
  .sidebar {
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
}

/* V9.1 + V3 — MOBILE-ONLY CINEMATIC CONSTRUCTION INTRO.
   Preserve the complete desktop frame. The 16:9 mobile source is enlarged
   inside the tall viewer to make the tower legible; side margins crop gently.
   Soft top/bottom edges merge the video with the same navy backdrop. */
@media (max-width: 610px) {
  .construction-intro {
    background: radial-gradient(ellipse at 50% 51%, #223b55 0%, #152b41 35%, #0b1624 77%, #08121f 100%);
  }
  .construction-intro__video {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 150%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: none;
    object-fit: fill;
    background: transparent;
    transform: translate(-50%, -50%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  }
  .construction-intro__bottom {
    transition: opacity .24s ease, transform .24s ease;
  }
  .construction-intro.is-near-end .construction-intro__bottom,
  .construction-intro.is-closing .construction-intro__bottom {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
  }
}
@media (max-width: 360px) {
  .construction-intro__video { width: 145%; }
}
@media (prefers-reduced-motion: reduce) {
  .construction-intro__bottom { transition: none; }
}

/* FINAL QA — clean investor-facing header and about dialog. */
@media (min-width: 851px) {
  /* With the version badge removed, keep the two navigation items centred. */
  .topbar .primary-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}
.about-dialog {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* FINAL QA — quick angles directly below the viewer on phones/tablets. */
@media (max-width: 850px) {
  .views-section--mobile {
    width: 100%;
    flex: none;
    margin: 0;
    padding: 16px clamp(16px, 4vw, 28px) 18px;
    border-top: 1px solid #344357;
    border-bottom: 1px solid #344357;
    background: #111d2b;
  }
  .views-section--mobile .block-heading {
    margin: 0 0 12px;
  }
  .views-section--mobile .views-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .views-section--mobile .view-button {
    min-width: 0;
    min-height: 58px;
    padding: 10px 9px;
  }
  .views-section--mobile .view-number { font-size: 16px; }
}
@media (max-width: 360px) {
  .views-section--mobile { padding-inline: 10px; }
  .views-section--mobile .views-grid { gap: 5px; }
  .views-section--mobile .view-button { padding: 8px 6px; }
}


/* PRE-NETLIFY SR UPDATE — keep intro fully visible on desktop while allowing
   the investor contact block to follow BELOW the first viewport. */
@media (min-width: 851px) {
  .page-shell {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
  .layout {
    height: calc(100dvh - 78px);
    min-height: 0;
    flex: none;
    overflow: hidden;
  }
}

/* Compact, clearly separate investor contact section; no changes to viewer.
   The button links to the existing Digital Nest site (not a guessed anchor). */
.investor-contact {
  position: relative;
  isolation: isolate;
  flex: none;
  background: radial-gradient(ellipse at 18% 22%,#1c3249 0%,#101d2d 50%,#0a1421 100%);
  border-top: 1px solid #374859;
  padding: clamp(26px, 5vw, 58px) clamp(18px, 5vw, 70px);
}
.investor-contact__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 60px);
}
.investor-contact__copy { max-width: 710px; }
.investor-contact__eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font: 800 10px/1.4 Manrope, sans-serif;
  letter-spacing: 2px;
}
.investor-contact h2 {
  margin: 0 0 13px;
  color: #f7f4ec;
  font: 800 clamp(23px, 2.5vw, 36px)/1.22 Manrope, sans-serif;
  letter-spacing: -.8px;
}
.investor-contact h2 em { font-style: normal; color: var(--gold); }
.investor-contact__copy > p:last-child {
  margin: 0;
  max-width: 670px;
  font-size: 13px;
  line-height: 1.8;
  color: #b7c5d3;
}
.investor-contact__action {
  width: min(100%, 270px);
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: center;
}
.investor-contact__action a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 49px;
  padding: 13px 19px;
  border-radius: 10px;
  background: linear-gradient(120deg,#f0cb90,#d8a761);
  color: #172333;
  text-decoration: none;
  font: 800 12px Manrope,sans-serif;
  box-shadow: 0 8px 25px #0004;
  transition: filter .2s, transform .2s;
}
.investor-contact__action a:hover { filter: brightness(1.08); transform: translateY(-1px); }
.investor-contact__action small { color: #a9b7c7; font-size: 10px; line-height: 1.6; }

/* Existing quick-view block + single auto-rotation toggle move as a unit
   on mobile only. Original sidebar presentation stays the same on desktop. */
@media (max-width: 850px) {
  .views-section--mobile { border-bottom: 0; padding-bottom: 12px; }
  .auto-row--mobile {
    flex: none;
    width: 100%;
    min-height: 70px;
    margin: 0;
    padding: 12px clamp(16px, 4vw, 28px) 17px;
    border-top: 0;
    border-bottom: 1px solid #344357;
    background: #111d2b;
  }
  .auto-row--mobile .auto-copy strong { font-size: 12px; }
  .investor-contact__inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .investor-contact__action { width: min(100%, 360px); }
}
@media (max-width: 610px) {
  .investor-contact { padding: 30px 20px 34px; }
  .investor-contact__eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .investor-contact h2 { font-size: 25px; }
  .investor-contact__copy > p:last-child { font-size: 12px; line-height: 1.75; }
  .investor-contact__action { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .investor-contact__action a { transition: none; }
}
