/* ==========================================================
   Reign Real Estate — luxury glass theme
   Palette: onyx base + champagne gold. Fonts: Cormorant Garamond / Manrope
   ========================================================== */
:root {
  /* Colours + fonts come from Admin → Settings → Theme, Colours & Fonts (inc/theme.php prints the variables in <head>).
     The values below are only fallbacks = the original Reign champagne look. */
  --bg: #0b0a09;
  --bg-rgb: 11, 10, 9;
  --bg2-rgb: 18, 16, 13;
  --bg-3: #1a1612;
  --gold: #d2b07a;
  --gold-2: #f0d9a8;
  --gold-deep: #a9834b;
  --gold-rgb: 210, 176, 122;
  --gold2-rgb: 240, 217, 168;
  --golddeep-rgb: 169, 131, 75;
  --on-gold: #1b140b;
  --ink: #f4efe6;
  --ink-2: rgba(244, 239, 230, .78);
  --ink-3: rgba(244, 239, 230, .58);
  --line: rgba(var(--gold2-rgb), .16);
  --glass: rgba(255, 250, 240, .055);
  --glass-strong: rgba(var(--bg2-rgb), .62);
  --radius: 16px;
  --serif: 'Plus Jakarta Sans', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { background: var(--bg); scroll-behavior: smooth; }
body {
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* static ambient light — no animation (glass flicker rule) */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 85% 8%, rgba(var(--gold-rgb), .16), transparent 60%),
    radial-gradient(50vw 45vw at 5% 45%, rgba(var(--golddeep-rgb), .13), transparent 60%),
    radial-gradient(60vw 50vw at 70% 95%, rgba(var(--gold-rgb), .09), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-3) 50%, var(--bg));
}

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(145deg, rgba(255, 250, 240, .08), rgba(255, 250, 240, .025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 50px -25px rgba(0, 0, 0, .7);
}
.glass-strong {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 70px -30px rgba(0, 0, 0, .85);
}

/* ---------- Type ---------- */
.display, .title { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.02; }
.display em, .title em { font-style: italic; color: var(--gold-2); font-weight: 400; }
.display { font-size: clamp(3rem, 8vw, 6.6rem); margin: .2em 0 .25em; }
.title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin: 0; }
.title.sm { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.eyebrow .line { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.muted { color: var(--ink-3); }
.lead-text { color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 620px; font-weight: 400; line-height: 1.7; }

svg.dh { display: inline-block; width: .8em; height: .8em; vertical-align: -.04em; margin-right: .16em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--sans); font-weight: 600; font-size: .86rem; letter-spacing: .04em; border-radius: 999px; padding: .78rem 1.5rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); color: var(--on-gold); border: 0; box-shadow: 0 10px 30px -12px rgba(var(--gold-rgb), .6); }
.btn-gold:hover, .btn-gold:focus-visible { color: var(--on-gold); box-shadow: 0 14px 34px -10px rgba(var(--gold-rgb), .85); filter: brightness(1.06); }
.btn-gold:active { color: var(--on-gold) !important; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255, 250, 240, .04); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(var(--gold-rgb), .08); }
.btn-sm { padding: .55rem 1.1rem; font-size: .8rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 250, 240, .04); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; padding: 0; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.navbar-toggler.icon-btn:focus { box-shadow: none; }
.link-gold { color: var(--gold); font-weight: 600; font-size: .88rem; }
.link-gold:hover { color: var(--gold-2); }

/* ---------- Header (fixed size; no scroll resize) ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 1030; padding: 0 16px; }
.nav-bar { max-width: 1320px; margin: 0 auto; padding: .55rem .7rem .55rem 1.3rem; border-radius: 999px; background: rgba(var(--bg2-rgb), .55); }
.navbar-brand img { height: 40px; width: auto; display: block; }
.navbar-nav .nav-link { color: var(--ink-2); font-size: .88rem; font-weight: 500; padding: .5rem 1rem !important; letter-spacing: .02em; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active, .navbar-nav .nav-link.show { color: var(--gold-2); }
.dropdown-toggle::after { border: 0; content: "\F282"; font-family: bootstrap-icons; font-size: .65rem; vertical-align: .05em; margin-left: .35rem; }
/* nested inside the blurred nav, backdrop-filter can't reach the page — so use a near-solid dark glass */
.dropdown-menu { --bs-dropdown-bg: transparent; background: linear-gradient(160deg, rgba(var(--bg2-rgb), .97), rgba(var(--bg2-rgb), .97)) !important; border: 1px solid var(--line); padding: .6rem; margin-top: .7rem !important; }
.dropdown-menu .dropdown-item { color: var(--ink-2); border-radius: 10px; font-size: .86rem; padding: .5rem .8rem; }
.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus { background: rgba(var(--gold-rgb), .1); color: var(--gold-2); }
.dropdown-menu .dropdown-item.all { color: var(--gold); font-weight: 600; }

@media (max-width: 1199.98px) {
  .nav-bar { border-radius: 26px; }
  .nav-bar:has(.navbar-collapse.show, .navbar-collapse.collapsing) { background: rgba(var(--bg2-rgb), .94); }
  .navbar-collapse { order: 4; width: 100%; }
  .navbar-collapse .navbar-nav { padding: .8rem 0 .4rem; }
}
@media (max-width: 575.98px) {
  .navbar-brand img { height: 34px; }
}

