/* ==========================================================================
   Sarb Singh — agent site design system
   Monochrome luxury, modelled on the jademillsestates.com visual LANGUAGE:
   warm near-black + ivory + warm grey, a high-contrast serif display face
   (Italiana), a full-bleed cinematic hero, wide-tracked uppercase labels, and
   generous editorial whitespace. (Their design language; NOT their script logo,
   content, or brand marks — see SITE_ROADMAP.md §0 / "Design pivot".)
   The single accent token is still named --copper for historical reasons; its
   VALUE is now a restrained warm gold reserved for hairline details (rating
   stars, thin rules), never a loud fill. Everything follows from here.
   ========================================================================== */

/* Self-hosted display serif — same-origin (CSP font-src 'self'), no CDN call. */
@font-face {
  font-family: "Italiana";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/site/fonts/italiana-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Signature script — the personal-brand wordmark (header, footer, brand band). */
@font-face {
  font-family: "Alex Brush";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/site/fonts/alexbrush-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Readable companion serif for FIGURES — Italiana's high contrast makes numbers
   like "$14M" hard to read, so stats/prices use Lora (lower contrast, sturdy
   lining figures) instead. Variable 400–700. */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/site/fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand — a restrained warm gold as the only accent, for hairline detail */
  --copper: #a9855a;
  --copper-deep: #8a6d3b;
  --copper-soft: #f2ece1;
  --ink: #1a1a1a;
  --ink-2: #3c3934;
  --muted: #8a8378;
  --surface: #ffffff;
  --surface-alt: #f6f4f0;
  --surface-sunk: #ece7de;
  --line: #e6e2da;
  --line-strong: #cfc9bd;
  --dark: #141210;
  --dark-2: #0d0b0a;
  --on-dark: #f5f1ea;
  --on-dark-muted: #a9a196;
  --star-on: #a9855a;
  --star-off: #d8d2c6;

  /* eXp Realty — brokerage endorsement accent. Sarb Singh stays the primary
     brand; eXp appears as a restrained brokerage lockup (header, footer, email,
     PDF). Colour is eXp's official Slate Blue (#506CAA, per the eXp Brand
     Toolkit palette); the on-dark tone is a lightened slate so the mark reads
     over the dark hero/footer. */
  --exp-blue: #506caa;
  --exp-blue-on-dark: #93a9d6;

  /* Status tones — monochrome. Ribbons read as one understated dark tag; a
     single warm-gold reserved for SOLD. (see .ribbon overrides below) */
  --tone-sale: #1a1a1a;
  --tone-offer: #6b6459;
  --tone-soon: #6b6459;
  --tone-sold: #8a6d3b;
  --tone-lease: #6b6459;
  --tone-muted: #6b6459;

  /* Type — Italiana display serif + a clean system grotesque for body/labels. */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Italiana", "Cormorant Garamond", Didot, "Times New Roman", Georgia, serif;
  --serif-num: "Lora", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Alex Brush", "Snell Roundhand", "Segoe Script", cursive;

  /* Type scale — 10 steps, single source of truth for every font-size.
     Lower range is lean; the top keeps the signature + rating sizes distinct. */
  --fs-xs: 0.75rem;         /* 12px  labels, eyebrows, nav, ribbons, meta */
  --fs-sm: 0.875rem;        /* 14px  secondary body, card meta, specs */
  --fs-base: 1rem;          /* 16px  body, leads */
  --fs-md: 1.25rem;         /* 20px  small headings, lead-lg */
  --fs-lg: 1.5rem;          /* 24px  sub-headings, card price, review title */
  --fs-xl: 2rem;            /* 32px  section headings, large display */
  --fs-2xl: 2.5rem;         /* 40px  signature wordmark (header / footer) */
  --fs-3xl: 3rem;           /* 48px  rating number */
  --fs-4xl: 4rem;           /* 64px  big rating number */
  --fs-5xl: 5rem;           /* 80px  large display figure */

  /* Rhythm — 8pt grid. Generous but not cavernous (was 140px; that stacked to
     ~280px of dead space between sections). */
  --sec-y: 68px;
  --wrap: 1240px;
  --gap: 24px;

  /* Spacing — 4px/8pt grid, single source of truth for padding. */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-28: 28px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-56: 56px;
  --sp-64: 64px;
  --sp-72: 72px;
  --sp-96: 96px;
  --sp-104: 104px;
  --r: 0px;
  --shadow: 0 1px 2px rgba(20, 18, 16, .04), 0 8px 30px rgba(20, 18, 16, .06);
  --shadow-lift: 0 2px 8px rgba(20, 18, 16, .08), 0 24px 60px rgba(20, 18, 16, .14);

  /* Light only — never adapt to the OS dark setting. color-scheme:light also
     keeps form controls, scrollbars and browser chrome light. */
  color-scheme: light;
}

@media (max-width: 900px) { :root { --sec-y: 52px; } }
@media (max-width: 560px) { :root { --sec-y: 40px; } }

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: var(--fs-base);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-24); }

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); display: inline-block; }

/* --- Preview banner ------------------------------------------------------ */
/* Fixed colours, not tokens: this strip must stay legible in both themes, and
   --ink/--on-dark invert against each other in dark mode. */
.fixture-banner {
  background: #141210;
  color: #e7ded8;
  font-size: var(--fs-xs);
  text-align: center;
  padding: var(--sp-12) var(--sp-24);
  letter-spacing: .01em;
}
.fixture-banner strong { color: var(--copper); }

/* --- Header -------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 32px; height: 84px; }

.logo { text-decoration: none; display: grid; line-height: 1.1; flex: none; }
.logo-name { font-family: var(--serif); font-weight: 400; font-size: var(--fs-lg); letter-spacing: .04em; }
.logo-name.logo-sig { font-family: var(--script); font-size: var(--fs-2xl); letter-spacing: .01em; line-height: .82; padding-top: var(--sp-4); }
@media (max-width: 980px) { .logo-name.logo-sig { font-size: var(--fs-xl); } }

/* Header co-brand lockup — [eXp Realty mark] | Sarb Singh signature, with the
   market ("Copper Coast") on the sub-line. currentColor drives the rule + the
   "REALTY" caps so they follow the header's light/dark inversion; "eXp" and the
   signature keep their own colours. */
.logo-lockup { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); }
.logo-exp { display: flex; align-items: center; }
.exp-logo { height: 40px; width: auto; display: block; }
.exp-logo-dark { display: none; }        /* white logo — only over the dark hero */
.logo-agency { font-family: var(--serif); font-size: var(--fs-md); letter-spacing: .02em; }
.logo-rule { width: 1px; height: 2.1em; background: currentColor; opacity: .3; }
.logo-lockup .logo-name.logo-sig { padding-top: 0; }
@media (max-width: 980px) {
  .logo-lockup { gap: 11px; }
  .exp-logo { height: 34px; }
}
/* Inversion: the white logo shows over the dark hero; the black one returns
   once the header solidifies on scroll (and on every non-home page). */
body[data-page="/"] .site-head .logo-lockup { color: var(--on-dark); }
body[data-page="/"] .site-head .exp-logo-light { display: none; }
body[data-page="/"] .site-head .exp-logo-dark { display: block; }
body[data-page="/"] .site-head.is-solid .logo-lockup { color: var(--ink); }
body[data-page="/"] .site-head.is-solid .exp-logo-light { display: block; }
body[data-page="/"] .site-head.is-solid .exp-logo-dark { display: none; }

.nav { margin-left: auto; }
.nav-list { list-style: none; padding: 0; display: flex; align-items: center; gap: 34px; }
.nav-list a { text-decoration: none; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: var(--sp-8) 0; position: relative; }
.nav-list a:hover { color: var(--copper); }
/* The CTA is a framed button, not a plain nav link: `.nav-list a`'s `padding: 6px 0`
   otherwise zeroes its horizontal padding, pinning the frame against the text. */
.nav-cta a.btn { padding: var(--sp-12) var(--sp-20); }
/* The header CTA is a .btn-primary sitting inside .nav-list, whose
   `.nav-list a { color: var(--ink-2) }` (specificity 0,1,1) otherwise beats
   .btn-primary's own light text (0,1,0) and renders "Start a conversation"
   dark-on-dark on every non-home page. This (0,3,0) restores the button text;
   the higher-specificity body[data-page="/"] header rules still govern home. */
