/* =====================================================================
   Aether Estates — cinematic property experience
   Luxury + Architecture + Trust + Technology
   ===================================================================== */

:root {
    --ink: #0c0b0a;
    --ink-2: #131210;
    --ink-3: #1b1916;
    --ink-4: #26231f;
    --line: rgba(255, 244, 228, 0.11);
    --line-2: rgba(255, 244, 228, 0.2);
    --text: #f2ede4;
    --muted: rgba(242, 237, 228, 0.62);
    --faint: rgba(242, 237, 228, 0.38);
    --gold: #c9a46a;
    --gold-2: #e3c794;
    --gold-ink: #1a140b;
    --wa: #25d366;
    --danger: #e0786a;
    --ok: #7fc8a0;
    --glass: rgba(20, 19, 17, 0.52);
    --glass-2: rgba(255, 250, 240, 0.07);
    --r: 18px;
    --r-lg: 28px;
    --gutter: clamp(16px, 4vw, 56px);
    --maxw: 1440px;
    --serif: 'Instrument Serif', 'Times New Roman', serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.65), 0 10px 30px -18px rgba(0, 0, 0, 0.6);
    --svh: 100svh;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font: 400 16px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:not([class]):hover { color: var(--gold-2); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--gold-ink); }
[hidden] { display: none !important; }
code { font-size: 0.86em; background: var(--ink-3); padding: 0.1em 0.4em; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 999; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

/* Pre-reveal states (only when JS is running) */
.js [data-split], .js [data-hero-title] { visibility: hidden; }
.js [data-hero-line], .js [data-hero-cta] { opacity: 0; }
.js .reveal:not(.is-in) { opacity: 0; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; will-change: transform; }

/* Film grain keeps big dark surfaces from looking flat/digital */
.grain {
    position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

/* ---------------------------------------------------------------- layout */

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 180px); position: relative; }
.section--tight { padding-block: clamp(30px, 5vw, 70px) clamp(80px, 10vw, 140px); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 64px); }
.page-head { padding-top: clamp(120px, 16vw, 200px); padding-bottom: clamp(20px, 3vw, 40px); }

/* ---------------------------------------------------------------- type */

.eyebrow {
    font: 600 11.5px/1.2 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
    margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow a { color: var(--muted); }
.display { font: 400 clamp(40px, 6.2vw, 92px)/0.98 var(--serif); letter-spacing: -0.015em; margin: 0; }
.display em, .footer__title em { font-style: italic; color: var(--gold-2); }
.display--xl { font-size: clamp(52px, 9vw, 150px); }
.lead { font: 400 clamp(22px, 2.4vw, 34px)/1.25 var(--serif); color: var(--text); margin: 0 0 28px; max-width: 26ch; }
.h3 { font: 600 13px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 56px 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.prose { color: var(--muted); max-width: 64ch; font-size: 17px; line-height: 1.75; }
.prose--lg { font-size: clamp(18px, 1.6vw, 22px); color: var(--text); }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--text); padding-bottom: 4px; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0% 1px no-repeat; transition: background-size 0.6s var(--ease); }
.link-arrow span { transition: transform 0.6s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover span { transform: translateX(6px); }
.linkbtn { color: var(--gold-2); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(201, 164, 106, 0.4); }
.linkbtn:hover { text-decoration-color: var(--gold); }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--faint); margin-bottom: 24px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }

/* ---------------------------------------------------------------- buttons */

.btn {
    --mx: 50%; --my: 50%;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em;
    border: 1px solid var(--line-2); color: var(--text); background: transparent; isolation: isolate; overflow: hidden;
    transition: border-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.6s var(--ease);
    will-change: transform; white-space: nowrap;
}
/* light that follows the finger/cursor across the surface */
.btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0;
    background: radial-gradient(160px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.22), transparent 60%);
    transition: opacity 0.4s;
}
.btn:hover::before { opacity: 1; }
.btn__label, .btn__icon { position: relative; display: inline-block; }
.btn__icon { transition: transform 0.6s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--gold { background: linear-gradient(180deg, #d8b57b, #b98f52); color: var(--gold-ink); border-color: rgba(255, 230, 190, 0.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 12px 30px -12px rgba(201, 164, 106, 0.55); }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 18px 40px -14px rgba(201, 164, 106, 0.8); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--glass { background: rgba(255, 250, 240, 0.08); border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.btn--glass:hover { background: rgba(255, 250, 240, 0.14); }
.btn--wa { background: #1c3b2a; border-color: rgba(37, 211, 102, 0.45); color: #c9f5d9; }
.btn--wa::after { content: ''; width: 16px; height: 16px; order: -1; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2s-1 .3-3.3-.7a11.6 11.6 0 0 1-4.6-4.1 5.2 5.2 0 0 1-1.1-2.8 3 3 0 0 1 1-2.2 1 1 0 0 1 .7-.3h.5c.2 0 .4 0 .6.5l.8 2a.6.6 0 0 1 0 .6l-.4.6-.4.4c-.1.2-.3.3-.1.6a8.2 8.2 0 0 0 1.5 1.9 7.5 7.5 0 0 0 2.2 1.3c.3.1.4.1.6-.1l.8-1c.2-.2.4-.2.6-.1l1.9.9c.3.1.5.2.5.3a2.4 2.4 0 0 1 0 1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.2c-.2.6-1.3 1.2-1.8 1.2s-1 .3-3.3-.7a11.6 11.6 0 0 1-4.6-4.1 5.2 5.2 0 0 1-1.1-2.8 3 3 0 0 1 1-2.2 1 1 0 0 1 .7-.3h.5c.2 0 .4 0 .6.5l.8 2a.6.6 0 0 1 0 .6l-.4.6-.4.4c-.1.2-.3.3-.1.6a8.2 8.2 0 0 0 1.5 1.9 7.5 7.5 0 0 0 2.2 1.3c.3.1.4.1.6-.1l.8-1c.2-.2.4-.2.6-.1l1.9.9c.3.1.5.2.5.3a2.4 2.4 0 0 1 0 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn--wa:hover { border-color: var(--wa); }
.btn--danger { border-color: rgba(224, 120, 106, 0.5); color: var(--danger); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 15px; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: 0.35; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
    width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
    background: rgba(12, 11, 10, 0.55); border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn.is-on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.icon-btn.is-on svg { fill: currentColor; }
.icon-btn--lg { width: 58px; height: 58px; }

.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; background: rgba(12, 11, 10, 0.62); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag--gold { background: var(--gold); color: var(--gold-ink); border-color: transparent; }
.tag--muted { opacity: 0.8; text-decoration: line-through; text-decoration-thickness: 1px; }

/* ---------------------------------------------------------------- cursor */

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 1000; }
.has-cursor .cursor.is-hidden, .has-cursor .cursor:not(.is-ready) { opacity: 0; }  /* hidden until the pointer first moves */
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-2); mix-blend-mode: difference; }
.cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(242, 237, 228, 0.45);
    display: grid; place-items: center; transition: width 0.5s var(--ease), height 0.5s var(--ease), margin 0.5s var(--ease), background 0.4s, border-color 0.4s;
}
.cursor__label { font: 700 10.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); opacity: 0; transition: opacity 0.3s; }
.cursor[data-state='hover'] .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--gold); }
.cursor[data-state='view'] .cursor__ring, .cursor[data-state='explore'] .cursor__ring, .cursor[data-state='drag'] .cursor__ring,
.cursor[data-state='open'] .cursor__ring, .cursor[data-state='play'] .cursor__ring, .cursor[data-state='360'] .cursor__ring {
    width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--gold); border-color: var(--gold);
}
.cursor[data-state='view'] .cursor__label, .cursor[data-state='explore'] .cursor__label, .cursor[data-state='drag'] .cursor__label,
.cursor[data-state='open'] .cursor__label, .cursor[data-state='play'] .cursor__label, .cursor[data-state='360'] .cursor__label { opacity: 1; }
.cursor[data-state]:not([data-state='']):not([data-state='hover']) .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(0.85); }