/* ---------- Navbar dropdowns (Properties mega menu + Communities) ---------- */
.dropdown-menu { opacity: 0; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease; display: block; visibility: hidden; pointer-events: none; }
.dropdown-menu.show { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.dropdown-menu.mega { left: 50% !important; transform: translate(-50%, 8px); width: min(1120px, calc(100vw - 32px)); padding: 0 1.2rem 1.1rem; border-radius: 20px; max-height: calc(100vh - 110px); overflow-y: auto; }
.dropdown-menu.mega.show { transform: translate(-50%, 0); }
.mega-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 -1.2rem .9rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); background: rgba(255, 250, 240, .025); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.mega-col { min-width: 0; }
.mega-head { display: flex; align-items: center; gap: .5rem; padding: 0 .5rem .5rem; margin-bottom: .3rem; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.mega-head i { font-size: .8rem; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--gold-rgb), .12); color: var(--gold); }
.mega-item { display: flex; align-items: center; gap: .65rem; padding: .4rem .5rem; border-radius: 10px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.mega-item:hover, .mega-item:focus-visible { background: rgba(var(--gold-rgb), .09); color: var(--ink); }
.mega-thumb { flex: none; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; position: relative; background: var(--bg-3); border: 1px solid var(--line); }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-txt { min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.mega-txt b { font-weight: 600; font-size: .82rem; line-height: 1.3; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-txt small { font-size: .72rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-txt small .dh { color: var(--gold-2); }
.mega-types { display: flex; flex-wrap: wrap; gap: .4rem; }
.mega-types a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 8px; border: 1px solid var(--line); font-size: .78rem; color: var(--ink-2); transition: border-color .2s, color .2s; }
.mega-types a i { color: var(--gold); }
.mega-types a:hover { border-color: var(--gold); color: var(--ink); }

.dropdown-menu.comm-menu { width: 600px; padding: 0 1rem 1rem; border-radius: 20px; left: 50% !important; transform: translate(-50%, 8px); max-height: calc(100vh - 110px); overflow-y: auto; }
.dropdown-menu.comm-menu.show { transform: translate(-50%, 0); }
.cm-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: 0 -1rem .7rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255, 250, 240, .025); }
.cm-head > span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cm-pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.cm-pills a { padding: .3rem .7rem; border-radius: 8px; font-size: .76rem; font-weight: 600; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.cm-pills a:hover { border-color: var(--gold); color: var(--gold-2); }
.cm-pills a.cm-all { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.cm-pills a.cm-all:hover { background: var(--gold-2); color: var(--on-gold); }
.cm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .2rem; }
.cm-item { display: flex; align-items: center; gap: .6rem; padding: .4rem .45rem; border-radius: 10px; color: var(--ink-2); transition: background-color .2s, color .2s; min-width: 0; }
.cm-item:hover, .cm-item:focus-visible { background: rgba(var(--gold-rgb), .09); color: var(--ink); }
.cm-thumb { flex: none; width: 36px; height: 36px; border-radius: 8px; overflow: hidden; position: relative; background: var(--bg-3); border: 1px solid var(--line); }
.cm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cm-txt { min-width: 0; display: flex; flex-direction: column; }
.cm-txt b { font-weight: 600; font-size: .82rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.cm-txt small { font-size: .7rem; color: var(--ink-3); }

@media (max-width: 1399.98px) { .mega-grid { gap: .5rem; } }
/* phones & tablets: the whole open menu scrolls (no scroll box inside a scroll box), short lists, "View all" first */
@media (max-width: 1199.98px) {
  .navbar-collapse.show, .navbar-collapse.collapsing { max-height: calc(100svh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  .dropdown-menu, .dropdown-menu.mega, .dropdown-menu.comm-menu { position: static !important; transform: none !important; width: auto; opacity: 1; visibility: visible; display: none; pointer-events: auto; transition: none;
    background: rgba(255, 250, 240, .03) !important; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; max-height: none; overflow: visible; margin: .2rem 0 .5rem !important; padding: 0 .7rem .7rem; border-radius: 14px; }
  .dropdown-menu.show { display: block; }
  .mega-top, .cm-head { margin: 0 -.7rem .6rem; padding: .7rem; border-radius: 14px 14px 0 0; }
  .mega-all { width: 100%; order: -1; }
  .mega-types { width: 100%; }
  .mega-types a { flex: 1 1 calc(50% - .4rem); justify-content: center; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: .6rem .8rem; }
  .mega-item:nth-of-type(n+3) { display: none; }   /* 2 per group on small screens */
  .mega-thumb { display: none; }
  .mega-item { padding: .35rem .4rem; }
  .cm-head { flex-wrap: wrap; }
  .cm-pills { width: 100%; }
  .cm-pills a { flex: 1; text-align: center; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .cm-item:nth-child(n+7) { display: none; }       /* 6 communities on small screens */
  .cm-thumb { width: 30px; height: 30px; }
}
@media (max-width: 575.98px) {
  .mega-grid { gap: .5rem .6rem; }
  .mega-head { font-size: .64rem; letter-spacing: .1em; padding: 0 .2rem .4rem; }
  .mega-head i { display: none; }
  .mega-item { padding: .3rem .2rem; }
  .mega-txt small { display: none; }
  .mega-txt b { font-size: .8rem; font-weight: 500; }
  .mega-types a { padding: .3rem .4rem; font-size: .74rem; }
}

/* ---------- Image skeleton while a photo loads (driven by the small script in <head>, so it works from the first paint).
   The light band moves with transform only (GPU), and the photo simply paints over the box — cached photos never blink. ---------- */
.js .prop-media:not(.img-ready), .js .comm:not(.img-ready), .js .ccard:not(.img-ready), .js .post-media:not(.img-ready), .js .feat-media:not(.img-ready), .js .g-item:not(.img-ready), .js .cd-photo:not(.img-ready), .js .loc-map:not(.img-ready), .js .dcard-logo:not(.img-ready), .js .logo-tile:not(.img-ready), .js .founder-photo:not(.img-ready), .js .callback-media:not(.img-ready), .js .art-figure:not(.img-ready), .js .mega-thumb:not(.img-ready), .js .cm-thumb:not(.img-ready), .js .dv-logo:not(.img-ready) { position: relative; overflow: hidden; background-color: var(--bg-3); }
.js .prop-media:not(.img-ready)::after, .js .comm:not(.img-ready)::after, .js .ccard:not(.img-ready)::after, .js .post-media:not(.img-ready)::after, .js .feat-media:not(.img-ready)::after, .js .g-item:not(.img-ready)::after, .js .cd-photo:not(.img-ready)::after, .js .loc-map:not(.img-ready)::after, .js .dcard-logo:not(.img-ready)::after, .js .logo-tile:not(.img-ready)::after, .js .founder-photo:not(.img-ready)::after, .js .callback-media:not(.img-ready)::after, .js .art-figure:not(.img-ready)::after, .js .mega-thumb:not(.img-ready)::after, .js .cm-thumb:not(.img-ready)::after, .js .dv-logo:not(.img-ready)::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 25%, rgba(var(--gold2-rgb), .13) 50%, transparent 75%);
  transform: translateX(-100%);
}
@media (prefers-reduced-motion: no-preference) {
  .js .prop-media:not(.img-ready)::after, .js .comm:not(.img-ready)::after, .js .ccard:not(.img-ready)::after, .js .post-media:not(.img-ready)::after, .js .feat-media:not(.img-ready)::after, .js .g-item:not(.img-ready)::after, .js .cd-photo:not(.img-ready)::after, .js .loc-map:not(.img-ready)::after, .js .dcard-logo:not(.img-ready)::after, .js .logo-tile:not(.img-ready)::after, .js .founder-photo:not(.img-ready)::after, .js .callback-media:not(.img-ready)::after, .js .art-figure:not(.img-ready)::after, .js .mega-thumb:not(.img-ready)::after, .js .cm-thumb:not(.img-ready)::after, .js .dv-logo:not(.img-ready)::after { animation: skMove 1.3s ease-in-out infinite; }
}
@keyframes skMove { to { transform: translateX(100%); } }
.js .dcard-logo:not(.img-ready), .js .logo-tile:not(.img-ready), .js .dv-logo:not(.img-ready) { background-color: #efe8dc; }
.js .dcard-logo:not(.img-ready)::after, .js .logo-tile:not(.img-ready)::after, .js .dv-logo:not(.img-ready)::after { background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .7) 50%, transparent 75%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 40px; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0%, rgba(var(--bg-rgb), .35) 35%, rgba(var(--bg-rgb), .8) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(var(--bg-rgb), .75), rgba(var(--bg-rgb), .15) 70%);
}
.hero-inner { position: relative; }

/* search */
.search { display: flex; align-items: center; gap: .5rem; padding: .55rem; border-radius: 999px; max-width: 900px; margin-top: 2rem; position: relative; z-index: 5; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 250, 240, .06); border: 1px solid var(--line); flex: none; }
.seg label { padding: .55rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.seg .btn-check:checked + label { background: var(--ink); color: var(--on-gold); }
.seg .btn-check:focus-visible + label { outline: 2px solid var(--gold-2); }
.search-field { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
.search-field > i { position: absolute; left: 1rem; color: var(--gold); pointer-events: none; }
.search-field input { width: 100%; background: transparent; border: 0; color: var(--ink); padding: .8rem 1rem .8rem 2.6rem; font-size: .95rem; outline: none; }
.search-field input::placeholder { color: var(--ink-3); }
.search-type { background: transparent; color: var(--ink-2); border: 0; border-left: 1px solid var(--line); padding: .6rem 1rem; font-size: .88rem; outline: none; cursor: pointer; }
.search-type option { background: var(--bg-3); color: var(--ink); }
.search-btn { padding: .85rem 1.6rem; }

.suggest { position: absolute; top: calc(100% + 16px); left: -8px; right: -8px; padding: .5rem; border-radius: 18px; max-height: 360px; overflow: auto; z-index: 20; background: rgba(var(--bg2-rgb), .92); }
.suggest .grp { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: .6rem .8rem .3rem; font-weight: 600; }
.suggest .opt { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; background: none; border: 0; color: var(--ink-2); padding: .55rem .8rem; border-radius: 10px; font-size: .9rem; cursor: pointer; }
.suggest .opt i { color: var(--ink-3); }
.suggest .opt mark { background: none; color: var(--gold-2); padding: 0; font-weight: 600; }
.suggest .opt:hover, .suggest .opt.active { background: rgba(var(--gold-rgb), .12); color: var(--ink); }
.suggest .empty { padding: .8rem; color: var(--ink-3); font-size: .88rem; }
.suggest .clear { float: right; background: none; border: 0; color: var(--ink-3); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.suggest .clear:hover { color: var(--gold-2); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(var(--bg2-rgb), .35); color: var(--ink-2); font-size: .84rem; font-weight: 500; transition: border-color .2s, color .2s, background-color .2s; }
.chip i { color: var(--gold); }
.chip:hover { border-color: var(--gold); color: var(--ink); background: rgba(var(--gold-rgb), .1); }

.hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4.5rem; padding: 0; overflow: hidden; }
.hero-strip > div { padding: 1.3rem 1.5rem; border-left: 1px solid var(--line); }
.hero-strip > div:first-child { border-left: 0; }
.hero-strip .k { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2); font-style: italic; line-height: 1.1; }
.hero-strip .v { font-size: .82rem; color: var(--ink-3); }
.hero-strip a { color: var(--ink-2); }
.hero-strip a:hover { color: var(--gold-2); }

@media (max-width: 991.98px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip > div:nth-child(3) { border-left: 0; }
  .hero-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 767.98px) {
  .search { flex-wrap: wrap; border-radius: 24px; padding: .7rem; }
  .seg { width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .search-field { flex: 1 1 100%; background: rgba(255, 250, 240, .05); border-radius: 14px; border: 1px solid var(--line); }
  .search-type { flex: 1; border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1rem; background: rgba(255, 250, 240, .05); }
  .search-btn { flex: 1; }
  .suggest { left: 0; right: 0; top: calc(100% + 8px); }
}
@media (max-width: 575.98px) {
  .hero { padding-top: 120px; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip > div { border-left: 0 !important; }
  .hero-strip > div + div { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
@media (max-width: 767.98px) { .section { padding: 72px 0; } }

/* property cards */
.prop { overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.prop:hover { border-color: rgba(var(--gold2-rgb), .38); transform: translateY(-4px); }
.prop-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; margin: 10px 10px 0; border-radius: 16px; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.prop:hover .prop-media img { transform: scale(1.05); }
.tag { position: absolute; top: 12px; left: 12px; padding: .32rem .75rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(var(--gold2-rgb), .92); color: var(--on-gold); }
.tag-type { left: auto; right: 12px; background: rgba(var(--bg-rgb), .6); color: var(--ink); border: 1px solid rgba(255, 255, 255, .18); }
.prop-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prop h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.15; margin-bottom: 1rem; }
.prop h3 a:hover { color: var(--gold-2); }
.meta { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .45rem; font-size: .86rem; color: var(--ink-2); }
.meta i { color: var(--gold); margin-right: .5rem; }
.prop-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.price small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.price span { font-family: var(--serif); font-size: 1.85rem; color: var(--gold-2); font-weight: 500; line-height: 1.1; }
.price .on-request { font-style: italic; font-size: 1.5rem; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: background-color .25s, color .25s, border-color .25s; }
.prop:hover .arrow, .arrow:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

/* communities bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.comm { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: block; isolation: isolate; }
.comm.big { grid-column: span 2; grid-row: span 2; }
.comm.wide { grid-column: span 3; }
.comm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.comm::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(var(--bg-rgb), .7)); z-index: -1; }
.comm:hover img { transform: scale(1.06); }
.comm-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: .9rem 1.1rem; border-radius: 16px; background: rgba(var(--bg2-rgb), .45); }
.comm-cap h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0; font-weight: 500; }
.comm.big .comm-cap h3 { font-size: 2rem; }
.comm-cap p { margin: .2rem 0 0; font-size: .8rem; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 991.98px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .comm.big { grid-row: span 1; }
  .comm.wide { grid-column: span 1; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .comm.big, .comm.wide { grid-column: span 1; }
}

/* partners */
.partners { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: center; padding: 2.2rem; }
.partners-head .link-gold { display: inline-block; margin-top: .8rem; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logo-tile { aspect-ratio: 3 / 2; border-radius: 16px; background: rgba(250, 246, 238, .9); display: flex; align-items: center; justify-content: center; padding: 1rem; transition: transform .3s, box-shadow .3s; }
.logo-tile img { max-height: 58px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .3s, opacity .3s; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(var(--gold-rgb), .5); }
.logo-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 991.98px) { .partners { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .logos { grid-template-columns: repeat(2, 1fr); } .logo-tile:last-child { grid-column: span 2; aspect-ratio: auto; height: 100px; } .partners { padding: 1.5rem; } }

/* why + enquiry */
.why, .enquiry { padding: 2.4rem; }
.why-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.4rem; }
.why-list li { display: flex; gap: 1.2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.why-list .n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); line-height: 1; min-width: 36px; }
.why-list h3 { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.why-list p { margin: 0; color: var(--ink-3); font-size: .9rem; }
.contact-line { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.contact-line a { color: var(--gold-2); font-weight: 500; font-size: .92rem; word-break: break-all; }
.contact-line i { color: var(--gold); margin-right: .35rem; }
.enquiry .muted { margin: .6rem 0 1.6rem; }
@media (max-width: 575.98px) { .why, .enquiry { padding: 1.6rem; } }

/* forms */
.form-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.form-control, .form-select { background-color: rgba(255, 250, 240, .05); border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: .8rem 1rem; font-size: .95rem; }
.form-control:focus, .form-select:focus { background-color: rgba(255, 250, 240, .08); border-color: var(--gold); color: var(--ink); box-shadow: 0 0 0 .2rem rgba(var(--gold-rgb), .18); }
.form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d2b07a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-select option { background: var(--bg-3); color: var(--ink); }
.form-control::placeholder { color: var(--ink-3); opacity: 1; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #e38b7a; }
.invalid-feedback { color: #f0a493; font-size: .8rem; }
.iti { width: 100%; display: block; }
.iti:has(.is-invalid) ~ .invalid-feedback { display: block; }
.form-msg { margin: 1rem 0 0; font-size: .9rem; color: var(--gold-2); min-height: 1.2em; }
.form-msg.err { color: #f0a493; }

/* intl-tel-input on dark glass */
.iti { --iti-border-color: var(--line); --iti-dialcode-color: var(--ink-2); --iti-dropdown-bg: var(--bg-3); --iti-arrow-color: var(--gold); --iti-hover-color: rgba(var(--gold-rgb), .14); }
.iti__country-container .iti__selected-country { border-radius: 12px 0 0 12px; }
.iti__selected-country-primary:hover, .iti__selected-country:hover { background: rgba(255, 250, 240, .06) !important; }
.iti__dropdown-content { background: var(--bg-3); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; }
.iti__search-input { background: rgba(255, 250, 240, .06); color: var(--ink); border: 0; border-bottom: 1px solid var(--line); padding: .6rem .8rem; }
.iti__country.iti__highlight { background: rgba(var(--gold-rgb), .14); }
.iti__dial-code { color: var(--ink-3); }

/* blog */
.post { display: flex; flex-direction: column; height: 100%; overflow: hidden; transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.post:hover { border-color: rgba(var(--gold2-rgb), .38); transform: translateY(-4px); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; margin: 8px 8px 0; border-radius: 15px; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.post:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 1.2rem 1.3rem 1.4rem; }
.post time { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.post h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; margin: .5rem 0; }
.post p { font-size: .85rem; color: var(--ink-3); margin: 0; }

/* footer */
.footer { padding: 0 0 30px; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 2.4rem; margin-bottom: 70px; background: linear-gradient(120deg, rgba(var(--gold-rgb), .16), rgba(255, 250, 240, .03)); }
.footer-cols h3 { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--gold-2); font-weight: 500; margin-bottom: 1rem; }
.footer-cols a { display: block; color: var(--ink-3); font-size: .88rem; padding: .25rem 0; transition: color .2s; }
.footer-cols a:hover { color: var(--gold-2); }
.footer-cols a.all { color: var(--gold); font-weight: 600; margin-top: .3rem; }
.footer-cols img { height: 42px; width: auto; }
.f-contact i { color: var(--gold); margin-right: .45rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .8rem; color: var(--ink-3); }
.footer-bottom a:hover { color: var(--gold-2); }
@media (max-width: 575.98px) { .footer-cta { padding: 1.6rem; } .footer-cta .btn { flex: 1; } .footer-cta > div { width: 100%; } }

/* floating contact dock — Apple-style liquid glass capsule holding WhatsApp + call */
.fab-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 1020;
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px;
  border-radius: 999px; isolation: isolate;
  background:
    radial-gradient(120% 60% at 30% 0%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .08));
  backdrop-filter: blur(20px) saturate(190%) brightness(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(190%) brightness(1.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .55),     /* top specular edge */
    inset 0 -1px 1px rgba(255, 255, 255, .18),    /* bottom rim light */
    inset 1px 0 1px rgba(255, 255, 255, .12),
    inset -1px 0 1px rgba(255, 255, 255, .12),
    inset 0 0 18px rgba(255, 255, 255, .06),       /* thickness */
    0 18px 40px -14px rgba(0, 0, 0, .75),
    0 2px 6px rgba(0, 0, 0, .25);
}
/* thin gradient rim, brighter at top-left like light hitting curved glass */
.fab-dock::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .05) 60%, rgba(255, 255, 255, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.fab-sep { width: 26px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); }

.fab {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  transition: background-color .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.fab:hover, .fab:focus-visible { background-color: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35); transform: scale(1.06); }
.fab:active { transform: scale(.94); }
.fab i { position: relative; z-index: 1; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.fab-call, .fab-call:hover { color: var(--gold-2); }
.fab-wa, .fab-wa:hover { color: #43e383; }

/* WhatsApp: soft breathing glow inside the capsule (sits above the glass, so no re-blur flicker) */
.fab-glow {
  position: absolute; inset: 6px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(52, 220, 115, .45) 0%, rgba(52, 220, 115, .12) 55%, rgba(52, 220, 115, 0) 72%);
  opacity: .35;
}

/* hover label (desktop) */
.fab-label {
  position: absolute; right: calc(100% + 16px); top: 50%; transform: translate(8px, -50%); opacity: 0; pointer-events: none;
  white-space: nowrap; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--ink);
  padding: .45rem .9rem; border-radius: 999px; background: rgba(var(--bg2-rgb), .92); border: 1px solid var(--line);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: translate(0, -50%); }

@media (prefers-reduced-motion: no-preference) {
  .fab-glow { animation: waBreathe 4.8s cubic-bezier(.45, 0, .55, 1) infinite; will-change: transform, opacity; }
  .fab-wa i { animation: waFloat 4.8s cubic-bezier(.45, 0, .55, 1) infinite; will-change: transform; }
  .fab-wa:hover .fab-glow, .fab-wa:hover i { animation-play-state: paused; }
}
@keyframes waBreathe {
  0%, 100% { transform: scale(.85); opacity: .25; }
  50% { transform: scale(1.25); opacity: .9; }
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-1.5px) rotate(-6deg) scale(1.04); }
  50% { transform: translateY(0) rotate(0deg) scale(1.06); }
  75% { transform: translateY(-1px) rotate(5deg) scale(1.03); }
}
@media (max-width: 575.98px) {
  .fab-dock { right: 14px; bottom: 14px; padding: 5px; }
  .fab { width: 48px; height: 48px; font-size: 1.28rem; }
  .fab-label { display: none; }
}

/* ==========================================================
   Properties listing page
   ========================================================== */
.page-hero { position: relative; isolation: isolate; padding: 170px 0 150px; }
.page-hero .hero-media::after {
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb), .6) 0%, rgba(var(--bg-rgb), .45) 40%, rgba(var(--bg-rgb), .85) 85%, var(--bg) 100%),
    linear-gradient(90deg, rgba(var(--bg-rgb), .7), rgba(var(--bg-rgb), .1) 75%);
}
.page-title { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 900px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--gold-2); }

/* the hero photo fades out into the page background (no hard edge behind the filter bar) */
.page-hero .hero-media { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }

/* filter bar overlaps the hero */
.filters-wrap { position: relative; z-index: 10; margin-top: -90px; }
.filters { display: grid; grid-template-columns: 2.2fr repeat(4, 1fr); gap: 14px; padding: 1.1rem 1.2rem 1.2rem; border-radius: 26px; }
.f-field label { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin: 0 0 .4rem .3rem; }
.f-field .form-select { border-radius: 14px; padding-top: .78rem; padding-bottom: .78rem; font-size: .9rem; }
.f-search .search-field { background-color: rgba(255, 250, 240, .05); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.f-search .search-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(var(--gold-rgb), .18); }
.f-search .search-field input { padding: .78rem 1rem .78rem 2.6rem; font-size: .9rem; }
.f-search .suggest { top: calc(100% + 10px); left: 0; right: 0; }
@media (max-width: 1199.98px) { .filters { grid-template-columns: repeat(4, 1fr); } .f-search { grid-column: 1 / -1; } }
@media (max-width: 767.98px) { .filters { grid-template-columns: repeat(2, 1fr); padding: 1rem; } .filters-wrap { margin-top: -70px; } .page-hero { padding: 140px 0 120px; } }

.results { padding-top: 64px; }
@media (max-width: 575.98px) { .results { padding-top: 40px; } .results .view-toggle { display: none; } }

/* phones & tablets: cards/panels without live blur — many blurred layers make mobile browsers flicker while scrolling */
@media (max-width: 991.98px) {
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(145deg, rgba(255, 250, 240, .085), rgba(255, 250, 240, .03)), rgba(var(--bg2-rgb), .6); }
}
.results-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.results-bar strong { color: var(--gold-2); font-weight: 600; }
.view-toggle { display: inline-flex; padding: 4px; border-radius: 999px; gap: 2px; }
.view-toggle button { width: 42px; height: 38px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); font-size: 1.05rem; transition: background-color .2s, color .2s; }
.view-toggle button.active { background: var(--ink); color: var(--on-gold); }
.view-toggle button:not(.active):hover { color: var(--gold-2); }

.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; min-height: 8px; margin-bottom: 1.6rem; }
.fchip { display: inline-flex; align-items: center; gap: .3rem; padding: .38rem .55rem .38rem .85rem; border-radius: 999px; border: 1px solid rgba(var(--gold-rgb), .4); background: rgba(var(--gold-rgb), .1); color: var(--gold-2); font-size: .8rem; font-weight: 500; }
.fchip:hover { background: rgba(var(--gold-rgb), .2); }
.fchip.clear-all { background: transparent; border-color: var(--line); color: var(--ink-3); padding-right: .85rem; }
.fchip.clear-all:hover { color: var(--ink); }

