/* Parmelee Key - dark, teal-led; sections float on a living water layer (#water) */
:root {
  --bg: #05161b;
  --surface: #0c242a;
  --text: #eef4f2;             /* cool white, never cream */
  --text-soft: rgba(238, 244, 242, .8);
  --muted: #8ca3a3;
  --line: rgba(233, 242, 240, .14);
  --accent: #35c2b0;
  --accent-hi: #7fe3d4;
  --glass: rgba(5, 22, 27, .44);
  --glass-line: rgba(238, 244, 242, .16);
  --title: "Marcellus", "Times New Roman", serif;
  --hero: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --pad: clamp(20px, 5vw, 88px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.lb-open, body.gated { overflow: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.label, .eyebrow { font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.title { font: 400 clamp(30px, 3.9vw, 60px)/1.14 var(--title); letter-spacing: .13em; text-transform: uppercase; text-wrap: balance; }
.fine { font-size: 12px; line-height: 1.6; color: var(--muted); }
.wordmark { font: 600 13px/1 var(--sans); letter-spacing: .36em; text-transform: uppercase; }
figcaption { font: 500 10px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

.pill { display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.pill:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Living layers ---------- */
#water { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-2%, 3%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); } }
main, .footer { position: relative; z-index: 1; }
.cursor { position: fixed; z-index: 300; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1px solid rgba(238, 244, 242, .7); pointer-events: none; mix-blend-mode: difference; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; opacity: 0; display: grid; place-items: center; font: 600 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: transparent; }
.has-mouse .cursor { opacity: 1; }
.cursor.is-link { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: #eef4f2; }
.cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #eef4f2; color: #000; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Gate + loader ---------- */
#loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding: 0 var(--pad); transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s; }
.entered #loader { opacity: 0; visibility: hidden; }
.loader-mark { font: 400 clamp(22px, 3vw, 34px)/1 var(--title); letter-spacing: .3em; text-transform: uppercase; }
.loader-sub { font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.loader-track { width: 160px; height: 1px; background: var(--line); overflow: hidden; margin-top: 8px; }
#loader-bar { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s linear; }
.gate { display: grid; justify-items: center; gap: 16px; margin-top: 14px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-ready .gate { opacity: 1; transform: none; pointer-events: auto; }
.is-ready .loader-track { opacity: 0; }
.gate-enter { height: 54px; padding: 0 34px; border-radius: 999px; background: var(--text); color: var(--bg); font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: background .3s; }
.gate-enter:hover { background: var(--accent-hi); }
.gate-quiet { font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.gate-quiet:hover { color: var(--text); }

/* ---------- Top bar ---------- */
.topbar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 76px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: background .5s var(--ease), height .5s var(--ease); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topnav { display: flex; gap: clamp(16px, 2.4vw, 40px); font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.topnav a { color: var(--muted); transition: color .25s; }
.topnav a:hover { color: var(--accent-hi); }
.flight-done .topbar { background: rgba(5, 22, 27, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); height: 62px; box-shadow: 0 1px 0 var(--line); }
.flight-done .topnav { opacity: 1; pointer-events: auto; }
.sound { display: inline-flex; align-items: center; gap: 3px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.sound i { width: 2px; height: 4px; background: currentColor; }
.sound span { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-left: 8px; }
.sound[aria-pressed="true"] { color: var(--accent-hi); border-color: var(--accent); }
.sound[aria-pressed="true"] i { animation: eq 1.1s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] i:nth-child(2) { animation-delay: -.35s; }
.sound[aria-pressed="true"] i:nth-child(3) { animation-delay: -.7s; }
.sound[aria-pressed="true"] i:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }

/* ---------- Flight ---------- */
#flight { position: relative; height: 750vh; background: var(--bg); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#flight-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrim { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .8s; background:
  linear-gradient(180deg, rgba(5, 22, 27, .5) 0%, rgba(5, 22, 27, 0) 20%),
  radial-gradient(120% 90% at 0% 100%, rgba(5, 22, 27, .7), rgba(5, 22, 27, 0) 60%); }
.flight-started .scrim { opacity: 1; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30vh; background: linear-gradient(0deg, var(--bg), rgba(5, 22, 27, 0)); opacity: var(--exit, 0); pointer-events: none; }

/* soft cloud veil over the first frame: the title sits in it, then we fall through */
#clouds { position: absolute; inset: -12%; pointer-events: none; transform-origin: 50% 46%; will-change: transform, opacity;
  background: linear-gradient(180deg, rgba(127, 178, 211, .92) 0%, rgba(169, 203, 224, .82) 34%, rgba(240, 220, 192, .78) 72%, rgba(243, 200, 152, .86) 100%); }
#clouds i { position: absolute; border-radius: 50%; filter: blur(38px); background: radial-gradient(closest-side, rgba(255, 255, 255, .98), rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, 0)); animation: drift 26s ease-in-out infinite alternate; }
#clouds i:nth-child(1) { width: 62%; height: 54%; left: -8%; top: 4%; }
#clouds i:nth-child(2) { width: 58%; height: 50%; right: -10%; top: 0; animation-duration: 32s; animation-direction: alternate-reverse; }
#clouds i:nth-child(3) { width: 74%; height: 58%; left: 10%; top: 34%; animation-duration: 38s; }
#clouds i:nth-child(4) { width: 56%; height: 52%; left: -12%; bottom: -8%; animation-duration: 30s; animation-direction: alternate-reverse; }
#clouds i:nth-child(5) { width: 60%; height: 54%; right: -8%; bottom: -6%; }
#clouds i:nth-child(6) { width: 40%; height: 36%; left: 30%; top: 8%; opacity: .8; animation-duration: 44s; }
@keyframes drift { from { transform: translate3d(-2.5%, 0, 0) scale(1); } to { transform: translate3d(2.5%, -1.5%, 0) scale(1.07); } }

.hero { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--pad); color: #05161b; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.hero .eyebrow { color: #0c242a; opacity: .78; }
.hero h1 { font: 400 clamp(58px, 11.5vw, 190px)/.92 var(--hero); letter-spacing: -.025em; margin-top: 20px; }
.hero-sub { font: italic 400 clamp(19px, 2vw, 30px)/1.3 var(--hero); margin-top: 18px; }
.scroll-hint { margin-top: clamp(34px, 7vh, 80px); font: 600 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; display: grid; justify-items: center; gap: 14px; opacity: .8; }
.scroll-hint span { width: 1px; height: 46px; background: currentColor; transform-origin: top; animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.skip-film { margin-top: 18px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .7; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.skip-film:hover { opacity: 1; }
.flight-started .hero { opacity: 0; transform: translateY(-26px) scale(1.03); pointer-events: none; }
body:not(.flight-started) .topbar { color: #05161b; }
body:not(.flight-started) .topbar .pill, body:not(.flight-started) .sound { background: rgba(255, 255, 255, .28); border-color: rgba(5, 22, 27, .25); }

.caption { position: absolute; left: var(--pad); bottom: clamp(56px, 9vh, 104px); max-width: min(560px, 50vw); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .9s var(--ease); text-shadow: 0 1px 24px rgba(0, 0, 0, .35); }
.flight-started .caption.is-in { opacity: 1; transform: none; }
.caption .eyebrow { color: var(--accent-hi); }
.caption h2 { font: 400 clamp(26px, 3.2vw, 48px)/1.15 var(--title); letter-spacing: .13em; text-transform: uppercase; margin: 14px 0; text-wrap: balance; }
.caption p:last-child { font-size: clamp(15px, 1.1vw, 17px); color: var(--text-soft); max-width: 44ch; }

.views { position: absolute; right: var(--pad); top: 50%; transform: translateY(-46%) translateX(24px); width: 280px; padding: 18px; border-radius: 26px; background: rgba(18, 44, 52, .36); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(28px) saturate(1.5); -webkit-backdrop-filter: blur(28px) saturate(1.5); box-shadow: 0 24px 60px rgba(3, 14, 18, .35), inset 0 1px 0 rgba(255, 255, 255, .35); opacity: 0; pointer-events: none; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.flight-started .views { opacity: 1; transform: translateY(-46%); pointer-events: auto; }
.views-kicker { font: 600 9px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.views-title { font: 700 26px/1.05 var(--sans); letter-spacing: -.02em; margin: 9px 0 14px; }
.views-preview { position: relative; height: 132px; border-radius: 16px; background: #0c242a center/cover no-repeat; overflow: hidden; margin-bottom: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.views-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 55%); pointer-events: none; }
.views-arrow { position: absolute; top: 50%; z-index: 2; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 20px; line-height: 30px; transition: background .2s; }
.views-arrow:hover { background: rgba(255, 255, 255, .34); }
#view-prev { left: 8px; } #view-next { right: 8px; }
.views-now, .views-count { position: absolute; z-index: 2; bottom: 10px; font: 600 12px/1 var(--sans); }
.views-now { left: 12px; padding-left: 14px; }
.views-now::before { content: ""; position: absolute; left: 0; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.views-count { right: 12px; opacity: .8; font-variant-numeric: tabular-nums; font-size: 11px; }
.views-list { display: grid; gap: 6px; }
.view-row { position: relative; display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 12px; overflow: hidden; text-align: left; border: 1px solid rgba(255, 255, 255, .16); transition: border-color .24s, box-shadow .24s; }
.view-thumb { position: absolute; inset: 0; background: center/cover no-repeat; transition: transform .24s var(--ease); }
.view-row::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 36, .74) 0%, rgba(10, 30, 36, .25) 60%, transparent); transition: background .24s; }
.view-label { position: relative; z-index: 2; font: 600 13px/1 var(--sans); }
.view-row:hover .view-thumb { transform: scale(1.04); }
.view-row:hover::after { background: linear-gradient(90deg, rgba(10, 30, 36, .5) 0%, rgba(10, 30, 36, .1) 60%, transparent); }
.view-row.is-active { border-color: rgba(255, 255, 255, .6); box-shadow: 0 0 0 3px rgba(53, 194, 176, .25); }
.view-row.is-active::after { background: linear-gradient(90deg, rgba(53, 194, 176, .82), rgba(53, 194, 176, .3)); }
.view-row.is-active .view-label { color: #04201f; font-weight: 700; }

.flight-track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(238, 244, 242, .14); opacity: 0; transition: opacity .6s; z-index: 3; }
.flight-started .flight-track { opacity: 1; }
#flight-progress { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.concept-note { position: absolute; left: var(--pad); bottom: 22px; font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transition: opacity .6s; z-index: 3; }
.flight-started .concept-note { opacity: .55; }

/* ---------- Sections: 12-col, asymmetric, floating on the water layer ---------- */
.band { padding: clamp(110px, 13vw, 210px) 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--pad); align-items: start; }
.grid .label { grid-column: 1 / span 2; padding-top: 14px; border-top: 1px solid var(--accent); }
.grid .title { grid-column: 3 / span 6; }
.grid .body { grid-column: 9 / span 4; padding-top: 10px; color: var(--text-soft); }
.grid .body p + p { margin-top: 1.1em; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: clamp(64px, 9vw, 140px) var(--pad) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 30px 20px 30px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { display: block; font: 200 clamp(36px, 4.4vw, 72px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats span { display: block; margin-top: 16px; font: 500 11px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 var(--pad); padding: 34px 0; border-bottom: 1px solid var(--line); }
.price strong { font: 200 clamp(40px, 7vw, 120px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* full-bleed image with text on it; the image breathes and drifts with scroll */
.bleed { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.bleed > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transform: translate3d(0, var(--drift, 0px), 0) scale(1.04); will-change: transform; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 22, 27, .55) 38%, rgba(5, 22, 27, 0) 70%), linear-gradient(180deg, var(--bg) 0%, rgba(5, 22, 27, 0) 22%), linear-gradient(90deg, rgba(5, 22, 27, .55), rgba(5, 22, 27, 0) 55%); }
.bleed-text { position: relative; z-index: 2; padding: 0 var(--pad) clamp(56px, 8vw, 110px); max-width: 780px; }
.bleed-text .label { color: var(--accent-hi); }
.bleed-text .title { margin: 18px 0 20px; }
.bleed-text > p { color: var(--text-soft); max-width: 44ch; }
.bleed-note { position: absolute; z-index: 2; right: var(--pad); bottom: 28px; font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hairlist { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--line); }
.hairlist li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hairlist.one { grid-template-columns: 1fr; color: var(--text-soft); }

/* compounds: numbered index + one large frame */
.lots { margin-top: clamp(48px, 6vw, 96px); padding-left: var(--pad); display: grid; grid-template-columns: minmax(250px, 3fr) minmax(0, 9fr); column-gap: 24px; align-items: start; }
.lot-tabs { counter-reset: lot; border-top: 1px solid var(--line); position: sticky; top: 90px; }
.lot-tab { counter-increment: lot; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 8px; width: 100%; text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color .3s, padding .4s var(--ease); }
.lot-tab::before { content: counter(lot, decimal-leading-zero); font: 500 11px/1 var(--sans); letter-spacing: .12em; }
.lot-num { display: none; }
.lot-name { font: 400 15px/1.2 var(--title); letter-spacing: .12em; text-transform: uppercase; }
.lot-ac { font: 400 11px/1 var(--sans); white-space: nowrap; }
.lot-tab:hover { color: var(--text); }
.lot-tab.is-active { color: var(--text); padding-left: 14px; box-shadow: inset 2px 0 0 var(--accent); }
.lot-tab.is-active::before { color: var(--accent-hi); }
.lot-figure { position: relative; background: var(--bg); overflow: hidden; aspect-ratio: 16 / 9; }
#lot-image { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.4s var(--ease), filter .5s; }
#lot-image.is-swapping { opacity: 0; transform: scale(1.06); filter: blur(10px); }
.lot-views { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 26px; padding: 60px 24px 20px; background: linear-gradient(0deg, rgba(5, 22, 27, .82), rgba(5, 22, 27, 0)); overflow-x: auto; scrollbar-width: none; }
.lot-view { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap; transition: color .25s, border-color .25s; }
.lot-view:hover { color: var(--text); }
.lot-view.is-active { color: var(--accent-hi); border-bottom-color: var(--accent); }
.lot-info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) 150px; gap: 32px; padding: 28px var(--pad) 0 0; align-items: start; }
.lot-info h3 { font: 400 clamp(22px, 2.2vw, 32px)/1.2 var(--title); letter-spacing: .13em; text-transform: uppercase; margin: 12px 0 14px; }
.lot-info > div > p:last-child { color: var(--text-soft); font-size: 15px; }
.lot-info dl { border-top: 1px solid var(--line); }
.lot-info dt { font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-top: 14px; }
.lot-info dd { padding: 8px 0 14px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-soft); }
.lot-parcel { width: 150px; aspect-ratio: 1; object-fit: cover; }
.lot-parcel-fig figcaption { font-size: 9px; margin-top: 8px; }

/* gallery: horizontal, paged, draggable */
.chips { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.chip { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 8px 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.chip:hover { color: var(--text); }
.chip.is-active { color: var(--accent-hi); border-bottom-color: var(--accent); }
.slider { margin-top: clamp(40px, 5vw, 80px); }
.slider-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding: 0 var(--pad); scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.slider-track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; height: min(72vh, 46vw); scroll-snap-align: start; overflow: hidden; background: var(--surface); }
.slide img { height: 100%; width: auto; max-width: none; transition: transform 1.6s var(--ease), opacity .6s, filter .6s; opacity: .45; filter: saturate(.6); -webkit-user-drag: none; user-select: none; }
.slide.is-current img { opacity: 1; filter: none; }
.slide:hover img { transform: scale(1.03); opacity: 1; filter: none; }
.slider-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 22px var(--pad) 0; padding-top: 18px; border-top: 1px solid var(--line); }
.slider-cap { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }
.slider-nav { display: flex; align-items: center; gap: 10px; }
.slider-nav span { font: 400 13px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); margin-right: 14px; }
.slider-nav button { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: background .3s, color .3s, border-color .3s; }
.slider-nav button:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* location */
.maps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 6vw, 96px); padding-right: var(--pad); align-items: end; }
.maps figure { grid-column: span 3; }
.maps .map-main { grid-column: 1 / span 6; }
.maps img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.maps .map-main img { aspect-ratio: 4 / 3; }
.maps .map-plat img { object-position: 50% 35%; filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); mix-blend-mode: screen; }
.maps figcaption { padding-left: 2px; }
.maps .map-main figcaption { padding-left: var(--pad); }

/* inquire */
.bleed-inquire { align-items: center; }
.bleed-inquire::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 22, 27, .72) 40%, rgba(5, 22, 27, .6) 80%, var(--bg) 100%); }
.inquire { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: clamp(110px, 12vw, 170px) var(--pad); align-items: end; }
.inquire > div { grid-column: 1 / span 6; }
.inquire .title { margin: 18px 0 20px; }
.inquire > div > p { color: var(--text-soft); max-width: 40ch; }
.inquire .label { color: var(--accent-hi); }
.agent { display: flex; align-items: center; gap: 18px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 420px; }
.agent-photo { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--glass-line); font: 400 16px/1 var(--title); letter-spacing: .14em; }
.agent-name { font: 400 18px/1.2 var(--title); letter-spacing: .14em; text-transform: uppercase; }
.agent-meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
.form { grid-column: 8 / span 5; display: grid; gap: 22px; }
.form label { display: grid; gap: 6px; font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { font: 300 17px/1.4 var(--sans); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid rgba(238, 244, 242, .34); padding: 10px 0 12px; border-radius: 0; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.submit { display: flex; justify-content: space-between; align-items: center; height: 60px; padding: 0 24px; background: var(--text); color: var(--bg); font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: background .3s; }
.submit:hover { background: var(--accent-hi); }
.form-status { font-size: 14px; }

.footer { padding: 56px var(--pad) 64px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; background: var(--bg); }
.footer .wordmark { grid-column: 1 / span 3; }
.footer .fine { grid-column: 5 / span 7; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 16, 20, .97); display: grid; place-items: center; padding: 56px clamp(12px, 6vw, 90px) 64px; }
.lightbox[hidden] { display: none; }
#lb-img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lb-btn { position: absolute; width: 52px; height: 52px; font-size: 20px; line-height: 1; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, color .2s; }
.lb-btn:hover { background: var(--accent); color: var(--bg); }
.lb-close { top: 14px; right: 16px; font-size: 26px; } .lb-prev { left: 14px; top: 50%; margin-top: -26px; } .lb-next { right: 14px; top: 50%; margin-top: -26px; }
.lb-meta { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; gap: 22px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
#lb-count { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid .label { grid-column: 1 / -1; margin-bottom: 22px; }
  .grid .title { grid-column: 1 / span 12; }
  .grid .body { grid-column: 1 / span 10; margin-top: 26px; }
  .lots { grid-template-columns: 1fr; padding-left: 0; }
  .lot-tabs { position: static; display: flex; overflow-x: auto; scrollbar-width: none; border-top: 0; padding: 0 var(--pad); gap: 22px; margin-bottom: 20px; }
  .lot-tab { display: block; width: auto; flex: 0 0 auto; border-bottom: 1px solid transparent; }
  .lot-tab::before { margin-right: 8px; }
  .lot-ac { display: none; }
  .lot-tab.is-active { padding-left: 0; box-shadow: none; border-bottom-color: var(--accent); }
  .lot-info { grid-template-columns: 1fr 1fr; padding: 24px var(--pad) 0; }
  .lot-parcel-fig { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats div:nth-child(4) { padding-left: 0; border-left: 0; }
  .topnav { display: none; }
  .inquire > div, .form { grid-column: 1 / -1; }
  .form { margin-top: 48px; }
  .maps { padding: 0 var(--pad); }
  .maps figure, .maps .map-main { grid-column: 1 / -1; }
  .maps .map-main figcaption { padding-left: 2px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding: 22px 12px 22px 0; }
  .stats div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .hairlist { grid-template-columns: 1fr; }
  .lot-info { grid-template-columns: 1fr; }
  .slide { height: 58vw; }
  .footer .wordmark, .footer .fine { grid-column: 1 / -1; }
  .footer .fine { margin-top: 20px; }
  .sound span { display: none; }
  .views { left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; transform: translateY(24px); border-radius: 22px; padding: 12px; }
  .flight-started .views { transform: none; }
  .views-kicker, .views-title, .views-preview { display: none; }
  .views-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .view-row { flex: 0 0 150px; height: 52px; }
  .caption { bottom: 112px; max-width: none; right: var(--pad); }
  .concept-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

.views[hidden] { display: none; }

.sound[hidden], .gate[hidden] { display: none; }

/* ---------- Island tour: drag-to-look panoramas ---------- */
.tour { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
.tour-view { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; outline-offset: -4px; }
.tour-view.is-dragging { cursor: grabbing; }
.tour-pano { position: absolute; inset: 0; background-repeat: no-repeat; will-change: background-position; transition: opacity .7s var(--ease), filter .7s var(--ease), transform 1.1s var(--ease); }
.tour.is-moving .tour-pano { opacity: 0; filter: blur(18px); transform: scale(1.12); }
.tour-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 22, 27, 0) 16%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 22, 27, .2) 26%, rgba(5, 22, 27, 0) 46%), linear-gradient(90deg, rgba(5, 22, 27, .5), rgba(5, 22, 27, 0) 42%); }
.tour-hot { position: absolute; inset: 0; pointer-events: none; }
.hot { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 12px; margin: -22px 0 0 -22px; transition: opacity .4s; }
.hot i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(238, 244, 242, .9); background: rgba(5, 22, 27, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); position: relative; transition: background .3s, transform .4s var(--ease); }
.hot i::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--text); }
.hot i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent-hi); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
.hot span { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0, 0, 0, .6); white-space: nowrap; }
.hot:hover i { background: var(--accent); transform: scale(1.12); }
.tour.is-moving .hot { opacity: 0; }
.tour-head { position: absolute; left: var(--pad); bottom: clamp(96px, 14vh, 150px); max-width: 620px; pointer-events: none; }
.tour-head .label { color: var(--accent-hi); }
.tour-head .title { margin: 16px 0 14px; }
.tour-hint { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); }
.tour-nav { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; display: flex; gap: 6px 34px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; counter-reset: tp; }
.tour-nav button { counter-increment: tp; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 8px 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.tour-nav button::before { content: counter(tp, decimal-leading-zero) "  "; white-space: pre; opacity: .7; }
.tour-nav button:hover { color: var(--text); }
.tour-nav button.is-active { color: var(--accent-hi); border-bottom-color: var(--accent); }
.tour-zoom { position: absolute; right: var(--pad); top: 50%; display: grid; gap: 8px; transform: translateY(-50%); }
.tour-zoom button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 20px; transition: background .3s, color .3s; }
.tour-zoom button:hover { background: var(--accent); color: var(--bg); }
.tour .bleed-note { bottom: 96px; }
@media (max-width: 760px) { .tour-head { bottom: 150px; } .tour .bleed-note { display: none; } .tour-zoom { top: 30%; } }