.nav-list .nav-cta .btn-primary { color: var(--on-dark); }
.nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--copper);
}
.nav-toggle { display: none; background: none; border: 0; padding: var(--sp-12); cursor: pointer; }
.nav-bars, .nav-bars::before, .nav-bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-bars { position: relative; }
.nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; }
.nav-bars::before { top: -7px; } .nav-bars::after { top: 7px; }

.head-phone {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 600; font-size: var(--fs-sm); color: var(--ink); flex: none;
}
.head-phone:hover { color: var(--copper); }

@media (max-width: 980px) {
  .head-inner { gap: 16px; height: 64px; }
  .head-phone span { display: none; }
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: var(--sp-8) var(--sp-24) var(--sp-20); box-shadow: var(--shadow);
  }
  .nav-list:not(.is-open) { display: none; }
  .nav-list li { border-top: 1px solid var(--line); }
  .nav-list a { display: block; padding: var(--sp-16) 0; font-size: var(--fs-xs); }
  .nav-cta { border-top: 0 !important; padding-top: var(--sp-16); }
  .nav-cta a { text-align: center; }
  /* The open menu is always a light panel — force dark links even on the home
     page, where the (closed) transparent header otherwise renders them light.
     The .site-head qualifier lifts specificity above the header-over-hero rule
     that is defined later in the file. */
  body[data-page="/"] .site-head .nav-list.is-open a { color: var(--ink); }
  body[data-page="/"] .site-head .nav-list.is-open a:hover { color: var(--copper); }
  body[data-page="/"] .site-head .nav-list.is-open .nav-cta .btn-primary {
    background: var(--ink); border-color: var(--ink); color: var(--on-dark);
  }
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: var(--sp-16) var(--sp-32); border-radius: var(--r); border: 1px solid transparent;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .16s;
  white-space: nowrap;
}
.btn .ico { font-size: 1.15em; }
.btn:active { transform: translateY(1px); }
/* Primary = the luxury dark solid button. */
.btn-primary { background: var(--ink); color: var(--on-dark); font-weight: 500; }
.btn-primary:hover { background: #000; }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: #000; }
/* Secondary action: hairline bordered, dark text. */
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: var(--sp-12) var(--sp-20); font-size: var(--fs-xs); letter-spacing: .14em; }
.btn-lg { padding: var(--sp-20) var(--sp-40); font-size: var(--fs-xs); }
.btn-block { width: 100%; }
/* On the dark cinematic hero / CTA band, the bordered button inverts to light. */
.hero .btn-outline, .cta .btn-outline {
  border-color: rgba(245, 241, 234, .4); color: var(--on-dark); background: transparent;
}
.hero .btn-outline:hover, .cta .btn-outline:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.hero .btn-primary, .cta .btn-primary { background: var(--on-dark); color: var(--ink); }
.hero .btn-primary:hover, .cta .btn-primary:hover { background: #fff; }

/* --- Typography helpers -------------------------------------------------- */
.eyebrow {
  font-size: var(--fs-xs); letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 14px;
}
.eyebrow-light { color: var(--on-dark-muted); }

.sec-title {
  font-family: var(--serif); font-weight: 400; letter-spacing: .005em;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12;
}
.sec-lead { color: var(--muted); max-width: 60ch; margin-top: 18px; font-size: var(--fs-base); line-height: 1.7; }

.prose p { margin-bottom: 18px; color: var(--ink-2); text-align: justify; }
.prose p:last-child { margin-bottom: 0; }
.prose-lg p { font-size: var(--fs-md); line-height: 1.75; }
.prose-cols { columns: 2; column-gap: 48px; }
@media (max-width: 760px) { .prose-cols { columns: 1; } }

/* Legal / policy pages — long-form readable text. */
.legal { max-width: 760px; }
.legal-meta { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 28px; }
.legal h2 {
  font-family: var(--serif); font-size: var(--fs-lg); font-weight: 400;
  margin: 40px 0 14px; line-height: 1.25;
}
.legal ul { margin: 0 0 18px; padding-left: var(--sp-24); }
.legal li { margin-bottom: 10px; color: var(--ink-2); line-height: 1.65; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--copper-deep); }
.legal strong { color: var(--ink); font-weight: 600; }

/* --- Sections ------------------------------------------------------------ */
.sec { padding: var(--sec-y) 0; }
.sec-tight { padding: calc(var(--sec-y) * .62) 0; }
.sec-alt { background: var(--surface-alt); }
/* Centered editorial header — eyebrow / serif title / lead, action stacked below. */
.sec-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 18px; margin-bottom: 40px;
}
.sec-head > div { max-width: 62ch; }
.sec-head .sec-lead { margin-inline: auto; }

/* --- Hero (full-bleed cinematic: dark image, centered serif) -------------- */
.hero {
  position: relative; background: var(--dark); color: var(--on-dark);
  overflow: hidden; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
}
.hero-media {
  position: absolute; inset: 0; background-color: var(--dark);
  background-size: cover; background-position: center;
  transform: scale(1.04); /* very slight overscan so the edges never show */
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 72% 58% at 50% 44%, rgba(15, 13, 11, .58), rgba(15, 13, 11, 0) 76%),
    linear-gradient(180deg, rgba(15, 13, 11, .55) 0%, rgba(15, 13, 11, .42) 45%, rgba(15, 13, 11, .85) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--sp-96) 0 var(--sp-56);
}
.hero-eyebrow {
  font-size: var(--fs-xs); letter-spacing: .34em; text-transform: uppercase;
  color: var(--on-dark-muted); font-weight: 500; margin-bottom: 30px;
}
.hero-title {
  font-family: var(--serif-num); font-weight: 400; font-style: normal; color: var(--on-dark);
  font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.7; letter-spacing: .015em;
  text-wrap: pretty; max-width: 64rem; margin-inline: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55), 0 2px 24px rgba(0, 0, 0, .55);
}
.hero-title::before,
.hero-title::after { font-size: 1.9em; line-height: 0; vertical-align: -.42em; opacity: .82; }
.hero-title::before { content: "\201C"; margin-right: .03em; }
.hero-title::after { content: "\201D"; margin-left: .05em; }
.hero-sub {
  font-size: clamp(.95rem, 1.6vw, 1.15rem); color: var(--on-dark);
  margin-top: 26px; font-weight: 300; letter-spacing: .08em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
.hero-sub::before { content: "\2014\00A0"; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 46px; justify-content: center; }

/* Compact listing-alert capture, embedded in the hero. Same editorial language:
   uppercase micro-label, a single hairline-underlined input, and a circular
   arrow submit — no boxes, so it stays quiet against the photograph. */
.hero-alerts { margin-top: 40px; width: 100%; max-width: 380px; display: flex; flex-direction: column; align-items: center; }
.hero-alerts-label {
  font-size: var(--fs-xs); letter-spacing: .28em; text-transform: uppercase;
  color: var(--on-dark-muted); font-weight: 500; margin-bottom: 16px;
}
.hero-alerts-form {
  display: flex; align-items: center; gap: 8px; width: 100%;
  border-bottom: 1px solid rgba(245, 241, 234, .4);
  transition: border-color .3s ease;
}
.hero-alerts-form:focus-within { border-bottom-color: var(--on-dark); }
.hero-alerts-input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  color: var(--on-dark); font-family: inherit; font-size: var(--fs-sm); font-weight: 300;
  letter-spacing: .02em; padding: var(--sp-12) var(--sp-4);
}
.hero-alerts-input::placeholder { color: var(--on-dark-muted); }
.hero-alerts-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid rgba(245, 241, 234, .4);
  color: var(--on-dark); transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.hero-alerts-btn:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.hero-alerts-btn .ico { width: 18px; height: 18px; }
.hero-alerts-msg { margin-top: 14px; text-align: center; }
.hero-alerts-msg.is-ok { color: var(--on-dark); }
.hero-alerts-msg:empty { margin-top: 0; }
.hero-scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 30px; transform: translateX(-50%);
  color: var(--on-dark); opacity: .65; transition: opacity .3s; text-decoration: none;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll .ico { width: 26px; height: 26px; }

/* Rating badge — legacy hero side element, retained for /reviews reuse. */
.rating-badge {
  display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  padding: var(--sp-20) var(--sp-24); border-radius: var(--r); box-shadow: var(--shadow);
  transition: border-color .16s, box-shadow .16s;
}
.rating-badge:hover { border-color: var(--copper); box-shadow: var(--shadow-lift); }
.rating-num { font-family: var(--serif); font-size: var(--fs-3xl); line-height: 1; font-weight: 400; color: var(--ink); }
.rating-meta { display: grid; gap: 7px; }
.rating-count { font-size: var(--fs-xs); color: var(--muted); }