.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-item[hidden] { display: none; }
.tag-ready { background: rgba(140, 220, 170, .92); }
@media (max-width: 991.98px) { .prop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .prop-grid { grid-template-columns: 1fr; gap: 18px; } }

/* list view */
.prop-grid.is-list { grid-template-columns: 1fr; gap: 18px; }
.is-list .prop { flex-direction: row; }
.is-list .prop-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 250px; margin: 10px 0 10px 10px; }
.is-list .prop-body { padding: 1.6rem 1.8rem; }
.is-list .prop h3 { font-size: 1.8rem; }
.is-list .meta { grid-template-columns: repeat(3, auto); justify-content: start; gap: .5rem 1.6rem; }
@media (max-width: 767.98px) {
  .is-list .prop { flex-direction: column; }
  .is-list .prop-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; margin: 10px 10px 0; }
  .is-list .meta { grid-template-columns: 1fr; }
  .is-list .prop h3 { font-size: 1.5rem; }
}

.prop-empty { text-align: center; padding: 3rem 1.5rem; }
.prop-empty > i { font-size: 2rem; color: var(--gold); }
.prop-empty h3 { font-family: var(--serif); font-size: 1.8rem; margin: .6rem 0 .3rem; }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 56px; flex-wrap: wrap; }
.pg-nums { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; }
.pg { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.pg:hover { color: var(--gold-2); background: rgba(255, 250, 240, .06); }
.pg.active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--on-gold); }
.pg-dots { width: 28px; text-align: center; color: var(--ink-3); }
.pg-btn { display: inline-flex; align-items: center; gap: .5rem; height: 52px; padding: 0 1.3rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .86rem; font-weight: 600; background: rgba(255, 250, 240, .04); transition: border-color .2s, color .2s; }
.pg-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.pg-btn.disabled { opacity: .4; pointer-events: none; }
@media (max-width: 575.98px) { .pg-btn span { display: none; } .pg-btn { width: 52px; padding: 0; justify-content: center; } }

