/* =========================================================
   AURELIA ESTATES — design system
   ========================================================= */
:root {
  --black: #101114;
  --charcoal: #191b20;
  --charcoal-2: #22252b;
  --gold: #c9a66b;
  --gold-light: #e2c896;
  --gold-deep: #a8854c;
  --ivory: #f7f4ee;
  --ivory-2: #eee8dc;
  --grey: #b9b9bc;
  --ink: #16171a;
  --muted-dark: #8d8e93;
  --muted-light: #6c6a66;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-light: rgba(16, 17, 20, 0.12);
  --glass: rgba(25, 27, 32, 0.55);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600;
  color: var(--gold);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.8; }
.eyebrow--plain::before { display: none; }
.display {
  font-family: var(--serif); font-weight: 300; line-height: 0.98; letter-spacing: -0.01em;
  font-size: clamp(44px, 7.4vw, 112px); margin: 0;
}
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.section--ivory .h2 em, .section--ivory .h3 em { color: var(--gold-deep); }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.8vw, 72px); line-height: 1.04; margin: 0; letter-spacing: -0.005em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; margin: 0; }
.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: var(--grey); max-width: 58ch; font-weight: 300; }
.section--ivory .lead { color: var(--muted-light); }
.serif { font-family: var(--serif); }
.gold { color: var(--gold); }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--gold { background: linear-gradient(135deg, #d8bb84 0%, var(--gold) 45%, #b89257 100%); color: var(--black); }
.btn--gold::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border: 1px solid rgba(247, 244, 238, 0.35); color: var(--ivory); background: rgba(16, 17, 20, 0.15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--dark { background: var(--black); color: var(--ivory); }
.btn--dark:hover { background: var(--charcoal-2); }
.btn--line-dark { border: 1px solid var(--line-light); color: var(--ink); }
.btn--line-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 11px; }
.btn--block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--gold);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--nav-h);
  transition: height 0.6s var(--ease), background 0.6s var(--ease), border-color 0.6s var(--ease), backdrop-filter 0.6s;
  border-bottom: 1px solid transparent;
}
.nav::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 12, 0.55), transparent); pointer-events: none; transition: opacity 0.6s; }
.nav.is-compact {
  height: 68px; background: rgba(16, 17, 20, 0.72); border-color: var(--line-dark);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav.is-compact::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition-property: height, background, border-color, transform; transition-duration: 0.6s; }