.cursor[hidden] { display: none; }

/* inquiry form: a quiet glass panel, not loose fields on a photo */
.form { grid-column: 8 / span 5; max-width: 520px; justify-self: end; width: 100%; gap: 20px; padding: clamp(24px, 2.6vw, 38px); background: rgba(5, 22, 27, .58); border: 1px solid var(--glass-line); border-radius: 4px; backdrop-filter: blur(26px) saturate(1.2); -webkit-backdrop-filter: blur(26px) saturate(1.2); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.form-title { font: 400 17px/1.2 var(--title); letter-spacing: .16em; text-transform: uppercase; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { gap: 4px; }
.form input, .form textarea { font: 300 15px/1.4 var(--sans); padding: 8px 0 10px; border-bottom-color: rgba(238, 244, 242, .22); resize: none; }
.form input::placeholder, .form textarea::placeholder { color: rgba(238, 244, 242, .32); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 4px; }
.form-foot .fine { max-width: 26ch; font-size: 11px; }
.submit { height: 48px; padding: 0 22px 0 26px; gap: 18px; border-radius: 999px; flex: 0 0 auto; font-size: 11px; }
@media (max-width: 1080px) { .form { justify-self: start; margin-top: 48px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form-foot { flex-direction: column; align-items: flex-start; } }

/* ---------- Film ---------- */
.film { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #000; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 22, 27, 0) 20%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 22, 27, .25) 34%, rgba(5, 22, 27, 0) 60%); transition: opacity .8s var(--ease); }
.film-text { position: absolute; left: var(--pad); bottom: clamp(56px, 9vh, 110px); pointer-events: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.film-text .label { color: var(--accent-hi); }
.film-text .title { margin-top: 16px; }
.film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 18px; font: 600 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; transition: opacity .5s var(--ease); }
.film-play span { width: 104px; height: 104px; border-radius: 50%; border: 1px solid rgba(238, 244, 242, .8); background: rgba(5, 22, 27, .25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: relative; transition: background .35s, transform .5s var(--ease); }
.film-play span::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -11px 0 0 -6px; border-left: 18px solid var(--text); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.film-play:hover span { background: var(--accent); transform: scale(1.08); }
.film.is-playing .film-play, .film.is-playing .film-text { opacity: 0; pointer-events: none; }
.film.is-playing .film-veil { opacity: 0; }
.film.is-playing video { cursor: pointer; }

/* ---------- Gallery albums: full-colour covers ---------- */
.albums { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: clamp(40px, 5vw, 72px) var(--pad) 0; counter-reset: al; }
.album { counter-increment: al; position: relative; aspect-ratio: 4 / 5; overflow: hidden; text-align: left; background: var(--surface); isolation: isolate; }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter .5s var(--ease); z-index: -2; }
.album::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 22, 27, .9) 0%, rgba(5, 22, 27, .35) 34%, rgba(5, 22, 27, 0) 58%), linear-gradient(180deg, rgba(5, 22, 27, .45) 0%, rgba(5, 22, 27, 0) 26%); transition: opacity .5s; }
.album::before { content: counter(al, decimal-leading-zero); position: absolute; left: 16px; top: 15px; font: 500 11px/1 var(--sans); letter-spacing: .16em; color: var(--text); }
.album small { position: absolute; right: 16px; top: 15px; font: 400 11px/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--text-soft); }
.album span { position: absolute; left: 16px; right: 14px; bottom: 18px; font: 400 clamp(13px, 1.15vw, 18px)/1.22 var(--title); letter-spacing: .13em; text-transform: uppercase; color: var(--text); padding-top: 14px; border-top: 1px solid rgba(238, 244, 242, .35); transition: border-color .4s; }
.album:hover img { transform: scale(1.07); }
.album.is-active { outline: 1px solid var(--accent); outline-offset: 4px; }
.album.is-active span { border-top-color: var(--accent); }
.album.is-active::before { color: var(--accent-hi); }
.album:not(.is-active) img { filter: brightness(.82); }
.album:not(.is-active):hover img { filter: none; }
.slider { margin-top: 22px; }
@media (max-width: 1080px) { .albums { display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px 0; } .album { flex: 0 0 190px; } }