.advisor { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.4rem; background: linear-gradient(120deg, rgba(var(--gold-rgb), .14), rgba(255, 250, 240, .03)); }
.advisor > div:first-child { max-width: 640px; }
.advisor .title { margin-bottom: .6rem; }
@media (max-width: 575.98px) { .advisor { padding: 1.6rem; } .advisor .btn { flex: 1; } .advisor > div:last-child { width: 100%; } }

/* ==========================================================
   Communities listing page
   ========================================================== */
.filters-comm { grid-template-columns: 2fr 1.3fr 1fr; }
.f-label { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin: 0 0 .4rem .3rem; }
.seg-wide { display: flex; width: 100%; border-radius: 14px; padding: 4px; }
.f-field .seg-wide label { flex: 1; display: block; text-align: center; border-radius: 10px; padding: .62rem .6rem; margin: 0; font-size: .84rem; letter-spacing: .01em; text-transform: none; font-weight: 600; color: var(--ink-2); }
.f-field .seg-wide .btn-check:checked + label { color: var(--on-gold); }
@media (max-width: 991.98px) { .filters-comm { grid-template-columns: 1fr 1fr; } .filters-comm .f-search { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .filters-comm { grid-template-columns: 1fr; } }

.comm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.comm-item[hidden] { display: none; }
.ccard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.ccard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--bg-rgb), .35) 0%, transparent 30%, transparent 50%, rgba(var(--bg-rgb), .75) 100%); }
.ccard:hover { border-color: rgba(var(--gold2-rgb), .4); transform: translateY(-4px); }
.ccard:hover img { transform: scale(1.06); }
.ccard-no { position: absolute; top: 18px; left: 20px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: rgba(255, 255, 255, .85); line-height: 1; }
.ccard-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem 1rem 1.2rem; border-radius: 18px; background: rgba(var(--bg2-rgb), .4); }
.ccard-em { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-2); }
.ccard-em i { margin-right: .2rem; }
.ccard-cap h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: .2rem 0 0; line-height: 1.05; color: var(--ink); }
.ccard-cap .arrow { flex: none; color: var(--ink); background: rgba(255, 250, 240, .06); }
.ccard:hover .arrow { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
@media (max-width: 991.98px) { .comm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .comm-grid { grid-template-columns: 1fr; gap: 18px; } .ccard { aspect-ratio: 4 / 4.2; } }

/* ==========================================================
   Developers listing page
   ========================================================== */
.filters-dev { grid-template-columns: 3fr 1fr; }
@media (max-width: 575.98px) { .filters-dev { grid-template-columns: 1fr; } .filters-dev .f-search { grid-column: auto; } }
@media (max-width: 1199.98px) and (min-width: 576px) { .filters-dev .f-search { grid-column: auto; } }

.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dev-item[hidden] { display: none; }
.dcard { display: flex; flex-direction: column; height: 100%; padding: 10px; transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.dcard:hover { border-color: rgba(var(--gold2-rgb), .4); transform: translateY(-4px); }
.dcard-logo { aspect-ratio: 16 / 10; border-radius: 15px; background: linear-gradient(160deg, #fbf8f2, #ece5d8); display: flex; align-items: center; justify-content: center; padding: 1.4rem 1.6rem; box-shadow: inset 0 1px 0 #fff, inset 0 -10px 24px -18px rgba(120, 90, 40, .45); }
.dcard-logo img { max-height: 64px; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .88; transition: filter .35s, opacity .35s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.dcard:hover .dcard-logo img { filter: none; opacity: 1; transform: scale(1.05); }
.dcard-body { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem .5rem .4rem .6rem; flex: 1; }
.dcard-body h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.1; margin: 0 0 .35rem; }
.dcard-count { font-size: .76rem; color: var(--ink-3); }
.dcard-count i { color: var(--gold); margin-right: .25rem; }
.dcard .arrow { flex: none; width: 40px; height: 40px; }
.dcard:hover .arrow { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
@media (max-width: 1199.98px) { .dev-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .dev-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .dcard-body { flex-direction: column; align-items: flex-start; } .dcard .arrow { display: none; } .dcard-body h3 { font-size: 1.2rem; } .dcard-logo { padding: 1rem; } }

.dev-about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; padding: 3rem; }
.dev-about .title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.dev-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.dev-points li { display: flex; align-items: center; gap: .8rem; color: var(--ink-2); font-size: .92rem; }
.dev-points i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); flex: none; }
.dev-about-text p { color: var(--ink-2); font-weight: 400; line-height: 1.85; font-size: .98rem; }
.dev-about-text p:first-child::first-letter { font-family: var(--serif); font-size: 3.4rem; float: left; line-height: .9; margin: .3rem .6rem 0 0; color: var(--gold-2); }
.dev-about-text p:last-child { margin-bottom: 0; }
@media (max-width: 991.98px) { .dev-about { grid-template-columns: 1fr; gap: 1.6rem; padding: 2rem; } }
@media (max-width: 575.98px) { .dev-about { padding: 1.6rem; } }

/* ==========================================================
   About page
   ========================================================== */
.about-story { padding-top: 90px; }
.collage { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.collage .c1 { grid-row: span 2; }
.since { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); display: flex; align-items: baseline; gap: .6rem; padding: .8rem 1.4rem; border-radius: 999px; white-space: nowrap; }
.since span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.since strong { font-family: var(--serif); font-size: 1.9rem; color: var(--gold-2); font-weight: 500; line-height: 1; }
.story-text { margin-top: 1.6rem; }
.story-text p { color: var(--ink-2); font-weight: 400; line-height: 1.85; }
@media (max-width: 575.98px) { .collage { grid-template-rows: 150px 150px; gap: 10px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; overflow: hidden; }
.stat { padding: 2.2rem 1.8rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 3.8rem); font-weight: 500; line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat h3 { font-size: .95rem; font-weight: 600; margin: .8rem 0 .3rem; }
.stat p { color: var(--ink-3); font-size: .84rem; margin: 0; }
@media (max-width: 991.98px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 575.98px) { .stat { padding: 1.5rem 1.2rem; } }

.founder { display: grid; grid-template-columns: 380px 1fr; gap: 3rem; padding: 14px 3rem 14px 14px; align-items: center; }
.founder-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.founder-text { position: relative; padding: 2rem 0; }
.quote-mark { position: absolute; top: -1.4rem; right: 0; font-family: var(--serif); font-size: 10rem; line-height: 1; color: rgba(var(--gold-rgb), .18); pointer-events: none; }
.founder-lead { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.2; margin: 0 0 1.4rem; }
.founder-lead em { color: var(--gold-2); }
.founder-text p:not(.founder-lead):not(.eyebrow) { color: var(--ink-2); font-weight: 400; line-height: 1.8; }
.sign { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sign strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--gold-2); font-weight: 500; }
.sign span { font-size: .8rem; color: var(--ink-3); letter-spacing: .04em; }
@media (max-width: 991.98px) { .founder { grid-template-columns: 1fr; padding: 12px; gap: 0; } .founder-photo { aspect-ratio: 4 / 3.4; } .founder-text { padding: 2rem 1.2rem 1.2rem; } }

.callback { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; padding: 12px; }
.callback-media { position: relative; border-radius: 18px; overflow: hidden; min-height: 420px; }
.callback-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.callback-badge { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border-radius: 16px; }
.callback-badge i { font-size: 1.5rem; color: var(--gold-2); }
.callback-badge strong { display: block; font-size: .95rem; }
.callback-badge span { font-size: .8rem; color: var(--ink-2); }
.callback-form { padding: 2.2rem 2.4rem; }
@media (max-width: 991.98px) { .callback { grid-template-columns: 1fr; } .callback-media { min-height: 280px; } .callback-form { padding: 1.8rem 1.2rem 1.2rem; } }

.glass-check { display: flex; gap: .7rem; padding-left: 0; margin-top: .6rem; }
.glass-check .form-check-input { float: none; flex: none; margin: .18rem 0 0; width: 1.15em; height: 1.15em; background-color: rgba(255, 250, 240, .06); border: 1px solid rgba(var(--gold2-rgb), .35); }
.glass-check .form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.glass-check .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(var(--gold-rgb), .2); border-color: var(--gold); }
.glass-check .form-check-input.is-invalid { border-color: #e38b7a; }
.glass-check .form-check-label { font-size: .84rem; color: var(--ink-2); line-height: 1.5; }
.glass-check a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }

/* contact strip (about) */
.contact-strip { display: grid; grid-template-columns: 1fr 1fr 1.5fr; padding: 0; overflow: hidden; }
.cs-item { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.6rem; border-left: 1px solid var(--line); transition: background-color .25s; }
.cs-item:first-child { border-left: 0; }
.cs-item:hover { background: rgba(var(--gold-rgb), .06); }
.cs-item small { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .15rem; }
.cs-item > span:last-child { font-size: .92rem; color: var(--ink); word-break: break-word; }
.cs-ic { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-2); font-size: 1.1rem; background: rgba(255, 250, 240, .05); }
.cs-ic.wa { color: #43e383; border-color: rgba(90, 235, 140, .35); background: rgba(37, 211, 102, .1); }
@media (max-width: 991.98px) { .contact-strip { grid-template-columns: 1fr; } .cs-item { border-left: 0; } .cs-item + .cs-item { border-top: 1px solid var(--line); } }

/* ==========================================================
   Contact page
   ========================================================== */
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccontact { display: flex; flex-direction: column; padding: 1.5rem; transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.ccontact:hover { border-color: rgba(var(--gold2-rgb), .45); transform: translateY(-4px); }
.ccontact .cs-ic { margin-bottom: 1.2rem; }
.ccontact small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.ccontact strong { font-weight: 500; font-size: .98rem; margin: .3rem 0 1.2rem; line-height: 1.45; word-break: break-word; }
.ccontact .go { margin-top: auto; font-size: .8rem; font-weight: 600; color: var(--ink-3); transition: color .2s; }
.ccontact:hover .go { color: var(--gold-2); }
@media (max-width: 1199.98px) { .ccards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .ccards { grid-template-columns: 1fr; gap: 12px; } .ccontact { padding: 1.2rem; } }

.enquiry .eyebrow + .title { margin-top: 0; }
.map-card { position: relative; overflow: hidden; padding: 10px; min-height: 460px; }
.map-card iframe { width: 100%; height: 100%; min-height: 440px; border: 0; border-radius: 16px; filter: grayscale(.9) invert(.92) hue-rotate(180deg) brightness(.92) contrast(.9); display: block; }
.map-cap { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(var(--bg2-rgb), .82); }
.map-cap strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.map-cap span { font-size: .82rem; color: var(--ink-2); }
@media (max-width: 991.98px) { .map-card { min-height: 380px; } .map-card iframe { min-height: 360px; } }

/* ==========================================================
   Property detail page
   ========================================================== */
.pd-hero { position: relative; isolation: isolate; min-height: 88vh; min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 150px; }
.pd-hero .hero-media::after {
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0%, rgba(var(--bg-rgb), .1) 35%, rgba(var(--bg-rgb), .55) 65%, var(--bg) 100%),
    linear-gradient(90deg, rgba(var(--bg-rgb), .6), rgba(var(--bg-rgb), 0) 70%);
}
.pd-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.pd-tags .tag { position: static; }
.pd-title { font-size: clamp(2.8rem, 7vw, 6rem); margin: 0; }
.pd-loc { color: var(--ink-2); font-size: 1.05rem; margin: .8rem 0 2rem; }
.pd-loc i { color: var(--gold); }
.pd-hero-cta { display: flex; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.pd-price small { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pd-price span { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--gold-2); line-height: 1; }

.pd-facts-wrap { margin-top: -80px; }
.pd-facts { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); margin: 0; padding: 0; overflow: hidden; }
.pd-facts > div { padding: 1.3rem 1.4rem; border-left: 1px solid var(--line); }
.pd-facts > div:first-child { border-left: 0; }
.pd-facts dt { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: .45rem; white-space: nowrap; }
.pd-facts dt i { color: var(--gold); margin-right: .25rem; }
.pd-facts dd { margin: 0; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
@media (max-width: 991.98px) {
  .pd-facts { grid-template-columns: repeat(3, 1fr); }
  .pd-facts > div:nth-child(4) { border-left: 0; }
  .pd-facts > div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .pd-hero { min-height: 0; padding: 130px 0 110px; }
  .pd-facts-wrap { margin-top: -60px; }
  .pd-facts { grid-template-columns: repeat(2, 1fr); }
  .pd-facts > div { padding: 1rem 1.1rem; border-left: 1px solid var(--line) !important; border-top: 0 !important; }
  .pd-facts > div:nth-child(odd) { border-left: 0 !important; }
  .pd-facts > div:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
  .pd-facts dd { font-size: 1.35rem; }
  .pd-facts dt { white-space: normal; letter-spacing: .12em; }
}

/* sticky section tabs */
.pd-tabs-wrap { position: sticky; top: 92px; z-index: 900; margin-top: 28px; }
.pd-tabs { display: inline-flex; gap: 2px; padding: 5px; border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: rgba(var(--bg2-rgb), .78); }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tabs a { padding: .55rem 1.1rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background-color .25s, color .25s; }
.pd-tabs a:hover { color: var(--gold-2); }
.pd-tabs a.active { background: var(--ink); color: var(--on-gold); }
@media (max-width: 575.98px) { .pd-tabs-wrap { top: 84px; } .pd-tabs a { padding: .5rem .85rem; font-size: .8rem; } }

.pd-body { padding-top: 36px; }
.pd-sec { padding: 2.2rem 2.4rem; margin-bottom: 20px; scroll-margin-top: 170px; }
.pd-sec .title { margin-bottom: 1.2rem; }
.pd-text { color: var(--ink-2); font-weight: 400; line-height: 1.85; }
.pd-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pd-points li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 250, 240, .03); }
.pd-points li:last-child { grid-column: 1 / -1; }
.pd-points .n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.pd-points h3 { font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.pd-points p { margin: 0; font-size: .86rem; color: var(--ink-3); line-height: 1.6; }
@media (max-width: 767.98px) { .pd-sec { padding: 1.6rem 1.3rem; } .pd-points { grid-template-columns: 1fr; } }

.pay-bar { display: flex; gap: 6px; height: 14px; margin: 1.4rem 0 1.2rem; }
.pay-bar span { border-radius: 999px; }
.pay-bar span:nth-child(1) { background: var(--gold-2); }
.pay-bar span:nth-child(2) { background: var(--gold); }
.pay-bar span:nth-child(3) { background: linear-gradient(90deg, var(--gold-deep), rgba(var(--golddeep-rgb), .45)); }
.pay-steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 1rem; }
.pay-steps strong { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; color: var(--gold-2); line-height: 1; }
.pay-steps span { font-size: .84rem; color: var(--ink-3); }
@media (max-width: 575.98px) { .pay-steps { grid-template-columns: 1fr 1fr; } .pay-steps div:last-child { grid-column: 1 / -1; } }