/* ---------------------------------------------------------------- curtain transition */

.curtain { position: fixed; inset: 0; z-index: 950; pointer-events: none; display: grid; grid-template-columns: 1fr 1fr; visibility: hidden; }
.curtain span { background: #0a0908; }
.curtain span + span { background: #0d0c0b; }
html:not(.js) .curtain { display: none; }

/* ---------------------------------------------------------------- nav */

.nav {
    position: fixed; inset: 0 0 auto; z-index: 100; height: 76px; padding-inline: var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    transition: transform 0.8s var(--ease), background 0.6s, backdrop-filter 0.6s, border-color 0.6s;
    border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(12, 11, 10, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.is-exploring .nav { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 400 23px/1 var(--serif); letter-spacing: 0.01em; }
.brand svg { width: 26px; height: 26px; fill: var(--gold); }
.brand em { font-style: italic; color: var(--muted); margin-left: 4px; }
.nav__links { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; color: var(--muted); transition: color 0.4s; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__icon { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color 0.4s; }
.nav__icon:hover { border-color: var(--gold); }
.nav__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.nav__badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.nav__account { font-size: 14px; font-weight: 600; padding: 0 8px; color: var(--muted); }
.nav__account:hover { color: var(--text); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 0.6s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 95; background: rgba(10, 9, 8, 0.97); padding: 110px var(--gutter) 40px;
    display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease-in-out);
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu__links { display: grid; gap: 4px; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; font: 400 clamp(38px, 11vw, 64px)/1.1 var(--serif); overflow: hidden; }
.menu__links small { font: 600 12px var(--sans); color: var(--gold); letter-spacing: 0.1em; }

/* ---------------------------------------------------------------- toasts */

.toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 990; transform: translate(-50%, 140%); max-width: min(520px, calc(100vw - 32px));
    padding: 14px 22px; border-radius: 14px; background: rgba(28, 26, 23, 0.92); border: 1px solid var(--line-2);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); font-size: 14.5px;
    transition: transform 0.8s var(--ease);
}
.toast.is-in { transform: translate(-50%, 0); }
.toast--success { border-color: rgba(127, 200, 160, 0.45); }
.toast--error { border-color: rgba(224, 120, 106, 0.55); }

/* =====================================================================
   HOME — cinematic experience
   ===================================================================== */

.experience { position: relative; height: 1150vh; background: #000; }
.stage { position: sticky; top: 0; height: 100vh; height: var(--svh); overflow: hidden; background: #000; isolation: isolate; }
.stage__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 0; }
.stage__fallback { position: absolute; inset: 0; z-index: 0; }
.stage__fallback img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.stage.has-webgl .stage__fallback, .viewer.has-webgl .stage__fallback { display: none; }
@keyframes kenburns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -2%); } }
.stage__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(6, 5, 4, 0.62) 0%, rgba(6, 5, 4, 0.28) 38%, transparent 62%), radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.5) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 22%, transparent 62%, rgba(0, 0, 0, 0.7)); }
.experience__track { display: none; }