/* ---------- Site: one composed map panel ---------- */
.site { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0; margin: clamp(48px, 6vw, 96px) var(--pad) 0; border: 1px solid var(--line); background: rgba(5, 22, 27, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-facts { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 40px); border-right: 1px solid var(--line); }
.site-tabs { display: grid; border-top: 1px solid var(--line); counter-reset: st; }
.site-tabs button { counter-increment: st; display: flex; align-items: baseline; gap: 14px; text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); font: 400 15px/1.2 var(--title); letter-spacing: .13em; text-transform: uppercase; transition: color .3s, padding .4s var(--ease); }
.site-tabs button::before { content: counter(st, decimal-leading-zero); font: 500 11px/1 var(--sans); letter-spacing: .12em; }
.site-tabs button:hover { color: var(--text); }
.site-tabs button.is-active { color: var(--text); padding-left: 14px; box-shadow: inset 2px 0 0 var(--accent); }
.site-tabs button.is-active::before { color: var(--accent-hi); }
.site-note { font-size: 14px; color: var(--text-soft); margin: 22px 0 0; min-height: 4.6em; }
.site-list { margin: auto 0 0; padding-top: 28px; }
.site-list div { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.site-list dt { font: 500 10px/1.7 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.site-list dd { font-size: 13.5px; line-height: 1.55; color: var(--text-soft); }
.site-map { position: relative; min-height: min(72vh, 760px); overflow: hidden; background: #04121a; }
.site-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.site-map img.is-on { opacity: 1; transform: none; }
.site-map img.is-plat { object-fit: contain; filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.95); padding: 18px; }
.site-map figcaption { position: absolute; left: 16px; bottom: 14px; margin: 0; padding: 7px 10px; background: rgba(5, 22, 27, .7); color: var(--text-soft); }
@media (max-width: 1080px) { .site { grid-template-columns: 1fr; } .site-facts { border-right: 0; border-bottom: 1px solid var(--line); } .site-map { min-height: 62vw; } }

/* ---------- Hero: self-playing film ---------- */
#hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #05161b; }
#clouds { transition: opacity 1.3s var(--ease), transform 1.6s var(--ease); }
.flight-started #clouds { opacity: 0; transform: scale(2.4); pointer-events: none; }
.flight-started .caption.is-in, .caption { opacity: 0; transform: translateY(12px); }
.hero-ended .caption { opacity: 1; transform: none; transition-delay: .15s; }
.hero-scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; font: 600 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: 0; transition: opacity .8s var(--ease); z-index: 3; }
.hero-scroll span { width: 1px; height: 40px; background: currentColor; transform-origin: top; animation: hint 2.2s var(--ease) infinite; }
.hero-ended .hero-scroll { opacity: .85; }
.hero-replay { position: absolute; right: var(--pad); bottom: 30px; z-index: 3; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease), background .3s, color .3s; }
.hero-replay { display: none; }
.hero-replay:hover { background: var(--text); color: var(--bg); }