@media (max-width: 900px) {
  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero-inner { padding: var(--sp-96) 0 var(--sp-48); }
}

/* --- Header over hero: transparent at top, solidifies on scroll ----------
   The header stays sticky (its default) and the hero is pulled up under it, so
   the transparent bar overlays the image while anything ABOVE the header in the
   flow — e.g. the dev-only preview banner — is never overlapped. */
body[data-page="/"] .hero { margin-top: -85px; }
@media (max-width: 980px) { body[data-page="/"] .hero { margin-top: -65px; } }
body[data-page="/"] .site-head {
  background: transparent;
  backdrop-filter: none; border-bottom-color: transparent;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
body[data-page="/"] .site-head .logo-name,
body[data-page="/"] .site-head .head-phone,
body[data-page="/"] .site-head .nav-list a { color: var(--on-dark); }
body[data-page="/"] .site-head .nav-bars,
body[data-page="/"] .site-head .nav-bars::before,
body[data-page="/"] .site-head .nav-bars::after { background: var(--on-dark); }
body[data-page="/"] .site-head .nav-cta .btn-primary {
  background: transparent; border-color: rgba(245, 241, 234, .45); color: var(--on-dark);
}
body[data-page="/"] .site-head .nav-cta .btn-primary:hover { background: var(--on-dark); color: var(--ink); }

body[data-page="/"] .site-head.is-solid {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(160%) blur(12px); border-bottom-color: var(--line);
}
body[data-page="/"] .site-head.is-solid .logo-name,
body[data-page="/"] .site-head.is-solid .head-phone,
body[data-page="/"] .site-head.is-solid .nav-list a { color: var(--ink); }
body[data-page="/"] .site-head.is-solid .nav-bars,
body[data-page="/"] .site-head.is-solid .nav-bars::before,
body[data-page="/"] .site-head.is-solid .nav-bars::after { background: var(--ink); }
body[data-page="/"] .site-head.is-solid .nav-cta .btn-primary {
  background: var(--ink); border-color: var(--ink); color: var(--on-dark);
}

/* --- Stars --------------------------------------------------------------- */
.stars { position: relative; display: inline-block; white-space: nowrap; line-height: 0; }
.stars-row { display: inline-flex; gap: 2px; }
.stars .ico { width: 1em; height: 1em; }
.stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; }
.stars-sm { font-size: var(--fs-sm); }
.stars-md { font-size: var(--fs-md); }

/* --- Stat band ----------------------------------------------------------- */
.statband { background: var(--surface-alt); border-block: 1px solid var(--line); }
.positioning-band {
  background: var(--surface-alt); border-block: 1px solid var(--line);
  padding: clamp(26px, 4vw, 48px) 0; text-align: center;
}
.positioning-line {
  margin: 0; font-family: var(--serif); text-transform: uppercase;
  letter-spacing: .2em; font-size: clamp(1rem, 2.1vw, 1.5rem);
  color: var(--ink); font-weight: 700;
}
.positioning-sep { color: var(--line-strong); margin: 0 .45em; }
.statband-inline { border-top: 0; }
.statband-inner {
  /* auto-fit so the row looks right whether it has 3, 4 or 5 tiles (tiles with
     a zero value are dropped in the template). */
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; background: var(--line); padding: 0;
}
.statband-inner > .stat { background: var(--surface-alt); padding: var(--sp-28) var(--sp-24); text-align: center; }
.statband-inline .statband-inner { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat-value { font-family: var(--serif); font-size: clamp(2.1rem, 3.6vw, 3rem); font-weight: 400; line-height: 1.05; }
.stat-label { font-size: var(--fs-xs); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-top: 12px; }
.stat-sub { font-size: var(--fs-xs); color: var(--muted); margin-top: 5px; }
@media (max-width: 900px) { .statband-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .statband-inner { grid-template-columns: 1fr; } }

/* --- Tabs ---------------------------------------------------------------- */
.tabbar {
  display: flex; gap: 4px; margin-bottom: 32px;
  border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.tabbar button {
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: var(--sp-12) var(--sp-20); font-size: var(--fs-sm); font-weight: 600; color: var(--muted); cursor: pointer;
}
.tabbar button:hover { color: var(--ink); }
.tabbar button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--copper); }

