/* Abu Dhabi Collection by Allegiance Real Estate: one stylesheet for every page.
   Colour has one job each: solid Allegiance green = actions (white on dark photos);
   a light green tint = navigation and the current selection; mint = small
   highlights on dark backgrounds. */

:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #10201c;
  --muted: #5b6965;
  --line: #e2e4df;
  --brand: #06342c;
  --brand-deep: #03211b;
  --brand-mid: #2f6b5d;
  --brand-tint: #e9efec;
  --action: #06342c;
  --action-hover: #0d4a3d;
  --mint: #a6d1bf;
  --sage: #6e9f8d;
  --font: 'Google Sans Flex', 'Liberation Sans', Arial, sans-serif;
  --header: 68px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(6, 52, 44, .05), 0 10px 28px -14px rgba(6, 52, 44, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 60px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 560; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(26px, 2.6vw, 36px); }
h3 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.3; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -60px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--surface); border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.i { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 40px; margin-bottom: clamp(18px, 2.2vw, 28px); }
.section-head h2 { flex: 1 1 340px; }
.section-head p { flex: 1 1 320px; max-width: 48ch; color: var(--muted); font-size: 16px; }
.section-head .btn { flex-shrink: 0; }
.fine, .disclaimer { font-size: 13px; color: var(--muted); }
.disclaimer { padding-top: 0; max-width: calc(var(--max) + 2 * var(--gutter)); }