/* ---------- Contact: composed panel on the water, no photo behind the form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); margin: clamp(48px, 6vw, 96px) var(--pad) 0; border: 1px solid var(--line); background: rgba(5, 22, 27, .5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.contact-agent { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.contact-photo { position: relative; flex: 1; min-height: 340px; background: radial-gradient(90% 70% at 50% 30%, #1d5b58 0%, #0c2a2e 60%, #071c21 100%); overflow: hidden; display: grid; place-items: center; }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: 2; }
.contact-photo span { font: 400 clamp(54px, 6vw, 96px)/1 var(--title); letter-spacing: .12em; color: rgba(238, 244, 242, .22); }
.contact-agent figcaption { margin: 0; padding: 22px clamp(20px, 2.4vw, 34px) 26px; border-top: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
.contact-agent .agent-name { font: 400 20px/1.2 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.contact-agent .agent-meta { font: 300 13px/1.5 var(--sans); color: var(--text-soft); margin-top: 6px; }
.contact-agent .agent-todo { color: var(--muted); font-size: 12px; }
.contact .form { grid-column: auto; max-width: none; justify-self: stretch; margin: 0; padding: clamp(26px, 3.4vw, 56px); background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; gap: 26px; align-content: center; }
.contact .form-title { font-size: 20px; }
.contact .form input, .contact .form textarea { font-size: 17px; padding: 10px 0 14px; }
.contact .form-foot .fine { max-width: none; font-size: 12px; }
@media (max-width: 1080px) { .contact { grid-template-columns: 1fr; } .contact-agent { border-right: 0; border-bottom: 1px solid var(--line); } .contact-photo { min-height: 62vw; } }

/* stats: numbers and labels centred in each cell */
.stats div, .stats div + div { padding: 34px 16px; text-align: center; }
.stats span { max-width: 22ch; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .stats div, .stats div:nth-child(odd), .stats div:nth-child(even) { padding: 24px 10px; } }

/* price: set as a title card in the display face, centred, with weight */
.price { display: grid; justify-items: center; gap: 22px; text-align: center; padding: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 80px); }
.price .label { color: var(--accent-hi); letter-spacing: .32em; }
.price strong { font: 400 clamp(46px, 9.4vw, 168px)/.95 var(--title); letter-spacing: .035em; font-variant-numeric: lining-nums; color: var(--text); text-shadow: 0 0 80px rgba(53, 194, 176, .22); }
@media (max-width: 760px) { .stats div:last-child:nth-child(odd) { grid-column: 1 / -1; border-top: 1px solid var(--line); } }