.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; gap: 10px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.g-item.g-big { grid-column: span 2; grid-row: span 2; }
/* 7 photos: big + 4 + 2 wide fills the 4-column grid exactly */
@media (min-width: 576px) { .g-grid > .g-item:nth-child(6):nth-last-child(2), .g-grid > .g-item:nth-child(7):last-child { grid-column: span 2; } }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.g-item:hover img { transform: scale(1.06); filter: brightness(1.08); }
.g-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .4rem; background: rgba(var(--bg-rgb), .55); color: var(--ink); font-size: .85rem; font-weight: 600; }
@media (max-width: 575.98px) { .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; } .g-item.g-big { grid-row: span 2; } }

.amen { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amen li { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 250, 240, .03); font-size: .9rem; color: var(--ink-2); }
.amen i { width: 38px; height: 38px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--gold-rgb), .12); color: var(--gold-2); font-size: 1.05rem; }
@media (max-width: 575.98px) { .amen { grid-template-columns: 1fr; } }

.loc-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.loc-map { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 280px; }
.loc-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.loc-map:hover img { transform: scale(1.04); }
.loc-open { position: absolute; left: 12px; bottom: 12px; padding: .55rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.loc-open i { color: var(--gold-2); margin-right: .3rem; }
.landmarks { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.landmarks li { display: grid; grid-template-columns: 34px 1fr; column-gap: .7rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.landmarks li:last-child { border-bottom: 0; }
.landmarks i { grid-row: span 2; color: var(--gold); font-size: 1.1rem; text-align: center; }
.landmarks span { font-size: .9rem; color: var(--ink); }
.landmarks em { font-style: normal; font-size: .76rem; color: var(--ink-3); }
@media (max-width: 767.98px) { .loc-grid { grid-template-columns: 1fr; } .loc-map { min-height: 220px; } }

.pd-side { position: sticky; top: 170px; display: grid; gap: 14px; }
.side-form { padding: 1.8rem; }
.side-form .title { margin-bottom: 1.2rem; }
.side-actions { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; gap: 4px; border-radius: 999px; }
.side-actions a, .side-actions button { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem .4rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: .82rem; font-weight: 600; transition: background-color .2s, color .2s; }
.side-actions a:hover, .side-actions button:hover { background: rgba(255, 250, 240, .08); color: var(--gold-2); }
.side-actions .wa i { color: #43e383; }
@media (max-width: 991.98px) { .pd-side { position: static; } }

/* gallery lightbox */
.gallery-modal .modal-content { background: transparent; border: 0; box-shadow: none; }
.gallery-modal .carousel-item img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 18px; background: var(--bg); }
.gallery-modal .g-close { position: absolute; top: -44px; right: 0; z-index: 5; }
.g-nav { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--ink); }
.gallery-modal .carousel-control-prev, .gallery-modal .carousel-control-next { width: 80px; opacity: 1; }
.g-count { text-align: center; color: var(--ink-2); font-size: .85rem; margin: .9rem 0 0; letter-spacing: .08em; }
@media (max-width: 575.98px) { .g-nav { width: 42px; height: 42px; } .gallery-modal .carousel-control-prev, .gallery-modal .carousel-control-next { width: 56px; } }

/* ==========================================================
   Community detail page
   ========================================================== */
.cd-hero { min-height: 82vh; min-height: 82svh; }
.cd-hero .tag i { margin-right: .2rem; }
.cd-facts { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) { .cd-facts { grid-template-columns: repeat(2, 1fr); } .cd-facts > div:nth-child(3) { border-left: 0; } .cd-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } .cd-facts > div:nth-child(4) { border-left: 1px solid var(--line); } }
.cd-about { padding-top: 90px; }
.cd-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 4.4; }
.cd-photo img { width: 100%; height: 100%; object-fit: cover; }
.cd-photo-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 16px; font-size: .88rem; }
.cd-photo-cap i { color: var(--gold-2); font-size: 1.2rem; }
@media (max-width: 991.98px) { .cd-photo { aspect-ratio: 16 / 11; } }