.loader { position: absolute; inset: 0; z-index: 20; background: #000; display: grid; place-content: center; justify-items: center; gap: 16px; }
.loader__label { font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); }
.loader__count { font: 400 clamp(64px, 10vw, 120px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.loader__bar { width: 200px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.loader--inline { background: rgba(0, 0, 0, 0.8); }
.loader--inline .loader__count { font-size: 64px; }

.hero {
    position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: clamp(90px, 12vh, 140px);
    max-width: 880px;
}
.hero__title { font: 400 clamp(46px, 7.4vw, 124px)/0.94 var(--serif); letter-spacing: -0.02em; margin: 0 0 22px; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.35); }
.hero__sub { max-width: 520px; color: rgba(242, 237, 228, 0.82); font-size: clamp(15px, 1.2vw, 17px); margin: 0 0 26px; }
.hero__property {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding: 14px 22px; margin-bottom: 30px;
    border-radius: 16px; background: rgba(12, 11, 10, 0.38); border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.hero__property strong { display: block; font: 400 21px/1.2 var(--serif); }
.hero__property span { font-size: 13px; color: var(--muted); }
.hero__facts { display: flex; gap: 18px; flex-wrap: wrap; }
.hero__facts span { color: var(--text); font-weight: 600; font-size: 13.5px; }
.hero__facts span:first-child { color: var(--gold-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.daynight { position: absolute; z-index: 6; right: var(--gutter); top: 100px; }
.daynight__btn { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(12, 11, 10, 0.38); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; font-weight: 600; }
.daynight__track { width: 50px; height: 28px; border-radius: 14px; background: linear-gradient(90deg, #f1c27d, #7aa7d8); position: relative; transition: background 1.2s; }
.daynight__knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff7e6; box-shadow: 0 0 14px rgba(255, 220, 150, 0.9); transition: transform 1.2s var(--ease), background 1.2s, box-shadow 1.2s; }
.daynight__btn[aria-pressed='true'] .daynight__track { background: linear-gradient(90deg, #0d1733, #2b3970); }
.daynight__btn[aria-pressed='true'] .daynight__knob { transform: translateX(22px); background: #dfe6ff; box-shadow: inset -6px -2px 0 #b9c4ea, 0 0 12px rgba(180, 200, 255, 0.7); }
.daynight__label span { display: none; }
.daynight__btn[aria-pressed='false'] [data-dn-day], .daynight__btn[aria-pressed='true'] [data-dn-night] { display: inline; }

.scrollcue { position: absolute; z-index: 5; right: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.scrollcue span { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.chapters { list-style: none; margin: 0; padding: 0; position: absolute; z-index: 5; left: var(--gutter); bottom: clamp(70px, 11vh, 120px); width: min(560px, calc(100% - var(--gutter) * 2)); pointer-events: none; }
.chapter { position: absolute; left: 0; bottom: 0; width: 100%; visibility: hidden; }
.chapter.is-on { visibility: visible; }
.chapter > * { opacity: 0; }
.chapter__num { font: 400 15px var(--serif); font-style: italic; color: var(--gold-2); display: block; margin-bottom: 6px; }
.chapter__title { font: 400 clamp(46px, 6.5vw, 104px)/0.95 var(--serif); margin: 0 0 16px; text-shadow: 0 8px 40px rgba(0, 0, 0, 0.4); }
.chapter__text { font-size: clamp(15px, 1.25vw, 18px); color: rgba(242, 237, 228, 0.88); margin: 0 0 12px; max-width: 46ch; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); }
.chapter__meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); margin: 0; }

.tour-info {
    position: absolute; z-index: 6; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(420px, calc(100% - var(--gutter) * 2));
    padding: 30px; border-radius: var(--r-lg); background: rgba(12, 11, 10, 0.5); border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); visibility: hidden; box-shadow: var(--shadow);
}
.tour-info.is-on { visibility: visible; }
.tour-info__title { font: 400 38px/1 var(--serif); margin: 0 0 8px; }
.tour-info__price { color: var(--gold-2); font-size: 20px; font-weight: 600; margin: 0 0 22px; }
.tour-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; margin: 0 0 22px; }
.tour-info__grid div { background: rgba(12, 11, 10, 0.7); padding: 14px; }
.tour-info__grid dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.tour-info__grid dd { margin: 4px 0 0; font-weight: 600; }
.tour-info__cta { display: flex; gap: 10px; flex-wrap: wrap; }

.rail { position: absolute; z-index: 5; right: calc(var(--gutter) - 6px); top: 50%; transform: translateY(-50%); height: 44vh; width: 12px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; opacity: 0; transition: opacity 0.8s; }
.stage.is-touring .rail { opacity: 1; }
.rail::before { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.18); }
.rail i { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--gold); transform: scaleY(0); transform-origin: top; }
.rail span { position: relative; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: #000; border: 1px solid rgba(255, 255, 255, 0.5); transition: background 0.5s, border-color 0.5s, transform 0.5s var(--ease); }
.rail span.is-on { background: var(--gold); border-color: var(--gold); transform: scale(1.3); }
.stage.is-touring .tour-info.is-on ~ .rail { opacity: 0; }

.explore-ui { position: absolute; inset: 0; z-index: 8; pointer-events: none; visibility: hidden; }
.is-exploring .explore-ui { visibility: visible; }
.is-exploring .daynight, .is-exploring .scrollcue, .is-exploring .chapters, .is-exploring .rail, .is-exploring .tour-info { opacity: 0 !important; pointer-events: none; }
.explore-ui > * { pointer-events: auto; }
.explore-ui__exit { position: absolute; left: var(--gutter); top: 24px; }
.explore-ui__hint { position: absolute; left: 50%; top: 32px; transform: translateX(-50%); margin: 0; font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; transition: opacity 0.8s; white-space: nowrap; }
.explore-ui__hint.is-gone { opacity: 0; }

.dock {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px; border-radius: 20px;
    background: rgba(12, 11, 10, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
    max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; box-shadow: var(--shadow);
}
.dock::-webkit-scrollbar { display: none; }
.dock__group { display: flex; align-items: center; gap: 2px; padding: 0 4px; }
.dock__group + .dock__group { border-left: 1px solid var(--line); padding-left: 10px; }
.dock__label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); padding: 0 8px 0 4px; }
.dock button { height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background 0.4s, color 0.4s; }
.dock button:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.dock button.is-on, .dock button[aria-pressed='true'] { background: var(--text); color: var(--ink); }

/* ---------------------------------------------------------------- search */

.search-hero { padding-bottom: clamp(40px, 6vw, 80px); background: radial-gradient(80% 60% at 20% 0%, rgba(201, 164, 106, 0.09), transparent 60%); }
.searchbar {
    margin-top: 40px; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto; gap: 6px; padding: 8px; border-radius: 24px;
    background: var(--ink-2); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.searchbar__seg, .seg { display: inline-flex; padding: 4px; border-radius: 16px; background: var(--ink-3); gap: 2px; }
.searchbar__seg label, .seg label, .seg button { position: relative; }
.searchbar__seg input, .seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.searchbar__seg span, .seg span, .seg button { display: grid; place-items: center; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background 0.4s var(--ease), color 0.4s; }
.searchbar__seg input:checked + span, .seg input:checked + span, .seg button.is-on { background: var(--text); color: var(--ink); }
.searchbar__field { display: grid; align-content: center; padding: 6px 18px; border-radius: 16px; transition: background 0.3s; }
.searchbar__field:hover { background: var(--ink-3); }
.searchbar__field span { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.searchbar__field select { background: none; border: 0; padding: 2px 0; font-weight: 600; font-size: 15px; cursor: pointer; appearance: none; }
.searchbar__field select option, .finder select option, .field select option { background: var(--ink-2); color: var(--text); }
.searchbar__go { min-height: 60px; border-radius: 18px; }

/* ---------------------------------------------------------------- property cards */

.grid--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.card { position: relative; perspective: 1100px; }
.card__media {
    position: relative; display: block; aspect-ratio: 4 / 4.6; border-radius: var(--r); overflow: hidden; background: var(--ink-3);
    transform-style: preserve-3d; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9); will-change: transform;
}
.card__img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
.card__img--alt { opacity: 0; }
.card:hover .card__img--alt { opacity: 1; }
.card:hover .card__img:not(.card__img--alt) { transform: scale(1.04); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 30%, transparent 60%, rgba(0, 0, 0, 0.45)); pointer-events: none; }
.card__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; transition: background 0.2s; }
.card__tags { position: absolute; z-index: 3; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__actions { position: absolute; z-index: 4; right: 14px; top: 14px; display: flex; gap: 8px; }
.card__body { padding: 20px 4px 0; }
.card__type { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 6px; }
.card__title { font: 400 28px/1.1 var(--serif); margin: 0 0 8px; }
.card__title a { background: linear-gradient(currentColor, currentColor) left 100% / 0% 1px no-repeat; transition: background-size 0.7s var(--ease); }
.card:hover .card__title a { background-size: 100% 1px; }
.card__price { color: var(--gold-2); font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.card__specs { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.card__specs b { color: var(--text); font-weight: 600; }
/* information slides up on hover (desktop) */
@media (hover: hover) {
    .card__specs { transform: translateY(6px); opacity: 0.75; transition: transform 0.7s var(--ease), opacity 0.7s; }
    .card:hover .card__specs { transform: none; opacity: 1; }
}

/* ---------------------------------------------------------------- projects (horizontal) */

.projects-h { position: relative; background: var(--ink-2); border-block: 1px solid var(--line); }
.projects-h__pin { display: flex; align-items: center; gap: clamp(30px, 5vw, 80px); min-height: 100vh; padding-inline: var(--gutter); overflow: hidden; }
.projects-h__intro { flex: 0 0 min(380px, 80vw); }
.projects-h__intro .display { margin-bottom: 20px; }
.projects-h__intro .muted { margin-bottom: 24px; max-width: 32ch; }
.projects-h__track { display: flex; gap: clamp(20px, 3vw, 40px); will-change: transform; }
.project { flex: 0 0 min(760px, 78vw); display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.project__media { position: relative; overflow: hidden; min-height: 440px; }
.project__media img { position: absolute; inset: 0 -12%; width: 124%; height: 100%; object-fit: cover; }
.project__body { padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 6px; }
.project__body h3 { font: 400 36px/1 var(--serif); margin: 6px 0 2px; }
.project__body dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.project__body dt { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.project__body dd { margin: 4px 0 0; font-weight: 600; font-size: 14px; }
.project__status { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); margin: 0; display: flex; flex-direction: column; gap: 10px; }
.project__status i { display: block; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p), var(--line) var(--p)); }
.project__amen { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }
.project .link-arrow { margin-top: auto; }

/* ---------------------------------------------------------------- amenities */

.amenities__wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.amenities__list ol { list-style: none; margin: 48px 0 0; padding: 0; }
.amenity { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); cursor: pointer; opacity: 0.45; transition: opacity 0.6s var(--ease); outline-offset: 6px; }
.amenity:last-child { border-bottom: 1px solid var(--line); }
.amenity.is-on, .amenity:hover { opacity: 1; }
.amenity__num { font: 400 16px var(--serif); font-style: italic; color: var(--gold-2); padding-top: 6px; }
.amenity h3 { font: 400 clamp(28px, 3vw, 40px)/1 var(--serif); margin: 0; }
.amenity p { margin: 0; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height 0.8s var(--ease), margin 0.8s var(--ease); }
.amenity small { display: block; max-height: 0; overflow: hidden; color: var(--gold-2); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; transition: max-height 0.8s var(--ease); }
.amenity.is-on p { max-height: 120px; margin: 12px 0 8px; }
.amenity.is-on small { max-height: 30px; }
.amenities__stage { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
.amenities__img { position: absolute; inset: 0; margin: 0; z-index: 1; visibility: hidden; }
.amenities__img.is-on { visibility: visible; }
.amenities__img img { width: 100%; height: 100%; object-fit: cover; }
.amenities__img figcaption { position: absolute; left: 22px; bottom: 20px; font: 400 26px var(--serif); text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); }

/* ---------------------------------------------------------------- location map */

.location__wrap { display: grid; grid-template-columns: 1fr 260px; gap: 30px; margin-top: 50px; align-items: center; }
.location__map { border-radius: var(--r-lg); background: radial-gradient(70% 70% at 50% 50%, #1a1814, #0e0d0b); border: 1px solid var(--line); overflow: hidden; }
.locsvg { width: 100%; height: auto; }
.loc-gridline { stroke: rgba(255, 244, 228, 0.04); stroke-width: 1; }
.loc-ring { fill: none; stroke: rgba(201, 164, 106, 0.14); stroke-dasharray: 2 6; }
.loc-link { fill: none; stroke-width: 1.4; opacity: 0.85; }
.loc-label { font: 600 12px var(--sans); fill: var(--text); }
.loc-dist { font: 500 10.5px var(--sans); fill: var(--muted); }
.loc-halo { fill: none; stroke-width: 1; opacity: 0.45; }
.loc-center { fill: var(--gold); }
.loc-pulse { fill: rgba(201, 164, 106, 0.18); stroke: var(--gold); stroke-width: 1; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.loc-home-label { font: 400 18px var(--serif); fill: var(--text); }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.location__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.location__legend button, .chip-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--muted); border: 1px solid transparent; transition: background 0.4s, color 0.4s, border-color 0.4s; text-align: left; }
.location__legend button:hover, .chip-btn:hover { color: var(--text); }
.location__legend button.is-on, .chip-btn.is-on { background: var(--ink-3); color: var(--text); border-color: var(--line-2); }
.poi-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.poi-school, .poi-fill-school { background: #8fb3ff; fill: #8fb3ff; } .poi-stroke-school { stroke: #8fb3ff; }
.poi-hospital, .poi-fill-hospital { background: #ff8f8f; fill: #ff8f8f; } .poi-stroke-hospital { stroke: #ff8f8f; }
.poi-shopping, .poi-fill-shopping { background: #e3b770; fill: #e3b770; } .poi-stroke-shopping { stroke: #e3b770; }
.poi-restaurant, .poi-fill-restaurant { background: #f0a0d0; fill: #f0a0d0; } .poi-stroke-restaurant { stroke: #f0a0d0; }
.poi-transport, .poi-fill-transport { background: #7fd6c2; fill: #7fd6c2; } .poi-stroke-transport { stroke: #7fd6c2; }
.poi-airport, .poi-fill-airport { background: #b8a7ff; fill: #b8a7ff; } .poi-stroke-airport { stroke: #b8a7ff; }
.poi-business, .poi-fill-business { background: #d8d8d8; fill: #d8d8d8; } .poi-stroke-business { stroke: #d8d8d8; }

/* ---------------------------------------------------------------- finance */

.emi { display: grid; grid-template-columns: 1fr 1.15fr 0.9fr; gap: clamp(24px, 4vw, 60px); padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--ink-2), var(--ink)); border: 1px solid var(--line); align-items: center; }
.emi__intro .display { font-size: clamp(36px, 4vw, 60px); margin-bottom: 16px; }
.emi__intro .muted { margin: 0 0 22px; }
.emi__form { display: grid; gap: 22px; }
.range { display: grid; gap: 10px; }
.range__head { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted); }
.range output { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.range--static { padding: 12px 0; border-block: 1px dashed var(--line); }
.range input[type=range] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; touch-action: pan-y; }
.range input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--fill), var(--ink-4) var(--fill)); }
.range input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--fill), var(--ink-4) var(--fill)); }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: var(--text); border: 5px solid var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); transition: transform 0.3s var(--ease); }
.range input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 5px solid var(--gold); }
.range input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.emi__result { position: relative; display: grid; gap: 22px; justify-items: center; text-align: center; }
.emi__donut { width: 200px; height: 200px; transform: rotate(-90deg); }
.emi__ring { fill: none; stroke: var(--ink-4); stroke-width: 10; }
.emi__arc { fill: none; stroke: var(--gold); stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray 1s var(--ease); }
.emi__main { position: absolute; top: 60px; left: 0; right: 0; display: grid; }
.emi__main span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.emi__main strong { font: 400 34px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.emi__dl { width: 100%; margin: 0; display: grid; gap: 10px; }
.emi__dl div { display: flex; justify-content: space-between; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.emi__dl dt { color: var(--muted); display: flex; align-items: center; gap: 8px; }
.emi__dl dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); display: inline-block; border: 1px solid var(--line-2); }
.dot--gold { background: var(--gold); border-color: var(--gold); }