.nav__inner { position: relative; height: 100%; max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: 0.26em; }
.brand__word small { font-size: 8.5px; letter-spacing: 0.62em; color: var(--gold); margin-top: 5px; font-weight: 600; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: rgba(247, 244, 238, 0.82);
  transition: color 0.4s;
}
.nav__links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.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: 12px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px;
  background: rgba(37, 211, 102, 0.12); border: 1px solid rgba(37, 211, 102, 0.45); color: #e9fff1;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; transition: background 0.4s, border-color 0.4s;
}
.wa-btn:hover { background: rgba(37, 211, 102, 0.25); border-color: #25d366; }
.wa-btn svg { width: 20px; height: 20px; color: #25d366; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--ivory); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 25px; }
body.menu-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 70; background: rgba(12, 13, 16, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease); visibility: hidden;
}
body.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu a.mmenu__link { display: flex; align-items: baseline; gap: 16px; font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); font-weight: 300; line-height: 1.15; color: var(--ivory); opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.8s var(--ease), color 0.3s; }
.mmenu a.mmenu__link small { font-family: var(--sans); font-size: 11px; color: var(--gold); letter-spacing: 0.2em; }
.mmenu a.mmenu__link:hover, .mmenu a.mmenu__link.is-active { color: var(--gold-light); }
body.menu-open .mmenu a.mmenu__link { opacity: 1; transform: none; }
body.menu-open .mmenu a.mmenu__link:nth-child(2) { transition-delay: 0.05s; }
body.menu-open .mmenu a.mmenu__link:nth-child(3) { transition-delay: 0.1s; }
body.menu-open .mmenu a.mmenu__link:nth-child(4) { transition-delay: 0.15s; }
body.menu-open .mmenu a.mmenu__link:nth-child(5) { transition-delay: 0.2s; }
.mmenu__foot { margin-top: 40px; display: grid; gap: 12px; }
.mmenu__foot p { color: var(--muted-dark); font-size: 13px; margin: 8px 0 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); transition: transform 0.5s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #25d366; animation: waPulse 2.8s infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float__tip { position: absolute; right: 70px; white-space: nowrap; background: var(--ivory); color: var(--ink); font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; opacity: 0; transform: translateX(8px); transition: 0.4s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* ---------- Page curtain transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid; place-items: center; background: var(--black); transform: translateY(0); transition: transform 0.75s var(--ease); }
.curtain__mark { width: 54px; height: 54px; color: var(--gold); opacity: 0.9; }
.curtain__line { position: absolute; left: 50%; bottom: 38%; width: 120px; height: 1px; margin-left: -60px; background: rgba(201, 166, 107, 0.2); overflow: hidden; }
.curtain__line::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: curtainLoad 0.9s var(--ease) forwards; }
@keyframes curtainLoad { to { transform: scaleX(1); } }
body.is-loaded .curtain { transform: translateY(-101%); }
.curtain { animation: curtainFailsafe 0.5s 3s forwards; }
@keyframes curtainFailsafe { to { opacity: 0; visibility: hidden; } }
body.is-leaving .curtain { animation: none; opacity: 1; visibility: visible; }
body.is-leaving .curtain { transform: translateY(0); transition-duration: 0.4s; }
body.is-leaving .curtain .curtain__line { display: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(60px, 7vw, 100px) 0; }
.section--dark { background: var(--black); color: var(--ivory); }
.section--charcoal { background: var(--charcoal); color: var(--ivory); }
.section--ivory { background: var(--ivory); color: var(--ink); }
.section--ivory .eyebrow { color: var(--gold-deep); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head .h2 { margin-top: 18px; max-width: 16ch; }
.section-head .lead { margin: 0; max-width: 44ch; }
.rule { height: 1px; background: var(--line-dark); border: 0; margin: 0; }
.section--ivory .rule { background: var(--line-light); }
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.035;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #1b1d22; }
.hero__fallback { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s; }
.hero.no-webgl .hero__fallback { opacity: 1; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, 0.66) 0%, rgba(10, 11, 14, 0.32) 34%, rgba(10, 11, 14, 0) 58%),
    linear-gradient(0deg, rgba(10, 11, 14, 0.8) 0%, rgba(10, 11, 14, 0) 30%),
    linear-gradient(180deg, rgba(10, 11, 14, 0.35) 0%, rgba(10, 11, 14, 0) 18%);
}
.hero__content { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); pointer-events: none; }
.hero__content > .container > * { pointer-events: auto; }
.hero__copy { max-width: 640px; }
.hero__copy .display { margin: 22px 0 26px; }
.hero__copy .lead { color: rgba(247, 244, 238, 0.78); margin: 0 0 36px; max-width: 46ch; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { position: absolute; left: 0; right: 0; bottom: 34px; pointer-events: none; }
.hero__meta .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__meta .container > * { pointer-events: auto; }
.scroll-cue { display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey); }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
.light-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(16, 17, 20, 0.45); border: 1px solid var(--line-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.light-toggle button { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--grey); display: inline-flex; align-items: center; gap: 7px; transition: 0.4s; }
.light-toggle button svg { width: 13px; height: 13px; }
.light-toggle button.is-active { background: rgba(201, 166, 107, 0.18); color: var(--gold-light); }
.coords { font-size: 10px; letter-spacing: 0.26em; color: rgba(247, 244, 238, 0.55); text-transform: uppercase; text-align: right; line-height: 1.9; }
.tower-tag {
  position: absolute; z-index: 3; left: 0; top: 0; pointer-events: auto; will-change: transform; opacity: 0; transition: opacity 0.8s;
  display: flex; align-items: center; gap: 0;
}
.tower-tag.is-on { opacity: 1; }
.tower-tag__dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.25); flex: none; }
.tower-tag__dot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(201, 166, 107, 0.6); animation: waPulse 2.6s infinite; }
.tower-tag__line { width: 54px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(201, 166, 107, 0.2)); }
.tower-tag__card { padding: 14px 18px; border-radius: 14px; background: rgba(16, 17, 20, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); min-width: 210px; transition: border-color 0.4s; }
.tower-tag:hover .tower-tag__card { border-color: rgba(201, 166, 107, 0.6); }
.tower-tag__card small { display: block; font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.tower-tag__card b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 3px 0 2px; }
.tower-tag__card span { font-size: 12px; color: var(--grey); }

