/* ==========================================================================
   White Luxury Homes — public theme
   Faithful to the live brand (Playfair Display + Lato, black/white/gold),
   modernized: more whitespace, refined gold, smoother interactions.
   ========================================================================== */
:root {
  --ink: #0e0e0e;          /* near-black: hero overlay, buttons, footer */
  --charcoal: #1c1c1c;
  --body: #2b2b2b;         /* body text */
  --muted: #6f6f6f;
  --gold: #c9a961;         /* refined luxury gold (primary accent) */
  --gold-dark: #ad8c46;
  --cream: #f6f2ea;        /* warm section background */
  --sand: #efe8da;
  --line: #e6e0d4;         /* warm hairline */
  --line-soft: #ededed;
  --white: #fff;
  --maxw: 1200px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
a { color: var(--gold-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
/* Visually hidden but available to screen readers + search engines (skip links,
   heading context). Not display:none, so it stays in the accessibility tree. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Eyebrow / section labels — thin, uppercase, gold, letter-spaced */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--gold); }

/* Section title with optional centered gold rule */
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 1rem; }
.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 1.25rem 0; }
.rule--center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--white); background: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer; transition: all .25s var(--ease);
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: .6rem 1.1rem; font-size: .7rem; letter-spacing: .14em; }

/* ---------- Utility bar ---------- */
.utilitybar { background: var(--ink); color: #cfcfcf; font-size: .8rem; }
.utilitybar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 1rem; }
.utilitybar a { color: #d8c79e; letter-spacing: .04em; }
.utilitybar a:hover { color: var(--white); }
.utilitybar__left { flex: 0 1 320px; min-width: 0; margin-right: 1.5rem; }
.utilitybar__right { display: flex; gap: 1.25rem; align-items: center; flex: none; }
@media (max-width: 720px) { .utilitybar__left { display: none; } .utilitybar__inner { justify-content: center; } }

/* Neighborhood ticker (top utility bar) — seamless infinite marquee */
.ticker { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: inline-flex; white-space: nowrap; will-change: transform; animation: ticker 55s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { padding: 0 1.4rem; color: #cdb98e; letter-spacing: .08em; font-size: .78rem; }
.ticker__item::after { content: "·"; margin-left: 1.4rem; color: var(--gold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1.5rem; transition: min-height .3s var(--ease); }
.brand { display: flex; flex-direction: row; align-items: center; gap: .8rem; line-height: 1; }
.brand:hover { color: inherit; }
/* The brand link is never underlined. !important defends it when this header is
   stitched into the IDX vendor's page, whose stylesheet adds a generic
   a:hover { text-decoration: underline } that would otherwise hit the logo/name. */
.brand,
.brand:hover,
.brand:focus,
.brand:hover .brand__name,
.brand:hover .brand__tag { text-decoration: none !important; }
.brand__logo { height: 48px; width: auto; display: block; transition: height .3s var(--ease); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; transition: font-size .3s var(--ease); }
.brand__tag { font-size: .58rem; text-transform: uppercase; letter-spacing: .34em; color: var(--gold-dark); margin-top: .35rem; transition: font-size .3s var(--ease), opacity .3s var(--ease); }
.site-header.is-scrolled .brand__logo { height: 40px; }

/* Compact state after scrolling past the threshold (toggled by JS) */
.site-header.is-scrolled { background: rgba(255,255,255,.82); box-shadow: 0 6px 22px rgba(0,0,0,.09); }
.site-header.is-scrolled .site-header__inner { min-height: 58px; }
.site-header.is-scrolled .brand__name { font-size: 1.2rem; }
.site-header.is-scrolled .brand__tag { font-size: .5rem; margin-top: .2rem; opacity: .85; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.nav-item { position: relative; display: flex; align-items: center; }
.site-nav .nav-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--charcoal); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: .4rem 0; }
.site-nav .nav-link:hover { color: var(--gold-dark); }
.nav-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; opacity: .55; transition: transform .2s var(--ease); }
.nav-item--has-children:hover .nav-caret,
.nav-item--has-children:focus-within .nav-caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: .85rem; min-width: 230px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 38px rgba(0,0,0,.12);
  padding: .5rem 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; z-index: 60;
}
/* invisible bridge so the menu doesn't drop while moving the cursor down */
.nav-item--has-children::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 1rem; }
.nav-item--has-children:hover .nav-dropdown,
.nav-item--has-children:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.site-nav .nav-dropdown a { display: block; padding: .6rem 1.2rem; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--charcoal); white-space: nowrap; }
.site-nav .nav-dropdown a:hover { background: #faf7f0; color: var(--gold-dark); }
.nav-dropdown--mega { display: grid; grid-template-columns: 1fr 1fr; min-width: 380px; }

/* Desktop: the mobile accordion wrapper is transparent and its toggle is hidden,
   so the hover-dropdown nav is unchanged. Both come alive in the mobile menu. */
.nav-row { display: contents; }
.nav-subtoggle { display: none; }

.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 940px) {
  .site-header__inner { min-height: 70px; }
  .nav-toggle-label {
    display: block; cursor: pointer; width: 30px; height: 22px; position: relative; z-index: 30;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ""; position: absolute; left: 0; width: 30px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform .33s var(--ease), top .33s var(--ease), opacity .2s var(--ease), background .25s var(--ease);
  }
  .nav-toggle-label span { top: 10px; }
  .nav-toggle-label span::before { top: -8px; }
  .nav-toggle-label span::after { top: 8px; }
  /* Morph the three lines into an X when open */
  .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked ~ .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }

  /* Drop-down panel: kept in the DOM so it can animate; hidden + inert when closed
     (visibility/opacity/transform are all iOS-Safari friendly — no JS, no :hover). */
  .site-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1rem;
    max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    box-shadow: 0 18px 34px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; transform: translateY(-12px); pointer-events: none;
    transition: opacity .33s var(--ease), transform .33s var(--ease), visibility .33s var(--ease);
  }
  .nav-toggle:checked ~ .site-nav {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  }
  /* Slim, on-brand scrollbar when the menu overflows (iOS keeps its overlay one) */
  .site-nav { scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
  .site-nav::-webkit-scrollbar { width: 6px; }
  .site-nav::-webkit-scrollbar-track { background: transparent; margin: .4rem 0; }
  .site-nav::-webkit-scrollbar-thumb {
    background-image: linear-gradient(var(--gold), var(--gold-dark));
    border-radius: 100px;
  }
  .site-nav::-webkit-scrollbar-thumb:active { background-image: linear-gradient(var(--gold-dark), var(--gold-dark)); }
  .nav-item, .nav-item--has-children { width: 100%; flex-direction: column; align-items: stretch; position: static; }
  .site-nav .nav-link { width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-caret { display: none; }

  /* Parent row: label link + a chevron toggle button, on one line. */
  .nav-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--line-soft); }
  .nav-row .nav-link { flex: 1 1 auto; border-bottom: 0; }
  .nav-subtoggle {
    display: flex; align-items: center; justify-content: center; align-self: stretch;
    flex: 0 0 58px; width: 58px; background: none; border: 0; cursor: pointer; color: var(--charcoal);
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  }
  .nav-subtoggle__chev {
    width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease);
  }
  .nav-item--has-children.is-open .nav-subtoggle { color: var(--gold-dark); }
  .nav-item--has-children.is-open .nav-subtoggle__chev { transform: translateY(2px) rotate(225deg); }

  .nav-item--has-children::after { display: none; }

  /* Children collapsed by default; JS sets max-height to the exact content
     height so the accordion animates open/closed both ways. */
  .nav-dropdown, .nav-dropdown--mega {
    position: static; visibility: visible; transform: none; box-shadow: none; border: 0;
    margin-top: 0; padding: 0 0 0 .9rem; min-width: 0; display: block;  /* no vertical padding so max-height:0 fully collapses */
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .34s var(--ease), opacity .3s var(--ease);
  }
  .nav-item--has-children.is-open > .nav-dropdown { opacity: 1; }
  .site-nav .nav-dropdown a { padding: .55rem 0; border-bottom: 1px solid var(--line-soft); white-space: normal; }

  /* Stagger each top-level item in as the panel opens */
  .site-nav > .nav-item, .site-nav > .nav-link {
    opacity: 0; transform: translateX(-14px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav-toggle:checked ~ .site-nav > .nav-item,
  .nav-toggle:checked ~ .site-nav > .nav-link { opacity: 1; transform: translateX(0); }
  .nav-toggle:checked ~ .site-nav > :nth-child(1) { transition-delay: .07s; }
  .nav-toggle:checked ~ .site-nav > :nth-child(2) { transition-delay: .12s; }
  .nav-toggle:checked ~ .site-nav > :nth-child(3) { transition-delay: .17s; }
  .nav-toggle:checked ~ .site-nav > :nth-child(4) { transition-delay: .22s; }
  .nav-toggle:checked ~ .site-nav > :nth-child(5) { transition-delay: .27s; }
  .nav-toggle:checked ~ .site-nav > :nth-child(6) { transition-delay: .32s; }
  .nav-toggle:checked ~ .site-nav > :nth-child(7) { transition-delay: .37s; }
}

/* Honor reduced-motion: toggle the menu instantly, no slide/stagger. */
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after,
  .site-nav, .site-nav > .nav-item, .site-nav > .nav-link,
  .nav-dropdown, .nav-dropdown--mega, .nav-subtoggle__chev { transition: none !important; }
  .nav-toggle:checked ~ .site-nav > .nav-item,
  .nav-toggle:checked ~ .site-nav > .nav-link { transform: none; }
}