/* ---------------------------------------------------------------- testimonials */

.testimonials__swiper { margin-top: 50px; overflow: visible; }
.testimonials { overflow: hidden; }
.quote { margin: 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); height: auto; display: flex; flex-direction: column; gap: 28px; }
.quote blockquote { margin: 0; font: 400 clamp(22px, 2vw, 30px)/1.3 var(--serif); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote figcaption strong { display: block; font-size: 14.5px; }
.quote figcaption small { color: var(--muted); font-size: 13px; }
.stars { margin-left: auto; color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; margin-top: 40px; }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 400 20px var(--serif); background: linear-gradient(145deg, #3b3226, #1e1a15); border: 1px solid var(--line-2); color: var(--gold-2); }
.avatar--sm { width: 30px; height: 30px; font-size: 14px; }

/* ---------------------------------------------------------------- footer */

.footer { position: relative; border-top: 1px solid var(--line); background: #090807; overflow: hidden; }
.footer__cta { padding: clamp(80px, 12vw, 160px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.footer__title { font: 400 clamp(46px, 8vw, 130px)/0.95 var(--serif); margin: 0 0 40px; letter-spacing: -0.02em; }
.footer__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 50px var(--gutter); display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line); }
.footer__grid h3 { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; font-weight: 600; }
.footer__grid > div > a:not(.brand) { display: block; color: var(--muted); padding: 5px 0; font-size: 14.5px; transition: color 0.3s; }
.footer__grid a:hover { color: var(--text); }
.footer__grid .muted { font-size: 14.5px; }
.footer__social { display: flex; gap: 16px; margin-top: 16px; font-size: 13.5px; }
.footer__social a { color: var(--muted); }
.footer__base { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter) 34px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- compare tray */

.tray {
    position: fixed; z-index: 80; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px;
    border-radius: 20px; background: rgba(20, 19, 17, 0.82); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow);
    max-width: calc(100vw - 24px);
}
.tray__items { display: flex; gap: 8px; overflow-x: auto; }
.tray__item { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 14px; background: var(--ink-3); font-size: 12.5px; font-weight: 600; max-width: 200px; white-space: nowrap; }
.tray__item img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.tray__item span { overflow: hidden; text-overflow: ellipsis; }
.tray__item--empty { border: 1px dashed var(--line-2); background: none; color: var(--faint); padding: 0 14px; height: 44px; }
.page-property .tray { bottom: 90px; }
@media (min-width: 761px) { .page-property .tray { bottom: 20px; } }

/* ---------------------------------------------------------------- booking dialog + forms */

.visit { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.visit[aria-hidden='false'] { visibility: visible; }
.visit__scrim { position: absolute; inset: 0; background: rgba(5, 5, 4, 0.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.visit__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); overflow-y: auto; overscroll-behavior: contain;
    padding: 36px clamp(22px, 4vw, 44px) 40px; background: var(--ink-2); border-left: 1px solid var(--line); box-shadow: -40px 0 80px rgba(0, 0, 0, 0.5);
}
.visit__title { font: 400 44px/1 var(--serif); margin: 0 0 26px; }
.visit__close { position: absolute; right: 22px; top: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); z-index: 2; background: rgba(12, 11, 10, 0.5); }
.visit__close span { position: absolute; left: 13px; right: 13px; top: 21px; height: 1.5px; background: currentColor; transform: rotate(45deg); transition: transform 0.6s var(--ease); }
.visit__close span + span { transform: rotate(-45deg); }
.visit__close:hover span { transform: rotate(135deg); }
.visit__close:hover span + span { transform: rotate(45deg); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.form__seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; background: var(--ink-3); }
.form__seg label { position: relative; }
.form__seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__seg span { display: grid; place-items: center; height: 44px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background 0.4s, color 0.4s; }
.form__seg input:checked + span { background: var(--text); color: var(--ink); }
.form__seg input:focus-visible + span { outline: 2px solid var(--gold); }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form__actions .btn--gold { flex: 1 1 100%; }
.form__status { margin: 4px 0 0; min-height: 22px; font-size: 14px; color: var(--muted); }
.form.is-done .form__status { color: var(--ok); }
.form__split { display: flex; justify-content: flex-end; }

.field { position: relative; display: block; }
.field input, .field select, .field textarea {
    width: 100%; padding: 26px 16px 10px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line);
    transition: border-color 0.4s, background 0.4s, box-shadow 0.4s; outline: none; appearance: none; min-height: 60px;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 32px, calc(100% - 17px) 32px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: var(--ink-4); box-shadow: 0 0 0 4px rgba(201, 164, 106, 0.12); }
.field > span { position: absolute; left: 17px; top: 19px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform 0.5s var(--ease), color 0.4s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field--static > span { transform: translateY(-10px) scale(0.76); color: var(--gold-2); }
.field input:disabled { opacity: 0.6; }
.field em { display: block; font-style: normal; font-size: 12.5px; color: var(--danger); min-height: 0; padding: 4px 4px 0; }
.field em:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); margin-top: 2px; }
.alert { padding: 12px 16px; border-radius: 12px; background: rgba(224, 120, 106, 0.12); border: 1px solid rgba(224, 120, 106, 0.35); color: #ffd3cc; font-size: 14px; margin: 0; }
.alert--ok { background: rgba(127, 200, 160, 0.12); border-color: rgba(127, 200, 160, 0.4); color: #d4f5e1; }
.panel { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); }
.panel--narrow { max-width: 640px; }
.empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); display: grid; gap: 20px; justify-items: center; }