/* Quick search */
.qsearch {
  margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0; max-width: 760px;
  border-radius: 18px; background: rgba(16, 17, 20, 0.5); border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); padding: 8px;
}
.qsearch__field { position: relative; padding: 10px 18px; border-right: 1px solid var(--line-dark); min-width: 0; }
.qsearch__field label { display: block; font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.qsearch__field select { width: 100%; background: transparent; border: 0; padding: 4px 0 0; font-size: 15px; color: var(--ivory); appearance: none; -webkit-appearance: none; cursor: pointer; outline: none; }
.qsearch__field select option { color: var(--ink); }
.qsearch__field::after { content: ''; position: absolute; right: 16px; bottom: 18px; width: 6px; height: 6px; border-right: 1px solid var(--grey); border-bottom: 1px solid var(--grey); transform: rotate(45deg); pointer-events: none; }
.qsearch .btn { height: auto; min-height: 56px; border-radius: 12px; margin-left: 8px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line-dark); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--ivory); }
.stat b sup { font-size: 0.42em; color: var(--gold); margin-left: 4px; vertical-align: top; position: relative; top: 0.3em; }
.stat > span { display: block; margin-top: 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Property cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.pcard { position: relative; display: block; color: inherit; }
.pcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--charcoal-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 1s; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.06); }
.pcard:hover .pcard__media img { transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.13); }
.pcard__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 14, 0.35) 0%, rgba(10, 11, 14, 0) 30%, rgba(10, 11, 14, 0) 55%, rgba(10, 11, 14, 0.8) 100%); }
.pcard__badges { position: absolute; z-index: 2; top: 16px; left: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; background: rgba(16, 17, 20, 0.55); color: var(--ivory); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.badge--gold { background: rgba(201, 166, 107, 0.92); color: var(--black); border-color: transparent; }
.pcard__over { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; }
.pcard__over small { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.pcard__over h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; margin: 6px 0 0; color: var(--ivory); }
.pcard__loc { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: rgba(247, 244, 238, 0.78); }
.pcard__loc svg { width: 13px; height: 13px; color: var(--gold); flex: none; }
.pcard__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 2px 0; }
.pcard__price { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.pcard__specs { font-size: 12.5px; color: var(--muted-dark); margin-top: 4px; }
.section--ivory .pcard__specs { color: var(--muted-light); }
.pcard__go { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: 0.5s var(--ease); }
.section--ivory .pcard__go { border-color: var(--line-light); }
.pcard__go svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.pcard:hover .pcard__go { background: var(--gold); border-color: var(--gold); color: var(--black); }
.pcard:hover .pcard__go svg { transform: rotate(-45deg); }

/* Feature (cinematic) */
.feature { position: relative; height: 92vh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.feature__img { position: absolute; inset: -12% 0; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 14, 0.94) 0%, rgba(10, 11, 14, 0.62) 42%, rgba(10, 11, 14, 0.2) 75%, rgba(10, 11, 14, 0.35) 100%); }
.feature .container { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 100px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.feature__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.feature__specs div { padding: 18px 16px 0 0; }
.feature__specs small { display: block; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.feature__specs b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; margin-top: 6px; }

/* Editorial split */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.editorial__media { position: relative; }
.editorial__media .img-a { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; width: 78%; }
.editorial__media .img-b { position: absolute; right: 0; bottom: -10%; width: 46%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; border: 10px solid var(--ivory); }
.editorial__media img { width: 100%; height: 115%; object-fit: cover; }
.editorial__copy .h2 { margin: 22px 0 28px; }
.editorial__copy p { color: var(--muted-light); margin: 0 0 18px; max-width: 52ch; }
.signature { margin-top: 36px; display: flex; align-items: center; gap: 18px; }
.signature b { font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 400; color: var(--gold-deep); }
.signature span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); }