/* --- Carousel ----------------------------------------------------------- */
/* Horizontal, scroll-snapping track. Works with no JS (native scroll); the
   nav buttons are revealed by site.js only when the content overflows. */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: var(--sp-8);
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 clamp(280px, 32%, 380px); scroll-snap-align: start; min-width: 0;
}
.carousel-nav {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--ink); color: var(--on-dark); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.28); transition: transform .12s, background .15s, opacity .15s;
}
.carousel-nav:hover { background: #000; border-color: #000; transform: translateY(-50%) scale(1.06); }
.carousel-nav[hidden] { display: none; }
.carousel-nav .ico { width: 28px; height: 28px; }
.carousel-prev { left: -14px; }
.carousel-prev .ico { transform: rotate(180deg); }
.carousel-next { right: -14px; }
@media (max-width: 700px) {
  .carousel-item { flex-basis: 85%; }
  .carousel-nav { display: none !important; }
}

/* --- Listing grid + card ------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid > [data-status] { display: contents; }
.grid > [data-status][hidden] { display: none; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 660px) { .grid { grid-template-columns: 1fr; } }

/* Under three results the grid switches shape rather than leaving holes. */
.grid-sparse { grid-template-columns: 1fr; gap: 24px; }
.card-wide { display: grid; grid-template-columns: minmax(0, 420px) 1fr; align-items: stretch; }
@media (max-width: 760px) { .card-wide { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 0; border-radius: 0;
  overflow: hidden; display: flex; flex-direction: column;
}
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--surface-sunk); overflow: hidden; }
.card-wide .card-media { aspect-ratio: auto; height: 100%; min-height: 260px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media img { transform: scale(1.06); }

/* One understated tag rather than a palette of coloured ribbons. */
.ribbon {
  position: absolute; top: 16px; left: 16px;
  background: rgba(20, 18, 16, .72); color: var(--on-dark); backdrop-filter: blur(3px);
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: var(--sp-8) var(--sp-12); border-radius: 0;
}
.ribbon-lg { top: 20px; left: 20px; font-size: var(--fs-xs); padding: var(--sp-8) var(--sp-16); }
.ribbon-sold { background: var(--copper-deep); }

.card-count {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(20, 16, 14, .72); color: #fff; font-size: var(--fs-xs);
  padding: var(--sp-4) var(--sp-12); border-radius: 3px;
}
.card-body { padding: var(--sp-24) var(--sp-4) var(--sp-4); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-price { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 400; letter-spacing: .01em; }
.card-sold .card-price { color: var(--copper-deep); }
.card-address a { text-decoration: none; display: grid; gap: 4px; font-size: var(--fs-sm); font-weight: 500; }
.card-address span { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); letter-spacing: .02em; }
.card-address a:hover { color: var(--copper); }
.card-specs {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: var(--sp-12); border-top: 1px solid var(--line); font-size: var(--fs-sm);
}
.spec { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.spec .ico { color: var(--muted); font-size: 1.05em; }
.card-type { margin-left: auto; font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card-meta {
  margin-top: auto; display: flex; align-items: center; gap: 9px;
  font-size: var(--fs-xs); color: var(--muted); min-height: 22px;
}
.card-meta-open { color: var(--tone-sale); font-weight: 600; }

.empty {
  border: 1px dashed var(--line-strong); border-radius: var(--r);
  padding: var(--sp-64) var(--sp-32); text-align: center; display: grid; gap: 20px; justify-items: center;
  color: var(--muted); background: var(--surface-alt);
}

.result-count { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 24px; }

/* --- Filters ------------------------------------------------------------- */
.filters {
  display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap;
  padding: var(--sp-24); background: var(--surface-alt);
  border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 28px;
}
.filters .field { margin: 0; min-width: 190px; }

/* --- Forms --------------------------------------------------------------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; border: 0; padding: 0; }
.field label, .field legend { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: var(--sp-12) var(--sp-12); border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--surface); width: 100%; font-size: var(--fs-sm);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block; padding: var(--sp-8) var(--sp-16); border: 1px solid var(--line-strong);
  border-radius: 100px; font-size: var(--fs-xs); cursor: pointer; transition: all .15s;
}
.chip input:checked + span { background: var(--copper); border-color: var(--copper); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-fine { font-size: var(--fs-xs); color: var(--muted); margin-top: 12px; line-height: 1.5; }
.form-msg { font-size: var(--fs-sm); margin-top: 12px; font-weight: 600; }
.form-msg:empty { margin: 0; }
.form-msg.is-ok { color: var(--tone-sale); }
.form-msg.is-err { color: #b3261e; }

/* --- Reviews ------------------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.reviews-grid-all { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
@media (max-width: 980px) { .reviews-grid, .reviews-grid-all { grid-template-columns: 1fr; } }

.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--sp-28); display: flex; flex-direction: column; gap: 14px;
}
.sec-alt .review { background: var(--surface); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-src { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.review-title { font-family: var(--serif); font-size: var(--fs-md); font-weight: 700; line-height: 1.3; }
.review-body { color: var(--ink-2); font-size: var(--fs-sm); flex: 1; }
.review-foot {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: var(--fs-xs); color: var(--muted); padding-top: var(--sp-16); border-top: 1px solid var(--line);
}
.review-who { font-weight: 600; color: var(--ink-2); }

/* Facebook feed — each card rendered to look like a real Facebook post
   (identity row, full post text, natural-aspect photo, reaction bar) rather
   than re-themed to the site. Uses Facebook's own type stack + colours. */
.fb-post {
  --fb-blue: #1877f2; --fb-ink: #050505; --fb-grey: #65676b; --fb-line: #ced0d4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex; flex-direction: column; height: 100%; background: #fff;
  border: 1px solid var(--fb-line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.1); color: var(--fb-ink);
}
.fb-post-head { display: flex; align-items: center; gap: 8px; padding: var(--sp-12) var(--sp-16) var(--sp-8); }
.fb-ava { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; display: block; }
.fb-ava-mono {
  display: grid; place-items: center; background: var(--fb-blue); color: #fff;
  font-weight: 700; font-size: var(--fs-md); font-family: inherit;
}
.fb-post-id { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.fb-post-name { font-weight: 600; font-size: var(--fs-sm); color: var(--fb-ink); text-decoration: none; }
.fb-post-name:hover { text-decoration: underline; }
.fb-post-time { display: flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--fb-grey); }
.fb-globe { width: 12px; height: 12px; color: var(--fb-grey); }
.fb-post-logo { width: 20px; height: 20px; color: var(--fb-blue); margin-left: auto; flex: none; }
.fb-post-body { padding: 0 var(--sp-16) var(--sp-12); }
.fb-post-text {
  color: var(--fb-ink); font-size: var(--fs-sm); line-height: 1.4;
  white-space: normal; word-break: break-word;
}
/* With JS on, clamp long posts to 8 lines so every card is the same height; the
   "See more" button (revealed by site.js only when text is actually cut off)
   opens the full post in a popup. Without JS the full text simply shows. */
.has-js .fb-post-text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8;
  overflow: hidden; max-height: calc(1.4em * 8);
}
.has-js .fb-post-text[data-clamped] { cursor: pointer; }
.fb-post-more {
  margin-top: 3px; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--fb-ink); font-weight: 600; font-size: var(--fs-sm); font-family: inherit;
  text-decoration: none;
}
.fb-post-more:hover { text-decoration: underline; }
.fb-post-media {
  display: block; background: #f0f2f5; border-block: 1px solid var(--fb-line);
  aspect-ratio: 16 / 10; overflow: hidden;
}
.fb-post-media img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Full-post popup opened from "See more". */
.fb-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: var(--sp-20); }
.fb-modal[hidden] { display: none; }
.fb-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.fb-modal-card {
  position: relative; z-index: 1; background: #fff; border-radius: 10px; overflow: hidden;
  width: min(560px, 100%); max-height: 90vh; display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #050505; box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.fb-modal-x {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px;
  border-radius: 50%; border: 0; background: #e4e6eb; color: #050505;
  font-size: var(--fs-md); line-height: 1; cursor: pointer;
}
.fb-modal-x:hover { background: #d8dade; }
.fb-modal-body { overflow-y: auto; }
.fb-modal-body .fb-post-head { display: flex; align-items: center; gap: 8px; padding: var(--sp-16) var(--sp-56) var(--sp-12) var(--sp-16); }
.fb-modal-body .fb-post-text {
  display: block; -webkit-line-clamp: unset; max-height: none; overflow: visible;
  padding: 0 var(--sp-16) var(--sp-16); font-size: var(--fs-sm); line-height: 1.45;
}
.fb-modal-body .fb-post-media { aspect-ratio: auto; border-top: 1px solid #e4e6eb; }
.fb-modal-body .fb-post-media img { height: auto; max-height: 70vh; object-fit: contain; }
.fb-modal-foot { padding: var(--sp-16) var(--sp-16); border-top: 1px solid #e4e6eb; }
.fb-modal-foot a { display: inline-flex; align-items: center; gap: 8px; color: #1877f2; font-weight: 600; text-decoration: none; }
.fb-modal-foot a:hover { text-decoration: underline; }
/* Two-button CTA replaces the Like/Comment/Share bar. "I'm interested" is the
   bold, dark, compelling contact button; "View on Facebook" is the FB-blue
   secondary. */
.fb-post-cta {
  display: flex; gap: 8px; padding: var(--sp-12) var(--sp-12); border-top: 1px solid #e4e6eb; margin-top: auto;
}
.fb-post-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--sp-12) var(--sp-12); border-radius: 6px; font-size: var(--fs-sm); font-weight: 700; cursor: pointer;
  font-family: inherit; text-decoration: none; border: 1px solid transparent; line-height: 1;
}
.fb-btn-ico { width: 16px; height: 16px; flex: none; }
.fb-btn-ghost { background: #e7f0fe; color: #1877f2; }
.fb-btn-ghost:hover { background: #d8e6fd; }
.fb-btn-solid { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.fb-btn-solid:hover { background: #000; }

/* "I'm interested" — email-only lead popup. */
.fb-lead { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: var(--sp-20); }
.fb-lead[hidden] { display: none; }
.fb-lead-card {
  position: relative; z-index: 1; background: var(--surface); border-radius: 12px; overflow: hidden;
  width: min(440px, 100%); box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.fb-lead-body { padding: var(--sp-32) var(--sp-32) var(--sp-32); }
.fb-lead-body h3 { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 400; margin-bottom: 8px; }
.fb-lead-lead { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 22px; line-height: 1.5; }
.fb-lead-body input[type="email"] {
  width: 100%; padding: var(--sp-16); border: 1px solid var(--line-strong); border-radius: 6px;
  font-size: var(--fs-base); margin-bottom: 14px; background: var(--surface);
}
.fb-lead-body input[type="email"]:focus { border-color: var(--copper); outline: none; }
.fb-lead-fine { font-size: var(--fs-xs); color: var(--muted); margin-top: 12px; }

.rating-summary {
  display: grid; grid-template-columns: auto 1fr auto; gap: 56px; align-items: center;
  padding: var(--sp-40); background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--r);
}
.rating-big { text-align: center; display: grid; gap: 10px; justify-items: center; }
.rating-big-num { font-family: var(--serif); font-size: var(--fs-4xl); font-weight: 700; line-height: 1; }
.rating-big-count { font-size: var(--fs-sm); color: var(--muted); }
.rating-bars { display: grid; gap: 9px; min-width: 240px; }
.bar-row { display: grid; grid-template-columns: 54px 1fr 28px; align-items: center; gap: 12px; font-size: var(--fs-xs); }
.bar { height: 8px; background: var(--surface-sunk); border-radius: 100px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--star-on); }
.bar-count { color: var(--muted); text-align: right; }
.bar-note { font-size: var(--fs-xs); color: var(--muted); margin-top: 6px; line-height: 1.5; }
.rating-sources { display: grid; gap: 14px; }
.source-tile { border: 1px solid var(--line); border-radius: var(--r); padding: var(--sp-16) var(--sp-20); background: var(--surface); min-width: 190px; }
.source-name { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.source-num { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 700; }
.source-num span { font-size: var(--fs-sm); color: var(--muted); font-family: var(--sans); font-weight: 400; }
.source-count { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 1000px) { .rating-summary { grid-template-columns: 1fr; gap: 32px; padding: var(--sp-28); } }

/* --- About --------------------------------------------------------------- */
.about-split { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: center; }
.about-page { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .about-split, .about-page { grid-template-columns: 1fr; gap: 40px; } }

.about-portrait {
  aspect-ratio: 4 / 5; border-radius: var(--r); display: grid; place-items: center;
  background: linear-gradient(155deg, var(--dark) 0%, #2a231d 100%);
  color: var(--copper); font-family: var(--serif); font-size: var(--fs-5xl); font-weight: 700;
  letter-spacing: .04em;
}
.about-portrait-lg { position: sticky; top: 100px; }

/* Editorial About: one framed card holding the italic name + title, the portrait,
   and the bio below — all connected on a single warm ground. */
/* Photo on the left (compact, plain corners), name + bio on the right. */
.about-frame {
  background: var(--copper-soft); border: 1px solid var(--line-strong);
  border-radius: var(--r); overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
}
.about-figure {
  float: left; width: clamp(240px, 34%, 340px);
  margin: 4px clamp(28px, 4vw, 44px) clamp(20px, 3vw, 28px) 0;
  border-radius: var(--r);
}
.about-copy .eyebrow { margin: 0 0 10px; }
.about-copy { min-width: 0; }
.about-name {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  text-transform: none; letter-spacing: .005em; line-height: 1.06;
  color: var(--ink); margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.about-role {
  margin: 14px 0 0; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
}
.about-brokerage {
  margin: 8px 0 0; font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--copper-deep);
}
.about-bio-prose { margin: clamp(22px, 3vw, 34px) 0 0; }
.about-copy .signature { margin-top: 18px; }
@media (max-width: 820px) {
  .about-figure {
    float: none; width: 100%; max-width: 300px;
    margin: 0 auto clamp(20px, 4vw, 28px);
  }
}

.ticklist { list-style: none; padding: 0; display: grid; gap: 12px; margin: 28px 0; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: var(--fs-sm); }
.ticklist .ico { color: var(--copper); margin-top: .3em; }
.ticklist-tight { margin-bottom: 0; }

.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.cred { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--sp-24); }
.cred-label { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--copper); font-weight: 700; }
.cred-value { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-2); }
.cred-note { margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); }

/* --- Newsletter ---------------------------------------------------------- */
.news-split { display: grid; grid-template-columns: 1fr 440px; gap: 72px; align-items: start; }
@media (max-width: 900px) { .news-split { grid-template-columns: 1fr; gap: 40px; } }
.news-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: var(--sp-32); box-shadow: var(--shadow);
}

/* --- Leave-a-review form ------------------------------------------------- */
.review-form-wrap { max-width: 640px; margin: 0 auto; }

/* Rating shown high-to-low so 5 reads first, but the input order is the DOM
   order — no reversed flex tricks that break keyboard navigation. */
.rating-input { display: flex; flex-wrap: wrap; gap: 8px; }
.rating-opt { position: relative; }
.rating-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-opt span {
  display: inline-block; padding: var(--sp-12) var(--sp-20); border: 1px solid var(--line-strong);
  border-radius: var(--r); font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.rating-opt input:checked + span { background: var(--copper); border-color: var(--copper); color: #fff; }
.rating-opt input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 20px; font-size: var(--fs-sm); color: var(--ink-2); }
.consent input { margin-top: .25em; flex: none; }

/* --- CTA band ------------------------------------------------------------ */
.cta { background: var(--dark); color: var(--on-dark); }
.cta-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center;
  padding-block: calc(var(--sec-y) * .8);
}
.cta-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; line-height: 1.14; }
.cta-lead { color: var(--on-dark-muted); margin-top: 16px; max-width: 56ch; }
.cta-action { display: grid; gap: 10px; justify-items: start; }
.cta-fine, .cta-alt { font-size: var(--fs-xs); color: var(--on-dark-muted); }
.cta-alt a { color: var(--copper); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; gap: 32px; } }