/* ---------------------------------------------------------------- tabs */

.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button, .tabs a { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; transition: all 0.4s var(--ease); }
.tabs button:hover, .tabs a:hover { color: var(--text); border-color: var(--line-2); }
.tabs .is-on { background: var(--text); color: var(--ink); border-color: var(--text); }
.tabs small { opacity: 0.6; font-size: 11px; }
.tabs__link { border-style: dashed !important; }
.tabs--line { margin-top: 30px; border-bottom: 1px solid var(--line); gap: 24px; align-items: center; }
.tabs--line a { border: 0; border-radius: 0; padding: 0 0 12px; height: auto; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs--line a.is-on { background: none; color: var(--text); border-bottom-color: var(--gold); }
.tabs__logout { margin-left: auto; padding-bottom: 12px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline__item { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); }
.timeline__item p { margin: 4px 0 0; font-size: 14px; }
.timeline__item time { font-size: 12.5px; color: var(--faint); }
.status { display: inline-flex; justify-content: center; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; background: var(--ink-3); border: 1px solid var(--line-2); }
.status--confirmed, .status--responded { color: var(--ok); border-color: rgba(127, 200, 160, 0.4); }
.status--requested, .status--new { color: var(--gold-2); border-color: rgba(201, 164, 106, 0.45); }
.status--cancelled, .status--closed { color: var(--faint); }

/* =====================================================================
   LISTINGS
   ===================================================================== */

.listings { padding-top: clamp(110px, 14vw, 170px); padding-bottom: 120px; min-height: 100vh; }
.listings__head { margin-bottom: 36px; }
.listings__head .display { margin-bottom: 12px; }
.finder { position: sticky; top: 12px; z-index: 40; margin-bottom: 40px; transition: top 0.8s var(--ease); }
.nav:not(.is-hidden) ~ main .finder { top: 86px; }
.finder__bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 8px; border-radius: 22px; background: rgba(19, 18, 16, 0.86); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.finder__bar .seg span, .finder__bar .seg button { height: 42px; padding: 0 16px; }
.finder__search { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: var(--ink-3); border: 1px solid transparent; transition: border-color 0.4s; }
.finder__search:focus-within { border-color: var(--gold); }
.finder__search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; flex: none; }
.finder__search input { flex: 1; background: none; border: 0; outline: none; min-width: 0; }
.finder__select select { height: 50px; padding: 0 36px 0 16px; border-radius: 14px; background: var(--ink-3) linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 20px) 22px / 5px 5px no-repeat; border: 1px solid transparent; appearance: none; font-weight: 600; font-size: 14px; cursor: pointer; }
.finder__more { height: 50px; }
.seg--icons button { width: 46px; padding: 0; font-size: 18px; height: 42px; }
.finder__types { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.finder__types::-webkit-scrollbar { display: none; }
.type-pill { position: relative; flex: none; }
.type-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-pill span { display: block; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); background: rgba(12, 11, 10, 0.6); backdrop-filter: blur(10px); transition: all 0.45s var(--ease); }
.type-pill input:checked + span { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.type-pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.filters {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 10px); max-height: min(70vh, 640px); overflow-y: auto; overscroll-behavior: contain;
    padding: 26px; border-radius: 22px; background: rgba(19, 18, 16, 0.97); border: 1px solid var(--line-2); box-shadow: var(--shadow); visibility: hidden;
}
.filters[aria-hidden='false'] { visibility: visible; }
.filters__head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.filters__head h2 { font: 400 30px var(--serif); margin: 0; margin-right: auto; }
.filters__head .visit__close { position: relative; right: auto; top: auto; }
.filters__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 30px; }
.filters fieldset { border: 0; margin: 0; padding: 0; }
.filters legend { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; font-weight: 600; }
.filters__wide { grid-column: 1 / -1; }
.filters__foot { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 9px 15px; border-radius: 12px; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); transition: all 0.4s var(--ease); }
.chip input:checked + span { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair select, .pair input { height: 46px; padding: 0 14px; border-radius: 12px; background: var(--ink-3); border: 1px solid var(--line); appearance: none; width: 100%; }
.pair select:focus, .pair input:focus { border-color: var(--gold); outline: none; }

.results { position: relative; }
.listings.is-loading .grid--cards { opacity: 0.55; transition: opacity 0.3s; }
.results__map { display: none; }
.listings.is-map .results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
.listings.is-map .grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.listings.is-map .results__map { display: block; position: sticky; top: 200px; height: calc(100vh - 230px); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.mapbox { position: absolute; inset: 0; background: #0f0e0c; }
.results__empty { text-align: center; color: var(--muted); padding: 60px 0; }
.results__more { display: flex; justify-content: center; margin-top: 50px; }

.map-preview { position: absolute; z-index: 500; left: 14px; right: 14px; bottom: 14px; }
.map-card { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 10px; border-radius: 18px; background: rgba(19, 18, 16, 0.92); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.map-card img { width: 130px; height: 100%; min-height: 110px; object-fit: cover; border-radius: 12px; }
.map-card div { display: grid; align-content: center; gap: 3px; }
.map-card strong { font: 400 22px/1.1 var(--serif); }
.map-card small { color: var(--muted); font-size: 12.5px; }
.map-card__price { color: var(--gold-2); font-weight: 700; }
.map-card__close { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, 0.5); font-size: 18px; }
.mk-price span { display: inline-block; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: 10px; background: var(--text); color: var(--ink); font: 700 12px var(--sans); white-space: nowrap; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); transition: transform 0.3s var(--ease), background 0.3s; position: relative; }
.mk-price span::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--text); }
.mk-price:hover span { background: var(--gold); transform: translate(-50%, -100%) scale(1.08); }
.mk-cluster { display: grid; place-items: center; border-radius: 50%; background: rgba(201, 164, 106, 0.9); color: var(--gold-ink); font-weight: 800; box-shadow: 0 0 0 8px rgba(201, 164, 106, 0.22); }
.mk-home span { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 8px rgba(201, 164, 106, 0.25), 0 0 30px rgba(201, 164, 106, 0.7); }
.leaflet-container { background: #0f0e0c; font-family: var(--sans); }
/* OpenStreetMap tiles restyled to a dark architectural basemap */
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.82) contrast(0.92) saturate(0.35) sepia(0.12); }
.leaflet-control-attribution { background: rgba(12, 11, 10, 0.7) !important; color: var(--faint) !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: var(--ink-2) !important; color: var(--text) !important; border-color: var(--line) !important; }
.leaflet-tooltip { background: var(--ink-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); font-weight: 600; }
.leaflet-tooltip-top::before { border-top-color: var(--ink-2); }
.poi-line { animation: dash 40s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }

/* =====================================================================
   PROPERTY DETAIL
   ===================================================================== */

.pd-hero { position: relative; height: 100vh; height: var(--svh); min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
.pd-hero__media { position: absolute; inset: -6% 0 0; }
.pd-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 30%, rgba(0, 0, 0, 0.2) 55%, rgba(8, 7, 6, 0.95)); }
.pd-hero__content { position: relative; z-index: 2; padding-bottom: clamp(50px, 8vh, 90px); }
.pd-hero__title { font: 400 clamp(52px, 8.4vw, 140px)/0.92 var(--serif); letter-spacing: -0.02em; margin: 0 0 18px; max-width: 14ch; }
.pd-hero__price { font: 400 clamp(26px, 2.6vw, 40px) var(--serif); color: var(--gold-2); margin: 0; }
.pd-hero__loc { font-size: 16px; color: rgba(242, 237, 228, 0.85); margin: 4px 0 18px; }
.pd-hero__specs { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-hero__specs li { padding: 8px 16px; border-radius: 999px; background: rgba(12, 11, 10, 0.4); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; }
.pd-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pd-hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; z-index: 2; width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease-in-out) infinite; }

.pd-gallery { padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.pd-swiper { overflow: visible; padding-inline: var(--gutter); }
.pd-slide { margin: 0; }
.pd-slide__btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); }
.pd-slide__btn img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.pd-slide figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; gap: 12px; }
.pd-slide figcaption span { font-family: var(--serif); font-style: italic; color: var(--gold-2); }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 11, 10, 0.5); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(10px); font-size: 22px; }
.pd-swiper__nav { display: flex; align-items: center; gap: 16px; justify-content: flex-end; margin-top: 18px; }
.pd-swiper__count { font: 400 18px var(--serif); font-variant-numeric: tabular-nums; min-width: 70px; text-align: center; }

.pd-main__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(30px, 6vw, 100px); align-items: start; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1px; margin: 0; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts div { background: var(--ink); padding: 18px 20px; }
.facts dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 6px 0 0; font-weight: 600; }
.facts--3 { grid-template-columns: repeat(3, 1fr); margin: 24px 0; }
.amen-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 24px; }
.amen-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.amen-ico { width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); flex: none; }
.project-strip { display: grid; gap: 6px; margin-top: 50px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); transition: border-color 0.4s; }
.project-strip:hover { border-color: var(--gold); }
.project-strip strong { font: 400 28px var(--serif); }
.project-strip span:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.project-strip i { display: block; height: 3px; border-radius: 3px; margin-top: 10px; background: linear-gradient(90deg, var(--gold) var(--p), var(--line) var(--p)); }
.enquire { position: sticky; top: 100px; }
.enquire__card { padding: 28px; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 12px; }
.enquire__price { font: 400 40px/1 var(--serif); color: var(--gold-2); margin: 0; }
.enquire .muted { margin: 0 0 8px; font-size: 14px; }
.agent { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 6px; }
.agent strong { display: block; font-size: 14.5px; }
.agent small { color: var(--ok); font-size: 12.5px; }
.wa-group { display: grid; gap: 10px; margin-top: 6px; justify-items: center; }
.wa-group .linkbtn { font-size: 13px; }

