:root {
  --ink: #1c1715;
  --ink-2: #2e2622;
  --text: #241e1b;
  --muted: #6a625c;
  --cream: #f8f3ec;
  --cream-2: #efe6da;
  --paper: #fffdf9;
  --brand: #d8421a;
  --brand-2: #b8350f;
  --gold: #aa8833;
  --gold-2: #d2b26a;
  --line: #e7dccd;
  --wa: #1f8f4e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 23, 21, .06), 0 8px 24px rgba(28, 23, 21, .08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font: 600 .85rem var(--serif); letter-spacing: .04em; }
.logo-text { font: 500 1.25rem var(--serif); color: var(--ink); white-space: nowrap; }
.logo-text em { font-style: italic; color: var(--gold); }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-mark { background: var(--gold); color: var(--ink); }
.main-nav { display: none; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-color: var(--gold); }
.site-header .header-cta { display: none; }
.menu-btn { margin-left: auto; width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; padding: 8px 16px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 12px 0; text-decoration: none; font: 500 1.15rem var(--serif); color: var(--ink); border-bottom: 1px solid var(--line); }
@media (min-width: 980px) {
  .main-nav { display: flex; }
  .site-header .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a27a3e; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #197a42; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.header-cta { min-height: 42px; padding: 0 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow svg { transition: transform .15s; }
a:hover .link-arrow svg, .link-arrow:hover svg { transform: translateX(3px); }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .75rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 12px; }
.eyebrow-light { color: var(--gold-2); }
.eyebrow-gold { color: var(--gold-2); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.lede-light { color: rgba(255, 255, 255, .78); }
.prose { color: var(--text); max-width: 68ch; }
.fine { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.fine a { color: inherit; }
.muted-light { color: rgba(255, 255, 255, .6); font-size: .88rem; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 72px; }
.section-tint { background: var(--cream); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2 { color: #fff; }
.section-head { margin-bottom: 32px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
@media (min-width: 900px) { .section { padding: 104px 0; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 13, .25) 0%, rgba(20, 15, 13, .55) 45%, rgba(20, 15, 13, .9) 100%); }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 48px; }
.hero-copy { max-width: 760px; }
.hero h1 { color: #fff; }
.hero-sub { font-size: 1.12rem; color: rgba(255, 255, 255, .85); max-width: 56ch; margin-bottom: 28px; }
@media (min-width: 900px) { .hero { min-height: 760px; } .hero-inner { padding-bottom: 80px; } }

/* ---------- search ---------- */
.search { background: var(--paper); color: var(--text); border-radius: 20px; padding: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.toggle { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 4px; margin-bottom: 12px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { display: block; padding: 8px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--muted); }
.toggle input:checked + span { background: var(--ink); color: #fff; }
.toggle input:focus-visible + span { outline: 2px solid var(--gold); }
.search-fields { display: grid; gap: 10px; }
@media (min-width: 720px) { .search-fields { grid-template-columns: 1.4fr 1fr auto; align-items: end; } }
.search-compact { box-shadow: none; border: 1px solid var(--line); margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.field em { text-transform: none; font-weight: 400; letter-spacing: 0; font-style: normal; }
.field input, .field select, .field textarea { font: 400 1rem var(--sans); color: var(--text); text-transform: none; letter-spacing: 0; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 100%; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(216, 66, 26, .18); }
.field-inline { flex-direction: row; align-items: center; gap: 10px; }
.field-inline select { width: auto; min-height: 42px; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--ink); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.trust-inner div { display: flex; flex-direction: column; gap: 2px; }
.trust-inner strong { font: 500 1.5rem var(--serif); color: var(--gold-2); }
.trust-inner strong svg { width: 1.3em; height: 1.3em; }
.trust-inner span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
@media (min-width: 800px) { .trust-inner { grid-template-columns: repeat(4, 1fr); } }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(28, 23, 21, .06), 0 18px 40px rgba(28, 23, 21, .12); }
.card[hidden] { display: none; }
.card-link { display: block; text-decoration: none; height: 100%; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; font: 600 .72rem var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.badge-sale { background: var(--ink); color: #fff; }
.badge-rent { background: var(--gold); color: #fff; }
.badge-sample { left: auto; right: 12px; background: rgba(255, 255, 255, .9); color: var(--muted); }
.badge-static { position: static; display: inline-block; }
.card-body { padding: 18px 20px 20px; }
.card-price { font: 600 1.35rem var(--serif); color: var(--ink); margin-bottom: 4px; }
.card-price span, .detail-price span { font: 400 .9rem var(--sans); color: var(--muted); }
.card-title { font: 500 1rem/1.4 var(--sans); color: var(--text); margin-bottom: 8px; }
.card-loc { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.facts { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); }
.facts li { display: flex; align-items: center; gap: 6px; }
.facts svg { color: var(--gold); }
.facts-lg { font-size: 1rem; border: 0; padding: 0; margin: 4px 0 32px; }

/* ---------- paths ---------- */
.paths { display: grid; gap: 18px; }
@media (min-width: 640px) { .paths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .paths { grid-template-columns: repeat(4, 1fr); } .paths-2 { grid-template-columns: repeat(2, 1fr); } }
.path { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; transition: border-color .2s, transform .2s; }
a.path:hover { border-color: var(--gold); transform: translateY(-3px); }
.path p { color: var(--muted); font-size: .95rem; flex: 1; }
.path-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--cream); color: var(--gold); margin-bottom: 18px; }
.path-icon svg { width: 24px; height: 24px; }
.path .link-arrow { align-self: flex-start; font-size: .9rem; }
.paths-2 { margin-top: 28px; }

/* ---------- estates ---------- */
.estates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .estates { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.estate { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; }
.estate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.estate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 15, 13, .85)); }
.estate:hover img { transform: scale(1.05); }
.estate div { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.estate h3 { color: #fff; margin: 0; font-size: 1.4rem; }
.estate p { margin: 0; font-size: .85rem; color: rgba(255, 255, 255, .8); }

/* ---------- diaspora band ---------- */
.diaspora-band { display: grid; gap: 40px; }
@media (min-width: 900px) { .diaspora-band { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 72px; } }
.steps-mini { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.steps-mini li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font: 600 1.1rem var(--serif); }
.steps-mini span { color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- about ---------- */
.about-teaser { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-teaser { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; } }
.portrait-slot { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); background: linear-gradient(160deg, var(--cream-2), var(--cream)); border: 1px dashed var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--gold); }
.portrait-slot span { font: 500 4rem var(--serif); }
.portrait-slot small { font-size: .8rem; color: var(--muted); }
.promises { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.promises li { display: flex; gap: 10px; align-items: flex-start; }
.promises svg { color: var(--wa); margin-top: 4px; }
.verse { margin: 0 0 24px; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold); font: italic 400 1.1rem/1.5 var(--serif); color: var(--ink-2); }
.verse cite { display: block; margin-top: 6px; font: 600 .75rem var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ---------- CTA band + forms ---------- */
.cta-band { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.lead-form { display: grid; gap: 14px; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card .lead-form { box-shadow: none; padding: 0; }
.lead-form h3 { margin: 0 0 4px; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }

/* ---------- page heads ---------- */
.page-head { padding: 56px 0 24px; background: var(--cream); }
.page-head-split { padding-bottom: 72px; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; } }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.result-count { margin: 0; color: var(--muted); font-size: .92rem; }
.result-count span { font-weight: 600; color: var(--ink); }
.empty { text-align: center; padding: 48px 16px; }
.empty .lede { margin: 0 auto 20px; }

/* ---------- listing detail ---------- */
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); padding-top: 20px; padding-bottom: 16px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.gallery { position: relative; display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.g-item { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: 10px; background: var(--cream-2); aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.03); }
.g-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.g-item:nth-child(n+4) { display: none; }
.g-count { position: absolute; right: 28px; bottom: 12px; background: rgba(20, 15, 13, .75); color: #fff; font-size: .8rem; padding: 5px 12px; border-radius: 999px; pointer-events: none; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 520px; }
  .g-main { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .g-item { aspect-ratio: auto; }
  .gallery:has(.g-item:nth-child(2):last-of-type) .g-main { grid-row: 1 / span 2; }
}
.lightbox { border: 0; padding: 0; background: rgba(10, 14, 12, .95); width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 6px; }
.lightbox button { position: fixed; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }
.detail { display: grid; gap: 40px; padding-top: 36px; padding-bottom: 80px; }
@media (min-width: 980px) { .detail { grid-template-columns: 1fr 380px; gap: 64px; } .detail-side { position: sticky; top: 92px; align-self: start; } }
.detail-badges { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--wa); font-weight: 500; }
.detail h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.detail-loc { display: flex; gap: 6px; align-items: center; color: var(--muted); }
.detail-price { font: 600 2rem var(--serif); color: var(--ink); margin: 8px 0 12px; }
.detail-main h2 { margin-top: 36px; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 24px; }
@media (min-width: 560px) { .amenities { grid-template-columns: 1fr 1fr; } }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities svg { color: var(--gold); }
.keyfacts { margin: 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .keyfacts { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.keyfacts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { color: var(--muted); }
.keyfacts dd { margin: 0; font-weight: 600; text-align: right; }
.estate-callout { display: grid; gap: 20px; margin-top: 44px; padding: 20px; border-radius: var(--radius); background: var(--cream); }
.estate-callout img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .estate-callout { grid-template-columns: 200px 1fr; align-items: center; } }
.estate-callout h3 { margin-bottom: 6px; }
.estate-callout p { color: var(--muted); font-size: .95rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.agent-mini { display: flex; gap: 12px; align-items: center; margin-bottom: 4px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font: 500 1.1rem var(--serif); flex: none; }
.agent-mini strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.agent-mini span { font-size: .82rem; color: var(--wa); }
.or { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 6px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.share { background: none; border: 0; font: 600 .9rem var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; cursor: pointer; padding: 8px; }

/* ---------- estate page ---------- */
.estate-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: #fff; }
.estate-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.estate-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 15, 13, .2), rgba(20, 15, 13, .85)); }
.estate-hero-inner { position: relative; z-index: 1; padding-bottom: 48px; }
.estate-hero h1 { color: #fff; }
.estate-facts { display: grid; gap: 32px; }
@media (min-width: 900px) { .estate-facts { grid-template-columns: 1fr 1fr 1fr; } }
.estate-facts .amenities { grid-template-columns: 1fr; }

/* ---------- diaspora steps ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 32px 68px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font: 500 1.15rem var(--serif); }
.steps li::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 10px 0 6px; }
.steps p { color: var(--muted); }
.prose-page p { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 64px 0 96px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } .site-footer { padding-bottom: 32px; } }
.site-footer h3 { font: 600 .75rem var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--gold-2); margin-bottom: 14px; }
.site-footer a { display: block; text-decoration: none; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-verse { font: italic 400 1rem/1.5 var(--serif); margin-top: 20px; max-width: 34ch; }
.footer-verse span { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); font-style: normal; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-base a { display: inline; }

/* ---------- mobile quick bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); }
.mobile-bar a.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
@media (min-width: 980px) { .mobile-bar { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Kayesi as the brand ---------- */
.hero-inner { display: grid; gap: 0; align-items: end; padding-top: 24px; }
.hero-portrait { margin: 0 0 -8px; position: relative; order: -1; justify-self: end; width: min(72%, 300px); }
.hero-portrait::before { content: ""; position: absolute; inset: 18% -10% 0; background: radial-gradient(closest-side, rgba(207, 168, 101, .45), transparent); z-index: -1; }
.hero-portrait img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.hero-portrait figcaption { position: absolute; left: -12px; bottom: 22%; background: var(--paper); color: var(--ink); padding: 10px 18px; border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); border-left: 3px solid var(--gold); }
.hero-portrait figcaption strong { display: block; font: 500 1.05rem var(--serif); white-space: nowrap; }
.hero-portrait figcaption span { font-size: .76rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 979px) { .hero-copy { position: relative; z-index: 1; } .hero-portrait figcaption { display: none; } }
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1fr 440px; gap: 32px; padding-bottom: 0 !important; }
  .hero-copy { padding-bottom: 80px; }
  .hero-portrait { order: 0; width: 100%; margin: 0; align-self: end; }
  .hero-portrait figcaption { left: auto; right: -8px; bottom: 12%; border-left: 0; border-right: 3px solid var(--gold); text-align: right; }
}
.portrait { position: relative; }
.portrait-img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 240px 240px var(--radius) var(--radius); }
.portrait-tag { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 253, 248, .94); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: var(--shadow); }
img.avatar { object-fit: cover; padding: 0; }

/* ---------- motion: progressive feel ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes riseBig { from { opacity: 0; transform: translateY(60px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes glow { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes tagIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

.hero-bg img { animation: kenburns 14s cubic-bezier(.2, .6, .2, 1) both; transform-origin: 40% 60%; }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .22s; }
.hero-copy > :nth-child(3) { animation-delay: .38s; }
.hero-copy > :nth-child(4) { animation-delay: .55s; }
.hero-portrait img { animation: riseBig 1.2s .25s cubic-bezier(.2, .7, .2, 1) both; }
.hero-portrait::before { animation: glow 6s 1.4s ease-in-out infinite; }
.hero-portrait figcaption { animation: tagIn .7s 1.2s cubic-bezier(.2, .7, .2, 1) both; }

/* scroll reveal — only hides content once JS has confirmed it can reveal it */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* photos fade in over a shimmer instead of popping */
.card-media, .g-item, .estate { background: linear-gradient(100deg, var(--cream-2) 30%, var(--cream) 50%, var(--cream-2) 70%) 0 0 / 200% 100%; animation: shimmer 1.6s linear infinite; }
.js .card-media img, .js .g-item img, .js .estate img { opacity: 0; transition: opacity .6s ease, transform .5s; }
.js .card-media img.loaded, .js .g-item img.loaded, .js .estate img.loaded { opacity: 1; }
.card-media:has(img.loaded), .g-item:has(img.loaded), .estate:has(img.loaded) { animation: none; }

/* header tightens on scroll */
.site-header { transition: box-shadow .3s, background .3s; }
.header-inner { transition: height .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(28, 23, 21, .08); }
@media (min-width: 980px) { .site-header.scrolled .header-inner { height: 58px; } }

/* paths: gold underline sweeps in on hover */
a.path { position: relative; overflow: hidden; }
a.path::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
a.path:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero-copy > *, .hero-portrait img, .hero-portrait::before, .hero-portrait figcaption, .card-media, .g-item, .estate { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- v2: Realty Blessed brand (logo red-orange + gold) ---------- */
.logo img { height: 56px; width: auto; }
.site-header.scrolled .logo img { height: 46px; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-2); box-shadow: 0 8px 20px rgba(216, 66, 26, .3); }
.eyebrow { color: var(--brand); }
.eyebrow-light, .eyebrow-gold { color: var(--gold-2); }
.main-nav a:hover, .main-nav a[aria-current] { border-color: var(--brand); }
.link-arrow { border-color: var(--brand); }
.path-icon, .facts svg, .amenities svg { color: var(--brand); }
a.path:hover { border-color: var(--brand); }
a.path::after { background: var(--brand); }
.verse { border-color: var(--gold); }
.verse cite { color: var(--gold); }
.trust-inner strong { color: var(--gold-2); }
.steps-mini li::before { background: var(--brand); color: #fff; }
.steps li::before { background: var(--brand); color: #fff; }
.hero-portrait::before { background: radial-gradient(closest-side, rgba(216, 66, 26, .42), transparent); }
.hero-portrait figcaption { border-color: var(--brand) !important; }
.hero-portrait figcaption span { font-style: italic; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
:focus-visible { outline-color: var(--brand); }
.search { padding: 16px; }
@media (min-width: 720px) { .search-fields { grid-template-columns: 1.3fr 1fr 1fr auto; } }

/* cards */
.badge { background: var(--brand); color: #fff; }
.badge-yield { left: auto; right: 12px; background: var(--gold); }
.badge-soft { background: var(--cream-2); color: var(--ink); }
.card-price span, .detail-price span { font: 500 .78rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-right: 4px; }
.card-title { font: 500 1.15rem/1.3 var(--serif); color: var(--ink); }
.facts { gap: 14px; }

/* type chips + sort on listings */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 600 .88rem var(--sans); color: var(--ink-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* listing detail */
.g-count { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; pointer-events: auto; font: 600 .82rem var(--sans); padding: 8px 14px; }
.lb-counter { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: .85rem; margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.units { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 460px; }
.units th { text-align: left; font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--cream); padding: 12px 14px; }
.units td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.units td strong { color: var(--ink); white-space: nowrap; }
.units tr:hover td { background: #fffaf3; }
.unit-ask { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(31, 143, 78, .1); color: var(--wa); }
.unit-ask:hover { background: var(--wa); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.keyfacts { margin-bottom: 8px; }
.listing-body { max-width: 72ch; }
.listing-body h3 { font-size: 1.3rem; margin: 32px 0 10px; }
.listing-body h4 { font: 600 1rem var(--sans); margin: 22px 0 8px; color: var(--ink); }
.listing-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.listing-body li { margin-bottom: 6px; }
.listing-body li::marker { color: var(--brand); }
.listing-body table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: .9rem; display: block; overflow-x: auto; }
.listing-body th, .listing-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.listing-body th { background: var(--cream); }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 500 1.15rem var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--brand); transition: transform .25s; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq details p { color: var(--muted); padding: 0 48px 20px 0; margin: 0; }
.faq details p a { color: var(--brand); }

/* Follow band */
.follow-head { margin-bottom: 32px; }
.follow-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .follow-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.follow-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; color: #fff; overflow: hidden; transition: transform .25s, border-color .25s, background .25s; }
.follow-card:hover { transform: translateY(-4px); border-color: var(--brand); background: rgba(216, 66, 26, .1); }
.f-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.f-icon svg { width: 22px; height: 22px; }
.f-instagram .f-icon { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.f-tiktok .f-icon { background: #000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.f-youtube .f-icon { background: #ff0000; }
.f-x .f-icon { background: #000; border: 1px solid rgba(255, 255, 255, .25); }
.f-name { font-weight: 600; }
.f-handle { font-size: .82rem; color: rgba(255, 255, 255, .6); }
.f-count { font: 500 2rem var(--serif); color: var(--gold-2); margin-top: 14px; }
.f-count-text { font-size: 1.3rem; color: #fff; }
.f-unit { font-size: .82rem; color: rgba(255, 255, 255, .7); }

/* Floating social rail (desktop), like the Chaty buttons on the old site */
.social-rail { display: none; }
@media (min-width: 980px) {
  .social-rail { position: fixed; right: 18px; bottom: 24px; z-index: 55; display: flex; flex-direction: column; gap: 10px; }
  .social-rail a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); transition: transform .2s; }
  .social-rail a:hover { transform: scale(1.1); }
  .social-rail svg { width: 21px; height: 21px; }
  .r-wa { background: #25d366; } .r-call { background: var(--brand); } .r-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); } .r-tiktok { background: #000; } .r-youtube { background: #ff0000; } .r-x { background: #000; }
}

/* footer + menus */
.footer-logo img { width: 210px; height: auto; }
.footer-socials, .mobile-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a, .mobile-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid !important; place-items: center; padding: 0 !important; border: 1px solid rgba(255, 255, 255, .2); }
.footer-socials a:hover { background: var(--brand); border-color: var(--brand); }
.mobile-socials { padding-top: 16px; }
.mobile-socials a { border: 1px solid var(--line) !important; color: var(--ink); }
.site-footer h3 { color: var(--gold-2); }
.contact-socials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; max-width: 420px; }
.contact-socials a { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: #fff; }
.contact-socials a:hover { border-color: var(--brand); }
.contact-socials svg { color: var(--brand); width: 20px; height: 20px; }
.contact-socials span { display: flex; flex-direction: column; font-weight: 600; font-size: .9rem; }
.contact-socials small { font-weight: 400; color: var(--muted); }
@media (min-width: 900px) { .estates, .estates-lg { grid-template-columns: repeat(3, 1fr); } }
.estates-lg { grid-template-columns: repeat(2, 1fr); }
.portrait-throne { aspect-ratio: 2 / 3; object-position: center 30%; }

/* ---------- v3 navigation: grouped dropdowns, phone, single chat button ---------- */
.main-nav { align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; padding: 22px 12px; border-bottom: 2px solid transparent; }
.nav-item > a .chev { width: 14px; height: 14px; transition: transform .2s; opacity: .6; }
.nav-item:hover > a .chev, .nav-item:focus-within > a .chev { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% - 6px); left: 0; min-width: 230px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(28, 23, 21, .14); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.nav-item:hover .sub, .nav-item:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: 10px 12px; border: 0; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.main-nav .sub a:hover { background: var(--cream); color: var(--brand); }
.header-phone { display: none; align-items: center; gap: 6px; margin-left: 18px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone svg { color: var(--brand); }
.header-phone:hover { color: var(--brand); }
@media (min-width: 1180px) { .header-phone { display: inline-flex; } }
.site-header .header-cta { margin-left: 14px; }

/* single floating chat button replaces the six-icon rail */
.social-rail { display: none !important; }
.wa-fab { display: none; }
@media (min-width: 980px) {
  .wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; background: var(--paper); border-radius: 999px; box-shadow: 0 12px 32px rgba(28, 23, 21, .22); text-decoration: none; color: var(--ink); animation: rise .6s 1.5s both; transition: transform .2s; }
  .wa-fab:hover { transform: translateY(-2px); }
  .wa-fab img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
  .wa-fab span { display: flex; flex-direction: column; line-height: 1.2; padding-right: 4px; }
  .wa-fab strong { font-size: .9rem; }
  .wa-fab small { font-size: .72rem; color: var(--wa); }
  .wa-fab i { width: 44px; height: 44px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; }
  .wa-fab i svg { width: 22px; height: 22px; }
}

/* ---------- mobile fixes (v3.1) ---------- */
/* grid children default to min-width:auto, so the unit table was stretching the page sideways */
.detail-main, .detail-side, .two-col > *, .cta-band > *, .about-teaser > * { min-width: 0; }
.link-arrow { padding: 8px 0 6px; }
@media (max-width: 600px) {
  /* unit-price table becomes stacked cards */
  .table-wrap { border: 0; overflow: visible; }
  .units { min-width: 0; }
  .units thead { display: none; }
  .units, .units tbody, .units tr, .units td { display: block; width: 100%; }
  .units tr { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 12px 56px 12px 14px; margin-bottom: 10px; background: #fff; }
  .units td { border: 0; padding: 2px 0; }
  .units td:first-child { font-weight: 600; color: var(--ink); }
  .units td:nth-child(2) { font-size: .85rem; color: var(--muted); }
  .units td:nth-child(3) { margin-top: 4px; }
  .units td strong { white-space: normal; }
  .units td:last-child { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: auto; padding: 0; }
  .units .unit-ask { width: 40px; height: 40px; }
  .units tr:hover td { background: none; }
  /* tighter detail type */
  .detail h1 { font-size: 1.85rem; }
  .detail-price { font-size: 1.6rem; }
  .keyfacts div { flex-direction: column; gap: 2px; }
  .keyfacts dd { text-align: left; }
  .facts-lg { gap: 10px 16px; font-size: .92rem; }
  .gallery { gap: 6px; }
  .g-count { right: 22px; }
  .detail { padding-top: 24px; gap: 28px; }
  .section { padding: 56px 0; }
  .follow-card { padding: 16px; }
  .f-count { font-size: 1.6rem; }
  .faq summary { font-size: 1.05rem; }
  .faq details p { padding-right: 0; }
  .search-compact .search-fields { grid-template-columns: 1fr 1fr; }
  .search-compact .search-fields .field:first-child, .search-compact .search-fields .btn { grid-column: 1 / -1; }
  .filter-row { gap: 10px; }
  .filter-row .field-inline { order: 3; }
  .logo img { height: 48px; }
}
/* Netlify's free-plan badge: keep it visible but above the phone Call/WhatsApp bar */
@media (max-width: 979px) { #nl-badge-frame { bottom: calc(78px + env(safe-area-inset-bottom)) !important; } }
@media (min-width: 980px) { #nl-badge-frame { bottom: 84px !important; } }

/* Photo viewer: don't rely on <dialog> top-layer support (Instagram/Facebook in-app browsers render it as an inline box) */
.lightbox[open] { position: fixed !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 0; z-index: 2147483000; display: grid; place-items: center; background: #0d0a09; }
.lightbox img { max-width: 100vw; max-height: calc(100% - 140px); width: auto; height: auto; border-radius: 0; }
.lightbox button { z-index: 2; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-counter { bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 2; }
@media (max-width: 600px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lightbox button { width: 46px; height: 46px; } }
html.lb-open, html.lb-open body { overflow: hidden; }
html.lb-open .mobile-bar, html.lb-open .wa-fab, html.lb-open #nl-badge-frame { display: none !important; }