/* ------------------------------------------------------------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-sm); font-size: 15px; font-weight: 560; letter-spacing: .005em; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.btn .i { transition: transform .2s; }
.btn:hover .i:last-child { transform: translateX(2px); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
/* Actions: solid green; white on dark photos and bands. */
.btn-primary { background: var(--action); color: #fff; box-shadow: 0 6px 16px -8px rgba(6, 52, 44, .55); }
.btn-primary:hover { background: var(--action-hover); }
.hero .btn-primary, .is-clear:not(.is-scrolled):not(.menu-open) .btn-primary, .pd-mobile-bar .btn-primary, .hero-panel .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 22px -10px rgba(0, 0, 0, .45); }
.hero .btn-primary:hover, .is-clear:not(.is-scrolled):not(.menu-open) .btn-primary:hover, .pd-mobile-bar .btn-primary:hover, .hero-panel .btn-primary:hover { background: var(--brand-tint); }
/* Navigation and secondary: green outline on light, white outline on dark. */
.btn-outline { border-color: #cfd6d1; color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand-mid); color: var(--brand); }
.btn-ghost-light, .btn-outline-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .5); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost-light:hover, .btn-outline-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-deep); }
.btn:disabled { opacity: .6; cursor: wait; }
.link-btn { padding: 0; border: 0; background: none; font-weight: 560; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link-btn:hover { color: var(--brand-mid); }
.chip-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 13px; font-weight: 560; color: var(--brand); }
.chip-btn:hover { border-color: var(--brand); }
.chip-btn.is-solid { background: var(--action); border-color: var(--action); color: #fff; }
.chip-btn.is-solid:hover { background: var(--action-hover); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; }
.pills button small { margin-left: 4px; color: var(--muted); font-size: 12px; }
.pills button:hover { border-color: var(--brand); }
.pills button.is-active { background: var(--brand-tint); border-color: var(--brand-mid); color: var(--brand); font-weight: 560; }
.pills button.is-active small { color: var(--brand-mid); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 560; }
.tag-soft { background: var(--brand-tint); color: var(--brand); }

/* ------------------------------------------------------------- Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--header); display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter); color: var(--ink); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s; }
.site-header.is-clear { background: linear-gradient(rgba(3, 33, 27, .5), transparent); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; color: #fff; }
/* The gradient must not repeat into the 1px transparent border, or it draws a dark hairline. */
.site-header.is-clear:not(.is-scrolled):not(.menu-open) { background-repeat: no-repeat; background-origin: border-box; }
.site-header.is-clear.is-scrolled, .site-header.is-clear.menu-open { background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); color: var(--ink); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* The lockup PNG includes a tagline below the name; show only the name. */
.brand-lockup { display: block; width: 112px; height: 30px; overflow: hidden; }
.brand-lockup img { width: 112px; height: auto; transition: filter .3s; }
.is-clear:not(.is-scrolled):not(.menu-open) .brand-lockup img { filter: brightness(0) invert(1); }
.brand-sub { padding-left: 12px; border-left: 1px solid currentColor; font-size: 11.5px; font-weight: 500; line-height: 1.2; opacity: .8; }
.site-header nav { display: flex; gap: 28px; margin: 0 auto; }
.site-header nav a { font-size: 14.5px; font-weight: 500; opacity: .82; }
.site-header nav a:hover, .site-header nav a[aria-current] { opacity: 1; }
.site-header nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 12px 10px; border: 0; background: none; }
.menu-toggle span { display: block; height: 1.5px; margin: 5px 0; background: currentColor; border-radius: 2px; transition: transform .2s; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.listing, .prose { padding-top: var(--header); }

/* ------------------------------------------------------------- Home hero */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 980px; overflow: hidden; background: var(--brand-deep); color: #fff; isolation: isolate; }
.hero-stage { position: absolute; inset: 0; z-index: -2; }
.hero-poster { width: 100%; height: 100%; object-fit: cover; }
/* Satellite poster sized like object-fit: cover, so the HTML pins land on the right spots. */
.hero-stage:has(.hero-poster-map) { container-type: size; }
.hero-poster-map { position: absolute; left: 50%; top: 50%; width: max(100cqw, 160cqh); aspect-ratio: 16 / 10; transform: translate(-50%, -50%); }
.hero-poster-map picture, .hero-poster-map .hero-poster, .poster-pins { position: absolute; inset: 0; }
.poster-pins.is-tall { display: none; }
@media (max-aspect-ratio: 1/1) {
  .hero-poster-map { width: max(100cqw, 62.5cqh); aspect-ratio: 10 / 16; }
  .poster-pins.is-wide { display: none; }
  .poster-pins.is-tall { display: block; }
}
.poster-pin { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid #fff; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); }
.poster-pin b { position: absolute; left: 50%; bottom: calc(100% + 10px); display: flex; gap: 8px; padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 999px; background: rgba(6, 52, 44, .92); color: #fff; font: 600 13px/1.2 var(--font); white-space: nowrap; transform: translateX(-50%); }
.poster-pin i { font-style: normal; color: var(--mint); }
.poster-pin:has(b) { z-index: 2; }
.hero.is-3d .hero-poster-map { opacity: 0; transition: opacity 1.2s ease; }
.hero-stage gmp-map-3d { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(1.08) contrast(1.04); opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero.is-3d .hero-stage gmp-map-3d { opacity: 1; }
.hero.is-interactive .hero-stage gmp-map-3d { pointer-events: auto; }
/* Shade only behind the words, so the city stays bright and clear. */
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(3, 33, 27, .7) 0%, rgba(3, 33, 27, .38) 36%, transparent 60%), linear-gradient(0deg, rgba(3, 33, 27, .55) 0%, transparent 26%); }
.hero-inner { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 150px; max-width: 700px; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero h1 { font-size: clamp(40px, 5.2vw, 74px); font-weight: 560; letter-spacing: -0.03em; line-height: 1.02; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: reveal 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero-live, .hero-sub, .hero-actions { animation: fade-up .9s .35s cubic-bezier(.2, .8, .2, 1) both; }
.hero-actions { animation-delay: .5s; }
@keyframes reveal { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }
.hero-live { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px 0 10px; margin: 0 0 18px; border-radius: 999px; background: rgba(3, 33, 27, .5); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 500; line-height: 1; color: rgba(255, 255, 255, .92); white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-live strong { font-weight: 650; color: #fff; }
.hero-live-sep { width: 1px; height: 13px; background: rgba(255, 255, 255, .28); }
.hero-live-time { color: rgba(255, 255, 255, .7); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(166, 209, 191, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(166, 209, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(166, 209, 191, 0); } }
.hero-sub { max-width: 44ch; min-height: 3.2em; margin: 18px 0 24px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn-ghost-light .i:first-child { fill: currentColor; stroke: none; }
.hero-places { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 240px); bottom: 58px; display: flex; align-items: center; gap: 6px; }
.hero-scroll { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(3, 33, 27, .55); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-scroll:hover { background: rgba(3, 33, 27, .8); }
.hero-tabs { display: flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; scroll-behavior: smooth; padding: 4px; border-radius: 12px; background: rgba(3, 33, 27, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); overflow-x: auto; scrollbar-width: none; }
.hero-tabs::-webkit-scrollbar { display: none; }
.hero-tabs button { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; padding: 6px 14px; border: 0; border-radius: 8px; background: transparent; color: #fff; text-align: left; line-height: 1.25; transition: background-color .2s, color .2s; }
.hero-tabs button strong { font-size: 13.5px; font-weight: 560; }
.hero-tabs button span { font-size: 12px; opacity: .7; }
.hero-tabs button:hover { background: rgba(255, 255, 255, .1); }
.hero-tabs button[aria-pressed="true"] { background: #fff; color: var(--brand); }
.hero-panel { position: absolute; right: var(--gutter); bottom: 136px; width: 300px; padding: 12px; border-radius: var(--r-lg); background: rgba(3, 33, 27, .55); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: fade-up .9s .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-panel:empty { display: none; }
.hero-panel-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 2px 4px 8px; font-size: 13.5px; font-weight: 560; }
.hero-panel-title a { font-size: 13px; color: var(--mint); }
.hero-panel-title a:hover { text-decoration: underline; }
.hero-mini { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 8px; transition: background-color .2s; }
.hero-mini:hover { background: rgba(255, 255, 255, .1); }
.hero-mini img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 6px; object-fit: cover; }
.hero-mini span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hero-mini strong { font-size: 14.5px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-mini small { font-size: 12.5px; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-focus { animation: fade-up .35s both; }
.hero-focus img { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-md); object-fit: cover; }
.hero-focus-body { padding: 12px 4px 4px; }
.hero-focus-place { font-size: 12.5px; color: var(--mint); }
.hero-focus h2 { margin-top: 2px; font-size: 20px; }
.hero-focus-dev { font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero-focus-facts { margin-top: 8px; font-size: 14px; font-weight: 560; }
.hero-focus-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.hero-focus .link-btn { color: rgba(255, 255, 255, .8); font-size: 13px; }

/* Scroll cue on full-screen covers. */

.search-bar { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; align-items: end; gap: 10px; width: calc(100% - 2 * var(--gutter)); max-width: var(--max); margin: -34px auto 0; padding: 14px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header) + 24px); }

/* ------------------------------------------------------------- Fields */
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.field > span i { font-style: normal; font-weight: 400; opacity: .8; }
.field input, .field select, .field textarea, .phone select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #d5d9d3; border-radius: var(--r-sm); background: var(--surface); font-size: 15px; color: var(--ink); transition: border-color .2s; }
.field textarea { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .phone select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(6, 52, 44, .12); }
.phone > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }

/* ------------------------------------------------------------- Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(6, 52, 44, .4); }
.card:focus-within { box-shadow: 0 0 0 2px var(--brand-mid); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #dfe3de; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card-media .card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.card:hover .card-media img { transform: scale(1.03); }
@media (hover: hover) { .card:hover .card-media.has-alt .card-alt { opacity: 1; } }
.card[data-status="sold_out"] .card-media img { filter: saturate(.4); }
.img-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #dfe3de, #cfd6d0); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.card-place { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--brand-mid); }
.card-place .i { width: 14px; height: 14px; }
.card h3 { margin-top: 4px; font-size: 19px; font-weight: 580; line-height: 1.2; }
.card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; } /* whole card is the link */
.card h3 a:focus-visible { outline: none; }
.card-dev { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.card-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 10px 0; border-block: 1px solid var(--line); }
.card-stats > div { min-width: 0; }
.card-stats dt { font-size: 11.5px; color: var(--muted); }
.card-stats dd { margin-top: 1px; font-size: 13.5px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.card-price { display: flex; flex-direction: column; font-size: 19px; font-weight: 620; letter-spacing: -0.01em; line-height: 1.15; }
.card-price small { font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.card-price.is-muted { color: var(--muted); font-weight: 500; font-size: 15px; }
.card-go { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 560; color: var(--brand); }
.card-go .i { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-go .i { transform: translateX(3px); }

/* Pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.pager button { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 14px; font-weight: 560; color: var(--ink); transition: border-color .2s, background-color .2s; }
.pager button:hover:not(:disabled) { border-color: var(--brand); }
.pager button[aria-current="page"] { background: var(--brand-tint); border-color: var(--brand-mid); color: var(--brand); }
.pager button:disabled { opacity: .4; cursor: default; }
.pager-step { padding: 0 16px !important; }
.pager-pages { display: flex; align-items: center; gap: 4px; }
.pager-pages span { min-width: 18px; text-align: center; color: var(--muted); }

/* ------------------------------------------------------------- Home sections */
.communities { padding-top: clamp(56px, 6vw, 88px); }
.community-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.community { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.community:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(6, 52, 44, .45); }
.community-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe3de; }
.community-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.community:hover .community-media img { transform: scale(1.04); }
.community-text { display: flex; flex-direction: column; padding: 12px 14px 0; }
.community-text strong { font-size: 16.5px; font-weight: 580; letter-spacing: -0.01em; }
.community-text span { font-size: 13px; color: var(--muted); }
.community-from { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 10px 14px 14px; font-size: 14px; font-weight: 580; color: var(--brand); }
.community-from .i { width: 16px; height: 16px; transition: transform .2s; }
.community:hover .community-from .i { transform: translateX(3px); }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.stat-row > div { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border-right: 0; }
.stat-row dd { order: -1; font-size: clamp(28px, 2.8vw, 40px); font-weight: 580; letter-spacing: -0.03em; line-height: 1; color: var(--brand); }
.stat-row dt { font-size: 14.5px; color: var(--muted); }
.stat-row a { margin-top: auto; font-size: 12.5px; color: var(--brand-mid); text-decoration: underline; text-underline-offset: 3px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.steps li { position: relative; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 18px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-size: 14px; font-weight: 600; }
.steps h3 { font-size: 18px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.faq .section-head { display: block; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 560; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex-shrink: 0; width: 12px; height: 12px; background: linear-gradient(currentColor 0 0) center / 12px 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 12px no-repeat; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { max-width: 62ch; padding-bottom: 18px; color: var(--muted); }

/* ------------------------------------------------------------- Enquiry + forms */
.enquiry { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(44px, 5.5vw, 80px) max(var(--gutter), calc((100vw - var(--max)) / 2)); background: var(--brand); color: #fff; }
.enquiry h2 { font-size: clamp(28px, 3.2vw, 44px); }
.enquiry-copy > p { max-width: 44ch; margin: 14px 0 24px; font-size: 17px; color: rgba(255, 255, 255, .8); }
.enquiry-points li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }
.enquiry-points li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2303211b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.form-card { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-consent { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-consent a { text-decoration: underline; }
.form-demo { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: center; }
.form-status { margin-top: 12px; font-size: 15px; text-align: center; outline: none; }
.form-status:empty { display: none; }
.form-status[data-tone="error"] { color: #b42318; }
.form-status[data-tone="ok"] { padding: 12px; border-radius: var(--r-sm); background: var(--brand-tint); color: var(--brand); }
.honeypot { position: absolute; left: -10000px; opacity: 0; }

/* Dialogs: centred on desktop, bottom sheet on phones */
.sheet-grip { display: none; }
.sheet-done { padding: 36px 28px 28px; text-align: center; }
.sheet-done h2 { font-size: 24px; }
.sheet-done p { margin: 8px auto 22px; max-width: 36ch; color: var(--muted); }
.sheet-done-icon { display: block; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2306342c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px no-repeat; }
@media (max-width: 640px) {
  .gate.sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); transition: transform .2s; }
  .sheet[open] { animation: sheet-up .32s cubic-bezier(.2, .8, .2, 1); }
  .sheet-grip { display: block; width: 40px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: #d3d8d4; }
  .sheet .gate-form { padding-top: 14px; }
  .sheet .gate-close-form { top: 14px; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }

/* Contact gate (brochure) */
.gate { width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.gate::backdrop { background: rgba(3, 33, 27, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gate[open] { animation: rise .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.gate-form { padding: 28px; }
.gate-form h2 { font-size: 26px; padding-right: 40px; }
.gate-form > p { margin: 8px 0 20px; color: var(--muted); }
.gate-close-form { position: absolute; top: 12px; right: 12px; }
.gate-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eff1ee; font-size: 22px; line-height: 1; }
.when-unlocked, [data-unlocked] .when-locked { display: none; }
[data-unlocked] .when-unlocked { display: inline; }

/* ------------------------------------------------------------- Footer */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .72); }
.footer-main { display: grid; grid-template-columns: 1fr 1.9fr .8fr; gap: clamp(28px, 4vw, 64px); max-width: var(--max); margin: 0 auto; padding: clamp(44px, 5vw, 72px) var(--gutter) 36px; }
.footer-lockup { display: inline-block; }
.footer-lockup img { width: 190px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand > p { max-width: 36ch; margin-top: 18px; font-size: 14.5px; }
.footer-figures { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; margin-top: 18px; font-size: 13.5px; }
.footer-figures span { white-space: nowrap; }
.footer-figures strong { margin-right: 4px; color: #fff; font-size: 17px; font-weight: 600; }
.site-footer h3 { margin-bottom: 10px; font-size: 13px; font-weight: 560; color: #fff; letter-spacing: 0; }
.site-footer li a, .site-footer li button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 5px 0; border: 0; background: none; color: inherit; font-size: 14px; text-align: left; transition: color .2s; }
.site-footer li a:hover, .site-footer li button:hover { color: #fff; }
.footer-communities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
.footer-communities a span { color: var(--mint); font-size: 12.5px; font-weight: 560; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.footer-base span:nth-child(2) { flex: 1; }
.footer-top-link { color: rgba(255, 255, 255, .8); font-weight: 560; }
.footer-top-link:hover { color: #fff; }

/* ------------------------------------------------------------- Listing page */
.listing-head { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 36px var(--gutter) 20px; }
.listing-head h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.03em; }
.listing-head p { max-width: 64ch; margin-top: 10px; font-size: 16.5px; color: var(--muted); }
.listing-tools { position: sticky; top: var(--header); z-index: 10; display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px max(var(--gutter), calc((100vw - var(--max)) / 2)); background: rgba(246, 246, 243, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.listing-tools .field input, .listing-tools .field select { height: 40px; }
.listing-tools .pills { grid-column: 1 / -1; }
.listing-results { padding-top: 28px; }
.listing-count { margin-bottom: 16px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.listing-empty { padding: 56px 0 24px; text-align: center; }
.listing-empty p { margin: 10px 0 22px; color: var(--muted); }

.prose { max-width: 820px; }
.prose h1 { font-size: clamp(34px, 4vw, 52px); margin-top: 36px; }
.prose .lead { margin: 14px 0 12px; font-size: 19px; color: var(--muted); }
.prose h2 { margin: 36px 0 10px; font-size: 24px; }
.prose p { margin-bottom: 14px; }
.prose p a:not(.btn) { color: var(--brand); text-decoration: underline; }

/* ------------------------------------------------------------- Project page */
.pd-hero { position: relative; height: 70svh; min-height: 500px; max-height: 760px; overflow: hidden; background: var(--brand-deep); color: #fff; isolation: isolate; }
.pd-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Desktop: the whole cover image, never cropped, over a soft blurred copy that fills the sides. */
.pd-hero-backdrop { display: none; }
@media (min-width: 861px) {
  .pd-hero { height: 78svh; max-height: 820px; }
  .pd-hero-backdrop { position: absolute; inset: -40px; z-index: -3; display: block; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(32px) saturate(1.1) brightness(.62); }
  .pd-hero-image { top: var(--header); height: calc(100% - var(--header)); object-fit: contain; }
}
.pd-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 33, 27, .78) 0%, rgba(3, 33, 27, .25) 38%, transparent 60%), linear-gradient(180deg, rgba(3, 33, 27, .35), transparent 22%); }
.pd-hero-inner { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 6vh, 64px); max-width: 860px; }
.pd-hero-place { display: flex; align-items: center; gap: 6px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.pd-hero-place .i { width: 16px; height: 16px; }
.pd-hero h1 { margin-top: 10px; font-size: clamp(40px, 5.6vw, 80px); font-weight: 560; letter-spacing: -0.03em; line-height: 1; }
.pd-by { margin-top: 10px; font-size: 17px; color: rgba(255, 255, 255, .8); }
.pd-hero-photos { position: absolute; right: var(--gutter); bottom: clamp(36px, 6vh, 64px); display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; background: rgba(3, 33, 27, .35); color: #fff; font-size: 14px; font-weight: 560; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s, border-color .2s; }
.pd-hero-photos:hover { background: rgba(3, 33, 27, .6); border-color: #fff; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13.5px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: ''; width: 6px; height: 6px; margin: 0 10px; border-top: 1.5px solid #9aa6a2; border-right: 1.5px solid #9aa6a2; transform: rotate(45deg); }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-crumbs { padding-top: 22px; }
.pd-crumbs + .section { border-top: 0; padding-top: 18px; }
.listing-head .crumbs { margin-bottom: 14px; }

/* Two columns on desktop: the content, and an enquiry card that stays in view. */
.pd-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(32px, 4vw, 56px); }
.pd-main { min-width: 0; }
.pd-main > .section { max-width: none; margin: 0; padding: clamp(36px, 4vw, 52px) 0; border-top: 1px solid var(--line); background: none; }
.pd-main > .section:first-child { border-top: 0; padding-top: 32px; }
.pd-main .section-head { gap: 8px 24px; }
.pd-main .section-head h2 { flex: 1 1 auto; font-size: clamp(24px, 2.2vw, 30px); }
.pd-main .section-head p { flex: 1 1 100%; order: 3; max-width: none; font-size: 15.5px; }
.pd-main .pd-overview-grid { grid-template-columns: 1fr; gap: 14px; }
.pd-main .pd-overview-grid h2 { font-size: clamp(24px, 2.2vw, 30px); }
.pd-main .pd-location { display: block; }
.pd-main .pd-location-copy > p:not(.pd-location-place) { max-width: 70ch; }
.pd-main .pd-map { margin-top: 24px; }
.pd-main .pd-map-stage { height: clamp(360px, 34vw, 480px); }
.pd-main .pd-docs { grid-template-columns: 200px 1fr; gap: 32px; }
.pd-main .pd-docs-visual { aspect-ratio: 4 / 5; }
.pd-main .pd-plan-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pd-main .pd-layouts { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pd-main .pd-dev-head img { width: 64px; height: 40px; }
.pd-main .pd-dev-head h2 { font-size: clamp(24px, 2.2vw, 30px); }
.pd-main .carousel-slide { flex-basis: 86%; }
.pd-main .pd-fp figcaption { flex-direction: column; align-items: flex-start; gap: 2px; }
.pd-unit-view { display: none; }
@media (min-width: 1101px) {
  .pd-main .pd-units th:nth-child(5), .pd-main .pd-units td:nth-child(5) { display: none; }
  .pd-main .pd-unit-view { display: block; }
  .pd-main .pd-units th, .pd-main .pd-units td { padding-inline: 12px; }
  .pd-main .pd-units td:nth-child(2), .pd-main .pd-units td:nth-child(3), .pd-main .pd-units td small:not(.pd-unit-view) { white-space: nowrap; }
}

.pd-aside { position: sticky; top: calc(var(--header) + 80px); margin-top: 32px; }
.pd-aside-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.pd-aside-label { font-size: 13px; color: var(--muted); }
.pd-aside-price { margin-top: 2px; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--brand); }
.pd-aside-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 20px 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.pd-aside-facts dt { font-size: 12.5px; color: var(--muted); }
.pd-aside-facts dd { margin-top: 2px; font-size: 15px; font-weight: 580; }
.pd-aside-actions { display: grid; gap: 10px; }
.pd-aside-ask { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 16px; padding: 12px 14px; border: 0; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand); font-size: 14px; font-weight: 560; text-align: left; transition: background-color .2s; }
.pd-aside-ask:hover { background: #dce6e1; }
.pd-aside-ask .i { color: var(--brand-mid); }
.pd-aside-note { margin-top: 12px; padding: 0 4px; font-size: 13px; color: var(--muted); }

.pd-subnav { position: sticky; top: var(--header); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.pd-subnav-links { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.pd-subnav-links::-webkit-scrollbar { display: none; }
.pd-subnav-links a { position: relative; padding: 18px 0; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.pd-subnav-links a:hover, .pd-subnav-links a[aria-current] { color: var(--brand); }
.pd-subnav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s; }
.pd-subnav-links a[aria-current]::after { transform: scaleX(1); }
.pd-subnav-cta { display: flex; gap: 8px; flex-shrink: 0; }

.pd-overview { padding-top: clamp(28px, 3vw, 44px); }
.pd-facts { display: flex; flex-wrap: wrap; gap: 1px; margin-bottom: clamp(32px, 4vw, 52px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--line); }
.pd-facts > div { flex: 1 1 calc(25% - 1px); min-width: 0; padding: 18px 20px; background: var(--surface); }
.pd-facts[data-cols="1"] > div { flex-basis: 100%; }
.pd-facts[data-cols="2"] > div { flex-basis: calc(50% - 1px); }
.pd-facts[data-cols="3"] > div { flex-basis: calc(33.333% - 1px); }
.pd-facts dt { font-size: 12.5px; color: var(--muted); }
.pd-facts dd { margin-top: 3px; font-size: 17px; font-weight: 580; letter-spacing: -0.01em; }
.pd-facts > div:first-child dd { color: var(--brand); }
.pd-overview-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px 64px; }
.pd-copy p { margin-bottom: 12px; color: #3b4a46; font-size: 16px; }
.pd-copy .pd-lead { font-size: 19px; line-height: 1.5; color: var(--ink); }
.pd-copy.is-clamped { max-height: 270px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.pd-amenities-title { margin: 32px 0 12px; font-size: 16px; }
.pd-amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pd-amenity-grid li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font-size: 14px; }
.pd-amenity-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--brand-mid); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Gallery carousel */
.pd-gallery { padding-top: 8px; }
.carousel-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.carousel-count { margin-right: 6px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(6, 52, 44, .25); border-radius: 50%; background: var(--surface); color: var(--brand); transition: border-color .2s, background-color .2s; }
.carousel-btn:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-tint); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--r-lg); }
.carousel::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 78%; aspect-ratio: 16 / 10; padding: 0; border: 0; overflow: hidden; border-radius: var(--r-lg); background: #dfe3de; scroll-snap-align: start; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide picture { display: block; width: 100%; height: 100%; }

/* Payment plans */
.pd-payment > .btn { margin-top: 16px; }

/* Brochure */
.pd-docs { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: 0; }
.pd-docs-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); background: var(--brand); }
.pd-docs-visual img { width: 100%; height: 100%; object-fit: cover; }
.pd-docs-badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--brand); font-size: 12.5px; font-weight: 650; }
.pd-docs h2 + p { margin: 10px 0 20px; color: var(--muted); font-size: 16px; }
.pd-doc-list { display: grid; gap: 8px; }
.pd-doc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.pd-doc:hover { border-color: var(--brand-mid); box-shadow: 0 0 0 3px rgba(6, 52, 44, .08); }
.pd-doc > span:nth-child(2) { flex: 1; min-width: 0; }
.pd-doc strong { display: block; font-size: 16px; font-weight: 580; }
.pd-doc small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pd-doc small em { font-style: normal; }
.pd-doc small .i { width: 13px; height: 13px; }
[data-unlocked] .pd-doc small .i { display: none; }
.pd-doc > .i { color: var(--brand); }
.pd-doc-icon { display: grid; place-items: center; width: 40px; height: 48px; flex-shrink: 0; border-radius: var(--r-sm); background: var(--brand-tint); color: var(--brand); font-size: 11px; font-weight: 750; }

/* Floor plans */
.pd-floorplans, .pd-developer { max-width: none; background: var(--surface); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.pd-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pd-fp { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.pd-fp-image { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.pd-fp-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.pd-fp-image:hover img { transform: scale(1.04); }
.pd-fp figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; }
.pd-fp strong { font-size: 16px; font-weight: 580; }
.pd-fp span { font-size: 13px; color: var(--muted); }
.pd-layouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 28px; }
.pd-layout { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.pd-layout-name { font-size: 18px; font-weight: 580; letter-spacing: -0.01em; }
.pd-layout-meta { font-size: 13.5px; color: var(--muted); }
.pd-layout-price { margin-top: 6px; font-size: 16px; font-weight: 600; color: var(--brand); }
.pd-layout > .btn { margin-top: 14px; }
.pd-layout-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 14px; }
.pd-layout-actions .link-btn { font-size: 14px; white-space: nowrap; }

/* Availability */
.pd-unit-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; scroll-margin-top: calc(var(--header) + 72px); }
.pd-sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pd-sort select { height: 36px; padding: 0 10px; border: 1px solid #d5d9d3; border-radius: var(--r-sm); background: var(--surface); }
.pd-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.pd-units { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pd-units th { padding: 12px 14px; background: #f9faf8; text-align: left; font-size: 12.5px; font-weight: 560; color: var(--muted); }
.pd-units td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.pd-units tbody tr:hover { background: #fafbf9; }
.pd-units td small { display: block; font-size: 12.5px; color: var(--muted); }
.pd-price strong { font-weight: 600; white-space: nowrap; }
.pd-actions { text-align: right; white-space: nowrap; }
.pd-actions .chip-btn + .chip-btn { margin-left: 6px; }
.pd-unit-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.pd-unit-count { font-size: 14px; color: var(--muted); }

/* Location */
.pd-location { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.pd-location-place { display: flex; align-items: center; gap: 6px; margin: 12px 0 16px; font-weight: 560; color: var(--brand); }
.pd-location-copy > p:not(.pd-location-place) { margin-bottom: 12px; color: #3b4a46; font-size: 15.5px; }
.pd-location-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.pd-map { position: relative; }
.pd-map-stage { position: relative; height: clamp(380px, 46vw, 560px); overflow: hidden; border-radius: var(--r-lg); background: #e3e7e2; }
.pd-map-canvas { position: absolute; inset: 0; }
.pd-map:not(.is-ready) .pd-map-canvas::after { content: 'Loading map'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.pd-map.is-failed .pd-map-canvas::after { content: 'The map could not load. Use “Get directions” instead.'; }
.pd-map .map-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.pd-map.is-3d .map-3d { display: block; }
.pd-map.is-3d .pd-map-canvas { visibility: hidden; }
.pd-map-toggle { position: absolute; top: 12px; left: 12px; z-index: 2; box-shadow: var(--shadow); }
.pd-map-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.map-pin { position: relative; display: block; padding: 6px 12px; border-radius: 999px; background: var(--brand); color: #fff; font: 600 13px/1.2 var(--font); white-space: nowrap; box-shadow: 0 4px 14px rgba(3, 33, 27, .3); transform: translateY(-4px); cursor: pointer; }
.map-pin::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 9px; height: 9px; background: inherit; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.map-dot { position: relative; display: block; width: 14px; height: 14px; border: 2.5px solid #fff; border-radius: 50%; background: var(--brand); box-shadow: 0 2px 6px rgba(3, 33, 27, .35); cursor: pointer; transition: transform .15s; }
.map-dot span { position: absolute; left: 50%; bottom: calc(100% + 8px); padding: 4px 9px; border-radius: 999px; background: var(--surface); color: var(--ink); font: 560 12px/1.2 var(--font); white-space: nowrap; box-shadow: 0 4px 12px rgba(3, 33, 27, .2); transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .15s; }
.map-dot:hover { transform: scale(1.3); z-index: 5; }
.map-dot:hover span { opacity: 1; }
.map-card { width: 250px; font-family: var(--font); color: var(--ink); }
.map-card img { width: 100%; height: 130px; border-radius: var(--r-sm); object-fit: cover; }
.map-card-body { display: flex; flex-direction: column; gap: 1px; padding-top: 10px; }
.map-card-place { font-size: 12px; color: var(--brand-mid); }
.map-card strong { font-size: 16px; font-weight: 600; line-height: 1.25; }
.map-card-body > span { font-size: 12.5px; color: var(--muted); }
.map-card-facts { margin: 6px 0 10px; font-size: 13.5px; font-weight: 560; }
.map-card .btn { align-self: flex-start; }
.map-card-here { font-size: 12.5px; color: var(--muted); }

/* Developer */
.pd-dev-head { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.pd-dev-head img { width: 100px; height: 50px; object-fit: contain; }
.pd-developer .pd-copy { max-width: 80ch; }
.pd-developer .pd-copy.is-clamped { max-height: 140px; }
.pd-related { padding-bottom: 36px; }

.pd-mobile-bar { display: none; }

/* Lightbox */
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(2, 20, 16, .97); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(2, 20, 16, .9); }
.lb-top { display: flex; align-items: center; gap: 20px; padding: 12px 20px; font-size: 14px; }
.lb-top #lb-title { flex: 1; }
.lb-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; padding: 0 80px; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 180px); border-radius: var(--r-sm); object-fit: contain; }
.lightbox.single .lb-stage img { max-height: calc(100dvh - 100px); background: #fff; padding: 16px; }
.lightbox.single .lb-nav, .lightbox.single .lb-thumbs { display: none; }
.lb-nav { position: absolute; top: 50%; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; transform: translateY(-50%); }
.lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px 18px; scrollbar-width: thin; }
.lb-thumbs button { flex-shrink: 0; width: 80px; height: 54px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--r-sm); background: none; opacity: .5; }
.lb-thumbs button[aria-current="true"] { border-color: #fff; opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-open { overflow: hidden; }

/* Reveal: one quiet entrance for content below the fold on project pages. */
.reveal-on-scroll { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .site-header nav { gap: 20px; }
  .hero-panel { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-col-wide { grid-column: 1 / -1; grid-row: 2; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row > div:nth-child(2) { border-right: 0; }
  .stat-row > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .listing-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-tools .search-field { grid-column: 1 / -1; }
  .pd-body { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .pd-main .pd-docs { grid-template-columns: 1fr; }
  /* Phones: price on its own row, then two across; an odd last fact stretches. */
  .pd-facts > div, .pd-facts[data-cols] > div { flex-basis: calc(50% - 1px); }
  .pd-facts > div:first-child { flex-basis: 100%; }
  .pd-overview-grid, .pd-docs, .pd-location { grid-template-columns: 1fr; }
  .pd-docs-visual { display: none; }
  .pd-units th:nth-child(5), .pd-units td:nth-child(5) { display: none; }
}

@media (max-width: 860px) {
  :root { --header: 60px; }
  .site-header nav { position: absolute; top: var(--header); left: 0; right: 0; display: none; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--ink); }
  .site-header nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .menu-open nav { display: flex; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .brand-lockup { width: 96px; height: 26px; }
  .brand-lockup img { width: 96px; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .field:first-child, .search-bar .btn { grid-column: 1 / -1; }
  .hero-inner { bottom: 124px; }
  .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .faq { grid-template-columns: 1fr; }
  .enquiry { grid-template-columns: 1fr; }
  .pd-subnav { padding: 0 var(--gutter); }
  .pd-subnav-cta { display: none; }
  .carousel-slide { flex-basis: 88%; }

  /* Unit table becomes stacked cards */
  .pd-table-wrap { overflow: visible; border: 0; background: none; }
  .pd-units thead { display: none; }
  .pd-units, .pd-units tbody { display: block; }
  .pd-units tbody tr:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
  .pd-units td { display: block; padding: 0; border: 0; }
  .pd-units td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); }
  .pd-units td:nth-child(5) { display: block; }
  .pd-units td:first-child { grid-column: 1 / -1; }
  .pd-actions { grid-column: 1 / -1; display: flex !important; gap: 8px; }
  .pd-actions .chip-btn { flex: 1; justify-content: center; height: 40px; }
  .pd-actions .chip-btn + .chip-btn { margin-left: 0; }

  .pd-mobile-bar { position: fixed; z-index: 25; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 16px; background: rgba(3, 33, 27, .96); color: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s; }
  .pd-mobile-bar.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
  .pd-mobile-price { flex: 1; min-width: 0; }
  .pd-mobile-bar small { display: block; font-size: 11.5px; line-height: 1.2; color: rgba(255, 255, 255, .65); }
  .pd-mobile-bar strong { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; }
  .pd-mobile-bar .btn { height: 44px; padding: 0 14px; font-size: 14.5px; }
  .pd-mobile-bar .btn .i { width: 16px; height: 16px; }
  .pd .site-footer, body:has(.pd-mobile-bar) .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand-sub { display: none; }
  .pager-step { padding: 0 12px !important; }
  .pager { gap: 6px; }
  .hero-live-sep, .hero-live-time { display: none; }
  .section-head p { font-size: 15px; }
  .hero { min-height: 640px; }
  .hero-sub { min-height: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-places { bottom: 20px; }
  .search-bar { margin-top: 16px; }
  .hero-inner { bottom: 96px; }
  .hero-shade { background: linear-gradient(0deg, rgba(3, 33, 27, .82) 0%, rgba(3, 33, 27, .4) 50%, transparent 75%); }
  .card-grid { grid-template-columns: 1fr; }
  .steps, .stat-row { grid-template-columns: 1fr; }
  .stat-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-col-wide { grid-row: auto; }
  .footer-communities { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .listing-tools { position: static; }
  .listing-tools .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .listing-tools .pills button { flex-shrink: 0; }
  .pd-hero { min-height: 520px; height: 78svh; max-height: none; }
  .pd-hero-photos { display: none; }
  .pd-facts dd { font-size: 15.5px; }
  .pd-layouts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pd-layout { padding: 12px; }
  .pd-layout-actions { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .pd-layout-actions .link-btn { text-align: center; }
  .pd-layout > .btn, .pd-layout-actions .btn { width: 100%; }
  .hero-scroll { display: none; }
  .hero-places { right: var(--gutter); }
  .pd-amenity-grid { grid-template-columns: 1fr 1fr; }
  .carousel-count { display: none; }
  .gate-form { padding: 22px 18px; }
  .lb-stage { padding: 0 8px; }
  .lb-nav { display: none; }
}

@media (min-width: 1600px) {
  .hero-inner, .hero-places { left: calc((100vw - var(--max)) / 2); right: calc((100vw - var(--max)) / 2); }
  .hero-panel { right: calc((100vw - var(--max)) / 2); }
  .pd-hero-inner { left: calc((100vw - var(--max)) / 2); }
  .pd-hero-photos { right: calc((100vw - var(--max)) / 2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ------------------------------------------------------------- Assistant */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 6px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-size: 14.5px; font-weight: 560; box-shadow: 0 16px 36px -14px rgba(3, 33, 27, .7), 0 0 0 1px rgba(166, 209, 191, .35); transition: transform .2s, box-shadow .2s; }
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(3, 33, 27, .8), 0 0 0 1px rgba(166, 209, 191, .7); }
.chat-launcher-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--brand-deep); }
.chat-launcher-icon svg, .chat-avatar svg { width: 19px; height: 19px; fill: currentColor; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 41; display: flex; flex-direction: column; width: min(410px, calc(100vw - 24px)); height: min(660px, calc(100dvh - 40px)); overflow: hidden; border-radius: 18px; background: var(--surface); box-shadow: 0 40px 90px -30px rgba(3, 33, 27, .6), 0 0 0 1px rgba(6, 52, 44, .08); animation: rise .28s cubic-bezier(.2, .7, .2, 1); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--brand); color: #fff; }
.chat-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-head strong { font-size: 15.5px; font-weight: 580; }
.chat-head span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.chat-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--mint); color: var(--brand-deep); }
.chat-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 21px; line-height: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; background: var(--bg); }
.chat-intro p { font-size: 14.5px; color: var(--ink); }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chat-suggestions button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 13px; text-align: left; line-height: 1.3; }
.chat-suggestions button:hover { border-color: var(--brand); color: var(--brand); }
.chat-msg { max-width: 92%; font-size: 14.5px; line-height: 1.55; }
.chat-msg p + p, .chat-msg p + ul, .chat-msg p + ol, .chat-msg ul + p, .chat-msg ol + p { margin-top: 8px; }
.chat-msg ul, .chat-msg ol { margin: 6px 0 0; padding-left: 18px; }
.chat-msg ul { list-style: disc; } .chat-msg ol { list-style: decimal; }
.chat-msg li + li { margin-top: 4px; }
.chat-msg.is-user { align-self: flex-end; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--brand); color: #fff; }
.chat-msg.is-assistant { align-self: flex-start; padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: var(--surface); box-shadow: 0 1px 2px rgba(6, 52, 44, .06); }
.chat-status { color: var(--muted); font-size: 14px; }
.chat-status::after { content: '…'; display: inline-block; animation: dots 1.2s steps(4) infinite; overflow: hidden; vertical-align: bottom; width: 0; }
@keyframes dots { to { width: 1.2em; } }
.chat-cards { display: flex; gap: 8px; margin: 12px -13px 0; padding: 0 13px 4px; overflow-x: auto; scrollbar-width: thin; }
.chat-card { flex: 0 0 210px; display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
.chat-card:hover { border-color: var(--brand); }
.chat-card img, .chat-card-ph { width: 60px; height: 52px; flex-shrink: 0; border-radius: var(--r-sm); object-fit: cover; background: #dfe3de; }
.chat-card-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.chat-card-text strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-card-text span { font-size: 12px; color: var(--muted); }
.chat-card-text b { margin-top: 3px; font-size: 13px; color: var(--brand); }
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chat-action { height: 36px; padding: 0 14px; border: 0; border-radius: var(--r-sm); background: var(--action); color: #fff; font-size: 13.5px; font-weight: 560; }
.chat-action:hover { background: var(--action-hover); }
.chat-action.is-alt { background: transparent; border: 1px solid rgba(6, 52, 44, .3); color: var(--brand); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form textarea { flex: 1; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1px solid #d5d9d3; border-radius: 12px; resize: none; font-size: 15px; line-height: 1.4; }
.chat-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(6, 52, 44, .12); }
.chat-send { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--action); color: #fff; }
.chat-send svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-send:disabled { opacity: .5; }
.chat-note { padding: 0 14px 10px; font-size: 11px; color: var(--muted); text-align: center; background: var(--surface); }
@media (max-width: 860px) {
  body:has(.pd-mobile-bar) .chat-launcher { bottom: 84px; }
  .chat-launcher { right: 12px; height: 48px; padding-right: 16px; }
}
@media (max-width: 640px) {
  .chat-launcher > span:last-child { display: none; }
  .chat-launcher { width: 50px; padding: 0; justify-content: center; }
  .chat-panel { inset: 0; width: 100%; height: 100dvh; border-radius: 0; }
  .chat-open body { overflow: hidden; }
}

@media (min-width: 961px) {
  .pd-subnav-cta { display: none; }
}
@media (max-width: 960px) {
  .pd-body { display: block; }
  .pd-aside { display: none; }
}

/* ---------- Payment plans ---------- */
.pd-payment { --ph-booking: var(--brand); --ph-construction: var(--sage); --ph-handover: #b9d5c9; --ph-post: #7fb3c9; }
.pd-plan-tabs { display: flex; gap: 6px; margin-bottom: 14px; padding: 4px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); width: max-content; max-width: 100%; }
.pd-plan-tabs::-webkit-scrollbar { display: none; }
.pd-plan-tabs button { flex-shrink: 0; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 560 14px/1 var(--font); white-space: nowrap; transition: background-color .2s, color .2s; }
.pd-plan-tabs button:hover { color: var(--brand); background: var(--brand-tint); }
.pd-plan-tabs button.is-active { background: var(--brand); color: #fff; }
.pd-plans { display: grid; }
.pd-plan { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.pd-plan[hidden] { display: none; }
.pd-plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 16px; }
.pd-plan-head p { color: var(--muted); font-size: 14.5px; }
.pd-plan-sum { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 14px; }
.pd-plan-sum dt { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.pd-plan-sum dt i { width: 10px; height: 10px; border-radius: 3px; background: var(--ph); }
.pd-plan-sum dd { margin-top: 2px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.pd-plan .is-booking { --ph: var(--ph-booking); }
.pd-plan .is-construction { --ph: var(--ph-construction); }
.pd-plan .is-handover { --ph: var(--ph-handover); }
.pd-plan .is-post { --ph: var(--ph-post); }
.pd-plan-bar { display: flex; gap: 2px; height: 12px; margin-bottom: 22px; overflow: hidden; border-radius: 999px; background: var(--line); }
.pd-plan-bar span { min-width: 4px; background: var(--ph); }
.pd-plan-steps { display: grid; gap: 0 32px; margin: 0 0 12px; counter-reset: step; }
.pd-plan-steps.is-long { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pd-plan-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.pd-step-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ph); color: #fff; font-size: 12.5px; font-weight: 600; }
.pd-plan .is-handover .pd-step-n, .pd-plan .is-post .pd-step-n { color: var(--brand-deep); }
.pd-plan-steps strong { display: block; font-size: 15px; font-weight: 560; line-height: 1.4; }
.pd-plan-steps small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.pd-plan-steps .pd-step-total { color: var(--sage); }
.pd-plan-steps b { font-size: 17px; font-weight: 620; color: var(--brand); white-space: nowrap; }
@media (max-width: 780px) {
  .pd-plan { padding: 16px; }
  .pd-plan-steps.is-long { grid-template-columns: 1fr; }
  .pd-plan-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
  .pd-plan-sum dt { align-items: flex-start; font-size: 12px; line-height: 1.3; }
  .pd-plan-sum dt i { flex-shrink: 0; margin-top: 3px; }
  .pd-plan-sum dd { font-size: 20px; }
  .pd-plan-tabs { width: auto; border-radius: 14px; }
}

/* =============================================================================
   Phone polish (2026-10-30). One layer on top of everything above, scoped to
   small screens, so desktop keeps its layout. Rhythm is an 8pt grid; every tap
   target is at least 44px; nothing important hides behind the assistant button.
   ========================================================================== */

/* A missing photo becomes a calm branded panel, not a grey box (all sizes). */
.img-fallback {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M8 22 24 9l16 13v17H29V28h-10v11H8z' fill='none' stroke='%23a6d1bf' stroke-width='1.6' stroke-linejoin='round' opacity='.85'/%3E%3C/svg%3E") center / 44px no-repeat,
    radial-gradient(120% 90% at 20% 0%, #2f6b5d 0%, transparent 60%),
    linear-gradient(160deg, #0d4a3d 0%, #06342c 55%, #03211b 100%);
}
.community-media, .card-media { background: linear-gradient(160deg, #0d4a3d, #03211b); }

.rail-hint { display: none; }

/* The assistant button steps aside while you read, and comes back when you scroll up. */
.chat-launcher { transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s, box-shadow .2s; }
.chat-launcher.is-tucked { transform: translateY(calc(100% + 32px)) scale(.9); opacity: 0; pointer-events: none; }

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 15.5px; line-height: 1.6; }
  .section { padding-block: 48px; }
  .section-head { margin-bottom: 20px; gap: 8px; }
  .section-head h2, h2 { font-size: 28px; letter-spacing: -0.025em; }
  .section-head p { font-size: 15px; line-height: 1.55; }

  /* ---------- Header: crisper on the photo, safe-area aware */
  .site-header { padding-top: env(safe-area-inset-top); height: calc(var(--header) + env(safe-area-inset-top)); }
  .site-header.is-clear { background: linear-gradient(rgba(3, 33, 27, .5), rgba(3, 33, 27, 0)); border-bottom-color: transparent; }
  .site-header nav a { font-size: 18px; padding: 15px 0; }

  /* ---------- Home hero */
  .hero { height: 100svh; min-height: 660px; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 33, 27, .5) 0%, transparent 20%),
      linear-gradient(0deg, rgba(3, 33, 27, .97) 0%, rgba(3, 33, 27, .86) 26%, rgba(3, 33, 27, .45) 50%, rgba(3, 33, 27, 0) 70%);
  }
  .hero-inner { left: var(--gutter); right: var(--gutter); bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hero-live { height: 30px; margin-bottom: 16px; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
  .hero h1 { font-size: clamp(38px, 11vw, 46px); line-height: 1.02; letter-spacing: -0.035em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
  .hero-sub { margin: 14px 0 22px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .btn { width: 100%; height: 52px; border-radius: 12px; font-size: 16px; }
  .hero-actions .btn-ghost-light { height: 48px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); }

  /* ---------- Search: a compact card that tucks under the hero */
  .search-bar { width: calc(100% - 2 * var(--gutter)); margin-top: 16px; padding: 16px; gap: 12px; border-radius: 18px; box-shadow: 0 1px 2px rgba(6, 52, 44, .06), 0 18px 40px -22px rgba(6, 52, 44, .45); }
  .search-bar { grid-template-columns: 1fr; }
  .search-bar .btn { height: 50px; border-radius: 12px; }

  /* ---------- Fields: 48px, 16px text (no iOS zoom), soft fill, clear focus */
  .field { gap: 6px; }
  .field > span { font-size: 13px; font-weight: 560; color: #3b4a46; }
  .field input, .field select, .field textarea, .phone select { height: 48px; padding: 0 14px; border-radius: 12px; border-color: #d8ddd8; background-color: #fbfbf9; font-size: 16px; }
  .field textarea { min-height: 104px; padding: 12px 14px; }
  .field input:focus, .field select:focus, .field textarea:focus, .phone select:focus { background-color: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(6, 52, 44, .1); }
  .field select, .phone select { -webkit-appearance: none; appearance: none; padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%235b6965' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
  .phone > div { grid-template-columns: 116px minmax(0, 1fr); }
  .listing-tools { gap: 10px; padding-block: 14px; }
  .listing-tools .field input, .listing-tools .field select { height: 46px; }
  .listing-tools .field select { padding: 0 30px 0 12px; font-size: 14.5px; background-position: right 8px center; }
  .listing-tools .pills button { height: 38px; padding: 0 16px; }

  /* ---------- Communities: a swipeable rail of tall photo cards */
  .communities { padding-top: 48px; }
  .community-grid { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .community-grid::-webkit-scrollbar { display: none; }
  .community { position: relative; flex: 0 0 76%; display: grid; grid-template-rows: 1fr auto auto; aspect-ratio: 4 / 5; border: 0; border-radius: 18px; scroll-snap-align: start; box-shadow: 0 18px 36px -24px rgba(3, 33, 27, .6); isolation: isolate; }
  .community:hover { transform: none; }
  .community-media { position: relative; grid-area: 1 / 1 / 4 / 2; aspect-ratio: auto; height: 100%; }
  .community-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 33, 27, .92) 0%, rgba(3, 33, 27, .55) 32%, rgba(3, 33, 27, 0) 58%); pointer-events: none; }
  .community-text, .community-from { position: relative; z-index: 1; grid-column: 1; color: #fff; }
  .community-text { grid-row: 2; padding: 0 18px; }
  .community-text strong { font-size: 22px; font-weight: 580; letter-spacing: -0.02em; line-height: 1.15; }
  .community-text span { margin-top: 2px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
  .community-from { grid-row: 3; align-items: center; margin-top: 0; padding: 12px 18px 18px; color: #fff; font-size: 15px; }
  .community-from .i { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fff; color: var(--brand); }
  .rail-hint { display: flex !important; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
  .rail-hint::after { content: ''; width: 28px; height: 1.5px; background: currentColor; opacity: .5; }

  /* ---------- Market: a tidy two-by-two */
  .stat-row { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .stat-row > div { gap: 4px; padding: 18px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat-row > div:nth-child(2n) { border-right: 0; }
  .stat-row > div:nth-child(n+3) { border-bottom: 0; }
  .stat-row dd { font-size: 26px; }
  .stat-row dt { font-size: 13px; line-height: 1.45; }
  .stat-row a { padding-top: 6px; font-size: 12px; }

  /* ---------- Buying: a vertical timeline instead of four stacked boxes */
  .steps { gap: 0; padding: 22px 18px 4px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
  .steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; padding: 0 0 22px; border: 0; border-radius: 0; background: none; }
  .steps li::before { grid-row: 1 / span 2; width: 34px; height: 34px; margin: 0; background: var(--brand); color: #fff; font-size: 14px; position: relative; z-index: 1; }
  .steps li::after { content: ''; position: absolute; left: 16.25px; top: 38px; bottom: 4px; width: 1.5px; background: linear-gradient(var(--line), var(--line)); }
  .steps li:last-child::after { display: none; }
  .steps h3 { grid-column: 2; padding-top: 5px; font-size: 17px; }
  .steps p { grid-column: 2; font-size: 14.5px; }

  /* ---------- FAQ: soft cards with a round toggle */
  .faq { gap: 4px; }
  .faq-list { display: grid; gap: 10px; }
  .faq-list details, .faq-list details:first-child { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
  .faq-list details[open] { border-color: rgba(6, 52, 44, .25); box-shadow: 0 14px 30px -24px rgba(6, 52, 44, .5); }
  .faq-list summary { min-height: 60px; padding: 14px 16px; gap: 14px; font-size: 16px; line-height: 1.4; }
  .faq-list summary::after { width: 30px; height: 30px; border-radius: 50%; background-color: var(--brand-tint); background-size: 12px 1.6px, 1.6px 12px; color: var(--brand); }
  .faq-list details[open] summary::after { background-color: var(--brand); color: #fff; }
  .faq-list p { padding: 0 16px 18px; font-size: 15px; }

  /* ---------- Enquiry: a warm band with a floating card */
  .enquiry { gap: 28px; padding: 52px var(--gutter) 40px; background: radial-gradient(140% 60% at 100% 0%, #0d4a3d 0%, transparent 60%), var(--brand); }
  .enquiry h2 { font-size: 30px; }
  .enquiry-copy > p { margin: 12px 0 18px; font-size: 16px; }
  .form-card { padding: 22px 18px; border-radius: 20px; }
  .form-grid { gap: 14px; }
  .form-card .btn, .gate-form .btn-primary { height: 52px; border-radius: 12px; font-size: 16px; }

  /* ---------- Cards in lists */
  .card { border-radius: 18px; }
  .card-media { aspect-ratio: 16 / 10; }
  .card-body { padding: 16px 18px 18px; }
  .card h3 { font-size: 20px; }
  .card-price { font-size: 21px; }
  .card-go { min-height: 44px; }

  /* ---------- Project page */
  .pd-hero { min-height: 560px; height: 82svh; }
  .pd-hero:not(:has(.pd-hero-image)) { background: radial-gradient(120% 70% at 20% 10%, #2f6b5d 0%, transparent 60%), linear-gradient(160deg, #0d4a3d, #03211b); }
  .pd-hero-shade { background: linear-gradient(0deg, rgba(3, 33, 27, .95) 0%, rgba(3, 33, 27, .6) 34%, rgba(3, 33, 27, 0) 62%), linear-gradient(180deg, rgba(3, 33, 27, .5), transparent 22%); }
  .pd-hero-inner { bottom: calc(28px + env(safe-area-inset-bottom)); }
  .pd-hero-place { display: inline-flex; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 13.5px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .pd-hero h1 { margin-top: 14px; font-size: clamp(36px, 10.5vw, 46px); letter-spacing: -0.035em; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
  .pd-by { font-size: 16px; }
  .pd-subnav { padding: 0; }
  .pd-subnav-links { gap: 6px; padding: 8px var(--gutter); scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent 100%); }
  .pd-subnav-links a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; transition: background-color .2s, color .2s; }
  .pd-subnav-links a::after { display: none; }
  .pd-subnav-links a[aria-current] { background: var(--brand); color: #fff; }
  .pd-crumbs { padding-top: 18px; }
  .pd-facts { border-radius: 18px; }
  .pd-facts > div { padding: 16px; }
  .pd-copy .pd-lead { font-size: 18px; }
  .pd-amenity-grid { gap: 8px; }
  .pd-amenity-grid li { min-height: 52px; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.3; }
  .pd-amenity-icon { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--brand-tint); }
  .carousel { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); border-radius: 0; }
  .carousel-slide { flex-basis: 86%; border-radius: 16px; }
  .pd-doc { min-height: 64px; border-radius: 14px; }
  .pd-fp, .pd-layout, .pd-plan { border-radius: 16px; }
  .pd-units tbody tr:not([hidden]) { border-radius: 16px; padding: 16px; }
  .pd-map-stage { height: 380px; border-radius: 16px; }

  /* The bottom bar: price on the left, two clear actions, safe-area aware. */
  .pd-mobile-bar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); gap: 8px; padding: 8px 8px 8px 16px; border-radius: 20px; background: rgba(3, 33, 27, .97); border: 1px solid rgba(166, 209, 191, .18); }
  .pd-mobile-bar strong { font-size: 17px; letter-spacing: -0.01em; }
  .pd-mobile-bar .btn { height: 46px; border-radius: 14px; }
  .pd-mobile-bar .btn-outline-light { width: 46px; padding: 0; }
  .pd-mobile-bar .btn-outline-light span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pd-mobile-bar .btn-outline-light .i { width: 19px; height: 19px; }

  /* Assistant: a compact round button, lifted clear of the bottom bar. */
  .chat-launcher { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 52px; height: 52px; box-shadow: 0 14px 30px -12px rgba(3, 33, 27, .75), 0 0 0 4px rgba(255, 255, 255, .85); }
  body:has(.pd-mobile-bar) .chat-launcher { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .chat-launcher-icon { width: 40px; height: 40px; }

  /* ---------- Footer */
  .footer-main { gap: 32px; padding-top: 48px; }
  .footer-base { padding-right: 84px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 36px; }
  .community { flex-basis: 82%; }
  .stat-row dd { font-size: 23px; }
  .pd-mobile-bar { padding-left: 12px; }
  .pd-mobile-bar .btn-primary { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-launcher.is-tucked { transform: none; }
}

/* =============================================================================
   Opening experience (2026-10-30).
   < 1024px: a photo film hero, then the map in its own card ("Explore on the map").
   >= 1024px: the 3D map hero, with the copy on a clean gradient panel.
   ========================================================================== */
.hero-film, .explore, .hero-sub-short { display: none; }

@media (max-width: 1023px) {
  .hero { height: 100svh; min-height: 620px; max-height: 920px; background: #03211b; }
  .hero-stage, .hero-places, .hero-panel, .hero-sub { display: none !important; }
  .hero-sub-short { display: block; max-width: 34ch; margin: 14px 0 26px; font-size: 16.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); text-wrap: balance; animation: fade-up .9s .35s cubic-bezier(.2, .8, .2, 1) both; }

  /* Frames sit under the scrim (negative layers inside the isolated hero); caption and dots above it. */
  .hero-film { display: block; }
  .film-frame { position: absolute; inset: 0; z-index: -4; margin: 0; overflow: hidden; opacity: 0; transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1); will-change: opacity; }
  .film-frame.is-on { opacity: 1; z-index: -2; }
  .film-frame.is-leaving { opacity: 0; z-index: -3; }
  .film-frame picture { display: block; width: 100%; height: 100%; }
  .film-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transform-origin: 50% 50%; backface-visibility: hidden; }
  .is-playing .film-frame.is-on img, .is-playing .film-frame.is-leaving img { animation: kenburns 9s linear both; will-change: transform; }
  .film-frame:nth-child(2n) img { transform-origin: 30% 60%; }
  .film-frame:nth-child(3n) img { transform-origin: 70% 40%; }
  @keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate3d(0, -1.2%, 0); } }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 33, 27, .42) 0%, rgba(3, 33, 27, 0) 16%),
      linear-gradient(0deg, #03211b 0%, rgba(3, 33, 27, .9) 20%, rgba(3, 33, 27, .5) 42%, rgba(3, 33, 27, 0) 62%) !important;
  }
  .hero-inner { left: var(--gutter); right: var(--gutter); bottom: calc(76px + env(safe-area-inset-bottom)); max-width: 560px; }
  .hero-live { height: 30px; margin: 0 0 16px; padding: 0 12px 0 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); }
  .hero h1 { font-size: clamp(40px, 11.2vw, 60px); line-height: 1; letter-spacing: -0.035em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
  .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; max-width: 420px; }
  .hero-actions .btn-primary { width: 100%; height: 54px; border-radius: 14px; font-size: 16.5px; }
  /* The assistant is a quiet text link here, not a second button. */
  .hero-actions .btn-ghost-light { align-self: center; width: auto; height: 44px; padding: 0 12px; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: rgba(255, 255, 255, .86); font-size: 15px; font-weight: 500; }
  .hero-actions .btn-ghost-light:hover { background: none; color: #fff; text-decoration: underline; text-underline-offset: 4px; }

  .film-caption { position: absolute; right: var(--gutter); bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 2; display: flex; flex-direction: column; align-items: flex-end; max-width: 60%; color: #fff; text-align: right; line-height: 1.25; transition: opacity .45s; pointer-events: auto; }
  .film-caption.is-swap { opacity: 0; }
  .film-caption strong { font-size: 13px; font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .film-caption span { font-size: 12px; color: rgba(255, 255, 255, .7); }
  .film-dots { position: absolute; left: var(--gutter); bottom: calc(32px + env(safe-area-inset-bottom)); z-index: 2; display: flex; gap: 6px; }
  .film-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .4); transition: width .5s cubic-bezier(.2, .8, .2, 1), background-color .5s; }
  .film-dots i.is-on { width: 22px; background: #fff; }

  /* ---------- Explore on the map */
  .explore { display: block; width: 100%; max-width: 760px; margin: 0 auto; padding: 36px var(--gutter) 8px; }
  .explore-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
  .explore-head h2 { font-size: 26px; }
  .explore-head p { font-size: 14.5px; color: var(--muted); }
  .explore-head strong { color: var(--ink); font-weight: 600; }
  .explore-chips { display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 14px; padding: 2px var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 32px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 32px), transparent 100%); }
  .explore-chips::-webkit-scrollbar { display: none; }
  .explore-chips button { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 560; white-space: nowrap; scroll-snap-align: start; transition: background-color .2s, border-color .2s, color .2s; }
  .explore-chips button span { font-size: 12px; font-weight: 600; color: var(--brand-mid); }
  .explore-chips button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
  .explore-chips button[aria-pressed="true"] span { color: var(--mint); }

  .explore-card { position: relative; height: clamp(380px, 56vh, 520px); overflow: hidden; border-radius: 20px; background: radial-gradient(120% 80% at 30% 20%, #2f6b5d33, transparent), #e7ece8; box-shadow: 0 1px 2px rgba(6, 52, 44, .06), 0 24px 48px -30px rgba(6, 52, 44, .55); isolation: isolate; }
  .explore-map { position: absolute; inset: 0; filter: saturate(.72) brightness(1.02); opacity: 0; transition: opacity .8s; }
  .explore-card.is-ready .explore-map { opacity: 1; }
  .explore-card.is-failed .explore-map::after { content: 'The map could not load. Browse the projects instead.'; position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); font-size: 14px; }
  .explore-card.is-failed .explore-map { opacity: 1; filter: none; }
  .explore-card.is-failed .explore-cover { display: none; }
  /* Google's logo and terms stay visible, small, inside the card. */
  .explore-map .gm-style-cc, .explore-map a[href^="https://maps.google.com"] { transform: scale(.85); transform-origin: bottom right; }

  .explore-cover { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, rgba(3, 33, 27, 0) 40%, rgba(3, 33, 27, .18)); cursor: pointer; }
  .explore-cover span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--brand); font-size: 15px; font-weight: 600; box-shadow: 0 10px 28px -10px rgba(3, 33, 27, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .2s; }
  .explore-cover:active span { transform: scale(.97); }
  .explore-tools { position: absolute; top: 12px; right: 12px; z-index: 4; display: flex; gap: 8px; }
  .explore-tools button { display: grid; place-items: center; height: 40px; min-width: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--brand); font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px -8px rgba(3, 33, 27, .45); }
  .explore-tools [data-explore-full] { padding: 0; }
  /* Under the card, never over the map: Google's logo and terms (bottom row) must stay visible. */
  .explore-cta { display: flex; width: 100%; height: 52px; margin-top: 12px; border-radius: 14px; font-size: 16px; }
  .explore-peek { position: absolute; left: 12px; right: 12px; bottom: 36px; z-index: 5; animation: fade-up .35s cubic-bezier(.2, .8, .2, 1) both; }
  .ex-peek { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--surface); box-shadow: 0 16px 36px -16px rgba(3, 33, 27, .5); }
  .ex-peek img, .ex-peek-ph { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; object-fit: cover; background: linear-gradient(160deg, #0d4a3d, #03211b); }
  .ex-peek-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
  .ex-peek-text small { font-size: 12px; color: var(--brand-mid); }
  .ex-peek-text strong { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ex-peek-text em { font-style: normal; font-size: 13px; color: var(--muted); }
  .ex-peek-go { font-size: 26px; line-height: 1; color: var(--brand); }

  /* Map overlays: anchored at their point, so each centres itself on it. */
  .ex-dot { display: block; width: var(--s, 12px); height: var(--s, 12px); border: 2px solid #fff; border-radius: 50%; background: var(--c, var(--brand)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--brand)) 22%, transparent), 0 2px 6px rgba(3, 33, 27, .28); transform: translate(-50%, -50%); cursor: pointer; transition: transform .2s, opacity .2s; }
  .ex-dot::after { content: ""; position: absolute; inset: -12px; }
  .ex-dot.is-dim { opacity: .5; box-shadow: 0 1px 3px rgba(3, 33, 27, .2); }
  .ex-dot.is-active { transform: translate(-50%, -50%) scale(1.4); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 4px 10px rgba(3, 33, 27, .35); }
  .ex-label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 600 12.5px/1.2 var(--font); white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(3, 33, 27, .35), 0 0 0 1px rgba(3, 33, 27, .06); transform: translate(-50%, calc(-100% - 12px)); cursor: pointer; transition: opacity .2s; }
  .ex-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
  .ex-label b { font-weight: 600; color: var(--muted); font-size: 11.5px; }
  .ex-label.is-hidden { opacity: 0; pointer-events: none; }
  .ex-label.is-place { padding: 7px 13px 7px 10px; background: var(--brand); color: #fff; font-size: 13.5px; pointer-events: none; transform: translate(-50%, -50%); box-shadow: 0 10px 24px -8px rgba(3, 33, 27, .55); }
  .ex-label.is-place b { color: var(--mint); font-size: 12.5px; }
  .ex-label.is-place i { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
  .ex-label.is-pin { pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); }

  .explore-chips .chip-dot { width: 9px; height: 9px; margin-right: -2px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 22%, transparent); flex-shrink: 0; }
  .explore-chips button[aria-pressed="true"] .chip-dot { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
  .explore-map { background: #f4ecdc; }

  .explore-card.is-full { position: fixed; inset: 0; z-index: 60; height: 100dvh; border-radius: 0; }
  .explore-card.is-full .explore-tools { top: calc(12px + env(safe-area-inset-top)); }
  .explore-card.is-full .explore-peek { bottom: calc(36px + env(safe-area-inset-bottom)); }
  .explore-full, .explore-full body { overflow: hidden; }
  .explore-full .chat-launcher { display: none; }

  .explore + .search-bar { margin-top: 24px; }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .film-frame img { animation: none !important; transform: none; }
}

/* ---------- Wide screens: the map hero, with the copy on clean colour */
@media (min-width: 1024px) {
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 33, 27, .94) 0%, rgba(3, 33, 27, .86) 26%, rgba(3, 33, 27, .5) 42%, rgba(3, 33, 27, .12) 56%, rgba(3, 33, 27, 0) 64%),
      radial-gradient(130% 120% at 70% 40%, transparent 55%, rgba(3, 33, 27, .45) 100%),
      linear-gradient(0deg, rgba(3, 33, 27, .6) 0%, transparent 24%);
  }
  .hero-inner { max-width: 600px; }
  .hero-sub { max-width: 40ch; }
  .poster-pin { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-width: 1.75px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
  .poster-pin b { padding: 4px 10px; font-size: 12px; bottom: calc(100% + 8px); background: rgba(6, 52, 44, .88); border-color: rgba(255, 255, 255, .6); }
  .hero-stage { animation: hero-settle 2.4s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes hero-settle { from { transform: scale(1.05); opacity: .6; } }
  .hero-tabs { background: rgba(3, 33, 27, .62); }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .hero-stage { animation: none; } }

/* ---------- v3 phone hero (2026-10-30): the photo in a near-natural frame on top, copy on deep green below.
   A tall portrait crop of a wide render showed a slice of facade; this frame keeps whole scenes readable. */
@media (max-width: 1023px) {
  .hero { --photo: min(58svh, 108vw); height: auto; min-height: 0; max-height: none; display: block; background: #03211b; }
  .hero-film { position: absolute; left: 0; right: 0; top: 0; height: var(--photo); z-index: -1; overflow: hidden; }
  .film-frame { z-index: 0; }
  .film-frame.is-on { z-index: 2; }
  .film-frame.is-leaving { z-index: 1; }
  .film-frame img { transform: none; }
  .is-playing .film-frame.is-on img, .is-playing .film-frame.is-leaving img { animation: drift 9s ease-out both; }
  .film-frame:nth-child(2n) img { animation-name: drift-b; }
  @keyframes drift { from { transform: scale(1.0) translate3d(0, 0, 0); } to { transform: scale(1.04) translate3d(-1%, -.6%, 0); } }
  @keyframes drift-b { from { transform: scale(1.0) translate3d(0, 0, 0); } to { transform: scale(1.04) translate3d(1%, -.6%, 0); } }
  /* The photo melts into the panel; a light top shade keeps the header legible. No hard line. */
  .hero-film::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 33, 27, .45) 0%, rgba(3, 33, 27, 0) 18%, rgba(3, 33, 27, 0) 58%, rgba(3, 33, 27, .55) 80%, #03211b 100%); }
  .hero-shade { display: none; }
  .hero-inner { position: relative; left: auto; right: auto; bottom: auto; z-index: 1; max-width: 560px; margin-top: calc(var(--photo) - 64px); padding: 0 var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
  .hero-live { margin-bottom: 14px; background: rgba(255, 255, 255, .1); }
  .hero h1 { font-size: clamp(36px, 10vw, 54px); text-shadow: none; }
  .hero-sub-short { margin: 12px 0 22px; }
  .film-caption { top: calc(var(--photo) - 90px); bottom: auto; z-index: 4; }
  .film-dots { left: var(--gutter); right: auto; top: calc(var(--photo) - 78px); bottom: auto; z-index: 4; }
  .film-dots i { background: rgba(255, 255, 255, .55); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .film-frame img { animation: none !important; }
}

/* Desktop hero: community colours on the poster pins and chips. */
.poster-pin { background: var(--c, var(--brand)); }
.hero-tabs .chip-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--c); vertical-align: 1px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }

/* ---------- v4 (2026-10-31): concise hero — pill, headline, one button; the photo gets more height on phones.
   The owner asked for far less text: the sub-paragraph and "Prices updated" time are dropped everywhere. */
.hero-live-sep, .hero-live-time, .hero .hero-sub, .hero .hero-sub-short { display: none !important; }
.hero h1 { margin-bottom: 26px; }
@media (max-width: 1023px) {
  .hero { --photo: min(70svh, 128vw); }
  .hero-inner { margin-top: calc(var(--photo) - 54px); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .hero h1 { margin-bottom: 20px; }
  .hero-actions .btn-ghost-light { display: none; }      /* the floating assistant is one tap away */
}
