/* Full viewport photographs share a quiet, unobstructed opening across the site. */
.immersive-page>.header{position:absolute;inset:0 0 auto;z-index:5;max-width:none;width:100%;height:106px;padding:0 clamp(22px,4.45vw,80px);color:#fff;background:linear-gradient(#0007,transparent)}
.immersive-page>.header .brand,.immersive-page>.header nav>a{color:#fff;text-shadow:0 1px 6px #0008}
.immersive-page>.header .brand-logo{background:#fff;border-radius:4px;padding:7px}
.immersive-page>.header .saved-link b{color:var(--navy);background:#fff}
.immersive-page>.header .header-contact{color:#fff;border-color:#ffffff70;background:#0003;backdrop-filter:blur(6px)}
.immersive-page>.header .header-contact:hover{background:#0006}
.immersive-page .hero,.immersive-page .launch-hero,.resale-cover{width:100%;max-width:none;min-height:100svh;height:auto;margin:0;border-radius:0;position:relative;overflow:hidden;background:var(--navy)}
.immersive-page .hero{display:flex;align-items:flex-end;isolation:isolate}
.immersive-page .hero-image{position:absolute;inset:0;min-height:0;height:100%;z-index:-2}
.immersive-page .hero-image>img,.immersive-page .hero-image>picture,.immersive-page .hero-image>picture>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.immersive-page .hero:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0009,transparent 80%),linear-gradient(0deg,#0009,transparent 80%)}
.immersive-page .hero-copy{padding:180px clamp(22px,4.45vw,80px) 110px;max-width:960px;width:75%;color:white}
.immersive-page .hero-copy h1{font-size:clamp(2.9rem,5.4vw,5.8rem);line-height:1.06;max-width:840px;margin:0 0 26px;text-wrap:balance}
.immersive-page .hero-copy>p{color:#fff;max-width:510px;font-size:clamp(.95rem,1.2vw,1.2rem);margin-bottom:30px}
.immersive-page .hero-caption{position:absolute;right:4.45vw;bottom:35px;max-width:430px;text-align:right;color:#fff;z-index:3;background:#0003;padding:14px 18px;border-radius:4px;font-size:.8rem}
.immersive-page .hero-caption span{font-size:1rem;line-height:1.4;margin-bottom:6px;color:#fff}
.immersive-page .hero-caption{background:#0009;text-shadow:0 1px 4px #000}
.immersive-page #main>.search-wrap{position:relative;margin:32px auto 0;max-width:1376px;padding:0 64px}
.immersive-page .launch-hero{align-items:flex-end;isolation:isolate}
.launch-cover-button{position:absolute;inset:0;border:0;padding:0;background:none;color:#fff;cursor:zoom-in;width:100%;height:100%}
.immersive-page .launch-hero:after{pointer-events:none;background:linear-gradient(90deg,#0008,transparent 90%),linear-gradient(0deg,#000b,transparent 85%);z-index:0}
.immersive-page .launch-hero-content{padding:160px clamp(22px,4.45vw,80px) 120px;max-width:1100px;width:80%;pointer-events:none}
.launch-hero-content a,.launch-hero-content button{pointer-events:auto}
.immersive-page .launch-hero h1{font-size:clamp(2.8rem,5.8vw,6rem);text-wrap:balance;line-height:1.06}
.immersive-page .launch-hero .breadcrumbs{margin-bottom:42px}
.immersive-page .launch-actions{display:flex;flex-direction:row;gap:14px;width:auto}
.launch-cover-button .cover-photo-hint{z-index:2}
.cover-photo-hint{position:absolute;right:clamp(22px,4.45vw,80px);bottom:110px;display:inline-flex;align-items:center;min-height:44px;padding:12px 18px;background:#fff;color:var(--navy);border-radius:5px;font-size:.9rem;box-shadow:0 3px 18px #0002}
.resale-cover{height:100svh;min-height:440px;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}
.resale-cover>.resale-cover-photo{position:relative;display:block;min-width:0;min-height:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:none;cursor:zoom-in;overflow:hidden}
.resale-cover>.resale-cover-main{grid-row:1 / -1}
.resale-cover[data-photo-count="1"]>.resale-cover-main{grid-column:1 / -1}
.resale-cover[data-photo-count="2"]>.resale-cover-photo{grid-row:1 / -1}
.resale-cover>.resale-cover-photo>img{display:block;width:100%;height:100%;object-fit:cover}
.resale-cover>.resale-cover-photo:focus-visible{outline:3px solid white;outline-offset:-5px}
.resale-cover .cover-photo-hint{left:clamp(18px,4.45vw,80px);right:auto;bottom:28px;max-width:calc(100% - 36px)}
.resale-cover>.media-empty{grid-column:1 / -1;grid-row:1 / -1;height:100%;color:white}
.property-page .detail-header{padding-top:48px}
.property-page .detail-header h1{max-width:1100px}
.launch-cta{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.property-video{margin-top:28px;border-block:1px solid var(--line);padding:18px 0;clear:both}
.property-video summary{display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;font-weight:500;list-style:none;color:var(--navy);min-height:44px}
.property-video summary::-webkit-details-marker{display:none}.property-video summary span{font-size:1.8rem}
.property-video-frame{aspect-ratio:16/9;background:#111;margin-top:16px}
.property-video-frame iframe{display:block;border:0;width:100%;height:100%}
.visit-widget{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;flex-direction:column;align-items:flex-end;gap:12px;max-width:calc(100vw - 32px)}
.visit-toggle{display:flex;align-items:center;gap:14px;padding:7px 20px 7px 7px;min-height:62px;border:1px solid var(--line);border-radius:50px;background:var(--paper);color:var(--ink);box-shadow:0 6px 28px #0003;font-weight:550;font-size:.9rem}
.visit-toggle>img,.visit-avatar{width:46px;height:46px;object-fit:cover;border-radius:50%;flex-shrink:0}.visit-avatar{display:grid;place-items:center;background:var(--navy);color:white;font-family:Georgia,serif;font-size:1.5rem}
.visit-toggle-icon{margin-left:6px;font-size:1.2rem}
.visit-panel{width:390px;max-width:100%;max-height:calc(100dvh - 118px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:14px;padding:26px;background:var(--paper);color:var(--ink);box-shadow:0 12px 60px #0004;position:relative}
.visit-panel[hidden]{display:none}.visit-panel h2{font-size:1.8rem;padding-right:30px;margin-bottom:18px}.visit-close{position:absolute;right:10px;top:10px;width:40px;height:40px;border:0;background:transparent;color:var(--ink);font-size:1.6rem;border-radius:50%}
.visit-panel .agent-card{margin:0 0 12px;padding:0;border:0;color:var(--ink)}.visit-panel .agent-card small{color:var(--muted)}
.visit-panel .interest-form{grid-template-columns:1fr;margin:16px 0;padding:16px 0;gap:12px}.visit-panel .interest-form label{color:var(--ink);font-size:.8rem}
.visit-panel>.button{width:100%;font-size:.8rem;gap:12px}.visit-panel .interest-form [role=status]{font-size:.8rem}.visit-panel .interest-form .consent{font-size:.75rem}
body:has(.comparison-bar) .visit-widget{bottom:100px}
body:has(.comparison-bar) .visit-panel{max-height:calc(100dvh - 196px)}
.gallery-is-open{overflow:hidden}.gallery-dialog[open]{display:flex;flex-direction:column;gap:12px;padding:68px 24px 24px;width:100%;height:100dvh;background:#101313}
.gallery-dialog .gallery-stage{flex:1 1 0;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;position:relative;padding:0 44px}
.gallery-dialog .gallery-main-image{width:100%;height:100%;max-height:100%;object-fit:contain}
.gallery-dialog .gallery-prev,.gallery-dialog .gallery-next{top:calc(50% - 22px)}.gallery-dialog .gallery-prev{left:0}.gallery-dialog .gallery-next{right:0}
.gallery-dialog .gallery-close{z-index:2}.gallery-dialog .gallery-count{position:static;flex:none;width:auto;margin:0;text-align:center;font-size:.875rem;color:#d5dada}
.gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;flex:0 0 96px;width:min(1100px,100%);padding:6px 4px;scrollbar-color:#7e8585 transparent;scrollbar-width:thin}
.gallery-thumbnails>button{position:relative;flex:0 0 112px;height:76px;min-width:0;padding:0;border:2px solid transparent;border-radius:4px;opacity:.6;overflow:hidden;background:#222;color:white}
.gallery-thumbnails>button[aria-current=true]{border-color:#fff;opacity:1}.gallery-thumbnails>button:hover{opacity:1}.gallery-thumbnails img{height:100%;width:100%;object-fit:cover}.gallery-thumbnails span{position:absolute;bottom:0;right:0;background:#0009;padding:2px 6px;font-size:.7rem}
@media(max-width:760px){
 .resale-cover{height:50svh;min-height:0;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:4px}.resale-cover .cover-photo-hint{left:18px;bottom:24px;padding:10px 12px;font-size:.75rem}
 .immersive-page>.header{height:85px;padding:0 20px;gap:10px}.immersive-page>.header .header-contact{font-size:.7rem;padding:10px;gap:5px}
 .immersive-page .hero-copy{width:100%;padding:155px 24px 150px}.immersive-page .hero-copy h1{font-size:clamp(2.7rem,9.5vw,4.2rem);max-width:540px}.immersive-page .hero-copy>p{font-size:1rem;max-width:340px}
 .immersive-page .hero-caption{right:24px;left:24px;bottom:28px;max-width:none;text-align:left;font-size:.75rem;padding:12px}.immersive-page .hero-caption span{font-size:.875rem}
 .immersive-page #main>.search-wrap{padding:0 18px;margin:24px 0 0}
 .immersive-page .launch-hero-content{width:100%;padding:145px 24px 175px}.immersive-page .launch-hero h1{font-size:clamp(2.7rem,10vw,4rem)}.immersive-page .launch-hero .breadcrumbs{margin-bottom:30px}
 .immersive-page .launch-actions{flex-wrap:wrap}.cover-photo-hint{left:24px;right:auto;bottom:100px;font-size:.8rem}
 .property-page .detail-header{padding-top:32px}.launch-cta{grid-template-columns:1fr;gap:18px}.launch-cta>.button{margin:0;width:fit-content}
 .visit-widget{right:16px;bottom:16px}.visit-toggle{min-height:56px;font-size:.8rem;gap:10px;padding-right:16px}.visit-toggle>img,.visit-avatar{height:42px;width:42px}
 .visit-panel{width:min(390px,calc(100vw - 32px));padding:22px;max-height:calc(100dvh - 104px)}
 .gallery-dialog[open]{padding:62px 10px 16px;gap:10px}.gallery-dialog .gallery-stage{padding:0 32px}.gallery-dialog .gallery-stage .icon-button{width:32px;height:40px;border-radius:5px;background:#0007}.gallery-thumbnails{flex-basis:84px;gap:8px}.gallery-thumbnails>button{flex-basis:94px;height:64px}
}
@media(prefers-reduced-motion:reduce){.gallery-thumbnails{scroll-behavior:auto}}

/* Video providers stay inside the property page; portrait Instagram posts have their own frame. */
.property-video h2{font-size:clamp(1.3rem,2.5vw,1.8rem);margin:0 0 16px}
.property-video-instagram .property-video-frame{aspect-ratio:auto;width:min(100%,540px);height:720px;max-height:90svh;background:var(--paper,#fff);margin-inline:auto}
@media(max-width:600px){.property-video-instagram .property-video-frame{height:640px;max-height:none}}

.property-video-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#111}