.cd-high { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cd-high > div { padding: 1.6rem 1.5rem; }
.cd-high i { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(var(--gold-rgb), .12); color: var(--gold-2); font-size: 1.25rem; margin-bottom: 1.1rem; }
.cd-high h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin-bottom: .4rem; }
.cd-high p { color: var(--ink-3); font-size: .87rem; margin: 0; line-height: 1.6; }
@media (max-width: 991.98px) { .cd-high { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .cd-high { grid-template-columns: 1fr; gap: 12px; } }

.cd-life { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.4rem; padding: 2.2rem 2.4rem; margin-top: 18px; }
.cd-life h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 1.1rem; }
.cd-life h3 i { color: var(--gold); font-size: 1.1rem; margin-right: .4rem; }
.cd-life ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; }
.cd-life ul li { position: relative; padding-left: 1.2rem; color: var(--ink-2); font-size: .92rem; }
.cd-life ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cd-life ul.near { grid-template-columns: 1fr; gap: 0; }
.cd-life ul.near li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0 .7rem 1.2rem; border-bottom: 1px solid var(--line); }
.cd-life ul.near li::before { top: 1.25em; }
.cd-life ul.near em { font-style: normal; font-size: .78rem; color: var(--ink-3); }
.loc-btn { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; color: var(--gold-2); font-weight: 600; font-size: .86rem; }
.loc-btn:hover { color: var(--gold); }
@media (max-width: 767.98px) { .cd-life { grid-template-columns: 1fr; padding: 1.6rem 1.3rem; gap: 1.8rem; } .cd-life ul { grid-template-columns: 1fr; } }
.cd-others .ccard { aspect-ratio: 4 / 3.6; }