/* --- Page header --------------------------------------------------------- */
.pagehead { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: var(--sp-64) 0 var(--sp-56); text-align: center; }
.pagehead-title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; line-height: 1.08; letter-spacing: .01em; }
.pagehead-lead { color: var(--muted); margin: 18px auto 0; max-width: 60ch; font-size: var(--fs-base); line-height: 1.7; }

/* --- Breadcrumbs --------------------------------------------------------- */
.crumbs { padding: var(--sp-20) 0; font-size: var(--fs-xs); color: var(--muted); border-bottom: 1px solid var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--copper); }
.crumbs span { margin: 0 6px; }

/* --- Property gallery ---------------------------------------------------- */
.pgallery { background: var(--surface-sunk); }
.pgallery-hero { position: relative; aspect-ratio: 16 / 9; max-height: 620px; background: var(--surface-sunk); }
.pgallery-hero img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; display: block; }
.pgallery-all {
  position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: var(--sp-12) var(--sp-16); border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(20,18,16,.82); color: #fff; font-size: var(--fs-sm); font-weight: 600;
  font-family: var(--sans); backdrop-filter: blur(3px);
}
.pgallery-all:hover { background: rgba(0,0,0,.9); }
.pgallery-all .ico { width: 18px; height: 18px; }
.pgallery-strip {
  display: flex; gap: 6px; padding: var(--sp-8); overflow-x: auto;
  scrollbar-width: thin; background: var(--surface-sunk);
}
.pgallery-thumb {
  flex: 0 0 120px; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 4px;
  overflow: hidden; cursor: pointer; background: none;
}
.pgallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.pgallery-thumb:hover img { opacity: .85; }

/* Full-screen photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.92); }
.lightbox-fig { position: relative; z-index: 1; margin: 0; display: grid; gap: 14px; justify-items: center; padding: var(--sp-20); }
.lightbox-fig img { max-width: 92vw; max-height: 82vh; object-fit: contain; display: block; }
.lightbox-count { color: rgba(255,255,255,.85); font-size: var(--fs-sm); letter-spacing: .04em; }
.lightbox-x {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: var(--fs-lg); line-height: 1; cursor: pointer;
}
.lightbox-x:hover { background: rgba(255,255,255,.26); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 56px; height: 56px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: var(--fs-xl); line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,.26); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 600px) { .lightbox-nav { width: 44px; height: 44px; font-size: var(--fs-lg); } .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } }

/* --- Detail -------------------------------------------------------------- */
.detail-split { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }
@media (max-width: 1000px) { .detail-split { grid-template-columns: 1fr; gap: 48px; } }

.detail-price { font-family: var(--sans); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.detail-address { margin-top: 8px; font-size: var(--fs-md); font-weight: 600; display: grid; gap: 4px; }
.detail-address span { font-weight: 400; font-size: var(--fs-base); color: var(--muted); }
.detail-soldline { margin-top: 12px; color: var(--muted); font-size: var(--fs-sm); }

.specbar {
  display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 32px 0;
  padding: var(--sp-24) 0; border-block: 1px solid var(--line);
}
.specbar-item { display: flex; align-items: center; gap: 9px; font-size: var(--fs-sm); }
.specbar-item .ico { color: var(--copper); font-size: 1.25em; }
.specbar-item b { font-weight: 700; }
.specbar-item span { color: var(--muted); }

.detail-headline { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 700; line-height: 1.25; margin-bottom: 20px; }
.detail-h { font-family: var(--serif); font-size: var(--fs-md); font-weight: 700; margin: 44px 0 18px; }

.featurelist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.featurelist li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); }
.featurelist .ico { color: var(--copper); margin-top: .3em; }
@media (max-width: 660px) { .featurelist { grid-template-columns: 1fr; } }

.inspections { list-style: none; padding: 0; display: grid; gap: 10px; }
.inspections li {
  display: flex; align-items: center; gap: 12px; padding: var(--sp-16) var(--sp-20);
  background: var(--surface-alt); border: 1px solid var(--line); border-radius: 4px; font-size: var(--fs-sm);
}
.inspections .ico { color: var(--copper); }
.inspections em { margin-left: auto; font-style: normal; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--tone-offer); font-weight: 700; }

/* Inspection / auction highlight strip (near the top of a listing) */
.inspect-strip {
  margin: 28px 0 8px; padding: var(--sp-20) var(--sp-24); border-radius: 8px;
  background: var(--surface-alt); border: 1px solid var(--line); border-left: 4px solid var(--copper);
}
.inspect-strip-h { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-deep); }
.inspect-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.inspect-list li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 600; }
.inspect-list .ico { color: var(--copper); }
.inspect-list em { margin-left: auto; font-style: normal; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--tone-offer); font-weight: 700; }