/* ---------- Hero (with fading slider + rolodex rotator) ---------- */
.hero {
  position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden; background: #1b1b1b;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,14,14,.30), rgba(14,14,14,.44)); }
/* Cinematic banner band with hairlines, spanning full width */
.hero__banner {
  position: relative; z-index: 2; width: 100%;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  background: rgba(14,14,14,.22);
  padding: 3.25rem 1.5rem;
}
.hero__content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero__rotator {
  display: inline-flex; font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 2.3rem); letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: .35rem;
}
.hero__title {
  color: var(--white); font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; line-height: 1; margin: 0;
}
.hero__rule { width: min(440px, 70%); height: 2px; background: var(--gold); border: 0; margin: 1.25rem auto 1.4rem; }
.hero__sub { color: rgba(255,255,255,.92); text-transform: uppercase; letter-spacing: .2em; font-size: .82rem; margin: 0 0 1.9rem; }
.hero__sub span { color: var(--gold); margin: 0 .5rem; }
.hero__btn { background: rgba(14,14,14,.72); border: 1px solid var(--gold); color: #fff; padding: 1.05rem 2.4rem; }
.hero__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn__icon { width: 18px; height: 18px; fill: var(--gold); transition: fill .25s var(--ease); }
.hero__btn:hover .btn__icon { fill: var(--ink); }

/* Rolodex word rotator: each LETTER flips on a horizontal axis, staggered,
   matching the live site's split-flap effect. */
.rotator { display: inline-flex; perspective: 900px; vertical-align: top; }
.rotator__live { display: inline-flex; }
.rotator__live, .rotator__letter { color: var(--gold); }
.rotator__letter {
  display: inline-block; transform-origin: center center; backface-visibility: hidden;
  transition: transform .48s var(--ease), opacity .48s var(--ease);
}
.rotator__letter.pre { transform: rotateX(90deg); opacity: 0; }   /* flipping in */
.rotator__letter.out { transform: rotateX(-90deg); opacity: 0; }  /* flipping out */
/* Hidden source words for no-JS / SEO fallback */
.rotator__word[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .testimonial__item { transition: opacity .2s linear; }
  .rotator__letter { transition: opacity .2s linear; transform: none !important; }
}

/* ---------- CTA trio (3 dark buttons) ---------- */
.cta-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.cta-row a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1.6rem 1rem; background: var(--ink); color: var(--white);
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  border-right: 1px solid rgba(255,255,255,.12); transition: background .25s var(--ease);
}
.cta-row a:last-child { border-right: 0; }
.cta-row a:hover { background: var(--gold-dark); color: var(--white); }
@media (max-width: 700px) { .cta-row { grid-template-columns: 1fr; } .cta-row a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--tight { padding: 4rem 0; }
.section--cream { background: var(--cream); }
.section--ivory { background: linear-gradient(180deg, #fbfaf7 0%, #f3eee4 100%); }
.section--ink { background: var(--ink); color: #e9e6df; }
.section--ink h2 { color: var(--white); }

/* Instagram feed embed — keep the grid centered and readable on wide screens. */
.ig-feed__embed { max-width: 1080px; }
.ig-feed__embed iframe { display: block; }

/* Split (agent intro) */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; }
.split__media img { width: 100%; height: auto; display: block; }
/* Portrait: show the full headshot (no crop). The PNG is a cutout, so let it
   blend into the section background — no shadow/frame. */
.split__media--portrait img { max-width: 460px; margin: 0 auto; }

/* Agent section: the portrait stands flush on the section's bottom edge so the
   feet aren't visually "chopped". */
.section--agent { padding-bottom: 0; }
.section--agent .split { align-items: end; }
.section--agent .split__media { align-self: end; }
.section--agent .split__media--portrait img { display: block; }
.section--agent .split__text { padding-bottom: 4.5rem; }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--gold-dark); margin-top: 1rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  /* Stack text first, portrait last so it still rests on the bottom edge. */
  .section--agent .split__text { order: 1; padding-bottom: 0; }
  .section--agent .split__media { order: 2; }
}

/* Feature trio (Sellers / Buyers / Search) */
.feature-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { position: relative; overflow: hidden; aspect-ratio: 4/5; display: block; color: var(--white); }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,.05) 40%, rgba(14,14,14,.8)); }
.feature-card:hover img { transform: scale(1.06); }
.feature-card__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem; text-align: center; }
.feature-card__label h3 { color: var(--white); margin: 0 0 .25rem; font-size: 1.5rem; }
.feature-card__label span { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); }
@media (max-width: 820px) { .feature-trio { grid-template-columns: 1fr; } }