/* "See more" for long About copy — the extra text stays in the HTML (good for SEO) */
.more-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s cubic-bezier(.2, .7, .2, 1), opacity .45s ease; }
.more-wrap > .more-inner { overflow: hidden; min-height: 0; }
.more-wrap.open { grid-template-rows: 1fr; opacity: 1; }
.see-more { display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 250, 240, .04); color: var(--gold-2); font-size: .84rem; font-weight: 600; transition: border-color .2s, background-color .2s; }
.see-more:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), .1); }
.see-more i { transition: transform .35s ease; }
.see-more[aria-expanded="true"] i { transform: rotate(180deg); }
.more-wrap.open + .see-more { margin-top: 1rem; }

/* ==========================================================
   Developer detail page
   ========================================================== */
.dv-hero { min-height: 80vh; min-height: 80svh; }
.dv-head { display: flex; align-items: center; gap: 2rem; }
.dv-logo { flex: none; width: 170px; height: 170px; border-radius: 28px; display: flex; align-items: center; justify-content: center; padding: 1.4rem; background: linear-gradient(160deg, #fbf8f2, #ece5d8); border: 1px solid rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 #fff, 0 24px 50px -20px rgba(0, 0, 0, .8); }
.dv-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 767.98px) { .dv-head { flex-direction: column; align-items: flex-start; gap: 1.2rem; } .dv-logo { width: 104px; height: 104px; border-radius: 20px; padding: .9rem; } }

.dv-side { padding: 2rem; height: 100%; }
.dv-side h3 { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 .9rem; }
.dv-side h3:not(:first-child) { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.dv-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.dv-chips span { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 250, 240, .04); font-size: .84rem; color: var(--ink-2); }
.dv-chips i { color: var(--gold); }
.dv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.dv-list li { display: flex; gap: .6rem; color: var(--ink-2); font-size: .92rem; }
.dv-list i { color: var(--gold-2); }
@media (max-width: 575.98px) { .dv-side { padding: 1.5rem; } }

/* ==========================================================
   Blog listing + article
   ========================================================== */
.post-media { position: relative; }
.post-media .tag { top: 10px; left: 10px; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.post-meta span { color: var(--ink-3); letter-spacing: .06em; text-transform: none; font-weight: 500; font-size: .78rem; }
.post-meta i { margin-right: .2rem; }
.post .read-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .82rem; font-weight: 600; color: var(--gold-2); }
.post:hover .read-more i { transform: translateX(3px); }
.post .read-more i { transition: transform .25s; }

.feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; padding: 10px; overflow: hidden; transition: border-color .3s; }
.feat:hover { border-color: rgba(var(--gold2-rgb), .4); }
.feat-media { position: relative; border-radius: 18px; overflow: hidden; min-height: 380px; }
.feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.feat:hover .feat-media img { transform: scale(1.04); }
.feat-media .tag { top: 14px; left: 14px; }
.feat-body { padding: 2.4rem 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.feat-body h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; line-height: 1.1; margin: .9rem 0 1rem; }
.feat-body p { color: var(--ink-2); font-weight: 400; line-height: 1.75; margin-bottom: 1.6rem; }
.feat-body .btn { align-self: flex-start; }
@media (max-width: 991.98px) { .feat { grid-template-columns: 1fr; } .feat-media { min-height: 260px; } .feat-body { padding: 1.8rem 1.4rem 1.4rem; } }