.pd-3d .container { margin-bottom: 0; }
.viewer { position: relative; height: min(84vh, 860px); margin-inline: var(--gutter); border-radius: var(--r-lg); overflow: hidden; background: #000; border: 1px solid var(--line); isolation: isolate; }
.viewer:fullscreen { margin: 0; border-radius: 0; height: 100vh; }
.viewer .stage__fallback img { width: 100%; height: 100%; object-fit: cover; }
.viewer__gate { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.35), transparent); text-align: center; }
.viewer__gate p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.8); text-shadow: 0 2px 10px #000; }
.viewer.no-webgl .viewer__gate { display: none; }
.dock--viewer { bottom: 18px; }
.tour360 { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.tour360 > * { pointer-events: auto; }
.tour360__rooms { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border-radius: 18px; background: rgba(12, 11, 10, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.tour360__rooms button { height: 38px; padding: 0 14px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tour360__rooms button.is-on { background: var(--text); color: var(--ink); }
.tour360__hotspots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tour360__hint { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.8); white-space: nowrap; pointer-events: none; }
.tour360__hint span { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--gold); color: var(--gold-ink); font-weight: 700; margin-right: 6px; }
.hotspot { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 10px; margin: -14px 0 0 -14px; transition: opacity 0.4s; }
.hotspot.is-hidden { opacity: 0; pointer-events: none; }
.hotspot i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22), 0 6px 20px rgba(0, 0, 0, 0.5); position: relative; flex: none; }
.hotspot i::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--gold); }
.hotspot i::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.6); animation: pulse 2.4s var(--ease) infinite; }
.hotspot span { padding: 6px 12px; border-radius: 10px; background: rgba(12, 11, 10, 0.72); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: all 0.4s var(--ease); }
.hotspot:hover span, .hotspot:focus-visible span, .hotspot--nav span { opacity: 1; transform: none; }
.hotspot--nav i { background: var(--gold); }
.hotspot--nav i::after { background: var(--gold-ink); inset: 10px; }
.tour360__card { position: absolute; right: 18px; top: 60px; width: min(320px, calc(100% - 36px)); padding: 20px 22px; border-radius: 18px; background: rgba(12, 11, 10, 0.78); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.tour360__card strong { font: 400 26px/1.1 var(--serif); display: block; margin-bottom: 8px; padding-right: 26px; }
.tour360__card p { margin: 0 0 10px; color: rgba(242, 237, 228, 0.85); font-size: 14px; }
.tour360__card small { color: var(--gold-2); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.hotspot-card__close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; font-size: 20px; color: var(--muted); }

.plans { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.plans__canvas { padding: clamp(14px, 2vw, 26px); border-radius: var(--r-lg); background: #eee9df; box-shadow: var(--shadow); }
.plan-svg { width: 100%; height: auto; overflow: visible; }
.plan-grid line { stroke: rgba(40, 34, 26, 0.07); stroke-width: 0.03; }
.plan-room { cursor: pointer; outline: none; }
.plan-room rect { fill: rgba(255, 255, 255, 0.4); stroke: #2b261f; stroke-width: 0.09; transition: fill 0.5s var(--ease); }
.plan-room text { fill: #2b261f; font-family: var(--sans); font-weight: 700; text-anchor: middle; pointer-events: none; }
.plan-room .plan-area { font-weight: 500; fill: rgba(43, 38, 31, 0.6); }
.plan-room:hover rect, .plan-room:focus-visible rect { fill: rgba(201, 164, 106, 0.28); }
.plan-room.is-on rect { fill: rgba(201, 164, 106, 0.55); stroke: #6e5227; }
.plans__panel { position: sticky; top: 100px; padding: 24px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 10px; min-height: 320px; align-content: start; }
.plans__panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.plans__panel h3 { font: 400 32px/1.1 var(--serif); margin: 8px 0 0; }
.room-meta { color: var(--gold-2); font-weight: 600; font-size: 14px; margin: 0; }
.plans__panel p { margin: 0; color: var(--muted); }
.room-feats { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.room-feats li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; }

.nbhd { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 24px; margin-top: 50px; }
.nbhd__map { min-height: 520px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.nbhd__side .chips { margin-bottom: 14px; }
.nbhd__side .chip-btn { width: auto; padding: 8px 12px; font-size: 13px; border-color: var(--line); }
.poi-list { list-style: none; margin: 0; padding: 0; max-height: 440px; overflow-y: auto; }
.poi-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background 0.3s; border-radius: 8px; }
.poi-list li:hover { background: var(--ink-2); }
.poi-list strong { display: block; font-size: 14.5px; font-weight: 600; }
.poi-list small { color: var(--faint); font-size: 12px; }
.poi-dist { text-align: right; font-weight: 600; font-size: 14px; }
.poi-dist small { display: block; }

.mbar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 5, 4, 0.97); visibility: hidden; }
.lightbox[aria-hidden='false'] { visibility: visible; }
.lightbox__swiper { height: 100%; }
.lightbox .swiper-slide { display: grid; place-items: center; }
.lightbox img { max-height: 88vh; max-width: 94vw; object-fit: contain; }
.lightbox .visit__close { top: 20px; right: 20px; }
.lightbox__count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font: 400 18px var(--serif); z-index: 2; }
.videobox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 5, 4, 0.94); display: grid; place-items: center; padding: 20px; }
.videobox video { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 16px; }

/* =====================================================================
   PROJECTS / COMPARE / ABOUT / CONTACT / AUTH / 404
   ===================================================================== */

.showcase { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: clamp(40px, 8vw, 120px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.showcase--flip .showcase__media { order: 2; }
.showcase__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; position: relative; }
.showcase__img { position: absolute; inset: 0; }
.showcase__img img { width: 100%; height: 100%; object-fit: cover; }
.showcase__body > p:not(.eyebrow):not(.muted) { color: var(--muted); }
.showcase__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.progress { margin: 24px 0; }
.progress__head { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.progress__bar { height: 4px; border-radius: 4px; background: var(--ink-4); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #a3824f, var(--gold-2)); border-radius: 4px; }
.progress small { color: var(--faint); font-size: 12.5px; display: block; margin-top: 8px; }
.configs { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.configs li { display: flex; justify-content: space-between; padding: 14px 18px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); }
.configs span { color: var(--muted); }

.compare { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody th { font-weight: 500; color: var(--muted); font-size: 14px; width: 200px; }
.compare thead th { vertical-align: bottom; background: var(--ink-2); }
.compare__head { display: grid; gap: 10px; }
.compare__img { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__title { font: 400 24px/1.1 var(--serif); }
.compare__section th { background: var(--ink-2); color: var(--gold) !important; font-size: 11px !important; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700 !important; }
.win { color: var(--gold-2); font-weight: 700; }
.win::after { content: ' ★'; font-size: 11px; }
.yes { color: var(--gold); }
.no { color: var(--faint); }

.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 0; }
.stats div { background: var(--ink); padding: 28px; display: flex; flex-direction: column-reverse; gap: 8px; }
.stats dd { margin: 0; font: 400 clamp(34px, 3.5vw, 52px)/1 var(--serif); color: var(--gold-2); }
.stats dt { color: var(--muted); font-size: 14px; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 50px; }
.service { padding: 32px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); min-height: 280px; display: flex; flex-direction: column; transform-style: preserve-3d; }
.service__num { font: 400 16px var(--serif); font-style: italic; color: var(--gold-2); }
.service h3 { font: 400 40px/1 var(--serif); margin: auto 0 12px; }
.service p { color: var(--muted); margin: 0; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 400 clamp(21px, 2vw, 27px)/1.2 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { width: 16px; height: 16px; position: relative; flex: none; margin-top: 8px; }
.faq__item summary span::before, .faq__item summary span::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1.5px; background: var(--gold); transition: transform 0.6s var(--ease); }
.faq__item summary span::after { transform: rotate(90deg); }
.faq__item[open] summary span::after { transform: rotate(0); }
.faq__a p { margin: 0 0 24px; color: var(--muted); max-width: 60ch; }

.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact__side { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); display: grid; gap: 6px; }
.contact__side .h3 { margin-top: 0; }
.contact__side p { margin: 0; }
.contact__side .btn { margin-top: 18px; justify-self: start; }

.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth__media { position: relative; overflow: hidden; }
.auth__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75)); }
.auth__quote { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 50px; font: 400 clamp(26px, 2.6vw, 38px)/1.2 var(--serif); margin: 0; max-width: 18ch; }
.auth__panel { padding: clamp(110px, 12vw, 160px) clamp(22px, 6vw, 90px) 60px; display: grid; align-content: center; gap: 14px; max-width: 620px; }
.auth__panel .display { font-size: clamp(44px, 5vw, 72px); }
.auth__panel .form { margin-top: 20px; }
.demo-creds { padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); }