/* Communities grid (name always visible; description + CTA reveal on hover) */
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.community-card { position: relative; overflow: hidden; aspect-ratio: 3/2; display: block; color: var(--white); }
.community-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.community-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,0) 42%, rgba(14,14,14,.8)); transition: background .35s var(--ease); }
.community-card:hover img { transform: scale(1.07); }
.community-card:hover::after { background: linear-gradient(180deg, rgba(14,14,14,.35), rgba(14,14,14,.85)); }
.community-card__overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; }
.community-card__name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; letter-spacing: .02em; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.55); transition: color .3s var(--ease); }
.community-card:hover .community-card__name { color: var(--gold); }
.community-card__desc { margin: .45rem 0 0; font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.92); max-height: 0; opacity: 0; overflow: hidden; transform: translateY(6px); transition: max-height .4s var(--ease), opacity .35s var(--ease), transform .35s var(--ease); }
.community-card__cta { margin-top: .6rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease) .05s, transform .35s var(--ease) .05s; }
.community-card:hover .community-card__desc { max-height: 140px; opacity: 1; transform: none; }
.community-card:hover .community-card__cta { opacity: 1; transform: none; }

/* Testimonials (rotating; items stacked and cross-faded) */
.testimonial { max-width: 760px; margin: 0 auto; text-align: center; display: grid; }
.testimonial__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease); }
.testimonial__item.is-active { opacity: 1; visibility: visible; }
.testimonial__quote { font-family: var(--font-serif); font-size: clamp(1.4rem, 3vw, 2rem); font-style: italic; line-height: 1.4; color: var(--ink); margin: 0; }
.testimonial__by { margin-top: 1.25rem; text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: var(--gold-dark); font-weight: 700; }
.stars { color: var(--gold); letter-spacing: .2em; margin-bottom: 1rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* Card grid (blog) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.card { display: block; color: inherit; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.10); transform: translateY(-3px); color: inherit; }
.card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__body { padding: 1.4rem 1.5rem 1.75rem; min-width: 0; overflow-wrap: anywhere; }
.card__body h3 { font-size: 1.35rem; margin: 0 0 .5rem; overflow-wrap: anywhere; }
/* Excerpt: always clean, clamped to 3 lines so nothing escapes the card. */
.card__excerpt {
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere;
}