/* Property-details facts table */
.factgrid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 44px; border-top: 1px solid var(--line); }
.factgrid .fact { display: flex; justify-content: space-between; gap: 16px; padding: var(--sp-12) var(--sp-4); border-bottom: 1px solid var(--line); }
.factgrid dt { color: var(--muted); font-size: var(--fs-sm); }
.factgrid dd { margin: 0; font-weight: 600; font-size: var(--fs-sm); text-align: right; }
@media (max-width: 560px) { .factgrid { grid-template-columns: 1fr; } }

/* Location map */
.pmap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface-alt); }
.pmap iframe { width: 100%; height: 340px; border: 0; display: block; }
.pmap-addr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; color: var(--ink-2); font-size: var(--fs-sm); }
.pmap-addr .ico { color: var(--copper); flex: none; }
.pmap-addr a { margin-left: auto; color: var(--copper-deep); font-weight: 600; text-decoration: none; }
.pmap-addr a:hover { text-decoration: underline; }

.enquiry-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; }

/* Property section jump-nav (REA-style), sticky under the site header */
.detailnav { position: sticky; top: 84px; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.detailnav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.detailnav .wrap::-webkit-scrollbar { display: none; }
.detailnav a {
  padding: var(--sp-16) var(--sp-20); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap;
}
.detailnav a:hover { color: var(--ink); }
.detailnav a.is-active { color: var(--ink); border-bottom-color: var(--copper); }
@media (max-width: 980px) { .detailnav { top: 0; } }
.detail-block { scroll-margin-top: 150px; }
.detail-block + .detail-block { margin-top: 4px; }

/* Home-loan repayment calculator */
.mortgage { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.mortgage-freq { display: flex; border-bottom: 1px solid var(--line); }
.mortgage-freq button {
  flex: 1; padding: var(--sp-12); background: var(--surface-alt); border: 0; border-right: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit;
}
.mortgage-freq button:last-child { border-right: 0; }
.mortgage-freq button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 -2px 0 var(--copper); }
.mortgage-body { display: grid; grid-template-columns: 1.15fr 1fr; }
@media (max-width: 640px) { .mortgage-body { grid-template-columns: 1fr; } }
.mortgage-inputs { padding: var(--sp-24); display: grid; gap: 15px; }
.mg-field { display: grid; gap: 6px; margin: 0; }
.mg-field > span:first-child { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.mg-money { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; background: var(--surface); }
.mg-money:focus-within { border-color: var(--copper); }
.mg-money i { padding: 0 var(--sp-12); color: var(--muted); font-style: normal; }
.mg-money input { border: 0; padding: var(--sp-12) var(--sp-12); width: 100%; font-size: var(--fs-base); background: transparent; }
.mg-money input:focus { outline: none; }
.mg-pct input { text-align: right; }
.mg-field select { padding: var(--sp-12) var(--sp-12); border: 1px solid var(--line-strong); border-radius: 6px; font-size: var(--fs-base); background: var(--surface); }
.mortgage-result {
  padding: var(--sp-28) var(--sp-24); background: var(--dark); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.mortgage-amount { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 400; line-height: 1; color: #fff; }
.mortgage-per { font-size: var(--fs-sm); color: rgba(255,255,255,.7); }
.mortgage-detail { margin-top: 12px; font-size: var(--fs-xs); color: rgba(255,255,255,.6); line-height: 1.4; }
.mortgage-fine { font-size: var(--fs-xs); color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* Suburb insights tiles */
.insight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.insight-grid > .stat { background: var(--surface-alt); padding: var(--sp-24) var(--sp-20); text-align: center; }
.insight-link { margin-top: 16px; }
.insight-link a { color: var(--copper-deep); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.insight-link a:hover { text-decoration: underline; }
.insight-link .ico { width: 16px; height: 16px; }

.enquiry {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: var(--sp-28); box-shadow: var(--shadow); position: sticky; top: 96px;
}
.enquiry-agent { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.enquiry-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(155deg, var(--dark), #2a231d); color: var(--copper);
  font-family: var(--serif); font-weight: 700; font-size: var(--fs-md);
}
.enquiry-name { font-weight: 700; }
.enquiry-sub { font-size: var(--fs-xs); color: var(--muted); }
.enquiry form { margin-top: 20px; padding-top: var(--sp-20); border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .enquiry { position: static; } }

/* --- Steps / appraisal --------------------------------------------------- */
.steps { list-style: none; padding: 0; display: grid; gap: 28px; max-width: 820px; margin: 0 auto; counter-reset: s; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--copper); color: #fff; font-weight: 700; font-family: var(--serif);
}
.steps h2 { font-size: var(--fs-md); font-weight: 700; margin-bottom: 6px; }
.steps p { color: var(--muted); }
.appraisal-cta { text-align: center; margin-top: 36px; display: grid; gap: 10px; justify-items: center; }
.appraisal-cta .cta-fine, .appraisal-cta .cta-alt { color: var(--muted); }
.appraisal-cta .cta-alt a { color: var(--copper); font-weight: 600; }

/* --- Contact ------------------------------------------------------------- */
.contact-split { display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: start; }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; gap: 40px; } }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-list a, .contact-static { display: flex; gap: 16px; align-items: center; text-decoration: none; padding: var(--sp-20) var(--sp-20); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-alt); }
.contact-list a:hover { border-color: var(--copper); }
.contact-list .ico { font-size: var(--fs-md); color: var(--copper); }
.contact-list b { display: block; font-size: var(--fs-base); }
.contact-list em { font-style: normal; font-size: var(--fs-xs); color: var(--muted); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--sp-32); box-shadow: var(--shadow); }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips span { font-size: var(--fs-xs); padding: var(--sp-8) var(--sp-16); border: 1px solid var(--line-strong); border-radius: 100px; color: var(--ink-2); }

.notfound-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* --- Footer -------------------------------------------------------------- */
.site-foot { background: var(--dark); color: var(--on-dark-muted); padding: var(--sp-56) 0 var(--sp-32); margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-name { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 700; color: var(--on-dark); }
.foot-sub { margin-top: 4px; font-size: var(--fs-sm); }
.foot-lic { margin-top: 10px; font-size: var(--fs-xs); color: #8d827b; }
.foot-contact { display: grid; gap: 10px; margin-top: 22px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: var(--fs-sm); width: fit-content; }
.foot-contact a:hover { color: var(--copper); }
.foot-h { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; font-weight: 700; }
.foot-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-list a { text-decoration: none; font-size: var(--fs-sm); }
.foot-list a:hover { color: var(--copper); }
.foot-text { font-size: var(--fs-sm); }
.foot-areas { margin-top: 12px; color: #8d827b; font-size: var(--fs-xs); }
.foot-legal { margin-top: 36px; padding-top: var(--sp-24); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-xs); }
.foot-fine { margin-top: 10px; font-size: var(--fs-xs); color: #8d827b; max-width: 88ch; line-height: 1.6; }

/* ==========================================================================
   Jade-Mills-language additions: cinematic scroll cue, career-highlights band,
   featured-neighbourhood grid, and small serif/sharp refinements.
   ========================================================================== */

/* Hero scroll cue — the shared arrow icon rotated to point down. */
.hero-scroll .ico { transform: rotate(90deg); }

/* --- Career-highlights band --------------------------------------------- */
.highlight-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.highlight { display: grid; gap: 16px; align-content: start; }
.highlight-num {
  font-family: var(--serif); font-size: var(--fs-xl); font-weight: 400;
  color: var(--copper); line-height: 1;
}
.highlight p { color: var(--ink-2); font-size: var(--fs-base); line-height: 1.65; }
.highlight-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: var(--fs-md); line-height: 1.28; color: var(--ink); }
.highlight::before {
  content: ""; display: block; width: 40px; height: 1px; background: var(--line-strong);
}
@media (max-width: 860px) { .highlight-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .highlight-grid { grid-template-columns: 1fr; gap: 28px; } }

/* --- Featured neighbourhoods -------------------------------------------- */
.nbh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .nbh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nbh-grid { grid-template-columns: 1fr; } }

.nbh {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5; overflow: hidden; text-decoration: none; color: var(--on-dark);
  background: var(--dark); text-align: center;
}
.nbh-media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.nbh::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,13,11,.42) 0%, rgba(15,13,11,.62) 100%);
}
.nbh:hover .nbh-media { transform: scale(1.06); }
.nbh-body {
  position: relative; z-index: 1; padding: var(--sp-28);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.nbh-code {
  font-family: var(--serif); font-weight: 400; line-height: 1; color: #fff;
  font-size: clamp(3.25rem, 7vw, 4.75rem); letter-spacing: .02em;
}
.nbh-label {
  font-size: var(--fs-xs); letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-muted);
}
.nbh-count {
  margin-top: 6px; padding-top: var(--sp-12); border-top: 1px solid rgba(245,241,234,.28);
  font-size: var(--fs-sm); letter-spacing: .02em; color: var(--on-dark);
}