/* Cities */
.cities { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.city { position: relative; overflow: hidden; border-radius: 6px; min-height: 340px; display: flex; align-items: flex-end; padding: 26px; color: var(--ivory); grid-column: span 3; }
.city:nth-child(1) { grid-column: span 7; min-height: 480px; }
.city:nth-child(2) { grid-column: span 5; min-height: 480px; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.06); }
.city:hover img { transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.12); }
.city::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 11, 14, 0.85) 0%, rgba(10, 11, 14, 0.1) 60%); }
.city__body { position: relative; z-index: 2; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.city__body h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; margin: 0; }
.city__body p { margin: 8px 0 0; font-size: 13px; color: rgba(247, 244, 238, 0.75); }
.city__count { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; white-space: nowrap; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.pillar { padding: 40px 28px 10px 0; border-right: 1px solid var(--line-dark); margin-right: 28px; }
.pillar:last-child { border-right: 0; margin-right: 0; }
.pillar__n { font-family: var(--serif); font-size: 14px; color: var(--gold); letter-spacing: 0.1em; }
.pillar svg { width: 28px; height: 28px; color: var(--gold); margin: 22px 0 18px; stroke-width: 1.2; }
.pillar h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.pillar p { color: var(--muted-dark); font-size: 14px; margin: 0; }
.section--ivory .pillars, .section--ivory .pillar { border-color: var(--line-light); }
.section--ivory .pillar p { color: var(--muted-light); }

/* 3D showcase section on home */
.showcase { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.viewer { position: relative; aspect-ratio: 5 / 4; border-radius: 10px; overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #2a2d35 0%, #15161a 70%); border: 1px solid var(--line-dark); touch-action: pan-y; }
.viewer canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.viewer__ui { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; pointer-events: none; }
.viewer__ui > * { pointer-events: auto; }
.viewer__hint { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--grey); display: flex; gap: 8px; align-items: center; }
.viewer__hint svg { width: 14px; height: 14px; color: var(--gold); }
.floor-pick { padding: 12px 16px; border-radius: 12px; background: rgba(16, 17, 20, 0.6); border: 1px solid var(--line-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); min-width: 240px; }
.floor-pick label { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.floor-pick label b { color: var(--ivory); font-family: var(--serif); font-size: 18px; letter-spacing: 0; font-weight: 500; }
.floor-pick input[type='range'] { width: 100%; margin: 10px 0 4px; accent-color: var(--gold); }
.floor-pick p { margin: 0; font-size: 12px; color: var(--grey); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.quote { border-top: 1px solid var(--line-light); padding-top: 28px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.35; font-weight: 400; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); }
.quote cite b { color: var(--ink); font-weight: 700; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 180px) 0; text-align: center; }
.cta-band__bg { position: absolute; inset: -10% 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: rgba(10, 11, 14, 0.72); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band .h2 { max-width: 18ch; margin: 22px auto 22px; }
.cta-band .lead { margin: 0 auto 40px; }
.cta-band .hero__ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #0b0c0e; color: var(--grey); padding: clamp(70px, 8vw, 110px) 0 30px; position: relative; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.footer h5 { font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer a:hover { color: var(--ivory); }
.footer__brand p { max-width: 36ch; font-size: 14px; margin: 22px 0 26px; }
.footer__news { display: flex; border-bottom: 1px solid rgba(255, 255, 255, 0.25); max-width: 360px; }
.footer__news input { flex: 1; background: transparent; border: 0; padding: 12px 0; outline: none; font-size: 14px; color: var(--ivory); min-width: 0; }
.footer__news button { color: var(--gold); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.footer__big { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 13.5vw, 230px); line-height: 0.85; letter-spacing: 0.02em; color: rgba(247, 244, 238, 0.05); margin: 50px 0 30px; white-space: nowrap; text-align: center; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted-dark); }
.footer__bottom p { margin: 0; max-width: 80ch; }
.footer__legal { display: flex; gap: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 60px) 0 clamp(50px, 6vw, 90px); }
.phero--short { min-height: 52vh; }
.phero__bg { position: absolute; inset: -8% 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 14, 0.95) 0%, rgba(10, 11, 14, 0.4) 55%, rgba(10, 11, 14, 0.55) 100%); }
.phero .container { position: relative; z-index: 2; }
.phero .display { font-size: clamp(46px, 7vw, 104px); margin: 20px 0 22px; max-width: 14ch; }
.phero .lead { color: rgba(247, 244, 238, 0.78); }
.crumbs { display: flex; gap: 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ---------- Properties listing ---------- */
.filters { position: sticky; top: 68px; z-index: 30; background: rgba(16, 17, 20, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-dark); }
.filters__row { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 10px; padding: 16px 0; }
.field { position: relative; }
.field label { display: block; font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; border-radius: 10px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.03);
  padding: 0 14px; font-size: 14px; color: var(--ivory); outline: none; transition: border-color 0.3s, background 0.3s; appearance: none; -webkit-appearance: none;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.field select { padding-right: 34px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23C9A66B' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select option { color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: rgba(201, 166, 107, 0.06); }
.field input::placeholder, .field textarea::placeholder { color: #6f7076; }
.field--search input { padding-left: 42px; }
.field--search svg { position: absolute; left: 14px; bottom: 14px; width: 18px; height: 18px; color: var(--grey); }
.field.has-error input, .field.has-error select { border-color: #d9826b; }
.field__err { display: none; font-size: 11.5px; color: #e6a08c; margin-top: 6px; }
.field.has-error .field__err { display: block; }
.section--ivory .field input, .section--ivory .field select, .section--ivory .field textarea { border-color: var(--line-light); background: #fff; color: var(--ink); }
.section--ivory .field label { color: var(--gold-deep); }
.listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.listing-bar p { margin: 0; color: var(--grey); font-size: 14px; }
.listing-bar p b { color: var(--ivory); font-family: var(--serif); font-size: 24px; font-weight: 400; margin-right: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid rgba(201, 166, 107, 0.4); font-size: 12px; color: var(--gold-light); }
.chip button { display: grid; place-items: center; width: 18px; height: 18px; }
.chip svg { width: 12px; height: 12px; }
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line-dark); border-radius: 10px; }
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 0 0 10px; }
.empty p { color: var(--grey); margin: 0 0 24px; }

/* ---------- Property detail ---------- */
.dhero { position: relative; height: 92vh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
.dhero__bg { position: absolute; inset: -6% 0; }
.dhero__bg img { width: 100%; height: 100%; object-fit: cover; }
.dhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 14, 0.94) 0%, rgba(10, 11, 14, 0.25) 55%, rgba(10, 11, 14, 0.5) 100%); }
.dhero .container { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 80px); }
.dhero .display { font-size: clamp(48px, 8vw, 120px); margin: 18px 0 14px; }
.dhero__tag { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 28px); color: var(--gold-light); margin: 0 0 34px; font-weight: 300; }
.dhero__bar { display: grid; grid-template-columns: repeat(4, auto) 1fr; gap: 0; align-items: end; border-top: 1px solid var(--line-dark); padding-top: 22px; }
.dhero__bar > div { padding-right: clamp(20px, 3.4vw, 54px); }
.dhero__bar small { display: block; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.dhero__bar b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.9vw, 28px); margin-top: 6px; white-space: nowrap; }
.dhero__bar .hero__ctas { justify-content: flex-end; padding-right: 0; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.detail__main > section { padding: 0 0 clamp(56px, 6vw, 88px); }
.detail__main > section + section { border-top: 1px solid var(--line-light); padding-top: clamp(56px, 6vw, 88px); }
.detail__main .h3 { margin: 16px 0 22px; }
.detail__main p { color: var(--muted-light); }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.highlights li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.highlights svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 10px; }
.gallery button { position: relative; overflow: hidden; border-radius: 6px; padding: 0; }
.gallery button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery button:nth-child(6) { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.06); }
.gallery button:hover img { transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(1.12); }
.gallery button::after { content: ''; position: absolute; inset: 0; background: rgba(16, 17, 20, 0); transition: background 0.4s; }
.gallery button:hover::after { background: rgba(16, 17, 20, 0.15); }
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden; }
.amenity { background: var(--ivory); padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.amenity svg { width: 22px; height: 22px; color: var(--gold-deep); stroke-width: 1.4; }
.ctable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ctable th { text-align: left; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-light); font-weight: 600; padding: 0 0 14px; border-bottom: 1px solid var(--line-light); }
.ctable td { padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.ctable td:first-child { font-family: var(--serif); font-size: 21px; }
.ctable td:last-child { text-align: right; font-weight: 600; }
.ctable th:last-child { text-align: right; }
.ctable button { color: var(--gold-deep); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.landmarks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.landmarks li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 14.5px; }
.landmarks li b { font-weight: 600; color: var(--gold-deep); }
.mapframe { width: 100%; aspect-ratio: 16 / 8; border: 0; border-radius: 8px; filter: grayscale(0.85) contrast(1.05); }
.section--dark .mapframe { filter: grayscale(1) invert(0.92) contrast(0.9); }
.emi { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line-light); border-radius: 10px; padding: clamp(20px, 3vw, 34px); }
.emi__row { margin-bottom: 18px; }
.emi__row label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.08em; color: var(--muted-light); margin-bottom: 8px; }
.emi__row label b { color: var(--ink); font-weight: 700; }
.emi__row input { width: 100%; accent-color: var(--gold-deep); }
.emi__out { text-align: center; padding: 26px; border-radius: 8px; background: var(--ivory); }
.emi__out small { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-light); font-weight: 600; }
.emi__out b { display: block; font-family: var(--serif); font-size: clamp(36px, 3.6vw, 52px); font-weight: 400; color: var(--ink); line-height: 1.1; margin: 8px 0; }
.emi__out p { margin: 0; font-size: 12.5px; }

