/* ============================================================
   Skytop Properties — Design System
   Warm & residential palette. Static site (no build step).
   ============================================================ */

:root {
  /* Brand palette — Charcoal & Brass (upscale) */
  --clay:        #B08D57;   /* brass — primary accent */
  --clay-dark:   #8A6B3F;   /* deep brass — links / hover */
  --clay-soft:   #E6D8C1;   /* pale brass */
  --ink:         #1B1B1E;   /* near-black charcoal — dramatic sections */
  --espresso:    #232327;   /* charcoal — primary text */
  --bark:        #5C5C63;   /* cool grey — secondary text */
  --cream:       #F7F4EF;   /* page background — ivory */
  --sand:        #EFEAE1;   /* card / section tint — warm stone */
  --sage:        #2B2B2E;   /* charcoal accent (check chips) */
  --sage-dark:   #1B1B1E;
  --gold:        #B08D57;   /* brass highlight */
  --amber:       #C7A674;   /* light brass */
  --white:       #FFFFFF;
  --line:        #E6DFD3;   /* hairline borders */

  /* Signature gradients */
  --grad-warm:  linear-gradient(118deg, #B08D57 0%, #C7A674 100%);   /* brass accent */
  --grad-ink:   linear-gradient(160deg, #2A2A2F 0%, #1B1B1E 100%);   /* charcoal */

  /* Type */
  /* Montserrat matches the geometric sans of the Skytop logo wordmark */
  --serif: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing & shape */
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(36, 28, 22, 0.06);
  --shadow-md: 0 14px 40px rgba(36, 28, 22, 0.12);
  --shadow-lg: 0 30px 80px rgba(36, 28, 22, 0.20);
  --maxw: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--clay-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--clay); }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--espresso); letter-spacing: -0.022em; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.35rem); }
h3 { font-size: 1.42rem; letter-spacing: -0.015em; }
p  { color: var(--bark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--clay);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-warm); border-radius: 2px; }
.center .eyebrow { justify-content: center; }

/* ----------------------------- Layout ---------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tint { background: var(--sand); }
.section--espresso { background: var(--grad-ink); }
.section--espresso h2, .section--espresso h3 { color: var(--cream); }
.section--espresso p { color: #D8CBBE; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--bark); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* ----------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 800; font-size: .96rem; letter-spacing: .01em;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); white-space: nowrap;
}
.btn--primary { background: linear-gradient(140deg, #34343A 0%, #1F1F23 100%); color: var(--white); box-shadow: 0 8px 22px rgba(27,27,30,.30); }
.btn--primary:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(27,27,30,.42); }
.btn--ghost { background: transparent; color: var(--espresso); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--clay); color: var(--clay-dark); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn--light { background: var(--white); color: var(--espresso); }
.btn--light:hover { background: var(--cream); color: var(--clay-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: var(--espresso); }
.btn--gold:hover { background: #9A7A48; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ----------------------------- Header ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 248, 242, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(252, 248, 242, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(36,28,22,.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--espresso); }
.brand:hover { color: var(--espresso); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--clay), var(--gold));
  display: grid; place-items: center; color: var(--white);
  font-weight: 800; font-family: var(--sans); font-size: 1.2rem; box-shadow: var(--shadow-sm);
}
/* Logo image variant of the brand mark */
.brand-logo { height: 60px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.site-footer .brand-logo { height: 56px; }
.brand small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--bark); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-weight: 700; color: var(--espresso); font-size: .9rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--clay); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--espresso); margin: 5px 0; transition: .3s var(--ease); }

@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 92px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px; box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
}

/* ----------------------------- Hero ------------------------------ */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(103deg, rgba(20,15,11,.88) 0%, rgba(20,15,11,.60) 42%, rgba(20,15,11,.12) 100%),
    linear-gradient(to top, rgba(20,15,11,.55) 0%, rgba(20,15,11,0) 38%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(96px, 15vw, 184px) 0 clamp(88px, 13vw, 150px); max-width: 760px; }