/* article */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1040; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); }
.art-hero { position: relative; isolation: isolate; padding: 180px 0 140px; }
.art-hero .hero-media::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .7) 0%, rgba(var(--bg-rgb), .55) 45%, rgba(var(--bg-rgb), .9) 85%, var(--bg) 100%); }
.art-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; max-width: 980px; margin: 0; }
.art-title em { color: var(--gold-2); }
.art-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.6rem; color: var(--ink-2); font-size: .9rem; }
.art-meta i { color: var(--gold); margin-right: .35rem; }
.art-wrap { padding-top: 0; margin-top: -70px; position: relative; z-index: 2; }
.art { padding: 12px 12px 2.4rem; }
.art-figure { margin: 0 0 2.2rem; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.art-figure img { width: 100%; height: 100%; object-fit: cover; }
.art > p, .art > h2, .art > blockquote, .art > .share { margin-left: 2rem; margin-right: 2rem; }
.art p { color: var(--ink-2); font-weight: 400; font-size: 1.04rem; line-height: 1.9; margin-bottom: 1.3rem; }
.art .art-lead { font-size: 1.16rem; color: var(--ink); font-weight: 400; }
.art .art-lead::first-letter { font-family: var(--serif); float: left; font-size: 4.2rem; line-height: .85; margin: .35rem .65rem 0 0; color: var(--gold-2); }
.art h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 2.4rem; margin-bottom: 1rem; }
.art-quote { position: relative; margin-top: 2rem; margin-bottom: 2rem; padding: 1.6rem 1.8rem 1.6rem 2.2rem; border-left: 2px solid var(--gold); border-radius: 0 16px 16px 0; background: rgba(var(--gold-rgb), .07); font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.share > span:first-child { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.share-btns { display: flex; gap: .5rem; }
.share-btns a, .share-btns button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 250, 240, .04); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; transition: border-color .2s, color .2s, background-color .2s; }
.share-btns a:hover, .share-btns button:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(var(--gold-rgb), .1); }
.copied { font-size: .82rem; color: var(--gold-2); }
@media (max-width: 767.98px) {
  .art-hero { padding: 140px 0 110px; }
  .art > p, .art > h2, .art > blockquote, .art > .share { margin-left: .6rem; margin-right: .6rem; }
  .art p { font-size: 1rem; }
  .art-quote { font-size: 1.15rem; padding: 1.2rem 1.2rem 1.2rem 1.4rem; }
}

.glance { padding: 1.8rem; }
.glance dl { margin: 0; }
.glance dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.glance dl > div:last-child { border-bottom: 0; }
.glance dt { font-weight: 400; color: var(--ink-3); font-size: .86rem; }
.glance dd { margin: 0; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); text-align: right; }
.glance dd a { color: var(--gold-2); }
.glance dd a:hover { text-decoration: underline; }

/* ==========================================================
   CMS additions
   ========================================================== */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.logo-word { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); letter-spacing: .02em; }
.navbar-brand img { max-width: 170px; object-fit: contain; }
.f-social { display: flex; gap: .5rem; margin-top: 1rem; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; color: var(--ink-2); }
.f-social a:hover { border-color: var(--gold); color: var(--gold-2); }
.dcard-word { font-family: var(--serif); font-size: 1.4rem; color: #2a2118; text-align: center; }
.pd-points li.plain { display: block; }
.pd-points li.plain p { color: var(--ink-2); font-size: .9rem; }
.art h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 2rem 2rem 1rem; }
.art ul, .art ol { color: var(--ink-2); margin: 0 2rem 1.3rem 3.2rem; line-height: 1.8; }
.art a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.text-page { padding: 2.4rem 2.4rem; }
.text-page p { margin-left: 0 !important; margin-right: 0 !important; }
.pd-text p:last-child, .story-text .more-inner p:last-child { margin-bottom: 0; }
.pd-text .see-more { margin-top: .8rem; }
@media (max-width: 767.98px) { .art h3 { margin-left: .6rem; margin-right: .6rem; } .art ul, .art ol { margin-left: 2rem; margin-right: .6rem; } .text-page { padding: 1.6rem 1.2rem; } }

.pd-text ul, .story-text ul { color: var(--ink-2); padding-left: 1.2rem; margin: 0 0 1rem; line-height: 1.8; }
.pd-text li::marker, .story-text li::marker { color: var(--gold); }
/* modal */
.modal-content { color: var(--ink); background: rgba(var(--bg2-rgb), .82); }
.modal-content .modal-header { padding: 1.6rem 1.6rem 0; align-items: flex-start; }
.modal-content .modal-body { padding: 1.4rem 1.6rem 1.8rem; }
.modal-backdrop.show { opacity: .7; }

/* reveal — transform only, never from invisible (glass flicker rule) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(18px); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
  .reveal.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* ==========================================================
   Professional finish — clean sans headings (no italics), crisp buttons,
   readable body text, plain photo captions. Fonts can still be changed in
   Admin → Settings → Theme, Colours & Fonts.
   ========================================================== */
body { font-size: 15.5px; letter-spacing: 0; }
.display, .title { font-weight: 600; letter-spacing: -.018em; word-spacing: .04em; line-height: 1.1; }
.display em, .title em, .page-title em, .art-title em { font-style: normal; font-weight: inherit; color: var(--gold-2); }
.display { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.title { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.title.sm { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.page-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.art-title { font-weight: 600; letter-spacing: -.02em; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; }
.eyebrow { font-size: .7rem; letter-spacing: .16em; }
.lead-text { line-height: 1.65; }

/* italics → plain, accent colour only */
.hero-strip .k, .why-list .n, .footer-cols h3, .ccard-no, .sign strong, .pd-points .n, .price .on-request { font-style: normal; }
.hero-strip .k { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.why-list .n { font-size: 1rem; font-weight: 700; letter-spacing: .04em; padding-top: .2rem; }
.pd-points .n { font-size: 1rem; font-weight: 700; }
.ccard-no { font-size: 1rem; font-weight: 700; letter-spacing: .06em; }
.footer-cols h3 { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.sign strong { font-size: 1.2rem; font-weight: 600; }

/* card & section headings */
.prop h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.post h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.comm-cap h3 { font-size: 1.1rem; font-weight: 600; }
.comm.big .comm-cap h3 { font-size: 1.5rem; }
.ccard-cap h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.dcard-body h3 { font-size: 1.08rem; font-weight: 600; }
.cd-high h3, .cd-life h3 { font-size: 1.15rem; font-weight: 600; }
.feat-body h2 { font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.2; }
.art h2 { font-weight: 600; letter-spacing: -.015em; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.art h3 { font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.prop-empty h3 { font-size: 1.4rem; font-weight: 600; }
.founder-lead { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; }
.map-cap strong { font-size: 1.05rem; font-weight: 600; }
.logo-word, .dcard-word { font-weight: 600; letter-spacing: .01em; }

/* numbers: prices, facts, stats */
.price span { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.price .on-request { font-size: 1.05rem; font-weight: 600; }
.pd-price span { font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.pd-facts dd { font-size: 1.15rem; font-weight: 600; }
.glance dd { font-size: 1rem; font-weight: 600; }
.stat strong { font-weight: 700; letter-spacing: -.03em; font-size: clamp(2.2rem, 3.6vw, 3rem); }
.since strong, .pay-steps strong { font-weight: 700; letter-spacing: -.02em; }
.pay-steps strong { font-size: 2rem; }
.dev-about-text p:first-child::first-letter, .art .art-lead::first-letter { font-family: inherit; float: none; font-size: inherit; line-height: inherit; margin: 0; color: inherit; }
.quote-mark { display: none; }

/* buttons: solid, squared, no glow */
.btn { border-radius: 10px; letter-spacing: .01em; font-size: .88rem; }
.btn-gold { background: var(--gold); box-shadow: none; }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-2); box-shadow: none; filter: none; }
.btn-ghost { background: transparent; }

/* community photos: plain gradient caption instead of a blurred box */
.comm::before { z-index: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .55) 68%, rgba(0, 0, 0, .88)); }
.comm-cap { left: 0; right: 0; bottom: 0; padding: 1.1rem 1.3rem 1.2rem; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; z-index: 1; }
.comm-cap h3 { color: #fff; }
.comm-cap p { color: rgba(255, 255, 255, .82); }