.enquiry { position: sticky; top: 96px; background: var(--black); color: var(--ivory); border-radius: 12px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }
.enquiry h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 10px 0 6px; line-height: 1.15; }
.enquiry > p { color: var(--grey); font-size: 13.5px; margin: 0 0 22px; }
.enquiry form { display: grid; gap: 14px; }
.enquiry .or { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-dark); margin: 4px 0; }
.enquiry .or::before, .enquiry .or::after { content: ''; flex: 1; height: 1px; background: var(--line-dark); }
.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover { background: #3be07a; }
.agent { display: flex; gap: 14px; align-items: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line-dark); }
.agent__av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); color: var(--black); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; font-weight: 600; flex: none; }
.agent b { display: block; font-size: 14px; }
.agent span { font-size: 12px; color: var(--grey); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--grey); line-height: 1.5; }
.check input { margin-top: 2px; accent-color: var(--gold); width: 15px; height: 15px; flex: none; }
.check a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.section--ivory .check { color: var(--muted-light); }
.section--ivory .check a { color: var(--gold-deep); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(8, 9, 11, 0.96); display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 92vw); max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--ivory); background: rgba(16, 17, 20, 0.6); }
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -26px; }
.lightbox__count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: 0.3em; color: var(--grey); }

/* ---------- Modal (site visit) ---------- */
.modal { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__scrim { position: absolute; inset: 0; background: rgba(8, 9, 11, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.5s; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel {
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 40px); overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: 14px;
  transform: translateY(30px) scale(0.98); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s;
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__aside { position: relative; min-height: 100%; overflow: hidden; }
.modal__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__aside::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 14, 0.9), rgba(10, 11, 14, 0.15)); }
.modal__aside div { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; }
.modal__aside h3 { font-family: var(--serif); font-weight: 300; font-size: 38px; line-height: 1.05; margin: 14px 0 10px; }
.modal__aside p { margin: 0; color: var(--grey); font-size: 13.5px; }
.modal__body { padding: clamp(26px, 3.4vw, 40px); }
.modal__body form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal__body .full { grid-column: 1 / -1; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 17, 20, 0.6); border: 1px solid var(--line-dark); }
.modal__close svg { width: 18px; height: 18px; }
.modal__title { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 6px; }
.modal__sub { color: var(--grey); font-size: 13.5px; margin: 0 0 24px; }
.success { display: none; text-align: center; padding: 30px 10px; }
.success.is-on { display: block; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); }
.success__icon svg { width: 28px; height: 28px; }
.success h4 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 10px; }
.success p { color: var(--grey); margin: 0 auto 24px; max-width: 40ch; font-size: 14px; }
.success .hero__ctas { justify-content: center; }
.form-hidden { display: none !important; }