.hero h1 { color: var(--white); font-size: clamp(3rem, 6.4vw, 5.4rem); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero p { color: #F1E8DD; font-size: clamp(1.1rem, 1.6vw, 1.32rem); margin-top: 1.2rem; max-width: 52ch; }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2rem; color: #E4D8CA; font-size: .86rem; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* Quick search bar on hero */
.quick-search {
  position: relative; z-index: 2; margin-top: -42px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px;
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 14px; align-items: end;
}
.quick-search .field { display: flex; flex-direction: column; gap: 6px; }
.quick-search label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--bark); }
.quick-search select, .quick-search input {
  font-family: var(--sans); font-size: 1rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--espresso);
}
.quick-search select:focus, .quick-search input:focus { outline: none; border-color: var(--clay); }
@media (max-width: 760px) { .quick-search { grid-template-columns: 1fr 1fr; margin-top: 24px; } .quick-search .btn { grid-column: 1 / -1; justify-content: center; } }

/* ----------------------------- Stats ----------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--clay); font-weight: 600; line-height: 1; }
.stat .lbl { font-size: .92rem; color: var(--bark); font-weight: 700; margin-top: .4rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 32px 16px; } }

/* ----------------------------- Cards / grids --------------------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--clay-soft); }
.feature .ico {
  width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(140deg, var(--sand), #fff);
  border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--clay); font-size: 1.5rem;
}
.feature h3 { margin-bottom: .5rem; }
.feature p { font-size: .98rem; }

/* ----------------------------- Listing cards --------------------- */
.listing-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.listing-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--clay-soft); }
.listing-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.listing-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.listing-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,15,11,.28), transparent 45%); opacity: 0; transition: opacity .4s var(--ease); }
.listing-card:hover .thumb img { transform: scale(1.07); }
.listing-card:hover .thumb::after { opacity: 1; }
.listing-card .tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(252,248,242,.82); backdrop-filter: blur(8px);
  color: var(--clay-dark); font-weight: 800; font-size: .74rem; letter-spacing: .05em;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); text-transform: uppercase;
}
.listing-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.listing-card .price { font-family: var(--serif); font-size: 1.5rem; color: var(--espresso); font-weight: 600; }
.listing-card .price span { font-family: var(--sans); font-size: .85rem; color: var(--bark); font-weight: 700; }
.listing-card h3 { font-size: 1.12rem; margin: .35rem 0 .2rem; }
.listing-card .addr { font-size: .92rem; color: var(--bark); display: flex; align-items: center; gap: 6px; }
.listing-card .specs { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--bark); font-weight: 700; }
.listing-card .specs span { display: flex; align-items: center; gap: 6px; }
.listing-card .body .btn { margin-top: 18px; justify-content: center; }

/* ----------------------------- Filter bar ------------------------ */
.filter-bar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 22px; margin-bottom: 36px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; align-items: end;
}
.filter-bar .btn { align-self: end; }
.filter-bar .field { display: flex; flex-direction: column; gap: 6px; }
.filter-bar label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--bark); }
.filter-bar select, .filter-bar input {
  font-family: var(--sans); font-size: 1rem; padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--espresso);
}
.filter-bar select:focus, .filter-bar input:focus { outline: none; border-color: var(--clay); }
@media (max-width: 860px) { .filter-bar { grid-template-columns: 1fr 1fr; } .filter-bar .btn { grid-column: 1 / -1; justify-content: center; } }

.result-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.result-meta .count { font-weight: 800; color: var(--espresso); }

/* ----------------------------- Split feature --------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.checklist { margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--bark); }
.checklist .ck { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--sage); color: var(--white); display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px; }

/* ----------------------------- Neighborhood cards ---------------- */
.hood-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-height: 280px; display: flex; align-items: flex-end; }
.hood-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hood-card:hover img { transform: scale(1.07); }
.hood-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,37,31,.85), rgba(46,37,31,.05) 70%); }
.hood-card .hood-body { position: relative; z-index: 1; padding: 24px; color: var(--white); }
.hood-card h3 { color: var(--white); }
.hood-card p { color: #E7DCD0; font-size: .92rem; margin-top: .25rem; }

/* ----------------------------- Steps ----------------------------- */
.steps { counter-reset: step; display: grid; gap: 26px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .n { counter-increment: step; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: var(--clay); color: var(--white); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; display: grid; place-items: center; }
.step .n::before { content: counter(step); }

/* ----------------------------- Portal tiles ---------------------- */
.portal-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: block;
}
.portal-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portal-tile .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--clay); color: var(--white); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.portal-tile h3 { color: var(--espresso); margin-bottom: .4rem; }
.portal-tile p { font-size: .96rem; }
.portal-tile .arrow { color: var(--clay); font-weight: 800; margin-top: 14px; display: inline-flex; gap: 6px; }