/* ---------- Vision packed into one screen: heading, stats and price together ---------- */
#vision { padding: clamp(96px, 12vh, 132px) 0 clamp(40px, 6vh, 72px); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
#vision .stats { margin-top: clamp(32px, 6vh, 72px); }
#vision .stats div, #vision .stats div + div { padding: clamp(18px, 3vh, 30px) 14px; }
#vision .stats b { font-size: clamp(32px, min(4vw, 7vh), 68px); }
#vision .stats span { margin-top: 12px; }
#vision .price { display: flex; align-items: center; justify-content: space-between; gap: 32px; text-align: left; padding: clamp(18px, 3.4vh, 36px) 0; }
#vision .price .label { flex: 0 0 auto; max-width: 14ch; line-height: 1.7; }
#vision .price strong { font-size: clamp(40px, min(7.4vw, 15vh), 150px); line-height: 1; white-space: nowrap; }
@media (max-width: 760px) { #vision { min-height: 0; display: block; } #vision .price { display: grid; justify-items: start; gap: 14px; } #vision .price strong { font-size: 12.5vw; } }

/* ---------- Tour: 3D island (Google Photorealistic 3D Tiles) ---------- */
.earth { position: absolute; inset: 0; z-index: 4; background: var(--bg); }
.earth[hidden], .earth-ui[hidden] { display: none; }
.earth .cesium-viewer, .earth .cesium-widget, .earth canvas { width: 100%; height: 100%; }
.earth.is-locked canvas { pointer-events: none; }
.earth .cesium-viewer-bottom { left: var(--pad); bottom: 8px; }
.earth-ui { position: absolute; z-index: 6; left: var(--pad); right: var(--pad); bottom: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; pointer-events: none; }
.earth-ui > * { pointer-events: auto; }
.earth-hint { font: 500 11px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }
.earth-btn { height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(5, 22, 27, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: background .3s, color .3s; }
.earth-btn:hover { background: var(--text); color: var(--bg); }
.earth-start { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 60px; padding: 0 34px; border-radius: 999px; background: var(--text); color: var(--bg); font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; transition: background .3s, opacity .4s; }
.earth-start:hover { background: var(--accent-hi); }
.earth-start[hidden] { display: none; }
.tour.has-earth .tour-zoom, .tour.has-earth .tour-nav { z-index: 7; }
.tour.in-earth .tour-head, .tour.in-earth .tour-zoom, .tour.in-earth .tour-hint { display: none; }

/* ---------- Amenity island: each item lights up its place on the island ---------- */
#amenity { --fx: 50%; --fy: 50%; }
#amenity > img { transform-origin: var(--fx) var(--fy); transition: transform 1.4s var(--ease); }
#amenity.is-lit > img { transform: translate3d(0, var(--drift, 0px), 0) scale(1.34); }
.spot { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .7s var(--ease); background: radial-gradient(circle at var(--fx) var(--fy), rgba(5, 22, 27, 0) 0, rgba(5, 22, 27, 0) 13%, rgba(5, 22, 27, .74) 36%); }
.spot i { position: absolute; left: var(--fx); top: var(--fy); width: 26vmin; height: 26vmin; margin: -13vmin 0 0 -13vmin; border-radius: 50%; border: 1px solid rgba(127, 227, 212, .9); box-shadow: 0 0 60px rgba(53, 194, 176, .35), inset 0 0 40px rgba(53, 194, 176, .12); transform: scale(.6); opacity: 0; transition: transform 1s var(--ease), opacity .6s var(--ease), left 1s var(--ease), top 1s var(--ease); }
#amenity.is-lit .spot { opacity: 1; }
#amenity.is-lit .spot i { transform: scale(1); opacity: 1; }
#amenity::after { transition: opacity .7s var(--ease); }
#amenity.is-lit::after { opacity: .55; }
#amenity-list li { padding: 0; }
#amenity-list button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; text-align: left; font: 300 15px/1.4 var(--sans); color: var(--text-soft); transition: color .3s, padding .4s var(--ease); }
#amenity-list button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; margin-right: 6px; transition: background .3s, box-shadow .3s; }
#amenity-list button:hover, #amenity-list button.is-on { color: var(--accent-hi); padding-left: 10px; }
#amenity-list button:hover::after, #amenity-list button.is-on::after { background: var(--accent); box-shadow: 0 0 0 5px rgba(53, 194, 176, .2); }

/* hero part B: plays by itself over part A once the scroll reaches the transformation */
.hero-b { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s linear; pointer-events: none; }
.hero-b.is-on { opacity: 1; }
body.hero-lock { overflow: hidden; }

.agent-links { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.agent-links a { font: 400 15px/1.3 var(--sans); color: var(--text); letter-spacing: .02em; transition: color .25s; }
.agent-links a:hover { color: var(--accent-hi); }

/* ---------- Compounds: one sheet per homesite (where, the house from above, then its four spaces) ---------- */
.lots { padding-right: var(--pad); }
.lot-sheet { display: grid; gap: 14px; min-width: 0; }
.lot-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; align-items: stretch; }
.lot-aerial, .lot-where { position: relative; margin: 0; overflow: hidden; background: var(--bg); }
.lot-aerial { aspect-ratio: 4 / 3; max-height: 50vh; width: 100%; }
.lot-aerial img, .lot-where img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .5s var(--ease), transform 1.4s var(--ease), filter .5s; }
.lot-aerial img.is-swapping { opacity: 0; transform: scale(1.06); filter: blur(10px); }
.lot-aerial figcaption, .lot-where figcaption, .lot-room span { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 34px 16px 13px; background: linear-gradient(0deg, rgba(5, 22, 27, .85), rgba(5, 22, 27, 0)); font: 500 10px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text); text-align: left; pointer-events: none; }
.lot-info { display: flex; flex-direction: column; padding: 0; grid-template-columns: none; gap: 0; min-width: 0; border: 1px solid var(--line); background: rgba(5, 22, 27, .45); }
.lot-info > .label, .lot-info > h3, .lot-info > p, .lot-info > dl { margin-left: clamp(16px, 1.6vw, 26px); margin-right: clamp(16px, 1.6vw, 26px); }
.lot-info > .label { margin-top: clamp(16px, 1.6vw, 24px); color: var(--accent-hi); }
.lot-info h3 { font: 400 clamp(20px, 2vw, 30px)/1.15 var(--title); letter-spacing: .13em; text-transform: uppercase; margin-top: 10px; margin-bottom: 10px; }
.lot-info > p { color: var(--text-soft); font-size: 14px; line-height: 1.6; }
.lot-info dl { border-top: 1px solid var(--line); margin-top: 14px; margin-bottom: 14px; }
.lot-info dl div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.lot-info dt { font: 500 10px/1.7 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0; }
.lot-info dd { padding: 0; border: 0; font-size: 13px; line-height: 1.5; color: var(--text-soft); }
.lot-where { flex: 1; min-height: 120px; border-top: 1px solid var(--line); }
.lot-rooms { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; background: none; overflow: visible; }
.lot-room { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); cursor: zoom-in; }
.lot-room img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .5s; }
.lot-room:hover img { transform: scale(1.06); }
@media (max-width: 1080px) { .lots { padding: 0 var(--pad); } .lot-top { grid-template-columns: 1fr; } .lot-aerial { max-height: none; } .lot-where { min-height: 220px; } .lot-rooms { grid-template-columns: 1fr 1fr; } .lot-tabs { padding: 0; } }

/* hero: one scroll gesture starts the film, it then plays through by itself */
#flight { height: 100vh !important; height: 100svh !important; }
.hero-replay { display: block; }
.hero-ended .hero-replay { opacity: 1; pointer-events: auto; }

/* album covers: no index or count numbers */
.album::before { content: none; }
.album small { display: none; }

.agent-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.agent-social a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--glass-line); font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text); transition: background .3s, color .3s, border-color .3s; }
.agent-social a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.contact-photo img { object-position: 50% 12%; }

.hot { padding: 10px; margin: -32px 0 0 -32px; }   /* larger hit area around each panorama point */

/* contact: portrait as a small round avatar above the name */
.contact-agent { justify-content: center; padding: clamp(26px, 3.4vw, 56px) clamp(22px, 2.6vw, 40px); }
.contact-photo { flex: none; min-height: 0; width: 132px; height: 132px; border-radius: 50%; margin-bottom: 26px; border: 1px solid var(--glass-line); box-shadow: 0 0 0 6px rgba(53, 194, 176, .08); }
.contact-photo img { object-position: 50% 18%; }
.contact-photo span { font-size: 34px; }
.contact-agent figcaption { padding: 0; border-top: 0; }
@media (max-width: 1080px) { .contact-photo { min-height: 0; } }

/* ---------- 3D tour: walkable worlds ---------- */
.walk { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
.walk[hidden] { display: none; }
.walk iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.walk-cover { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 22, 27, .5) 42%, rgba(5, 22, 27, .15) 70%), linear-gradient(180deg, var(--bg) 0%, rgba(5, 22, 27, 0) 18%); transition: opacity .8s var(--ease); }
.walk.is-live .walk-cover { opacity: 0; pointer-events: none; }
.walk-text { padding: 0 var(--pad) clamp(110px, 16vh, 170px); max-width: 720px; }
.walk-text .label { color: var(--accent-hi); }
.walk-text .title { margin: 16px 0 16px; }
.walk-text > p:not(.label) { color: var(--text-soft); max-width: 44ch; }
.walk-enter { margin-top: 28px; height: 58px; padding: 0 32px; border-radius: 999px; background: var(--text); color: var(--bg); font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; transition: background .3s; }
.walk-enter:hover { background: var(--accent-hi); }
.walk-ui { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); top: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; pointer-events: none; }
.walk-ui[hidden] { display: none; }
.walk-ui > * { pointer-events: auto; }
.walk-hint { font: 500 11px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text); text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.walk-nav { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.walk-nav button { position: relative; width: 150px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); border: 1px solid var(--glass-line); text-align: left; transition: border-color .3s, transform .4s var(--ease); }
.walk-nav img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .4s; filter: brightness(.7); }
.walk-nav span { position: absolute; left: 10px; right: 8px; bottom: 9px; font: 600 10px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); }
.walk-nav button:hover img, .walk-nav button.is-active img { filter: none; transform: scale(1.06); }
.walk-nav button.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(53, 194, 176, .22); }
@media (max-width: 760px) { .walk-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .walk-nav button { flex: 0 0 120px; } .walk-hint { display: none; } }