/* ---------- Locations page ---------- */
.loc-nav { position: sticky; top: 68px; z-index: 30; background: rgba(16, 17, 20, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-dark); }
.loc-nav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.loc-nav .container::-webkit-scrollbar { display: none; }
.loc-nav a { padding: 18px 18px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--grey); white-space: nowrap; border-bottom: 1px solid transparent; transition: 0.3s; }
.loc-nav a:hover, .loc-nav a.is-active { color: var(--gold-light); border-color: var(--gold); }
.loc { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.loc--flip .loc__media { order: 2; }
.loc__media { position: relative; aspect-ratio: 5 / 6; border-radius: 6px; overflow: hidden; }
.loc__media img { width: 100%; height: 115%; object-fit: cover; }
.loc__media .loc__country { position: absolute; z-index: 2; top: 18px; left: 18px; }
.loc__copy .h2 { margin: 18px 0 8px; }
.loc__copy .tag { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold-deep); margin: 0 0 22px; font-weight: 400; }
.section--dark .loc__copy .tag { color: var(--gold-light); }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); margin: 30px 0; }
.section--dark .kv { border-color: var(--line-dark); }
.kv div { padding: 18px 14px 18px 0; }
.kv small { display: block; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.section--dark .kv small { color: var(--gold); }
.kv b { display: block; margin-top: 6px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.markets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.markets span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 12.5px; }
.section--dark .markets span { border-color: var(--line-dark); color: var(--grey); }
.mini-list { display: grid; gap: 10px; margin-bottom: 30px; }
.mini { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 8px; border: 1px solid var(--line-light); transition: border-color 0.3s, background 0.3s; }
.section--dark .mini { border-color: var(--line-dark); }
.mini:hover { border-color: var(--gold); }
.mini img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex: none; }
.mini b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.2; }
.mini span { font-size: 12.5px; color: var(--muted-light); }
.section--dark .mini span { color: var(--grey); }
.mini svg { width: 16px; height: 16px; margin-left: auto; color: var(--gold); flex: none; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.value { background: var(--black); padding: clamp(28px, 3vw, 44px); }
.value svg { width: 28px; height: 28px; color: var(--gold); stroke-width: 1.2; }
.value h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 22px 0 10px; }
.value p { color: var(--muted-dark); margin: 0; font-size: 14.5px; }
.timeline { position: relative; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 34px 0; border-top: 1px solid var(--line-light); }
.tl b { font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); font-weight: 300; color: var(--gold-deep); line-height: 1; }
.tl h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 8px; }
.tl p { margin: 0; color: var(--muted-light); max-width: 60ch; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.member__av { aspect-ratio: 4 / 5; border-radius: 6px; display: grid; place-items: center; background: linear-gradient(160deg, #24272e, #121316); border: 1px solid var(--line-dark); font-family: var(--serif); font-size: 64px; font-weight: 300; color: var(--gold); letter-spacing: 0.04em; position: relative; overflow: hidden; }
.member__av::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(201, 166, 107, 0.25); border-radius: 4px; }
.member h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 18px 0 2px; }
.member span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__info { display: grid; gap: 28px; }
.cinfo { display: flex; gap: 18px; align-items: flex-start; }
.cinfo__icon { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--gold-deep); flex: none; }
.cinfo__icon svg { width: 20px; height: 20px; }
.cinfo small { display: block; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-light); font-weight: 600; }
.cinfo a, .cinfo p { display: block; margin: 4px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; }
.cinfo a:hover { color: var(--gold-deep); }
.cform { background: #fff; border: 1px solid var(--line-light); border-radius: 12px; padding: clamp(24px, 3.4vw, 44px); }
.cform form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform .full { grid-column: 1 / -1; }
.section--ivory .success p { color: var(--muted-light); }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.office { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.office h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 8px; }
.office p { color: var(--grey); margin: 0 0 4px; font-size: 14px; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.legal__toc { position: sticky; top: 100px; display: grid; gap: 10px; font-size: 13px; }
.legal__toc a { color: var(--muted-light); padding-left: 14px; border-left: 1px solid var(--line-light); transition: 0.3s; }
.legal__toc a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 56px 0 14px; scroll-margin-top: 100px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: #4c4a46; font-size: 15.5px; }
.legal__body ul { padding-left: 20px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.note { padding: 18px 22px; border-left: 2px solid var(--gold-deep); background: var(--ivory-2); font-size: 14px; color: #4c4a46; margin: 0 0 40px; border-radius: 0 6px 6px 0; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 26px 0; }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-weight: 300; white-space: nowrap; color: rgba(247, 244, 238, 0.85); display: inline-flex; align-items: center; gap: 60px; }
.marquee__track span::after { content: '✦'; color: var(--gold); font-size: 0.5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal (only when JS + GSAP active) ---------- */
html.js-anim [data-reveal] { opacity: 0; transform: translateY(36px); }
html.js-anim [data-reveal='fade'] { transform: none; }
html.js-anim [data-reveal='clip'] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; }
  .detail { grid-template-columns: 1fr; }
  .enquiry { position: relative; top: 0; }
  .filters__row { grid-template-columns: 1fr 1fr 1fr; }
  .filters__row .field--search { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .pgrid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line-dark); }
  .editorial, .showcase, .loc, .contact, .legal { grid-template-columns: 1fr; }
  .loc--flip .loc__media { order: 0; }
  .feature .container { grid-template-columns: 1fr; }
  .cities .city, .cities .city:nth-child(1), .cities .city:nth-child(2) { grid-column: span 6; min-height: 380px; }
  .cities .city:nth-child(1), .cities .city:nth-child(2) { grid-column: span 12; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; margin-right: 0; }
  .quotes, .values, .offices { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__aside { min-height: 180px; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .legal__toc { position: relative; top: 0; grid-template-columns: 1fr 1fr; }
  .dhero__bar { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .dhero__bar .hero__ctas { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 700px) {
  :root { --nav-h: 70px; }
  .brand__word b { font-size: 17px; letter-spacing: 0.2em; }
  .brand__mark { width: 28px; height: 28px; }
  .nav__actions .btn--gold { display: none; }
  .wa-btn { padding: 0; width: 44px; justify-content: center; }
  .wa-btn span { display: none; }
  .hero { min-height: 720px; }
  .hero__shade { background: linear-gradient(0deg, rgba(10, 11, 14, 0.94) 0%, rgba(10, 11, 14, 0.6) 48%, rgba(10, 11, 14, 0.05) 75%), linear-gradient(180deg, rgba(10, 11, 14, 0.4) 0%, rgba(10, 11, 14, 0) 20%); }
  .hero__content { justify-content: flex-end; padding-bottom: 110px; }
  .hero__copy .lead { margin-bottom: 26px; }
  .hero .qsearch { display: none; }
  .hero__content { padding-bottom: 92px; }
  .hero__ctas { gap: 10px; }
  .hero .hero__ctas .btn { height: 48px; padding: 0 18px; font-size: 10.5px; letter-spacing: 0.12em; }
  .coords, .scroll-cue { display: none; }
  .hero__meta { bottom: 26px; }
  .hero__meta .container { justify-content: flex-start; }
  .light-toggle button { padding: 0 11px; font-size: 9.5px; letter-spacing: 0.12em; }
  .hero .light-toggle button svg { display: none; }
  .tower-tag { display: none; }
  .pgrid { grid-template-columns: 1fr; }
  .stat { padding: 28px 16px; }
  .cities .city, .cities .city:nth-child(1), .cities .city:nth-child(2) { grid-column: span 12; min-height: 320px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line-dark); padding-bottom: 30px; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .highlights, .landmarks { grid-template-columns: 1fr; }
  .emi { grid-template-columns: 1fr; }
  .modal__body form, .cform form { grid-template-columns: 1fr; }
  .filters { position: relative; top: 0; }
  .filters__row { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr; }
  .kv div { border-bottom: 1px solid var(--line-light); }
  .tl { grid-template-columns: 1fr; gap: 10px; }
  .feature__specs { grid-template-columns: 1fr 1fr 1fr; }
  .feature__specs b { font-size: 19px; }
  .editorial__media .img-b { border-width: 6px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .viewer { aspect-ratio: 4 / 5; }
  .floor-pick { min-width: 0; width: 100%; }
  .ctable td:first-child { font-size: 18px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   MOTION LAYER
   ========================================================= */
/* momentum skew while scrolling */
.pgrid, .cities, .gallery, .quotes { transform: skewY(var(--skew, 0deg)); transform-origin: 50% 0; }

/* tilt glare */
[data-tilt] { will-change: transform; }
.tilt-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease); mix-blend-mode: screen; border-radius: inherit; }
.is-tilting > .tilt-glare { opacity: 1; }

/* click ripple */
.ripple { position: absolute; z-index: 4; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 244, 222, 0.45) 0%, rgba(255, 244, 222, 0) 65%); transform: scale(0); animation: ripple 0.95s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.mini { position: relative; overflow: hidden; }

/* coverflow */
.cf-section { overflow: hidden; }
.cf-section .section-head { margin-bottom: 10px; }
.coverflow { position: relative; height: clamp(440px, 52vw, 600px); perspective: 1500px; perspective-origin: 50% 45%; user-select: none; -webkit-user-select: none; touch-action: pan-y; outline: none; }
.coverflow:focus-visible { outline: 1px solid var(--gold); outline-offset: -8px; }
.coverflow__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-card { position: absolute; left: 50%; top: 50%; width: clamp(230px, 24vw, 330px); aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--charcoal-2); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75); will-change: transform; -webkit-user-drag: none; backface-visibility: hidden; }
.coverflow.is-dragging .cf-card { cursor: grabbing; }
.cf-card__img { position: absolute; inset: 0; overflow: hidden; }
.cf-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(calc(var(--d, 0) * -9%)) scale(1.32); transition: filter 0.6s; filter: brightness(calc(1 - min(1, max(var(--d, 0), calc(var(--d, 0) * -1))) * 0.45)); }
.cf-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 14, 0.92) 0%, rgba(10, 11, 14, 0.15) 55%, rgba(10, 11, 14, 0) 100%); pointer-events: none; }
.cf-card__body { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 3px; color: var(--ivory); transform: translateY(10px); opacity: 0.75; transition: transform 0.6s var(--ease), opacity 0.6s; }
.cf-card.is-active .cf-card__body { transform: none; opacity: 1; }
.cf-card__body small { font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.cf-card__body b { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.cf-card__body span { font-size: 12.5px; color: rgba(247, 244, 238, 0.75); }
.cf-card__body em { font-style: normal; font-family: var(--serif); font-size: 19px; color: var(--gold-light); margin-top: 4px; }
.cf-card__edge { position: absolute; inset: 0; z-index: 3; border-radius: inherit; border: 1px solid rgba(255, 255, 255, 0.08); pointer-events: none; transition: border-color 0.6s; }
.cf-card.is-active .cf-card__edge { border-color: rgba(201, 166, 107, 0.85); }
.cf-controls { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.cf-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--ivory); transition: border-color 0.4s, color 0.4s, background 0.4s; flex: none; }
.cf-btn:hover { border-color: var(--gold); color: var(--gold); }
.cf-btn svg { width: 18px; height: 18px; }
.cf-progress { flex: 1; height: 1px; background: var(--line-dark); position: relative; overflow: hidden; }
.cf-progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0.1); }
.cf-count { font-family: var(--serif); font-size: 18px; color: var(--grey); min-width: 64px; text-align: center; }