/* ----------------------------- CTA band -------------------------- */
.cta-band { background: linear-gradient(125deg, #232327 0%, #2E2E34 55%, #3A3A41 130%); border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 72px); text-align: center; color: var(--white); position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.cta-band p { color: #D8D2C6; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #F6E4D8; max-width: 56ch; margin: 1rem auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* ----------------------------- Forms ----------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-weight: 800; font-size: .85rem; color: var(--espresso); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--white); color: var(--espresso); width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(181,96,58,.12); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ----------------------------- Info card ------------------------- */
.info-card { background: var(--sand); border-radius: var(--radius); padding: 30px; }
.info-card .row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-card .row:last-child { border-bottom: 0; }
.info-card .row .ico { color: var(--clay); font-size: 1.2rem; flex: 0 0 24px; }
.info-card .row strong { display: block; color: var(--espresso); }
.info-card .row span { color: var(--bark); font-size: .95rem; }

/* ----------------------------- Footer ---------------------------- */
.site-footer { background: var(--espresso); color: #D8CBBE; padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--cream); font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.site-footer a { color: #D8CBBE; display: block; padding: 6px 0; font-size: .96rem; }
.site-footer a:hover { color: var(--clay-soft); }
.footer-brand .brand { color: var(--cream); margin-bottom: 14px; }
.footer-brand .brand small { color: #B6A795; }
.footer-brand p { color: #B6A795; font-size: .95rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #9C8E7E; }
.footer-bottom a { display: inline; color: #9C8E7E; }
.eho { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: #9C8E7E; }
.eho:hover { color: var(--clay-soft); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { display: inline; font-size: .84rem; color: #9C8E7E; }
.footer-legal a:hover { color: var(--clay-soft); }

/* ----------------------------- Legal / content pages ------------- */
.legal-content { max-width: 820px; }
.legal-content h2 { margin-top: 2.4rem; margin-bottom: .6rem; font-size: 1.55rem; }
.legal-content h3 { margin-top: 1.5rem; margin-bottom: .35rem; font-size: 1.12rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { margin: .4rem 0 1.2rem; padding-left: 1.25rem; list-style: disc; display: grid; gap: .45rem; }
.legal-content li { color: var(--bark); }
.legal-content a { text-decoration: underline; }
.legal-updated { color: var(--bark); font-size: .9rem; font-weight: 700; margin-bottom: 1.8rem; }
.legal-note { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font-size: .92rem; color: var(--bark); margin-top: 1.8rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ----------------------------- Page hero (interior) -------------- */
.page-hero { background: var(--grad-ink); color: var(--cream); padding: clamp(64px, 10vw, 112px) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(176,141,87,.30), transparent 68%); }
.page-hero::before { content: ""; position: absolute; left: -100px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(176,141,87,.18), transparent 70%); }
.page-hero h1 { color: var(--cream); position: relative; }
.page-hero p { color: #D8CBBE; max-width: 60ch; margin-top: 1rem; position: relative; }
.page-hero .eyebrow { color: var(--gold); }
.breadcrumb { font-size: .85rem; color: #B6A795; margin-bottom: 1rem; }
.breadcrumb a { color: #B6A795; }
.breadcrumb a:hover { color: var(--clay-soft); }

/* ----------------------------- Embed placeholder ----------------- */
.embed-slot {
  border: 2px dashed var(--clay-soft); border-radius: var(--radius-lg);
  background: var(--white); padding: 48px 32px; text-align: center;
}
.embed-slot .ico { font-size: 2.4rem; margin-bottom: 12px; color: var(--clay); }
.embed-slot .ico svg { width: 42px; height: 42px; }
.embed-slot h3 { margin-bottom: .5rem; }
.embed-slot code { background: var(--sand); padding: 3px 8px; border-radius: 6px; font-size: .88rem; color: var(--clay-dark); }

/* ----------------------------- Map ------------------------------- */
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); margin-bottom: 36px; }
.map-wrap::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); pointer-events: none; z-index: 4; }
#map { height: 460px; width: 100%; background: var(--sand); }
@media (max-width: 640px) { #map { height: 340px; } }
.map-hint { position: absolute; top: 14px; left: 14px; z-index: 5; background: rgba(252,248,242,.92); backdrop-filter: blur(8px); color: var(--espresso); font-size: .8rem; font-weight: 800; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); pointer-events: none; display: inline-flex; align-items: center; gap: 7px; }
.map-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }

/* Google Maps info window — restyle the bubble chrome + content */
.gm-style .gm-style-iw-c { border-radius: 16px !important; box-shadow: var(--shadow-md) !important; padding: 0 !important; background: var(--cream) !important; }
.gm-style .gm-style-iw-d { overflow: hidden !important; padding: 0 !important; }
.gm-style .gm-style-iw-tc::after { background: var(--cream) !important; }
.map-pop { font-family: var(--sans); width: 244px; }
.map-pop-img { width: 100%; height: 134px; object-fit: cover; display: block; }
.map-pop-info { padding: 14px 16px 16px; }
.map-pop strong { font-family: var(--serif); font-size: 1.06rem; color: var(--espresso); display: block; letter-spacing: -0.01em; line-height: 1.2; }
.map-pop-addr { font-size: .82rem; color: var(--bark); margin: 4px 0 7px; }
.map-pop-specs { font-size: .85rem; color: var(--espresso); font-weight: 700; }
.map-pop-actions { display: flex; gap: 8px; margin-top: 12px; }
.map-pop-actions .btn { flex: 1; justify-content: center; }
.btn--sm { padding: 9px 14px; font-size: .82rem; }

/* Listing card actions */
.card-actions { display: flex; gap: 10px; margin-top: 18px; }
.card-actions .btn { flex: 1; justify-content: center; }
.card-actions .btn--ghost { flex: 0 0 auto; }
.listing-card .thumb.js-details, .listing-card h3.js-details { cursor: pointer; }
.listing-card h3.js-details:hover { color: var(--clay-dark); }
.photo-count { position: absolute; bottom: 12px; right: 12px; z-index: 1; background: rgba(20,15,11,.6); backdrop-filter: blur(6px); color: #fff; font-size: .74rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; }

/* ----------------------------- Listing detail modal -------------- */
.listing-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.listing-modal[hidden] { display: none; }
.lm-overlay { position: absolute; inset: 0; background: rgba(20,15,11,.66); backdrop-filter: blur(4px); animation: lmFade .25s var(--ease); }
.lm-card {
  position: relative; z-index: 1; width: min(900px, 100%); max-height: 92vh; overflow: auto;
  background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: lmRise .3s var(--ease);
}
@keyframes lmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lmRise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.lm-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border: 0;
  border-radius: 50%; background: rgba(20,15,11,.55); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s var(--ease);
}
.lm-close:hover { background: rgba(20,15,11,.8); }
.lm-gallery { position: relative; background: var(--ink); }
.lm-main { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.lm-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; cursor: pointer;
  background: rgba(252,248,242,.85); color: var(--espresso); border-radius: 50%; font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s var(--ease), transform .2s var(--ease);
}
.lm-nav:hover { background: #fff; }
.lm-prev { left: 14px; } .lm-next { right: 14px; }
.lm-thumbs { display: flex; gap: 8px; padding: 12px 16px 0; flex-wrap: wrap; }
.lm-thumb { width: 72px; height: 54px; border-radius: 8px; border: 2px solid transparent; background-size: cover; background-position: center; cursor: pointer; opacity: .7; transition: opacity .2s var(--ease), border-color .2s var(--ease); }
.lm-thumb:hover { opacity: 1; }
.lm-thumb.active { opacity: 1; border-color: var(--clay); }
.lm-body { padding: 22px 30px 30px; }
.lm-headrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.lm-headrow .tag { position: static; background: var(--sand); backdrop-filter: none; }
.lm-price { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--espresso); }
.lm-price span { font-family: var(--sans); font-size: .85rem; color: var(--bark); font-weight: 700; }
.lm-title { margin: 4px 0 6px; }
.lm-body .lm-specs { display: flex; gap: 18px; margin: 14px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--bark); }
.lm-desc { margin: 16px 0; color: var(--bark); white-space: pre-line; }
.lm-meta { display: grid; gap: 10px; margin-bottom: 22px; }
.lm-meta-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: .94rem; }
.lm-meta-row strong { color: var(--espresso); }
.lm-meta-row span { color: var(--bark); }
.lm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lm-screen { font-size: .8rem; color: var(--bark); margin-top: 10px; }
.mews-card { width: min(480px, 100%); padding: 30px; }
.mews-card h3 { margin: 4px 36px 8px 0; }
.mews-card p { color: var(--bark); }
.mews-field { margin: 18px 0 22px; }
.mews-card .mews-go { width: 100%; }
.mews-note { font-size: .8rem; color: var(--bark); margin-top: 14px; }
.calc-note { font-size: .9rem; color: var(--bark); margin-top: 14px; }
@media (max-width: 560px) { .lm-meta-row { grid-template-columns: 1fr; gap: 2px; } .lm-body { padding: 20px; } }

/* ----------------------------- Icons (Lucide) -------------------- */
.lucide { stroke-width: 1.85; vertical-align: middle; flex: none; }
.feature .ico svg, .portal-tile .ico svg { width: 27px; height: 27px; }
.info-card .row .ico svg { width: 20px; height: 20px; }
.listing-card .specs svg, .map-pop-specs svg { width: 16px; height: 16px; }
.listing-card .addr svg, .lm-addr svg { width: 15px; height: 15px; }
.lm-specs svg { width: 17px; height: 17px; }
.checklist .ck svg { width: 13px; height: 13px; stroke-width: 3; }
.eho svg { width: 15px; height: 15px; }
.photo-count svg { width: 13px; height: 13px; }

/* ----------------------------- Map ↔ list sync ------------------- */
.listing-card.is-hover { border-color: var(--clay); box-shadow: var(--shadow-md); }
.listing-card.is-selected { border-color: var(--clay); box-shadow: 0 0 0 2px var(--clay), var(--shadow-md); }

/* ----------------------------- Street View (modal) --------------- */
.lm-streetview { border-top: 1px solid var(--line); }
.lm-sv-cap { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bark); padding: 12px 16px 6px; }
.lm-sv { width: 100%; height: 240px; background: var(--ink); }

/* ----------------------------- Notify band ----------------------- */
.notify-band { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,44px); display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.notify-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.notify-band p { margin-top: .3rem; }
.notify-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.notify-form input[type=email] { font-family: var(--sans); font-size: 1rem; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; min-width: 240px; }
.notify-form input[type=email]:focus { outline: none; border-color: var(--clay); }
.notify-form .form-note { flex-basis: 100%; color: var(--sage-dark); font-weight: 700; font-size: .9rem; margin-top: 6px; }

/* ----------------------------- Rent calculator ------------------- */
.calc { max-width: 760px; }
.calc-row { display: flex; gap: 24px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; }
.calc-row label { display: flex; flex-direction: column; gap: 8px; font-weight: 800; color: var(--espresso); font-size: .9rem; }
.calc-row input { font-family: var(--sans); font-size: 1.05rem; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 240px; }
.calc-row input:focus { outline: none; border-color: var(--clay); }
.calc-out { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 24px; text-align: center; }
.calc-out span { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--clay); line-height: 1.1; }
.calc-out small { color: var(--bark); font-weight: 700; }

/* ----------------------------- Language toggle ------------------- */
.lang-toggle { background: transparent; border: 1.5px solid var(--line); color: var(--espresso); font-family: var(--sans); font-weight: 800; font-size: .8rem; letter-spacing: .06em; padding: 8px 13px; border-radius: 999px; cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease); }
.lang-toggle:hover { border-color: var(--clay); color: var(--clay-dark); }

/* ----------------------------- Commute calculator ---------------- */
.commute-bar { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 28px; }
.commute-bar > label { display: block; font-weight: 800; font-size: .82rem; letter-spacing: .04em; color: var(--espresso); margin-bottom: 8px; }
.commute-row { display: flex; gap: 10px; flex-wrap: wrap; }
.commute-row input { flex: 1; min-width: 220px; font-family: var(--sans); font-size: 1rem; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.commute-row input:focus { outline: none; border-color: var(--clay); }
.listing-card .commute { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: .85rem; font-weight: 700; color: var(--clay-dark); background: var(--sand); padding: 6px 12px; border-radius: 999px; }
.listing-card .commute svg { width: 15px; height: 15px; }

/* ----------------------------- Eligibility pre-screener ---------- */
.prescreen { max-width: 820px; margin: 0 auto; }
.prescreen-row { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.prescreen-row label { display: flex; flex-direction: column; gap: 8px; font-weight: 800; font-size: .85rem; color: var(--espresso); }
.prescreen-row select, .prescreen-row input { font-family: var(--sans); font-size: 1.05rem; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; min-width: 220px; }
.prescreen-row select:focus, .prescreen-row input:focus { outline: none; border-color: var(--clay); }
.il-result { margin-top: 22px; }
.il-verdict { border-radius: var(--radius); padding: 16px 20px; font-weight: 700; margin-bottom: 18px; }
.il-yes { background: #e7ecdf; color: var(--sage-dark); border: 1px solid var(--sage); }
.il-no { background: #f4e3d8; color: var(--clay-dark); border: 1px solid var(--clay-soft); }
.il-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.il-tier { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.il-tier span { display: block; font-size: .8rem; color: var(--bark); font-weight: 700; }
.il-tier b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--espresso); margin-top: 4px; }
.il-sub { text-align: center; font-size: .85rem; color: var(--bark); margin-top: 12px; }
.il-msg { text-align: center; color: var(--bark); }
.il-note { text-align: center; font-size: .82rem; color: var(--bark); margin-top: 18px; }

/* ----------------------------- Compare --------------------------- */
.cmp-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .85rem; font-weight: 700; color: var(--bark); cursor: pointer; }
.cmp-toggle input { width: 16px; height: 16px; accent-color: var(--clay); cursor: pointer; }
#compare-bar { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 160%); z-index: 900; display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 12px 16px 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
#compare-bar.show { transform: translate(-50%, 0); }
#compare-bar .cmp-barlabel { font-size: .9rem; }
#compare-bar .cmp-count { color: var(--amber); }
#compare-bar .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
#compare-bar .btn--ghost:hover { border-color: #fff; color: #fff; }
#compare-bar .cmp-open:disabled { opacity: .5; cursor: not-allowed; }
.cmp-card { position: relative; z-index: 1; width: min(960px, 100%); max-height: 92vh; overflow: auto; background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; animation: lmRise .3s var(--ease); }
.cmp-title { margin-bottom: 18px; }
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cmp-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.cmp-col img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }
.cmp-h { font-family: var(--serif); font-weight: 600; margin-top: 10px; }
.cmp-addr { font-size: .82rem; color: var(--bark); margin: 3px 0 10px; }
.cmp-cell { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.cmp-cell span { color: var(--bark); }
.cmp-cell b { color: var(--espresso); }
.cmp-col .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ----------------------------- Utility --------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .8rem; } .mt-2 { margin-top: 1.6rem; } .mt-3 { margin-top: 2.4rem; }
.hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.pill { display: inline-block; background: var(--sand); color: var(--clay-dark); font-weight: 800; font-size: .8rem; padding: 6px 14px; border-radius: 999px; }