/* ---------- Walk-through: one take through a concept residence, scrubbed by scroll ---------- */
.wt { position: relative; height: 620vh; background: var(--bg); }
.wt[hidden] { display: none; }
.wt-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.wt video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--bg); }
.wt-veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 22, 27, 0) 16%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 22, 27, 0) 20%), radial-gradient(110% 80% at 0% 100%, rgba(5, 22, 27, .72), rgba(5, 22, 27, 0) 58%); }
.wt-cap { position: absolute; left: var(--pad); bottom: clamp(70px, 11vh, 120px); max-width: min(560px, 60vw); transition: opacity .45s var(--ease), transform .7s var(--ease); text-shadow: 0 1px 24px rgba(0, 0, 0, .4); }
.wt-cap.is-out { opacity: 0; transform: translateY(12px); }
.wt-cap .label { color: var(--accent-hi); }
.wt-cap .title { font-size: clamp(26px, 3.2vw, 48px); margin: 14px 0; }
.wt-cap > p:last-child { color: var(--text-soft); font-size: clamp(15px, 1.1vw, 17px); max-width: 44ch; }
.wt-steps { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.wt-steps li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(238, 244, 242, .5); transition: color .4s; }
.wt-steps li::after { content: ""; width: 22px; height: 1px; background: currentColor; transition: width .5s var(--ease), background .4s; }
.wt-steps li.is-on { color: var(--text); }
.wt-steps li.is-on::after { width: 46px; background: var(--accent); }
@media (max-width: 760px) { .wt-steps { display: none; } .wt-cap { max-width: none; right: var(--pad); } }

.form-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status a { color: var(--accent-hi); border-bottom: 1px solid currentColor; }
.submit[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Contact: colophon column (photo band, agent row, contact ledger) ---------- */
.contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.contact-agent { display: flex; flex-direction: column; justify-content: space-between; padding: 0; border-right: 1px solid var(--line); }
.contact-view { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.contact-view img { width: 100%; height: 100%; object-fit: cover; }
.contact-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 22, 27, 0) 50%, rgba(5, 22, 27, .96) 100%); }
.contact-view figcaption { position: absolute; z-index: 1; left: clamp(22px, 2.6vw, 40px); bottom: 14px; margin: 0; padding: 0; border: 0; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-who { display: flex; align-items: center; gap: 20px; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 40px); }
.contact-who .contact-photo { flex: none; width: 88px; height: 88px; min-height: 0; margin: 0; border-radius: 50%; border: 0; box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line); overflow: hidden; position: relative; }
.contact-who .agent-name { font: 400 clamp(20px, 1.6vw, 26px)/1.15 var(--title); letter-spacing: .14em; text-transform: uppercase; }
.contact-who .agent-meta { font: 300 14px/1.5 var(--sans); color: var(--muted); margin-top: 6px; }
.contact-ledger { margin: 0; padding: 0 clamp(22px, 2.6vw, 40px) clamp(22px, 2.6vw, 34px); }
.contact-ledger div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-ledger div:last-child { border-bottom: 1px solid var(--line); }
.contact-ledger dt { font: 500 10px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-ledger dd { margin: 0; font: 300 15px/1.4 var(--sans); color: var(--text); overflow-wrap: anywhere; }
.contact-ledger a { position: relative; color: var(--text); transition: color .3s; }
.contact-ledger a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.contact-ledger a:hover { color: var(--accent-hi); }
.contact-ledger a:hover::after { transform: scaleX(1); }
.ledger-tel { font: 400 20px/1.2 var(--title); letter-spacing: .06em; }
.ledger-follow { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; }
.contact .form textarea { min-height: 130px; }
@media (max-width: 1080px) { .contact { grid-template-columns: 1fr; } .contact-agent { border-right: 0; border-bottom: 1px solid var(--line); } .contact-view { aspect-ratio: 21 / 9; } }

/* after the film has played, the hero rests on a sharp still of the real key above the clouds */
.hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.hero-rest .hero-still { opacity: 1; }

/* ---------- Amenity island: an index, one photograph per amenity ---------- */
.amen { display: grid; grid-template-columns: minmax(240px, 3fr) minmax(0, 9fr); column-gap: 24px; align-items: start; margin-top: clamp(48px, 6vw, 96px); padding-left: var(--pad); }
.amen-list { counter-reset: am; border-top: 1px solid var(--line); position: sticky; top: 90px; }
.amen-row { counter-increment: am; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; gap: 8px; width: 100%; text-align: left; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color .3s, padding .4s var(--ease); }
.amen-row::before { content: counter(am, decimal-leading-zero); font: 500 11px/1 var(--sans); letter-spacing: .12em; }
.amen-row span { font: 400 15px/1.2 var(--title); letter-spacing: .12em; text-transform: uppercase; }
.amen-row:hover { color: var(--text); }
.amen-row.is-active { color: var(--text); padding-left: 14px; box-shadow: inset 2px 0 0 var(--accent); }
.amen-row.is-active::before { color: var(--accent-hi); }
.amen-frame { position: relative; margin: 0; }
.amen-stack { position: relative; aspect-ratio: 16 / 9; max-height: 74vh; width: 100%; overflow: hidden; background: var(--surface); }
.amen-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease), transform 2.4s var(--ease); }
.amen-stack img.is-on { opacity: 1; transform: none; }
.amen-frame figcaption { margin: 16px var(--pad) 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 300 15px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text-soft); }
@media (max-width: 1080px) {
  .amen { grid-template-columns: 1fr; padding: 0; }
  .amen-list { position: static; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; border-top: 0; padding: 0 var(--pad); margin-bottom: 18px; }
  .amen-row { display: block; width: auto; flex: 0 0 auto; border-bottom: 1px solid transparent; white-space: nowrap; }
  .amen-row::before { margin-right: 8px; }
  .amen-row.is-active { padding-left: 0; box-shadow: none; border-bottom-color: var(--accent); }
  .amen-frame figcaption { margin: 14px var(--pad) 0; }
}

/* ---------- Compounds: the whole sheet (aerial, facts, four rooms with captions) fits one screen ---------- */
@media (min-width: 1081px) and (min-height: 620px) {
  .lot-sheet { height: calc(100vh - 116px); height: calc(100svh - 116px); grid-template-rows: minmax(0, 1fr) auto; }
  .lot-top { min-height: 0; }
  .lot-aerial { aspect-ratio: auto; max-height: none; height: 100%; min-height: 0; }
  .lot-info { min-height: 0; overflow: hidden; }
  .lot-where { min-height: 0; }
  .lot-room { aspect-ratio: auto; height: clamp(110px, 18vh, 190px); }
  .lot-tabs { top: 116px; }
}
@media (min-width: 1081px) and (min-height: 620px) {
  .lot-where img { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* ---------- Contact, compact: agent card on the left, short form on the right ---------- */
.contact { grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr); align-items: stretch; max-width: 1180px; margin-left: auto; margin-right: auto; }
.contact-agent { justify-content: center; gap: 22px; padding: clamp(24px, 2.6vw, 38px); }
.contact-who { padding: 0; gap: 16px; }
.contact-who .contact-photo { width: 68px; height: 68px; }
.contact-who .agent-name { font-size: clamp(18px, 1.4vw, 22px); }
.contact-who .agent-meta { font-size: 13px; margin-top: 4px; }
.contact-lines { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-lines a { width: fit-content; color: var(--text); transition: color .3s; }
.contact-lines a:hover { color: var(--accent-hi); }
.contact-lines .ledger-tel { font: 400 20px/1.2 var(--title); letter-spacing: .06em; }
.contact-lines .ledger-mail { font: 300 14px/1.4 var(--sans); color: var(--text-soft); overflow-wrap: anywhere; }
.contact-social { display: flex; gap: 10px; }
.contact-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: color .3s, border-color .3s, background .3s, transform .4s var(--ease); }
.contact-social a:hover, .contact-social a:focus-visible { color: var(--bg); background: var(--accent-hi); border-color: var(--accent-hi); transform: translateY(-2px); outline: none; }
.contact .form { padding: clamp(24px, 2.6vw, 38px); justify-content: flex-start; align-content: start; gap: 16px; }
.contact .form .form-title { margin: 0 0 4px; padding-bottom: 14px; }
.contact .form textarea { min-height: 76px; height: 76px; }
.contact .form .submit { height: 46px; }
@media (max-width: 1080px) { .contact { grid-template-columns: 1fr; } .contact-agent { border-right: 0; border-bottom: 1px solid var(--line); } }
.contact { max-width: 1040px; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); }
.contact .form { justify-content: stretch; }