/* developers band */
.devs { padding: clamp(46px, 6vw, 80px) 0; border-top: 1px solid var(--line-dark); }
.devs__label { margin: 0 0 26px; font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.devs__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.devs__row { display: flex; gap: clamp(40px, 6vw, 90px); width: max-content; animation: marquee 48s linear infinite; }
.devs__track:hover .devs__row { animation-play-state: paused; }
.devs__row span { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 400; letter-spacing: 0.06em; color: rgba(247, 244, 238, 0.5); white-space: nowrap; transition: color 0.4s; }
.devs__row span:hover { color: var(--gold-light); }
.devs__note { margin: 26px 0 0; font-size: 11.5px; color: var(--muted-dark); }

@media (max-width: 700px) {
  .coverflow { height: 460px; }
  .cf-card { width: 240px; }
  .cf-card__body b { font-size: 24px; }
  .cf-controls { padding-right: 86px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pgrid, .cities, .gallery, .quotes { transform: none; }
}

/* smaller area cards: stack the copy and size the name to fit */
.city:nth-child(n + 3) .city__body { flex-direction: column; align-items: flex-start; gap: 10px; }
.city:nth-child(n + 3) .city__body h3 { font-size: clamp(26px, 2.1vw, 32px); line-height: 1.05; }
.city:nth-child(n + 3) .city__body p { display: none; }
@media (max-width: 980px) { .city:nth-child(n + 3) .city__body p { display: block; } }