.notfound { min-height: 90vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: 140px var(--gutter) 80px; }
.notfound__code { font: 400 clamp(120px, 24vw, 320px)/0.8 var(--serif); margin: 0; background: linear-gradient(180deg, var(--gold-2), rgba(201, 164, 106, 0.05)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound__cta { display: flex; gap: 10px; }

/* =====================================================================
   RESPONSIVE — a dedicated mobile layout, not a shrunk desktop
   ===================================================================== */

@media (max-width: 1180px) {
    .nav__links { gap: 22px; }
    .emi { grid-template-columns: 1fr 1fr; }
    .emi__intro { grid-column: 1 / -1; }
    .pd-main__grid { grid-template-columns: minmax(0, 1fr) 330px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
    .nav__links, .nav__account { display: none; }
    .nav__burger { display: block; }
    .searchbar { grid-template-columns: 1fr 1fr; }
    .searchbar__seg { grid-column: 1 / -1; }
    .searchbar__seg label { flex: 1; }
    .searchbar__go { grid-column: 1 / -1; }
    .amenities__wrap { grid-template-columns: 1fr; }
    .amenities__stage { position: relative; top: 0; order: -1; aspect-ratio: 4 / 3; }
    .location__wrap { grid-template-columns: 1fr; }
    .location__legend { display: flex; flex-wrap: wrap; }
    .location__legend li { flex: none; }
    .location__legend button { width: auto; }
    .project { grid-template-columns: 1fr; flex-basis: min(520px, 84vw); }
    .project__media { min-height: 260px; }
    .pd-main__grid, .plans, .nbhd, .about, .faq, .contact, .showcase, .auth { grid-template-columns: 1fr; }
    .showcase--flip .showcase__media { order: 0; }
    .enquire { position: relative; top: 0; }
    .plans__panel { position: relative; top: 0; }
    .auth__media { display: none; }
    .listings.is-map .results { grid-template-columns: 1fr; }
    .listings.is-map .results__map { position: relative; top: 0; height: 62vh; order: -1; }
}

@media (max-width: 760px) {
    :root { --r: 16px; --r-lg: 22px; }
    body { font-size: 15.5px; }
    .nav { height: 64px; }
    .nav__cta { display: none; }
    .nav__icon { width: 38px; height: 38px; }
    .experience { height: 950vh; }
    .hero { bottom: 88px; }
    .hero__title { font-size: clamp(42px, 12vw, 64px); }
    .hero__sub { display: none; }
    .hero__property { padding: 12px 16px; gap: 8px 16px; margin-bottom: 20px; }
    .hero__facts span:nth-child(n+3) { display: none; }
    .hero__cta { gap: 8px; }
    .hero__cta .btn--lg { min-height: 50px; padding: 0 20px; font-size: 14px; }
    .daynight { top: 76px; right: 16px; }
    .daynight__label { display: none; }
    .daynight__btn { padding: 6px; }
    .scrollcue { display: none; }
    .chapters { bottom: 60px; }
    .chapter__title { font-size: clamp(42px, 13vw, 64px); }
    .tour-info { top: auto; bottom: 16px; transform: none; left: 16px; right: 16px; width: auto; padding: 22px; }
    .tour-info__title { font-size: 30px; }
    .rail { right: 8px; height: 30vh; }
    .dock { left: 12px; right: 12px; transform: none; bottom: 14px; flex-wrap: nowrap; }
    .dock__label { display: none; }
    .dock button { height: 42px; padding: 0 12px; }
    .explore-ui__hint { display: none; }
    .form__row--2 { grid-template-columns: 1fr; }
    .visit__panel { top: auto; height: 92vh; height: 92svh; width: 100%; border-left: 0; border-top: 1px solid var(--line); border-radius: 24px 24px 0 0; padding-top: 28px; }
    .visit__panel::before { content: ''; position: absolute; left: 50%; top: 10px; width: 44px; height: 4px; margin-left: -22px; border-radius: 2px; background: var(--line-2); }
    .visit__title { font-size: 36px; }
    .finder { position: relative; top: 0 !important; }
    .finder__bar { border-radius: 18px; }
    .finder__bar > .seg:first-child { flex: 1 1 100%; }
    .finder__bar > .seg:first-child label { flex: 1; }
    .finder__select { flex: 1 1 40%; }
    .finder__select select { width: 100%; }
    .filters { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 150; max-height: 86vh; border-radius: 24px 24px 0 0; padding: 24px 20px 0; }
    .filters::before { content: ''; position: sticky; display: block; top: 0; width: 44px; height: 4px; margin: -12px auto 14px; border-radius: 2px; background: var(--line-2); }
    .filters__grid { grid-template-columns: 1fr; }
    .filters__foot { display: block; position: sticky; bottom: 0; padding: 16px 0 max(16px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(19, 18, 16, 0.98) 30%); margin-top: 20px; }
    .listings.filters-open::after { content: ''; position: fixed; inset: 0; z-index: 140; background: rgba(0, 0, 0, 0.6); }
    .grid--cards { gap: 32px; }
    .card__media { aspect-ratio: 4 / 3.8; }
    .pd-hero { min-height: 560px; }
    .pd-hero__title { font-size: clamp(44px, 13vw, 72px); }
    .pd-hero__cta .btn--glass { display: none; }
    .pd-swiper { padding-inline: 16px; }
    .viewer { height: 72vh; height: 72svh; margin-inline: 0; border-radius: 0; border-inline: 0; }
    .tour360__card { top: auto; bottom: 76px; right: 12px; left: 12px; width: auto; }
    .facts--3 { grid-template-columns: 1fr; }
    .nbhd__map { min-height: 360px; }
    .emi { grid-template-columns: 1fr; padding: 22px; }
    .timeline__item { grid-template-columns: 1fr; gap: 8px; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__actions .btn { flex: 1 1 100%; }
    .mbar {
        display: flex; align-items: center; gap: 8px; position: fixed; z-index: 90; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
        padding: 8px 8px 8px 16px; border-radius: 18px; background: rgba(19, 18, 16, 0.9); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
        transform: translateY(150%); transition: transform 0.8s var(--ease); box-shadow: var(--shadow);
    }
    .mbar.is-on { transform: none; }
    .mbar > span { flex: 1; min-width: 0; }
    .mbar strong { display: block; color: var(--gold-2); font-size: 15px; }
    .mbar small { color: var(--muted); font-size: 12px; }
    .tray { bottom: 10px; }
    .tray__item span { display: none; }
    .tray__item { padding: 4px; }
    .tray__item--empty { display: none; }
    .compare tbody th { width: 130px; }
    .tabs--line { overflow-x: auto; flex-wrap: nowrap; }
    .tabs--line a { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .grain { display: none; }
}
@media (hover: none) {
    .cursor { display: none !important; }
}