/* ---------- Contact: two agents, one compact card each ---------- */
.contact-agent { justify-content: center; gap: 0; padding: 0 clamp(22px, 2.4vw, 34px); }
.contact-person { display: grid; gap: 14px; padding: clamp(20px, 2vw, 28px) 0; }
.contact-person + .contact-person { border-top: 1px solid var(--line); }
.contact-who .contact-photo { width: 56px; height: 56px; }
.contact-who .contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.contact-who .agent-name { font-size: 18px; }
.contact-reach { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.contact-lines { padding-top: 0; border-top: 0; gap: 4px; }
.contact-lines .ledger-tel { font-size: 17px; }
.contact-lines .ledger-mail { font-size: 13px; }
.contact-social { gap: 6px; }
.contact-social a { width: 34px; height: 34px; }
.contact-reach { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; }
@media (min-width: 1081px) and (min-height: 620px) {
  .lot-where { width: 100%; align-self: stretch; min-height: 140px; }
}

/* ---------- Sound: a small icon toggle, not a headline control ---------- */
.sound { width: 34px; height: 34px; padding: 0; gap: 0; justify-content: center; border-color: transparent; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--muted); transition: color .3s, border-color .3s; }
body:not(.flight-started) .sound { background: none; border-color: transparent; color: rgba(5, 22, 27, .7); }
.sound:hover { color: var(--text); border-color: var(--line); }
body:not(.flight-started) .sound:hover { color: #05161b; border-color: rgba(5, 22, 27, .25); }
.sound .snd-on { display: none; }
.sound[aria-pressed="true"] { color: var(--accent-hi); border-color: transparent; }
.sound[aria-pressed="true"] .snd-on { display: inline; }
.sound[aria-pressed="true"] .snd-off { display: none; }
.sound, body:not(.flight-started) .sound, body:not(.flight-started) .sound:hover { color: inherit; opacity: .7; }
.sound:hover, .sound[aria-pressed="true"] { opacity: 1; }
.sound[aria-pressed="true"] { color: var(--accent-hi); }

/* ---------- Tighter vertical rhythm: sections sit closer together ---------- */
.band { padding: clamp(64px, 6vw, 104px) 0; }
.lots, .amen, .maps { margin-top: clamp(32px, 3.4vw, 56px); }
.slider { margin-top: clamp(28px, 3vw, 48px); }
/* sound toggle: small, but clearly a button */
.sound, body:not(.flight-started) .sound, body:not(.flight-started) .sound:hover { width: 40px; height: 40px; opacity: 1; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.sound[aria-pressed="true"] { border-color: var(--accent); }
/* sound toggle: icon only, no ring */
.sound, body:not(.flight-started) .sound, body:not(.flight-started) .sound:hover, .sound[aria-pressed="true"] { border: 0; width: 36px; height: 36px; }
.sound svg { width: 22px; height: 22px; }

/* ---------- Walk-through, folded: after the first full walk it becomes one screen with an invitation ---------- */
.wt.is-folded { height: 100vh; height: 100svh; }
.wt-again { position: absolute; inset: 0; display: none; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 0 var(--pad) clamp(70px, 11vh, 120px); }
.wt-again .label { color: var(--accent-hi); }
.wt-again .title { font-size: clamp(26px, 3.2vw, 48px); margin: 0 0 10px; }
.wt.is-folded .wt-again { display: flex; }
.wt.is-folded .wt-cap, .wt.is-folded .wt-steps { display: none; }

/* ---------- The opportunity: four facts, each with its source ---------- */
.case { margin: clamp(32px, 3.4vw, 56px) var(--pad) 0; border-top: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: minmax(150px, 3fr) minmax(0, 6fr) minmax(0, 3fr); column-gap: 24px; align-items: baseline; padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line); }
.case-num { font: 400 clamp(34px, 4.2vw, 64px)/1 var(--title); letter-spacing: .04em; color: var(--accent-hi); white-space: nowrap; }
.case-row h3 { font: 400 clamp(16px, 1.3vw, 20px)/1.25 var(--title); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.case-row div p { color: var(--text-soft); font-size: 15px; line-height: 1.6; max-width: 56ch; }
.case-src { font: 500 10px/1.7 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: right; }
.case-fine { margin: 18px var(--pad) 0; font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 90ch; }
@media (max-width: 900px) { .case-row { grid-template-columns: 1fr; row-gap: 10px; } .case-src { text-align: left; } }
/* ten albums: two even rows of five */
@media (min-width: 1081px) { .albums { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(28px, 3vw, 48px); } .album { aspect-ratio: 4 / 3; } }
/* nine menu items: keep each on one line */
.topnav { gap: clamp(12px, 1.7vw, 30px); letter-spacing: .16em; }
.topnav a { white-space: nowrap; }

/* back at the top after the film: the opening screen again */
.hero-home .hero { opacity: 1; transform: none; pointer-events: auto; }
.hero-home .caption, .hero-home .caption.is-in, .hero-home .hero-replay, .hero-home .hero-scroll { opacity: 0; pointer-events: none; }
.hero-home .scrim { opacity: 0; }
.hero-home .topbar, .hero-home .topnav a { color: #05161b; }

/* ---------- The opportunity, v2: one screen, the master concept behind, four large fact cards ---------- */
.case2 { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; background: var(--bg); padding: 0; }
.case-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.08); transition: object-position 1.6s var(--ease), transform 2.4s var(--ease); }
.case-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 22, 27, .86) 0%, rgba(5, 22, 27, .5) 38%, rgba(5, 22, 27, .82) 72%, var(--bg) 100%), linear-gradient(90deg, rgba(5, 22, 27, .75), rgba(5, 22, 27, 0) 62%); }
.case-in { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(96px, 13vh, 140px) var(--pad) clamp(28px, 4vh, 44px); }
.case-head { max-width: 720px; }
.case-head .label { color: var(--accent-hi); }
.case-head .title { margin: 16px 0 18px; }
.case-lead { color: var(--text); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; max-width: 54ch; text-shadow: 0 1px 18px rgba(0, 0, 0, .5); }
.case-cta { display: inline-flex; align-items: center; margin-top: 26px; height: 54px; }
.case-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; border: 0; }
.case-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; padding: clamp(18px, 1.8vw, 28px); min-height: clamp(210px, 30vh, 290px); background: rgba(5, 22, 27, .46); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--text); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.case-card .case-num { font: 400 clamp(46px, 5.2vw, 84px)/.95 var(--title); letter-spacing: .02em; color: var(--text); white-space: nowrap; transition: color .4s; }
.case-card .case-h { font: 400 clamp(14px, 1.15vw, 18px)/1.25 var(--title); letter-spacing: .13em; text-transform: uppercase; }
.case-card .case-p { font: 300 14px/1.55 var(--sans); color: var(--text-soft); }
.case-card .case-src { margin-top: auto; padding-top: 12px; font: 500 9.5px/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; }
.case-card:hover, .case-card.is-active { background: rgba(5, 22, 27, .72); border-color: var(--accent); transform: translateY(-6px); }
.case-card:hover .case-num, .case-card.is-active .case-num { color: var(--accent-hi); }
.case2 .case-fine { margin: 0; max-width: none; font-size: 11px; color: var(--muted); }
@media (max-width: 1080px) { .case-cards { grid-template-columns: 1fr 1fr; } .case-card { min-height: 0; } }
@media (max-width: 620px) { .case-cards { grid-template-columns: 1fr; } }
/* the menu is there from the first second, also over the opening clouds */
.topnav { opacity: 1; pointer-events: auto; }
body:not(.flight-started) .topnav a { color: rgba(5, 22, 27, .78); }
body:not(.flight-started) .topnav a:hover { color: #05161b; }

/* the opportunity sits on a real photograph of the key */
.case-bg { object-position: 55% 45%; transform: scale(1.03); }
/* one quiet corner radius for every card-like surface */
:root { --r: 6px; }
.case-card, .album, .lot-aerial, .lot-where, .lot-room, .lot-info, .amen-stack, .contact, .slide, .slide img { border-radius: var(--r); }
.album, .lot-room, .slide, .contact { overflow: hidden; }

/* the opportunity: the golden-hour view from the water behind the cards; the house stays clear in the upper half */
.case-bg { object-position: 50% 22%; }
.case-veil { background: linear-gradient(180deg, rgba(5, 22, 27, .72) 0%, rgba(5, 22, 27, .18) 30%, rgba(5, 22, 27, .55) 62%, var(--bg) 100%), linear-gradient(90deg, rgba(5, 22, 27, .78), rgba(5, 22, 27, 0) 58%); }

/* ---------- The opportunity, v3: one fact on stage over the real key, a numbered index on the right ---------- */
.opp { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: var(--bg); padding: 0; }
.opp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 46%; transform: scale(1.04); transition: object-position 2.2s var(--ease), transform 3s var(--ease); }
.opp-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 22, 27, .78) 0%, rgba(5, 22, 27, .22) 34%, rgba(5, 22, 27, .5) 66%, var(--bg) 100%), linear-gradient(90deg, rgba(5, 22, 27, .66) 0%, rgba(5, 22, 27, 0) 46%, rgba(5, 22, 27, .7) 100%); }
.opp-in { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); column-gap: clamp(24px, 5vw, 96px); padding: clamp(92px, 12vh, 132px) var(--pad) 0; }
.opp-left { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
.opp-head .label { color: var(--accent-hi); }
.opp-head .title { margin-top: 16px; }
.opp-stage { transition: opacity .45s var(--ease), transform .7s var(--ease); }
.opp-stage.is-out { opacity: 0; transform: translateY(14px); }
.opp-num { font: 400 clamp(110px, 30vh, 300px)/.84 var(--title); letter-spacing: -.01em; color: var(--text); white-space: nowrap; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); margin-left: -.04em; }
.opp-h { font: 400 clamp(18px, 1.7vw, 28px)/1.2 var(--title); letter-spacing: .14em; text-transform: uppercase; margin: 18px 0 12px; }
.opp-p { font: 300 clamp(16px, 1.25vw, 20px)/1.55 var(--sans); color: var(--text); max-width: 46ch; text-shadow: 0 1px 18px rgba(0, 0, 0, .55); }
.opp-src { margin-top: 14px; font: 500 11px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); }
.opp-right { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.opp-lead { font: 300 clamp(15px, 1.15vw, 18px)/1.65 var(--sans); color: var(--text); text-shadow: 0 1px 18px rgba(0, 0, 0, .6); }
.opp-index { border-top: 1px solid rgba(238, 244, 242, .28); }
.opp-item { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; width: 100%; text-align: left; padding: clamp(14px, 2.2vh, 22px) 0; border-bottom: 1px solid rgba(238, 244, 242, .28); color: rgba(238, 244, 242, .66); transition: color .35s, padding .5s var(--ease); }
.opp-n { font: 500 11px/1 var(--sans); letter-spacing: .14em; }
.opp-t { font: 400 clamp(14px, 1.15vw, 18px)/1.25 var(--title); letter-spacing: .13em; text-transform: uppercase; }
.opp-item:hover { color: var(--text); }
.opp-item.is-active { color: var(--text); padding-left: 16px; box-shadow: inset 2px 0 0 var(--accent); }
.opp-item.is-active .opp-n { color: var(--accent-hi); }
.opp-cta { display: inline-flex; align-items: center; align-self: flex-start; height: 54px; margin: 0; }
.opp-fine { position: relative; z-index: 1; margin: clamp(22px, 3.4vh, 40px) var(--pad) clamp(20px, 3vh, 32px); font-size: 11px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1080px) {
  .opp-in { grid-template-columns: 1fr; row-gap: 32px; }
  .opp-num { font-size: clamp(96px, 26vw, 200px); }
}
/* the Replay button stays available on the opening screen after the film has been seen */
.hero-home .hero-replay { opacity: 1; pointer-events: auto; }

/* The opportunity: the index reads clearly over the photograph and looks like something to press */
.opp-right { position: relative; }
.opp-right::before { content: ""; position: absolute; inset: -28px -28px -28px -36px; z-index: -1; background: linear-gradient(90deg, rgba(5, 22, 27, 0) 0%, rgba(5, 22, 27, .62) 22%, rgba(5, 22, 27, .78) 100%); border-radius: var(--r); pointer-events: none; }
.opp-index { border-top-color: rgba(238, 244, 242, .5); }
.opp-item { grid-template-columns: 44px 1fr 28px; color: rgba(238, 244, 242, .94); border-bottom-color: rgba(238, 244, 242, .5); text-shadow: 0 1px 14px rgba(0, 0, 0, .7); cursor: pointer; transition: color .3s, padding .5s var(--ease), background .3s; }
.opp-item::after { content: "\2192"; justify-self: end; font: 400 16px/1 var(--sans); color: var(--accent-hi); opacity: .55; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.opp-t { font-size: clamp(15px, 1.3vw, 20px); }
.opp-n { color: var(--accent-hi); font-size: 12px; }
.opp-item:hover { color: #fff; background: rgba(127, 227, 212, .08); padding-left: 10px; }
.opp-item:hover::after { opacity: 1; transform: none; }
.opp-item.is-active { color: #fff; background: rgba(127, 227, 212, .12); box-shadow: inset 3px 0 0 var(--accent-hi); }
.opp-item.is-active::after { opacity: 1; transform: none; }
.opp-lead { color: #fff; }

/* ---------- Phone: the price fits edge to edge, the inquiry panel fits the screen ---------- */
@media (max-width: 760px) {
  #vision .price { margin: 0 var(--pad); }
  #vision .price strong { font-size: min(11.2vw, 64px); letter-spacing: .01em; white-space: nowrap; max-width: 100%; }
  .contact { display: block; max-width: none; margin-left: var(--pad); margin-right: var(--pad); width: auto; }
  .contact-agent { padding: 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-person { padding: 18px 0; }
  .contact-reach { gap: 12px; }
  .contact-lines .ledger-mail { font-size: 12.5px; overflow-wrap: anywhere; word-break: break-word; }
  .contact-social { flex-wrap: wrap; }
  .contact .form { padding: 20px 18px; width: auto; min-width: 0; }
  .contact .form .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact .form input, .contact .form textarea { width: 100%; min-width: 0; box-sizing: border-box; }
  .contact .form-foot { flex-direction: column; align-items: stretch; gap: 14px; }
  .contact .form .submit { width: 100%; justify-content: center; }
}

/* ---------- From key to community: the transformation film in a frame, not full screen ---------- */
.dev-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 5vw, 88px); align-items: center; padding: 0 var(--pad); }
.dev-text .label { color: var(--accent-hi); }
.dev-text .title { margin: 16px 0 20px; }
.dev-lead { color: var(--text-soft); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.65; max-width: 44ch; }
.dev-frame { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.dev-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dev-toggle { position: absolute; right: 14px; bottom: 14px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--glass-line); background: rgba(5, 22, 27, .55); color: var(--text); font: 600 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: 0; transition: opacity .3s, background .3s; }
.dev-frame:hover .dev-toggle, .dev-toggle:focus-visible { opacity: 1; }
.dev-toggle:hover { background: var(--text); color: var(--bg); }
@media (max-width: 1080px) { .dev-in { grid-template-columns: 1fr; row-gap: 28px; } .dev-frame { justify-self: stretch; max-width: none; } .dev-toggle { opacity: 1; } }

/* ---------- Phones: the top bar slides away while the page is scrolled down and returns on the way up ---------- */
@media (max-width: 900px) {
  .topbar { transition: background .5s var(--ease), height .5s var(--ease), transform .45s var(--ease); }
  .bar-away .topbar { transform: translateY(-110%); }
}

/* ---------- Opening: the title and the haze let go of the film slowly, so the dive begins as one soft dissolve ---------- */
.hero { transition: opacity 1.5s cubic-bezier(.45, 0, .55, 1), transform 2.2s cubic-bezier(.45, 0, .55, 1); }
.flight-started .hero { transform: translateY(-14px) scale(1.02); }
.hero-home .hero { transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
#clouds { transition: opacity 2s cubic-bezier(.45, 0, .55, 1), transform 2.6s cubic-bezier(.45, 0, .55, 1); }
.scrim { transition: opacity 1.6s; }

/* ---------- Menu jump: a short veil while the page is placed on the chosen section ---------- */
.jump-veil { position: fixed; inset: 0; z-index: 45; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.jump-veil.is-on { opacity: 1; transition: opacity .22s linear; }

/* ---------- The opportunity: no boxed mask behind the index; the whole right side of the picture darkens evenly instead ---------- */
.opp-right::before { content: none; }
.opp-veil { background: linear-gradient(180deg, rgba(5, 22, 27, .78) 0%, rgba(5, 22, 27, .22) 34%, rgba(5, 22, 27, .5) 66%, var(--bg) 100%), linear-gradient(90deg, rgba(5, 22, 27, .66) 0%, rgba(5, 22, 27, 0) 40%, rgba(5, 22, 27, .55) 62%, rgba(5, 22, 27, .86) 100%); }
@media (max-width: 1080px) { .opp-veil { background: linear-gradient(180deg, rgba(5, 22, 27, .8) 0%, rgba(5, 22, 27, .35) 26%, rgba(5, 22, 27, .72) 52%, rgba(5, 22, 27, .9) 80%, var(--bg) 100%); } }