/* --- Small refinements for the luxury language -------------------------- */
.detail-price { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; }
.detail-address { font-weight: 500; }
.review-title { font-weight: 400; }
.cta-title, .stat-value, .rating-big-num, .source-num, .detail-headline, .detail-h { font-weight: 400; }
.field input, .field select, .field textarea { border-radius: 0; }
.about-portrait { font-weight: 400; }

/* ==========================================================================
   Personal-brand layer: signature wordmark, portrait, and the "Meet Sarb" band.
   ========================================================================== */

/* Signature flourish under the brand copy — the agent's own name in script. */
.signature {
  font-family: var(--script); color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; letter-spacing: .01em;
  margin: 26px 0 4px;
}
.foot-name.foot-sig { font-family: var(--script); font-weight: 400; font-size: var(--fs-2xl); line-height: 1; }

/* Portrait — real photo when supplied, warm monogram otherwise. */
.portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--surface-sunk);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-mono {
  display: grid; place-items: center;
  background: linear-gradient(155deg, var(--dark) 0%, #2a231d 100%);
  color: var(--copper); font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-5xl); letter-spacing: .04em;
}
.portrait-sticky { position: sticky; top: 108px; }
@media (max-width: 900px) { .portrait-sticky { position: static; } }

/* "Meet Sarb" brand band. Reuses .about-split (portrait | copy). */
.sec-meet .about-split { align-items: center; }
.meet-p { color: var(--ink-2); margin-top: 16px; line-height: 1.75; font-size: var(--fs-base); }
.meet-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* Figures in the readable companion serif (Lora), a touch heavier so numbers
   like "$14M" / "$691k" stay legible where Italiana's hairlines fell apart.
   Word headlines keep Italiana; only numeric displays switch. */
.stat-value,
.rating-big-num,
.rating-num,
.source-num,
.card-price,
.detail-price {
  font-family: var(--serif-num);
  font-weight: 600;
  letter-spacing: 0;
}
.highlight-num { font-family: var(--serif-num); font-weight: 600; }

/* --------------------------------------------------------------------------
   eXp Realty co-brand lockup — the official horizontal format: a stacked
   "eXp / REALTY" mark, a vertical hairline divider, then the market name on
   the right (mirrors "eXp Realty | LAND & RANCH"). Used as the standalone
   brokerage mark in the footer, email and PDF.
   -------------------------------------------------------------------------- */
.exp-lockup {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--ink); line-height: 1;
}
.exp-lockup-on-dark { color: var(--on-dark); }
.exp-lockup .xl-logo { height: 40px; width: auto; display: block; }
.exp-lockup .xl-rule { width: 1px; height: 2.4em; background: currentColor; opacity: .35; }
.exp-lockup .xl-co {
  font-family: var(--serif); font-weight: 400; font-size: 1.5em;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.foot-lockup { margin-top: 18px; }

/* --- Floating chat / lead-capture widget --------------------------------- */
/* Fixed bottom-right on every page. FAB is a rounded pill (an overlay control,
   so it steps outside the site's sharp-cornered grid on purpose); the panel
   uses a soft radius to read as a distinct floating surface. */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 90; }

.chat-fab {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--on-dark);
  border: none; border-radius: 999px; cursor: pointer;
  padding: var(--sp-12) var(--sp-20) var(--sp-12) var(--sp-16); font: inherit; font-size: var(--fs-sm); font-weight: 500;
  text-decoration: none; letter-spacing: .01em;
  box-shadow: var(--shadow-lift);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.chat-fab:hover { background: var(--copper-deep); transform: translateY(-2px); }
.chat-fab:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.chat-fab .ico { width: 20px; height: 20px; fill: currentColor; }
.chat-fab-ico { display: inline-flex; }
.chat-fab-close { display: none; }
.chat.is-open .chat-fab-open { display: none; }
.chat.is-open .chat-fab-close { display: inline-flex; }
.chat.is-open .chat-fab-label { display: none; }
.chat.is-open .chat-fab { padding: var(--sp-12); }

/* Panel */
.chat-panel {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  width: 360px; max-width: calc(100vw - 40px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lift);
  overflow: hidden; display: flex; flex-direction: column;
  transform-origin: bottom right;
  animation: chat-in .22s cubic-bezier(.2, .7, .3, 1);
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: var(--sp-16) var(--sp-16); background: var(--dark); color: var(--on-dark);
}
.chat-avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--copper); color: #fff;
  font-family: var(--serif); font-size: var(--fs-md); letter-spacing: .02em;
}
.chat-head-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.chat-head-text b { font-size: var(--fs-sm); font-weight: 600; }
.chat-head-text small { color: var(--on-dark-muted); font-size: var(--fs-xs); }
.chat-x {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: var(--on-dark-muted); padding: var(--sp-4); display: inline-flex; border-radius: 8px;
}
.chat-x:hover { color: var(--on-dark); }
.chat-x .ico { width: 18px; height: 18px; fill: currentColor; }

.chat-log {
  padding: var(--sp-16) var(--sp-16) var(--sp-8); display: flex; flex-direction: column; gap: 8px;
  max-height: 230px; overflow-y: auto; background: var(--surface-alt);
}
.chat-bubble {
  max-width: 85%; padding: var(--sp-12) var(--sp-12); font-size: var(--fs-sm); line-height: 1.45;
  border-radius: 14px;
}
.chat-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); border-bottom-left-radius: 4px; }
.chat-you { align-self: flex-end; background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 4px; }

.chat-form { padding: var(--sp-12) var(--sp-16) var(--sp-16); }
.chat-form[hidden] { display: none; }
.chat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-field { display: block; }
.chat-field[hidden] { display: none; }
.chat-q { display: block; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 6px; }
.chat-field input {
  width: 100%; padding: var(--sp-12) var(--sp-12); font: inherit; font-size: var(--fs-sm);
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 10px;
}
.chat-field input:focus-visible { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(169, 133, 90, .18); }

.chat-msg { min-height: 1.1em; font-size: var(--fs-xs); margin: 8px 2px 0; }
.chat-msg.is-err { color: #b3261e; }

.chat-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.chat-back {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font: inherit; font-size: var(--fs-sm); padding: var(--sp-8) var(--sp-4);
}
.chat-back:hover { color: var(--ink); }
.chat-back[hidden] { display: none; }
.chat-next {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--on-dark); border: none; cursor: pointer;
  font: inherit; font-size: var(--fs-sm); font-weight: 500;
  padding: var(--sp-12) var(--sp-20); border-radius: 10px;
  transition: background .15s ease;
}
.chat-next:hover { background: var(--copper-deep); }
.chat-next:disabled { opacity: .6; cursor: default; }
.chat-next .ico { width: 16px; height: 16px; fill: currentColor; }

.chat-foot {
  padding: 0 var(--sp-16) var(--sp-16); font-size: var(--fs-xs); color: var(--muted); text-align: center;
}
.chat-foot[hidden] { display: none; }
.chat-foot a { color: var(--ink); font-weight: 500; }

@media (max-width: 480px) {
  .chat { right: 14px; bottom: 14px; }
  .chat-panel { width: calc(100vw - 28px); }
  .chat-fab-label { display: none; }
  .chat-fab { padding: var(--sp-16); }
}

@media (prefers-reduced-motion: reduce) {
  .chat-fab, .chat-next { transition: none; }
  .chat-panel { animation: none; }
}

/* ==========================================================================
   Property detail — realestate.com.au-style layout in the site's own palette.
   Deliberately the LAST word on the detail page: overrides the site-wide
   luxury-serif skin so a listing reads clean, sans and app-like the way a
   portal does. Scoped to the detail page's own containers; copper accent kept,
   no portal red (brand boundary).
   ========================================================================== */

