:root {
  --bg: #f4f1ec;
  --surface: #ffffff;
  --ink: #161514;
  --ink-2: #5e5a54;
  --ink-3: #8f8a82;
  --line: rgba(22, 21, 20, .09);
  --gold: #c0812f;
  --gold-ink: #7a5a2c;
  --gold-soft: #f3c98b;
  --sold: #a9a49b;
  --imsg: #0b84ff;
  --night: #121417;
  --shadow: 0 20px 50px -18px rgba(40, 32, 20, .35), 0 2px 8px rgba(40, 32, 20, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gut: 40px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.k { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- Nav ---------- */
.nav { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) var(--gut) 18px; color: #fff; }
.nav.solid { position: sticky; top: 0; color: var(--ink); background: rgba(244,241,236,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.me { display: flex; align-items: center; gap: 12px; min-width: 0; }
.me img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(0,0,0,.22); flex: none; }
.me b { display: block; font: 400 22px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.me small { display: block; font-size: 11.5px; opacity: .78; margin-top: 4px; letter-spacing: .02em; white-space: nowrap; }
.links { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.links a { opacity: .92; }
.links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.line { border: 1px solid rgba(22,21,20,.18); }

/* Text Me + Call Me */
.duo { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.imsg, .callme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; line-height: 1; white-space: nowrap; transition: transform .15s ease, filter .15s ease; }
.imsg { background: var(--imsg); color: #fff; box-shadow: 0 8px 22px -12px rgba(11,132,255,.8); }
.callme { background: var(--ink); color: #fff; }
.imsg:hover, .callme:hover { transform: translateY(-1px); filter: brightness(1.08); }
.imsg svg, .callme svg { width: 17px; height: 17px; flex: none; }
.nav .callme, .hero .callme, .contact .callme { background: #fff; color: var(--ink); }
.duo.lg .imsg, .duo.lg .callme { height: 52px; padding: 0 24px; font-size: 16px; }

/* ---------- Hero (signature sale) ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 1000px; color: #fff; overflow: hidden; background: #2a2a26; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,12,20,.8), rgba(10,12,20,.3) 58%, rgba(10,12,20,.08)), linear-gradient(rgba(10,12,20,.45), transparent 22%, transparent 60%, rgba(10,12,20,.6)); }
.hero-grid { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: end;
  max-width: 1360px; margin: 0 auto; padding: 0 var(--gut) clamp(64px, 11vh, 120px); }
.hero .in { max-width: 640px; }

/* Finder: glass search panel over the hero photo */
.finder { display: grid; gap: 12px; padding: 18px; border-radius: 26px; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.6)); border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6), inset 0 1px 0 #fff; }
.finder-top { display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); }
.finder-top .k { color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 3px rgba(47,179,107,.2); }
.field { display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 6px 0 16px; border-radius: 999px; background: rgba(255,255,255,.92);
  box-shadow: inset 0 0 0 1px rgba(22,21,20,.07), 0 6px 18px -10px rgba(0,0,0,.3); }
.field:focus-within { box-shadow: inset 0 0 0 1px rgba(192,129,47,.6), 0 0 0 4px rgba(192,129,47,.18); }
.field svg { width: 19px; height: 19px; color: var(--ink-2); flex: none; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 16px var(--sans); color: var(--ink); }
.field input::placeholder { color: var(--ink-3); }
.field .go { height: 42px; padding: 0 16px; font-size: 13.5px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 4px; border-radius: 999px; background: rgba(22,21,20,.07); }
.seg button { height: 38px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; transition: background .15s, color .15s; }
.seg button small { font-size: 11px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -2px rgba(0,0,0,.15); }
.seg button.on small { color: var(--gold-ink); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.55); border: 1px solid rgba(22,21,20,.08); }
.quick button:hover { color: var(--ink); background: #fff; }
.open-map { justify-self: start; font-size: 13.5px; font-weight: 600; color: var(--gold-ink); padding: 2px 0; }
.open-map:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Explorer: inline on the page, or expanded to full screen */
.ex-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ex-bar .seg { width: min(420px, 100%); background: rgba(22,21,20,.06); }
.ex-close, .ex-text { display: none; }
.ex-close { width: 40px; height: 40px; border-radius: 50%; place-items: center; font-size: 16px; color: var(--ink-2); background: rgba(22,21,20,.06); flex: none; }
body.exploring { overflow: hidden; }
body.exploring .explorer { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: grid; grid-template-columns: 460px 1fr; grid-template-rows: auto minmax(0, 1fr);
  animation: exIn .25s ease; }
@keyframes exIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
body.exploring .ex-bar { grid-column: 1 / -1; margin: 0; padding: max(10px, env(safe-area-inset-top)) 16px 10px; background: #fff; border-bottom: 1px solid var(--line); }
body.exploring .ex-close { display: grid; }
body.exploring .ex-text { display: inline-flex; margin-left: auto; }
body.exploring .ex-list { grid-column: 1; grid-row: 2; overflow-y: auto; padding: 0 16px 28px; -webkit-overflow-scrolling: touch; }
body.exploring .ex-map { grid-column: 2; grid-row: 2; }
body.exploring .mapwrap { height: 100%; min-height: 0; border-radius: 0; margin: 0; box-shadow: none; }
body.exploring .mapwrap .dock { top: 16px; }
body.exploring .grid { grid-template-columns: 1fr 1fr; }
body.exploring .chips { margin-top: 14px; }

/* Ask Lucia on each property */
.card .acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.ask { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--imsg); padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(11,132,255,.09); }
.ask:hover { background: rgba(11,132,255,.16); }
.ask svg { width: 14px; height: 14px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop .ask { margin-top: 8px; }
.hero h1 { font-size: clamp(46px, 7vw, 84px); line-height: .98; margin: 14px 0 18px; }
.hero p { font-size: clamp(16px, 1.4vw, 18.5px); opacity: .9; max-width: 50ch; }
.hero .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.hero .cap { position: absolute; z-index: 3; right: var(--gut); top: 96px; font-size: 12.5px; text-align: right; opacity: .88; }
.hero .cap b { display: block; font-size: 16px; }

/* ---------- Her strip ---------- */
.her { position: relative; z-index: 5; margin-top: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.her .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.her .face { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); }
.her h2 { font: 400 34px/1.1 var(--serif); letter-spacing: -.015em; margin-top: 6px; }
.her p { color: var(--ink-2); margin-top: 8px; max-width: 60ch; }
.her .acts { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 18px; }
.stats b { display: block; font: 400 28px/1.05 var(--serif); letter-spacing: -.01em; }
.stats span { font-size: 12.5px; color: var(--ink-2); }

/* ---------- Sections ---------- */
section.block { padding: 84px 0 0; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.head h2 { font: 400 clamp(30px, 3.4vw, 42px)/1.08 var(--serif); letter-spacing: -.015em; margin-top: 6px; }
.head p { color: var(--ink-3); font-size: 13.5px; max-width: 38ch; text-align: right; }
.gold { color: var(--gold-ink); }

/* Featured cards */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard { display: block; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 40px -26px rgba(0,0,0,.45); transition: transform .2s ease, box-shadow .2s ease; text-align: left; width: 100%; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcard .im { aspect-ratio: 4 / 3; position: relative; background: #ddd5c8; }
.fcard .im img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .07em; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.badge.sold { background: rgba(80,77,72,.82); color: #fff; backdrop-filter: blur(6px); }
.badge.live { background: var(--gold); color: #fff; }
.fcard .b { padding: 15px 18px 18px; }
.fcard .p { font: 600 22px/1.2 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.fcard .f { color: var(--ink-2); font-size: 13.5px; margin-top: 2px; }
.fcard .a { color: var(--ink-3); font-size: 13px; margin-top: 6px; }

/* Map + search */
.mapwrap { position: relative; height: min(72svh, 720px); min-height: 460px; border-radius: 28px; overflow: hidden; background: linear-gradient(#ece8e1, #e2ddd3); box-shadow: inset 0 0 0 1px var(--line); }
#map { position: absolute; inset: 0; }
.mapwrap .dock { position: absolute; z-index: 6; left: 50%; top: 22px; transform: translateX(-50%); width: min(680px, calc(100% - 32px)); }
.legend { position: absolute; z-index: 6; left: 18px; bottom: 18px; display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 7px 13px; border-radius: 999px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.maplibregl-ctrl-attrib { font-size: 10px; background: rgba(255,255,255,.6) !important; }
.glass { position: relative; display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 8px 0 22px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.52)); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(22,21,20,.04); }
.glass::before { content: ""; position: absolute; inset: 1px 18% auto; height: 45%; border-radius: 999px; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.6), transparent); }
.glass:focus-within { box-shadow: var(--shadow), 0 0 0 4px rgba(192,129,47,.2), inset 0 1px 0 #fff; }
.glass > svg { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
#q { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 16.5px var(--sans); color: var(--ink); }
#q::placeholder { color: var(--ink-3); }
#q::-webkit-search-cancel-button { display: none; }
.count { font-size: 13px; color: var(--ink-2); white-space: nowrap; padding: 0 6px; font-variant-numeric: tabular-nums; }
.go { height: 46px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; flex: none; }
.clear { width: 30px; height: 30px; border-radius: 50%; display: none; place-items: center; color: var(--ink-2); flex: none; }
.clear.on { display: grid; }
.chips { display: flex; gap: 8px; margin: 18px 0 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; transition: all .15s ease; flex: none; }
.chip:hover { color: var(--ink); border-color: rgba(22,21,20,.22); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.key { color: var(--ink); font-weight: 600; }
.chip.key.on { color: #fff; }
.chip.sales .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.chip.sales.on { background: var(--gold); border-color: var(--gold); color: #fff; }
.chip.sales.on .dot { background: #fff; }

/* Results */
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.results-head h3 { font: 400 24px/1.2 var(--serif); }
.results-head p { color: var(--ink-3); font-size: 12.5px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card { background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; text-align: left; display: block; width: 100%; }
.card:hover, .card.hot { transform: translateY(-3px); box-shadow: var(--shadow); }
.ph { aspect-ratio: 16 / 9; position: relative; background: var(--ph, linear-gradient(135deg, #e7e1d6, #d9d2c4)); }
.ph .tag { position: absolute; left: 10px; top: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--ink-2); }
.ph .tag.sold { background: var(--sold); color: #fff; }
.ph .flag { left: auto; right: 10px; background: var(--ink); color: #fff; }
.ph svg { position: absolute; inset: auto 0 0; width: 100%; height: 55%; }
.body { padding: 13px 15px 15px; }
.price { font: 600 19px/1.2 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.facts { color: var(--ink-2); font-size: 13.5px; margin-top: 2px; }
.where { color: var(--ink-3); font-size: 12.5px; margin-top: 5px; }
.empty { padding: 30px 0; color: var(--ink-2); grid-column: 1 / -1; }
.more { margin: 20px auto 0; display: flex; }

/* Specialties */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.spec .n { font: 700 11px/1 var(--sans); letter-spacing: .14em; color: var(--gold-ink); text-transform: uppercase; }
.spec h3 { font: 400 26px/1.1 var(--serif); letter-spacing: -.01em; }
.spec p { color: var(--ink-2); font-size: 14.5px; }
.spec ul { list-style: none; display: grid; gap: 7px; margin: 4px 0 6px; font-size: 14px; }
.spec li { padding-left: 18px; position: relative; }
.spec li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.spec .who { font-size: 12.5px; color: var(--ink-3); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

/* Voices */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voices blockquote { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; font: 400 18px/1.45 var(--serif); }
.voices cite { display: block; font: 600 12px var(--sans); color: var(--ink-3); margin-top: 12px; font-style: normal; letter-spacing: .05em; text-transform: uppercase; }

/* Contact footer */
.contact { margin-top: 96px; background: var(--night); color: #f4f1ec; padding: 72px 0 0; }
.contact .grid2 { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; }
.contact h2 { font: 400 clamp(32px, 3.6vw, 46px)/1.05 var(--serif); letter-spacing: -.02em; color: #fff; }
.contact .lede { color: #b9b3a8; margin-top: 14px; max-width: 42ch; }
.contact .direct { margin-top: 28px; display: grid; gap: 14px; justify-items: start; }
.contact .direct a.tel { color: #fff; font-weight: 600; font-size: 18px; }
.contact .direct small { color: #8d877d; }
.lead { display: grid; gap: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 24px; }
.lead h3 { font: 600 16px var(--sans); color: #fff; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; }
.needs label { cursor: pointer; }
.needs input { position: absolute; opacity: 0; pointer-events: none; }
.needs span { display: inline-flex; height: 36px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: 13.5px; color: #d9d4ca; transition: all .15s; }
.needs input:checked + span { background: #f4f1ec; color: var(--ink); border-color: #f4f1ec; }
.needs input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead input[type=text], .lead input[type=tel], .lead textarea { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: #fff; font: inherit; font-size: 16px; padding: 13px 14px; outline: none; }
.lead textarea { min-height: 84px; resize: vertical; }
.lead ::placeholder { color: #8d877d; }
.lead input:focus, .lead textarea:focus { border-color: var(--gold); }
.lead .send { justify-self: start; margin-top: 4px; }
.lead small { color: #8d877d; font-size: 12px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding: 22px 0 max(26px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.1); color: #8d877d; font-size: 12.5px; }
.foot a { color: #d9d4ca; }

/* Popups */
.maplibregl-popup-content { padding: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font: 14px/1.4 var(--sans); }
.maplibregl-popup-tip { display: none; }
.pop { padding: 12px 14px; min-width: 190px; }
.pop b { font-size: 16px; display: block; }
.pop span { color: var(--ink-2); font-size: 12.5px; }
.pop .s { color: var(--gold-ink); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.pop .s.sold { color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .links { display: none; }
  .feat, .specs, .voices { grid-template-columns: 1fr 1fr; }
  .contact .grid2 { grid-template-columns: 1fr; gap: 36px; }
  .her .wrap { grid-template-columns: auto 1fr; }
  .her .acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  body.exploring .explorer { grid-template-columns: 380px 1fr; }
  body.exploring .grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --gut: 18px; }
  body { font-size: 15.5px; }
  .me img { width: 40px; height: 40px; }
  .me b { font-size: 19px; }
  .me small { display: none; }
  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero::after { background: linear-gradient(rgba(10,12,20,.55), rgba(10,12,20,.2) 22%, rgba(10,12,20,.55) 48%, rgba(10,12,20,.9)); }
  .hero-grid { position: relative; inset: auto; min-height: 100svh; grid-template-columns: 1fr; gap: 18px; align-content: end; padding: 96px var(--gut) 22px; }
  .hero h1 { font-size: 46px; margin: 10px 0 0; }
  .hero p, .hero .row, .hero .cap { display: none; }
  .finder { padding: 14px; border-radius: 22px; gap: 10px; }
  .field { height: 52px; }
  .field .go { display: none; }
  .seg button { font-size: 12.5px; gap: 3px; }
  .quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .quick::-webkit-scrollbar { display: none; }
  .quick button { flex: none; }
  .ex-bar .seg { width: 100%; }
  body.exploring .explorer { grid-template-columns: 1fr; grid-template-rows: auto 44svh minmax(0, 1fr); }
  body.exploring .ex-map { grid-column: 1; grid-row: 2; }
  body.exploring .ex-list { grid-column: 1; grid-row: 3; }
  body.exploring .ex-bar { flex-wrap: wrap; gap: 8px; }
  body.exploring .ex-bar .seg { order: 3; width: 100%; }
  body.exploring .mapwrap .dock { top: 10px; }
  body.exploring .legend { top: 72px; bottom: auto; left: 10px; font-size: 11.5px; padding: 5px 10px; }
  body.exploring .results-head p { display: none; }
  body.exploring .results-head h3 { font-size: 20px; }
  body.exploring .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.exploring .card .body { padding: 10px 11px 12px; }
  body.exploring .card .price { font-size: 16px; }
  body.exploring .card .facts { font-size: 12px; }
  body.exploring .card .acts { flex-direction: column; align-items: flex-start; }
  .maplibregl-ctrl-attrib.maplibregl-compact-show { max-width: 70%; }
  .her .wrap { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
  .her .top { display: flex; gap: 16px; align-items: center; }
  .her .face { width: 84px; height: 84px; }
  .her h2 { font-size: 27px; }
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 22px; }
  .stats span { font-size: 11.5px; }
  .stats b { font-size: 21px; }
  .her .acts .btn { justify-content: center; }
  section.block { padding-top: 64px; }
  .head { flex-direction: column; align-items: flex-start; }
  .head p { text-align: left; }
  .feat { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 14px; scrollbar-width: none; }
  .feat::-webkit-scrollbar { display: none; }
  .fcard { scroll-snap-align: start; }
  .mapwrap { height: 64svh; min-height: 420px; border-radius: 22px; margin: 0 calc(-1 * var(--gut) + 8px); }
  .mapwrap .dock { top: 12px; width: calc(100% - 20px); }
  .glass { height: 54px; padding-left: 16px; }
  .count, .go { display: none; }
  .specs, .voices { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .contact { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

[hidden] { display: none !important; }
@media (max-width: 680px) {
  .nav .callme { width: 42px; height: 42px; padding: 0; }
  .nav .callme span { display: none; }
  .nav .imsg { height: 42px; padding: 0 16px; font-size: 14px; }
  .nav .duo { gap: 6px; flex-wrap: nowrap; }
  .her .acts .duo { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .her .acts .btn { flex: 1 1 100%; }
  body.exploring .ex-text .callme span { display: none; }
  body.exploring .ex-text .callme { width: 42px; padding: 0; }
  body.exploring .ex-text .imsg, body.exploring .ex-text .callme { height: 42px; }
}
@media (max-width: 680px) {
  .me { gap: 9px; }
  .me b { font-size: 17px; }
  .nav { gap: 8px; }
}
@media (max-width: 350px) { .me b { display: none; } }

/* ---------- About + notes pages ---------- */
.page-hero { padding: 120px 0 40px; }
.about-grid { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start; }
.about-grid .portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 28px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.prose h1 { font: 400 clamp(40px, 5vw, 64px)/1.02 var(--serif); letter-spacing: -.02em; margin: 10px 0 18px; }
.prose h2 { font: 400 28px/1.15 var(--serif); letter-spacing: -.01em; margin: 40px 0 10px; }
.prose p { color: var(--ink-2); font-size: 16.5px; margin-top: 14px; max-width: 64ch; }
.prose ul { margin: 12px 0 0 0; list-style: none; display: grid; gap: 8px; max-width: 64ch; }
.prose li { padding-left: 20px; position: relative; color: var(--ink-2); }
.prose li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.facts-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 28px; }
.facts-row div { background: var(--surface); padding: 18px 20px; }
.facts-row b { display: block; font: 400 24px/1.1 var(--serif); }
.facts-row span { font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-grid .portrait { position: static; max-width: 360px; }
}
@media (max-width: 680px) { .page-hero { padding-top: 92px; } }

/* Inline map waits for a click before taking scroll; hint disappears once active or full screen */
.map-hint { position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%); border: 0; cursor: pointer; font: inherit; font-size: 12.5px; color: #fff;
  background: rgba(27,26,25,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 8px 15px; border-radius: 999px; transition: opacity .25s; }
.map-hint .hint-touch { display: none; }
@media (pointer: coarse) { .map-hint .hint-desk { display: none; } .map-hint .hint-touch { display: inline; } }
.mapwrap.active .map-hint, body.exploring .map-hint { opacity: 0; pointer-events: none; }
@media (max-width: 680px) { .map-hint { bottom: 58px; } }

/* Hero finder: live MLS search */
.finder-note { margin: 14px 2px 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.finder .live { display: inline-flex; align-items: center; gap: 6px; }

/* Card role line: listing agent / buyer's agent / team listing */
.card .role { font-size: 12px; color: var(--ink-2); margin: 2px 0 6px; letter-spacing: .01em; }

/* MLS window: near full screen, Prime's live CRMLS search inside */
body.mls-open { overflow: hidden; }
.mls { position: fixed; z-index: 60; inset: 14px; display: flex; flex-direction: column; background: var(--paper, #f6f3ee); border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); animation: mlsIn .28s cubic-bezier(.2,.8,.2,1); }
.mls::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(20,18,16,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes mlsIn { from { opacity: 0; transform: scale(.97) translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .mls { animation: none; } }
.mls-bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mls-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mls-title b { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.mls-title small { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mls-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 16px; cursor: pointer; flex: none; }
.mls-ask { flex: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: 999px; }
.mls iframe { flex: 1; width: 100%; border: 0; background: #fff; }
@media (max-width: 680px) {
  .mls { inset: 0; border-radius: 0; }
  .mls-title b { font-size: 16px; }
  .mls-ask { padding: 10px 14px; font-size: 13px; }
}

/* Ask dialog */
.ask-modal { margin: auto; inset: 0; border: 0; padding: 0; border-radius: 24px; width: min(460px, calc(100vw - 32px)); background: #fff; color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.ask-modal::backdrop { background: rgba(20,18,16,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.ask-modal form { position: relative; display: grid; gap: 10px; padding: 26px 24px 22px; }
.ask-modal h3 { font-family: var(--serif); font-size: 24px; margin: 2px 0 6px; }
.ask-modal input, .ask-modal textarea { font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #faf8f5; color: inherit; }
.ask-modal textarea { resize: vertical; min-height: 96px; }
.ask-modal .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ask-modal .x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.ask-modal .send { border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 13px; border-radius: 999px; margin-top: 4px; }
.ask-modal .send:disabled, .lead .send:disabled { opacity: .6; cursor: progress; }
@media (max-width: 480px) { .ask-modal .two { grid-template-columns: 1fr; } }
.status { display: block; min-height: 1.2em; font-size: 13px; color: var(--ink-2); }
.status.ok { color: #1f7a3f; }
.status.err { color: #a2401f; }
.status a { text-decoration: underline; }
.lead .status { color: rgba(255,255,255,.8); }
.lead .status.ok { color: #9be3b0; }
.lead .status.err { color: #ffc2a8; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Email button: icon-only in the top nav to keep it compact */
.nav .mailme { width: 46px; padding: 0; }
.nav .mailme span { display: none; }
@media (max-width: 680px) { .nav .mailme { width: 42px; height: 42px; } }

/* Map loading state: never an empty box */
.mapwrap::before { content: "Loading the map…"; position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; font-size: 13.5px; color: var(--ink-2); letter-spacing: .02em;
  background: radial-gradient(120% 90% at 50% 40%, #f1ede6, #e2ddd3); animation: mapPulse 1.6s ease-in-out infinite; transition: opacity .4s; }
.mapwrap.ready::before { opacity: 0; animation: none; pointer-events: none; }
@keyframes mapPulse { 50% { color: rgba(94,90,84,.45); } }
@media (prefers-reduced-motion: reduce) { .mapwrap::before { animation: none; } }
.nav .duo { flex-wrap: nowrap; }
@media (max-width: 1180px) {
  .nav .callme { width: 46px; padding: 0; }
  .nav .callme span { display: none; }
}
@media (max-width: 680px) {
  .nav .imsg { width: 42px; height: 42px; padding: 0; }
  .nav .imsg span { display: none; }
  .nav .duo { gap: 6px; }
}
.mls { position: fixed; }
.mls-loading { position: absolute; left: 0; right: 0; top: 50%; text-align: center; margin: 0; color: var(--ink-2); font-size: 14px; animation: mapPulse 1.6s ease-in-out infinite; }
.mls iframe { position: relative; opacity: 0; transition: opacity .35s; }
.mls iframe.ready { opacity: 1; }