/* ---------- Blog index: search + category filter + pagination ---------- */
.blog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem; margin: 1.75rem 0 .5rem;
}
.blog-search { display: flex; align-items: center; gap: .5rem; position: relative; }
.blog-search__icon { position: absolute; left: .85rem; color: var(--muted); pointer-events: none; }
.blog-search__input {
  width: min(340px, 70vw); padding: .65rem 1rem .65rem 2.6rem; font-size: .92rem;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color .2s var(--ease);
}
.blog-search__input:focus { outline: none; border-color: var(--gold); }
.blog-search__btn {
  padding: .65rem 1.1rem; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--white); background: var(--ink); border: 1px solid var(--ink); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.blog-search__btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.blog-cats { display: flex; flex-wrap: wrap; gap: .4rem; }
.blog-cat {
  padding: .42rem .9rem; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--charcoal); background: transparent;
  border: 1px solid rgba(201,169,97,.35);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.blog-cat:hover { color: var(--gold-dark); border-color: var(--gold); }
.blog-cat.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.blog-cat.is-active:hover { color: var(--white); }
.blog-results { margin: 0 0 1.5rem; }
.blog-empty { margin-top: 2rem; }
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.pagination__link {
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-dark);
}
.pagination__link:hover { color: var(--ink); }
.pagination__link.is-disabled { color: #c9bea8; cursor: default; }
.pagination__info { font-size: .78rem; letter-spacing: .08em; color: var(--muted); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative; min-height: 42vh; display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--white); background: linear-gradient(180deg, rgba(14,14,14,.5), rgba(14,14,14,.65)), #1b1b1b;
  background-size: cover; background-position: center;
}
.page-hero__inner { position: relative; z-index: 2; padding: 4rem 1.5rem; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: .05em; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Article (blog detail) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; }
.article__meta { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.5rem; }
.article__hero-img { width: 100%; margin: 1.5rem 0 2rem; }
.article__body { font-size: 1.08rem; }
.article__body h2 { margin-top: 2rem; }
.article__body img { margin: 1.5rem 0; }
.article__body blockquote { border-left: 3px solid var(--gold); margin: 1.5rem 0; padding-left: 1.25rem; font-style: italic; color: #444; }

/* ---------- Responsive video embeds (blog + pages) ---------- */
.embed-responsive {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  margin: 2rem 0; background: #000; border-radius: 8px; overflow: hidden;
}
.embed-responsive iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
/* Fallback for browsers without aspect-ratio: a 16:9 padding box. */
@supports not (aspect-ratio: 16 / 9) {
  .embed-responsive { height: 0; padding-bottom: 56.25%; }
}

/* ---------- Interior pages ---------- */
.page-hero__intro { color: rgba(255,255,255,.9); max-width: 620px; margin: 1rem auto 0; font-size: 1.02rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 1.06rem; }

/* Modern service pages */
.service-intro { background: #fff; }
.service-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.service-intro__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 690px;
}
.service-intro__copy .section-title { font-size: clamp(2rem, 4vw, 3.2rem); }
.service-intro__copy p { font-size: 1.08rem; color: #4a4a4a; }
.contact-quick--left { justify-content: flex-start; margin-top: 2rem; }
.service-panel {
  position: relative;
  display: grid;
  align-content: stretch;
  gap: 0;
  background: #101010;
  color: #ddd7ca;
  border: 1px solid rgba(201,169,97,.36);
  box-shadow: 0 26px 70px rgba(0,0,0,.13);
}
.service-panel--dark { background: linear-gradient(145deg, #111 0%, #242424 100%); }
.service-panel__item {
  padding: 1.55rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.service-panel__item:last-child { border-bottom: 0; }
.service-panel__item span {
  display: block;
  margin-bottom: .55rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1;
}
.service-panel__item strong {
  display: block;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: .45rem;
}
.service-panel__item p { margin: 0; color: #c7c0b2; font-size: .95rem; line-height: 1.55; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.section-heading .section-title { max-width: 620px; margin-bottom: 0; }
.modern-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.modern-step {
  display: grid;
  grid-template-rows: 54px auto 1fr;
  align-content: start;
  min-height: 290px;
  padding: 1.6rem;
  background: #fff;
}
.modern-step__num {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-weight: 700;
}
.modern-step h3 { align-self: start; font-size: 1.25rem; margin: 1.4rem 0 .45rem; }
.modern-step p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.58; }
.modern-process {
  list-style: none;
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.modern-process li {
  min-height: 210px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.modern-process li:hover {
  transform: translateY(-3px);
  border-color: rgba(201,169,97,.55);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
.modern-process span {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1;
}
.modern-process h3 { font-size: 1.12rem; margin: 0 0 .45rem; }
.modern-process p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.callout--modern {
  margin-top: 2rem;
  border-left: 0;
  border-top: 3px solid var(--gold);
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}
.feature-strip {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-strip__grid div {
  min-height: 210px;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.feature-strip__grid strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: .65rem;
}
.feature-strip__grid p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.58; }
.cta-band__text { max-width: 560px; margin: 0 auto 2rem; }
.buyer-cta { background: #fff; }
.buyer-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, #fff 0%, #faf7f0 100%);
}
.buyer-cta__inner .section-title { margin-bottom: .35rem; }
.buyer-cta__inner p { margin-bottom: 0; max-width: 560px; }
@media (max-width: 980px) {
  .service-intro__grid,
  .feature-strip { grid-template-columns: 1fr; }
  .modern-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modern-step { min-height: 230px; }
  .modern-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip__grid { grid-template-columns: 1fr 1fr; }
  .buyer-cta__inner { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 640px) {
  .service-panel__item,
  .modern-step,
  .modern-process li,
  .feature-strip__grid div { padding: 1.2rem; }
  .modern-steps,
  .modern-process,
  .feature-strip__grid { grid-template-columns: 1fr; }
  .modern-step { min-height: 0; }
  .section-heading { display: block; }
  .buyer-cta__inner { padding: 1.35rem; }
  .contact-quick--left .btn,
  .buyer-cta__inner .btn { width: 100%; justify-content: center; }
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.75rem; }
.step { background: #fff; border: 1px solid var(--line); padding: 1.75rem; }
.step__num { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: .5rem; }
.step h3 { font-size: 1.25rem; margin: 0 0 .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Numbered process list (e.g. home buying process) */
.process { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.75rem; }
.process li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.process li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -.15rem; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--gold); }
.process h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.process p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }
.callout { margin-top: 2.75rem; background: #fff; border-left: 3px solid var(--gold); padding: 1.25rem 1.5rem; font-size: .98rem; }

/* Mission / brand promise */
.mission-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.3; color: var(--ink); margin: 0 auto; max-width: 720px; }
.mission-promise { font-size: 1.1rem; max-width: 660px; margin: .5rem auto 0; color: var(--body); }

/* Resource link cards */
.linkcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin-top: 2.5rem; }
.linkcard { display: block; border: 1px solid var(--line); background: #fff; padding: 1.6rem; color: inherit; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.linkcard:hover { box-shadow: 0 14px 32px rgba(0,0,0,.09); transform: translateY(-2px); color: inherit; text-decoration: none; }
.linkcard span { color: var(--gold-dark); font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.linkcard h3 { font-size: 1.15rem; margin: .35rem 0 0; }

/* Stat blocks */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; text-align: center; }
.stat-block__num { font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: var(--color-primary); line-height: 1; }
.stat-block__label { color: var(--muted); font-size: .85rem; margin-top: .5rem; text-transform: uppercase; letter-spacing: .08em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; align-items: baseline; }
.contact-list__label { width: 80px; flex: none; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--gold-dark); font-weight: 700; }
.contact-quick { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Forms (public) */
.contact-form .field { margin-bottom: 1rem; }
.contact-form label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .4rem; color: var(--charcoal); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--body); border-radius: 2px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,97,.15); }
.contact-form .field--error input, .contact-form .field--error select { border-color: #c0392b; }
.field__error { color: #b91c1c; font-size: .8rem; margin: .35rem 0 0; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .contact-form .field-row { grid-template-columns: 1fr; } }
.contact-form .errorlist { margin: .35rem 0 0; padding-left: 1.1rem; color: #9b1c1c; font-size: .82rem; }
.contact-form .field--error input { border-color: #d19b9b; }

/* Home value / Cloud CMA lead page */
.value-page { background: linear-gradient(180deg, #fff 0%, #f7f3eb 100%); }
.value-page__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.value-copy {
  position: sticky;
  top: 110px;
  padding-top: .5rem;
}
.value-copy .section-title { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.value-copy p { color: #484848; font-size: 1.08rem; max-width: 640px; }
.value-benefits {
  display: grid;
  gap: 1px;
  margin-top: 2.25rem;
  border: 1px solid var(--line);
  background: var(--line);
}
.value-benefits div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .15rem 1rem;
  padding: 1.1rem;
  background: #fff;
}
.value-benefits span {
  grid-row: span 2;
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-weight: 700;
}
.value-benefits strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.2;
}
.value-benefits p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.value-form-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0,0,0,.12);
}
.value-form-card__head {
  padding: 1.5rem 1.6rem;
  background: var(--ink);
  color: #d9d2c6;
  border-bottom: 2px solid var(--gold);
}
.value-form-card__head h3 { color: #fff; margin: 0; font-size: 1.55rem; }
.value-form-card__head .eyebrow { margin-bottom: .55rem; }
.value-form { padding: 1.6rem; }
.value-form .field-row--address { grid-template-columns: 1fr .42fr .62fr; }
.field--check label {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: .92rem;
  line-height: 1.45;
  font-weight: 400;
  color: #494949;
}
.field--check input { width: auto; margin-top: .2rem; }
.value-form button { width: 100%; justify-content: center; margin-top: .25rem; }
.value-form__note { margin: .9rem 0 0; color: var(--muted); font-size: .86rem; text-align: center; }
@media (max-width: 900px) {
  .value-page__grid { grid-template-columns: 1fr; }
  .value-copy { position: static; }
}
@media (max-width: 620px) {
  .value-form-card__head,
  .value-form { padding: 1.25rem; }
  .value-form .field-row--address { grid-template-columns: 1fr; }
  .value-benefits div { grid-template-columns: 1fr; }
}
.form-note { background: var(--cream); border-left: 3px solid var(--gold); padding: .85rem 1.1rem; font-size: .9rem; margin-bottom: 1.25rem; color: #5a513f; }
.form-note--success { background: #e7f6ec; border-left-color: #16a34a; color: #166534; }

/* IDX placeholder (Phase 5) */
.idx-placeholder { border: 1px dashed var(--gold); background: rgba(201,169,97,.06); padding: 3rem 1.5rem; text-align: center; }
.idx-placeholder p { max-width: 480px; margin: .5rem auto 1.25rem; color: var(--muted); }

/* Recently Sold & Leased widget (My Listings) */
.sold-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem; margin-top: 2.5rem;
  padding-bottom: 1.1rem; border-bottom: 1px solid rgba(201,169,97,.25);
}
.sold-toolbar__count {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted);
}
.sold-sort { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.sold-sort__label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); margin-right: .55rem;
}
.sold-sort__opt {
  padding: .42rem .85rem; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--charcoal); background: transparent;
  border: 1px solid rgba(201,169,97,.35);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.sold-sort__opt:hover { color: var(--gold-dark); border-color: var(--gold); }
.sold-sort__opt.is-active {
  color: var(--white); background: var(--ink); border-color: var(--ink);
}
.sold-sort__opt.is-active:hover { color: var(--white); }
@media (max-width: 560px) {
  .sold-toolbar { justify-content: center; }
  .sold-sort { justify-content: center; }
}
.sold-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.sold-toolbar + .sold-grid { margin-top: 1.75rem; }
.sold-card { background: var(--white); border: 1px solid rgba(201,169,97,.25); display: flex; flex-direction: column; }
.sold-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #ece7dc; }
.sold-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.sold-card:hover .sold-card__media img { transform: scale(1.04); }
.sold-card__noimg { width: 100%; height: 100%; background: linear-gradient(135deg, #efe9dc, #e2dac8); }
.sold-card__badge {
  position: absolute; top: .8rem; left: .8rem;
  padding: .28rem .7rem; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--white);
  background: var(--ink);
}
.sold-card__badge--leased { background: var(--gold-dark); }
.sold-card__badge--for_sale { background: var(--gold, #c9a961); color: var(--ink); }
.sold-card__badge--for_lease { background: var(--gold-dark); }
.sold-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.sold-card__address { font-size: 1.12rem; margin: 0 0 .5rem; }
.sold-card__meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-items: baseline; margin-bottom: .6rem; }
.sold-card__price { font-family: var(--font-serif); font-size: 1.15rem; color: var(--gold-dark); }
.sold-card__specs { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sold-card__desc { font-size: .92rem; color: #5a513f; margin: 0 0 .75rem; line-height: 1.6; }
.sold-card__more { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); }
.sold-card:hover .sold-card__more { color: var(--ink); }

/* Sold property detail page */
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { margin: 0 .4rem; color: #c9bea8; }
.property { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: start; }
.property__hero { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #ece7dc; }
.property__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property__hero--empty { background: linear-gradient(135deg, #2b3548, #1c2230); display: flex; align-items: center; justify-content: center; margin: 0; }
.property__noimg-label { color: rgba(255,255,255,.75); font-size: .85rem; text-transform: uppercase; letter-spacing: .18em; }
.property__hero .sold-card__badge { top: 1rem; left: 1rem; }
.property__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .5rem; }
.property__thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 3 / 2; overflow: hidden; }
.property__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.property__thumb.is-active { border-color: var(--gold); }
.property__address { font-size: 2rem; margin: .35rem 0 .9rem; }
.property__facts { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.property__status { position: static; }
.property__price { font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold-dark); }
.property__specs { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 1.5rem; }
.property__desc { color: #4a4233; line-height: 1.8; }
.property__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
@media (max-width: 820px) {
  .property { grid-template-columns: 1fr; gap: 2rem; }
  .property__address { font-size: 1.6rem; }
}
.property__hero-btn { display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.property__zoom {
  position: absolute; bottom: .8rem; right: .8rem; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,14,14,.6); color: #fff; font-size: 1.2rem; border-radius: 50%;
  opacity: 0; transition: opacity .25s var(--ease);
}
.property__hero-btn:hover .property__zoom,
.property__hero-btn:focus-visible .property__zoom { opacity: 1; }

/* Lightbox */
body.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,10,.93); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 90vw; max-height: 84vh; object-fit: contain; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.lightbox__counter { color: #e9e6df; margin-top: .9rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1.25rem; width: 46px; height: 46px;
  background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { color: var(--gold); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 56px; height: 56px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; border-radius: 50%;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }
@media (max-width: 640px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.5rem; }
  .lightbox__nav--prev { left: .5rem; }
  .lightbox__nav--next { right: .5rem; }
}

/* Legal prose */
.legal-prose { max-width: 760px; margin: 0 auto; }
.legal-prose h2 { font-size: 1.8rem; margin-top: 0; }
.legal-prose h3 { font-size: 1.2rem; margin-top: 2rem; }

/* ---------- FAQ accordion (About page) ---------- */
.faq-list { max-width: 760px; margin: 2.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  list-style: none; cursor: pointer; padding: 1.2rem 2.2rem 1.2rem 0; position: relative;
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); font-weight: 700;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: ""; position: absolute; right: .3rem; top: 1.55rem; width: 9px; height: 9px;
  border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item[open] .faq-item__q::after { transform: rotate(-135deg); }
.faq-item__a { padding: 0 2.2rem 1.4rem 0; color: #5a513f; line-height: 1.7; }
.faq-item__a p { margin: 0 0 .8rem; }
.faq-item[open] .faq-item__a { animation: footer-reveal .3s var(--ease); }

/* Honeypot bot-trap link: off-screen + non-focusable so humans never reach it. */
.bot-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9b9b9; padding: 4rem 0 2rem; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer__logo { width: 230px; margin-bottom: 1.25rem; }
.site-footer__affiliation {
  width: min(100%, 300px);
  margin: 1.5rem 0 0;
}
.site-footer__affiliation img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  object-position: left;
}
.site-footer h4, .footer-col__head { color: var(--white); font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1.1rem; }
.footer-col__head { display: block; cursor: default; }
.footer-col__toggle { display: none; }
.site-footer a { color: #c9c2b4; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.footer-socials a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #c9c2b4; }
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.75rem; font-size: .78rem; color: #8f8f8f; }
.site-footer__legal a { color: #8f8f8f; }
@media (max-width: 820px) {
  .site-footer { padding: 2.75rem 0 1.5rem; }
  .site-footer__top { grid-template-columns: 1fr; gap: 0; padding-bottom: .5rem; }

  /* Centered brand / logo / address block */
  .footer-brand { text-align: center; padding-bottom: 1.75rem; }
  .footer-brand .site-footer__logo { margin: 0 auto 1.1rem; }
  .footer-brand .site-footer__affiliation { margin: 1.4rem auto 0; }
  .footer-brand .site-footer__affiliation img { object-position: center; }
  .footer-brand .footer-socials { justify-content: center; }

  /* Link sections become tap-to-expand accordions */
  .footer-col { border-top: 1px solid rgba(255,255,255,.1); }
  .footer-col__head {
    margin: 0; padding: 1.05rem .25rem; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-col__head::after {
    content: ""; width: 8px; height: 8px; margin-right: .35rem;
    border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
    transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease);
  }
  .footer-col__toggle:checked ~ .footer-col__head::after { transform: translateY(2px) rotate(-135deg); }
  .footer-col > .footer-links { display: none; padding: 0 .25rem 1.15rem; gap: .75rem; }
  .footer-col__toggle:checked ~ .footer-links { display: flex; animation: footer-reveal .32s var(--ease); }

  /* Centered bottom legal / "powered by" row */
  .site-footer__legal { flex-direction: column; align-items: center; text-align: center; gap: .45rem; }
}
@keyframes footer-reveal { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .footer-col__toggle:checked ~ .footer-links { animation: none; } }

/* ---------- Sticky mobile quick-contact bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 58px; } /* room so the bar never covers the footer */
  /* Keep the open menu clear of the fixed quick-contact bar (~58px): shorten it
     and pad the bottom so the last items scroll fully into view above the bar. */
  .site-nav { max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); padding-bottom: 24px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); box-shadow: 0 -6px 20px rgba(0,0,0,.28);
  }
  .mobile-cta__btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .12rem;
    padding: .55rem .25rem .65rem; color: #fff; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; border-right: 1px solid rgba(255,255,255,.12);
  }
  .mobile-cta__btn:last-child { border-right: 0; }
  .mobile-cta__btn:hover, .mobile-cta__btn:active { color: var(--gold); text-decoration: none; }
  .mobile-cta__btn svg { width: 20px; height: 20px; fill: currentColor; }
  .mobile-cta__btn--gold { background: var(--gold); color: var(--ink); }
  .mobile-cta__btn--gold:hover { color: var(--ink); opacity: .92; }
}