/* Gallery collage: 1 large + 2x2 grid (the REA hallmark) */
.pgallery { background: transparent; padding-top: var(--sp-20); }
.pg-collage {
  position: relative; display: grid; gap: 8px;
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
  aspect-ratio: 16 / 9; max-height: 520px; border-radius: 12px; overflow: hidden;
}
.pg-collage .pg-hero { grid-column: 1; grid-row: 1 / 3; }
.pg-single { position: relative; aspect-ratio: 16 / 9; max-height: 520px; border-radius: 12px; overflow: hidden; }
.pg-cell { padding: 0; border: 0; margin: 0; cursor: pointer; background: var(--surface-sunk); overflow: hidden; position: relative; }
.pg-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pg-cell:hover img { transform: scale(1.04); }
.pg-more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.5); color: #fff; font-size: var(--fs-lg); font-weight: 700; font-family: var(--sans);
}
.pgallery .ribbon { z-index: 2; }
.pgallery-all {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: var(--sp-12) var(--sp-16);
  border: 0; border-radius: 8px; cursor: pointer; background: rgba(255,255,255,.94);
  color: var(--ink); font-family: var(--sans); font-size: var(--fs-sm); font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.pgallery-all:hover { background: #fff; }
.pgallery-all .ico { width: 18px; height: 18px; }
@media (max-width: 700px) {
  .pg-collage { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 4 / 3; }
  .pg-collage .pg-cell:not(.pg-hero) { display: none; }
  .pg-collage .pg-hero { grid-row: 1; }
}

/* Sans, airy, rounded — the REA feel, scoped to the detail page */
.detail-main { font-family: var(--sans); }
.detail-split { gap: 48px; grid-template-columns: minmax(0,1fr) 380px; }
@media (max-width: 1000px) { .detail-split { grid-template-columns: 1fr; } }
.detail-block { padding: var(--sp-28) 0; scroll-margin-top: 150px; }
.detail-block + .detail-block { border-top: 1px solid var(--line); margin-top: 0; }
#overview.detail-block { padding-top: var(--sp-4); }

.detail-main .detail-price {
  font-family: var(--sans); font-size: var(--fs-xl); font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; line-height: 1.1;
}
.detail-main .detail-address {
  font-family: var(--sans); font-size: var(--fs-lg); font-weight: 700; color: var(--ink);
  margin-top: 6px; display: block;
}
.detail-main .detail-address span { display: block; font-weight: 400; font-size: var(--fs-base); color: var(--muted); margin-top: 2px; }
.detail-soldline { color: var(--muted); font-size: var(--fs-sm); margin-top: 10px; }

.detail-main .specbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  margin: 18px 0 0; padding: 0; border: 0;
}
.detail-main .specbar-item { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-base); color: var(--ink); }
.detail-main .specbar-item b { font-weight: 700; }
.detail-main .specbar-item span { color: var(--muted); font-size: var(--fs-sm); }
.detail-main .specbar-item .ico { color: var(--ink-2); font-size: 1.3em; }
.detail-main .specbar-type { padding-left: var(--sp-20); margin-left: 4px; border-left: 1px solid var(--line); }
.detail-main .specbar-type b { font-weight: 600; color: var(--ink-2); }

.detail-main .detail-h {
  font-family: var(--sans); font-size: var(--fs-md); font-weight: 700; color: var(--ink);
  margin: 0 0 16px; letter-spacing: -.01em;
}
.detail-main .detail-headline { font-family: var(--sans); font-size: var(--fs-md); font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.detail-main .detail-desc p { color: var(--ink-2); font-size: var(--fs-base); line-height: 1.7; }

/* Features checklist + property-details rows */
.detail-main .featurelist { gap: 12px 40px; }
.detail-main .featurelist li { font-size: var(--fs-sm); color: var(--ink-2); }
.detail-main .featurelist .ico { color: var(--copper); }
.detail-main .factgrid { border-top: 0; }
.detail-main .fact { padding: var(--sp-12) 0; }
.detail-main .fact dt { color: var(--muted); }
.detail-main .fact dd { color: var(--ink); }

/* Sidebar "Email agent" card */
.detail-side .enquiry { border-radius: 12px; padding: var(--sp-24); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.enquiry-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: var(--sp-20); border-bottom: 1px solid var(--line); }
.enquiry-id .enquiry-name { font-family: var(--sans); font-weight: 700; font-size: var(--fs-base); color: var(--ink); }
.enquiry-id .enquiry-sub { font-size: var(--fs-sm); color: var(--muted); }
.detail-side .enquiry form { margin: 0; padding: 0; border: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-side .field { margin-bottom: 14px; }
.detail-side .field label { font-family: var(--sans); }
.detail-side .field input, .detail-side .field textarea { border-radius: 8px; }
.btn-lg { padding: var(--sp-16) var(--sp-20); font-size: var(--fs-base); }
.detail-side .btn-primary .ico { width: 18px; height: 18px; }
.enquiry-call { margin-top: 10px; }
.detail-side .form-fine { margin-top: 14px; }

/* Contact-agent card follows the reader down the long details column on desktop.
   The detail grid's align-items:start collapses the sidebar cell to the card's
   own height, leaving position:sticky no room to travel — so stretch the cell
   and stick the card just below the sticky header + section nav. Mobile keeps
   the base static behaviour. */
@media (min-width: 1001px) {
  .detail-side { align-self: stretch; }
  .detail-side .enquiry { position: sticky; top: 150px; }
}

/* --- Listings map (Leaflet) -----------------------------------------------
   A horizontal map rectangle pinning current listings. Hidden by default and
   revealed by site.js only once Leaflet initialises (progressive enhancement),
   so with JS/Leaflet blocked there is no empty box. Sharp corners + hairline
   border to match the cards. */
.listing-map { display: none; position: relative; }
.listing-map.is-ready { display: block; margin-bottom: var(--sp-24); }

/* Hint over the map: "click to zoom". Fades once the map is focused; never eats
   pointer events, so the click passes through to the map (which then focuses). */
.map-hint {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  z-index: 500; pointer-events: none;
  padding: 4px 10px; border-radius: 2px;
  background: rgba(20, 18, 16, .68); color: #fff;
  font-family: var(--sans); font-size: 11px; letter-spacing: .02em; white-space: nowrap;
  opacity: 1; transition: opacity .25s ease;
}
.listing-map.is-focused .map-hint { opacity: 0; }
.listing-map-canvas {
  height: 220px;
  border: 1px solid var(--line);
  background: var(--surface-sunk);
  z-index: 0; /* keep Leaflet panes/controls under the sticky site header */
}
@media (max-width: 640px) { .listing-map-canvas { height: 180px; } }

/* Card variant — the map occupies one carousel slot (home page, first-listing
   position) and fills that slot's height instead of being a fixed-height band. */
.listing-map--card { margin-bottom: 0; height: 100%; }
.listing-map--card.is-ready { height: 100%; }
.listing-map--card .listing-map-canvas { height: 100%; min-height: 320px; }

/* Tiles gently desaturated so the map reads as part of the muted palette
   rather than a bright portal embed. */
.listing-map-canvas .leaflet-tile-pane { filter: saturate(0.82) contrast(0.98); }
.listing-map-canvas .leaflet-control-attribution {
  font-family: var(--sans); font-size: 10px; background: rgba(255,255,255,.82);
}
.listing-map-canvas .leaflet-bar a {
  color: var(--ink); border-radius: 0; border-bottom-color: var(--line);
}

/* Custom pin — a copper dot with a soft ring; no marker PNGs to ship. */
.map-pin { background: none; border: 0; }
.map-pin-dot {
  display: block; width: 16px; height: 16px; margin: 3px; border-radius: 50%;
  background: var(--copper); border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px var(--copper-deep), 0 2px 6px rgba(20,18,16,.35);
}
.map-pin-sold .map-pin-dot { background: var(--tone-sold); box-shadow: 0 0 0 1px var(--copper-deep), 0 2px 6px rgba(20,18,16,.35); }

/* Popup restyled to match the cards: sharp corners, serif price. */
.listing-map-canvas .leaflet-popup-content-wrapper { border-radius: 0; box-shadow: var(--shadow); }
.listing-map-canvas .leaflet-popup-content { margin: 0; }
.listing-map-canvas .leaflet-popup-tip { box-shadow: var(--shadow); }
.map-pop { display: block; width: 208px; color: var(--ink); text-decoration: none; }
.map-pop-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-sunk); }
.map-pop-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-pop-body { display: block; padding: var(--sp-12) var(--sp-16); }
.map-pop-price { display: block; font-family: var(--serif-num); font-size: var(--fs-md); color: var(--ink); }
.map-pop-addr { display: block; font-size: var(--fs-sm); color: var(--ink-2); margin-top: 2px; }
.map-pop-addr span { display: block; color: var(--muted); font-size: var(--fs-xs); }
