@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin.woff2") format("woff2"); font-weight: 200 900; font-display: block; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block; }

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #18201c;
  --ink-2: #4b5650;
  --ink-3: #87908a;
  --line: #e8e6df;
  --line-2: #d9d6cc;
  --brand: #1f4a3a;
  --brand-2: #2d6a52;
  --brand-bg: #e7efe9;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
img { display: block; }
svg { flex: none; }
.tnum { font-variant-numeric: tabular-nums; }

/* nav */
.nav { height: 68px; display: flex; align-items: center; gap: 40px; padding: 0 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--brand); }
.logo svg { width: 30px; height: 30px; }
.logo span { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.logo em { font-style: italic; font-weight: 400; color: var(--brand); }
.links { display: flex; gap: 28px; }
.links a { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 24px 0 22px; border-bottom: 2px solid transparent; }
.links a.on { color: var(--ink); border-color: var(--brand); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.saved { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink-2); }
.saved svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.saved b { font-size: 11px; font-weight: 600; background: var(--brand); color: #fff; border-radius: 9px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px; }
.phone-n { font-weight: 500; color: var(--ink-2); }
.btn-dark { height: 38px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; display: inline-flex; align-items: center; }
.burger { display: none; }

/* search */
.search { height: 72px; display: flex; align-items: center; gap: 12px; padding: 0 32px; background: var(--surface); border-bottom: 1px solid var(--line); }
.field { flex: 0 1 460px; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px rgba(24,32,28,.04); }
.field > svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.chip-in { flex: none; height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px 0 10px; border-radius: 8px; background: var(--brand-bg); color: var(--brand); font-weight: 600; font-size: 13px; }
.chip-in i { font-style: normal; opacity: .55; font-weight: 400; }
.field input { flex: 1; min-width: 0; outline: none; font-size: 14px; }
.field input::placeholder { color: var(--ink-3); }
.filters { display: flex; gap: 8px; }
.flt { height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 14px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 500; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.flt svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flt.on { border-color: var(--brand); color: var(--brand); background: var(--brand-bg); font-weight: 600; }
.flt.more { padding: 0 14px 0 12px; }
.save-search { margin-left: auto; height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; white-space: nowrap; }
.save-search svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }

/* main */
.main { display: grid; grid-template-columns: 812px 1fr; height: calc(100vh - 140px); min-height: 720px; }
.results { padding: 22px 28px 28px 32px; overflow: hidden; }
.r-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.r-head h1 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.r-head p { color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.sort { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); font-size: 13px; height: 34px; }
.sort b { color: var(--ink); font-weight: 600; }
.sort svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.viewtog { display: flex; padding: 3px; border-radius: 10px; background: #efede6; }
.viewtog button { height: 28px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.viewtog button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.card { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover, .card.hl { box-shadow: 0 12px 28px -14px rgba(24,32,28,.28); border-color: var(--line-2); }
.ph { position: relative; height: 232px; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; top: 12px; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 7px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.tag.new::before, .tag.open::before, .tag.cut::before, .tag.tour::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; background: var(--brand-2); }
.tag.open::before { background: #c27c2c; } .tag.cut::before { background: #b5473a; } .tag.tour::before { background: #3d6fb0; }
.heart { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.heart svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.9; }
.heart.on svg { fill: #c4483b; stroke: #c4483b; }
.count { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(15,20,18,.55); padding: 3px 7px; border-radius: 6px; backdrop-filter: blur(4px); }
.body { padding: 14px 16px 16px; }
.row1 { display: flex; align-items: baseline; justify-content: space-between; }
.price { font-family: var(--serif); font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.est { font-size: 12px; color: var(--ink-3); }
.specs { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--ink-2); font-size: 13.5px; }
.specs b { font-weight: 600; color: var(--ink); margin-right: -4px; }
.specs i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.addr { margin-top: 6px; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* map */
.map { position: relative; overflow: hidden; border-left: 1px solid var(--line); }
.mapsvg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pins { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%, -100%); height: 30px; padding: 0 10px; border-radius: 15px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; box-shadow: 0 3px 10px rgba(24,32,28,.18), 0 0 0 1px rgba(24,32,28,.08); transition: transform .15s, background .15s; white-space: nowrap; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 2px 0; box-shadow: 1px 1px 0 rgba(24,32,28,.08); z-index: -1; }
.pin.dim { color: var(--ink-2); font-weight: 600; }
.pin.sel, .pin:hover { background: var(--brand); color: #fff; transform: translate(-50%, -100%) scale(1.08); z-index: 2; }
.cluster { position: absolute; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: rgba(31,74,58,.85); box-shadow: 0 0 0 6px rgba(31,74,58,.18); font-size: 13px; }
.mapctl { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; background: var(--surface); border-radius: 10px; box-shadow: 0 3px 10px rgba(24,32,28,.14); overflow: hidden; }
.mapctl button { width: 38px; height: 38px; display: grid; place-items: center; }
.mapctl button + button { border-top: 1px solid var(--line); }
.mapctl svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.draw { position: absolute; left: 16px; top: 16px; height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 10px; background: var(--surface); font-weight: 600; font-size: 13px; box-shadow: 0 3px 10px rgba(24,32,28,.14); }
.draw svg { width: 16px; height: 16px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.agent { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border-radius: 14px; box-shadow: 0 14px 34px -12px rgba(24,32,28,.35), 0 0 0 1px rgba(24,32,28,.05); }
.agent img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.ag-t { min-width: 0; }
.ag-k { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ag-t h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.ag-t p { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.stars { color: #c99a2e; letter-spacing: 1px; }
.btn-brand { margin-left: auto; height: 42px; padding: 0 18px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; white-space: nowrap; }

/* phone */
@media (max-width: 720px) {
  .nav { height: 60px; padding: 0 16px; gap: 12px; }
  .logo span { font-size: 19px; }
  .links, .phone-n, .btn-dark, .saved span { display: none; }
  .nav-r { gap: 14px; }
  .burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); }
  .burger svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
  .search { height: auto; flex-wrap: wrap; padding: 12px 16px; gap: 10px; }
  .field { flex: 1 1 100%; }
  .hide-sm { display: none; }
  .filters { flex: 1 1 100%; flex-wrap: wrap; }
  .flt { height: 36px; flex: none; }
  .save-search { display: none; }
  .main { display: block; height: auto; min-height: 0; }
  .map { display: none; }
  .results { padding: 16px; }
  .r-head { flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
  .r-head > div:first-child { flex: 1 1 100%; }
  .r-head h1 { font-size: 22px; }
  .sort { margin-left: 0; }
  .viewtog { margin-left: auto; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .ph { height: 236px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.ph { height: 204px; }
.r-head h1 { text-wrap: balance; }
@media (max-width: 720px) { .ph { height: 236px; } }

.mapbtn { height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--surface); }
.mapbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.mapbtn .sm { display: none; }
@media (max-width: 720px) { .mapbtn { margin-left: auto; background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 17px; font-weight: 600; } .mapbtn .lg { display: none; } .mapbtn .sm { display: inline; } }
@media (min-width: 721px) { .nomap .main { grid-template-columns: 1fr 0; } .nomap .grid { grid-template-columns: repeat(3, 1fr); } }

.peek { position: absolute; transform: translate(-50%, 14px); width: 236px; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: 0 16px 36px -10px rgba(24,32,28,.35), 0 0 0 1px rgba(24,32,28,.06); z-index: 3; }
.peek img { width: 100%; height: 118px; object-fit: cover; }
.pk-b { display: block; padding: 10px 12px 12px; }
.pk-b b { display: block; font-family: var(--serif); font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.pk-b small { display: block; font-size: 12px; color: var(--ink-2); }
.pk-b em { display: block; font-style: normal; font-size: 11.5px; color: var(--brand-2); font-weight: 600; margin-top: 4px; }
.peek[hidden] { display: none; }



/* ===== working search (search.js) ===== */
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.links .nav-x, .links .d-only { display: none; }
.links a.staff-l { color: var(--ink-3); }
.nav-scrim { display: none; }
.chips-in { display: contents; }
button.chip-in { cursor: pointer; }
.field input { min-width: 80px; }
.results { overflow-y: auto; overscroll-behavior: contain; }
.card { position: relative; }
.card-a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.card-a:focus-visible { outline: 0; }
.card:has(.card-a:focus-visible) { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.heart { z-index: 2; }
.tag.pend::before, .tag.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; background: #b07a1f; }
.tag.soon::before { background: #6c7a74; }
.ph-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; background: linear-gradient(160deg, #e7efe9, #f3efe5); color: var(--brand); }
.ph-soon svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; opacity: .7; }
.ph-soon small { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.none { grid-column: 1 / -1; padding: 40px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--surface); }
.none b { font-family: var(--serif); font-size: 19px; }
.none p { color: var(--ink-3); margin: 4px 0 14px; }
.btn-line { height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 600; background: var(--surface); }
.save-search.done { background: var(--brand-bg); color: var(--brand); }
.pin.alt { background: #f6efe1; }
.pin.dim { opacity: .82; }
.pin.sel, .pin:hover { opacity: 1; }
.map { --z: 1; }
.mapsvg, .pins { transform: scale(var(--z)); transform-origin: 50% 50%; transition: transform .25s; }
.pin { transform-origin: 50% 100%; transform: translate(-50%, -100%) scale(calc(1 / var(--z))); }
.pin.sel, .pin:hover { transform: translate(-50%, -100%) scale(calc(1.08 / var(--z))); }
.peek { transform: translate(-50%, 14px) scale(calc(1 / var(--z))); transform-origin: 50% 0; }
.peek.up { transform: translate(-50%, calc(-100% - 44px)) scale(calc(1 / var(--z))); transform-origin: 50% 100%; }
.peek.lf { transform: translate(-88%, 14px) scale(calc(1 / var(--z))); }
.peek.lf.up { transform: translate(-88%, calc(-100% - 44px)) scale(calc(1 / var(--z))); }
.peek.rt { transform: translate(-12%, 14px) scale(calc(1 / var(--z))); }
.pk-ph { position: relative; display: block; height: 118px; }
.pk-ph img { width: 100%; height: 100%; object-fit: cover; }
.pk-ph .ph-soon small { display: none; }
.pop { position: absolute; z-index: 45; width: 300px; padding: 16px; background: var(--surface); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(24,32,28,.32), 0 0 0 1px rgba(24,32,28,.08); }
.pop h4 { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.pop .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pop label { font-size: 12px; font-weight: 600; color: var(--ink-3); display: grid; gap: 4px; }
.pop select { height: 40px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button, .pop .list button { height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 600; color: var(--ink-2); }
.seg button[aria-pressed="true"], .pop .list button[aria-pressed="true"] { background: var(--brand-bg); color: var(--brand); border-color: var(--brand); }
.pop .list { display: grid; gap: 6px; }
.pop .list button { text-align: left; }
.ck { display: flex !important; align-items: center; gap: 10px; min-height: 36px; font-size: 14px !important; font-weight: 500 !important; color: var(--ink) !important; cursor: pointer; }
.ck input { width: 18px; height: 18px; accent-color: var(--brand); }
.pop-f { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.lnk { color: var(--brand-2); font-weight: 600; }
.btn-sm { height: 36px; padding: 0 16px; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 600; }
.pop-scrim { display: none; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); z-index: 58; max-width: min(460px, calc(100vw - 32px)); padding: 11px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
  .links { display: flex; position: fixed; top: 0; right: 0; bottom: 0; z-index: 62; width: min(300px, 84vw); flex-direction: column; gap: 0; padding: 64px 20px 20px; background: var(--surface); box-shadow: -20px 0 40px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .22s; visibility: hidden; }
  .nav-open .links { transform: none; visibility: visible; }
  .links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .links a.on { border-color: var(--line); color: var(--brand); }
  .links .d-only { display: block; }
  .links .d-cta { margin-top: 16px; border: 0; text-align: center; border-radius: 10px; background: var(--ink); color: #fff; }
  .links .nav-x { display: grid; place-items: center; position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; font-size: 26px; color: var(--ink-2); }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 61; background: rgba(15,20,18,.4); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .results { overflow: visible; }
  .field input { min-width: 0; }
  .pop { position: fixed; left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; z-index: 64; border-radius: 18px 18px 0 0; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); }
  .pop-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 63; background: rgba(15,20,18,.4); }
  .mapview .main { display: block; }
  .mapview .results .grid { display: none; }
  .mapview .map { display: block; height: 72vh; border: 1px solid var(--line); border-radius: 14px; margin: 0 16px 16px; }
  .mapview .draw { display: none; }
  .mapview .agent { gap: 10px; padding: 10px 12px; }
  .mapview .agent img { width: 40px; height: 40px; }
  .mapview .ag-t p { display: none; }
  .mapview .btn-brand { height: 38px; padding: 0 12px; font-size: 13px; }
  .toast { bottom: 84px; }
}
.btn-brand { display: inline-flex; align-items: center; }
/* No italics anywhere (operator rule): accent words stay upright. */
*, *::before, *::after { font-style: normal !important; }

/* ===== listing + sell pages ===== */
.lst, .sell { max-width: 1180px; margin: 0 auto; padding: 18px 32px 40px; }
.crumbs { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 13.5px; color: var(--ink-3); }
.crumbs a { font-weight: 600; color: var(--brand-2); }
.heart-l { margin-left: auto; height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 600; background: var(--surface); }
.heart-l svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.heart-l.on svg { fill: #c4483b; stroke: #c4483b; }
.gal { display: grid; grid-template-columns: 1fr 260px; gap: 10px; height: 440px; }
.gal.one { grid-template-columns: 1fr; }
.g-main { position: relative; border-radius: 16px; overflow: hidden; background: var(--brand-bg); }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-th { display: grid; gap: 10px; grid-auto-rows: 1fr; }
.g-th button { border-radius: 14px; overflow: hidden; padding: 0; outline-offset: 2px; opacity: .72; }
.g-th button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--brand); }
.g-th img { width: 100%; height: 100%; object-fit: cover; }
.lst-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; margin-top: 22px; align-items: start; }
.lst-main { display: grid; gap: 18px; min-width: 0; }
.lst-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lst-h h1 { font-family: var(--serif); font-size: 38px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.was { font-size: 20px; color: var(--ink-3); font-weight: 500; }
.ad { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.st { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-2); }
.st-pending { color: #a06a12; } .st-coming { color: var(--ink-3); } .st-sold { color: #b5473a; }
.specs.big { font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts div { background: var(--surface); padding: 12px 14px; }
.facts dt { font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { font-weight: 600; margin-top: 2px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.box h2, .similar h2, .sec { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.desc { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 68ch; }
.feats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin-top: 14px; }
.feats li { display: flex; gap: 8px; align-items: baseline; font-size: 14px; }
.feats li::before { content: "✓"; color: var(--brand-2); font-weight: 700; }
.ohs ul { list-style: none; display: grid; gap: 10px; }
.ohs li { display: flex; align-items: center; gap: 12px; }
.ohs li small { display: block; color: var(--ink-3); font-size: 12.5px; }
.dt { width: 46px; height: 48px; border-radius: 10px; background: var(--brand-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--brand); flex: none; }
.dt small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.dt b { font-family: var(--serif); font-size: 19px; line-height: 1.1; }
.fine { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.calc-g { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.calc label { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 13.5px; }
.calc input[type=range] { width: 100%; margin-top: 12px; accent-color: var(--brand); }
.calc-l { display: grid; gap: 6px; }
.calc-l div { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.calc-l .tot { border-top: 1px solid var(--line); padding-top: 8px; color: var(--ink); font-weight: 700; font-size: 16px; }
.lst-side { position: sticky; top: 16px; }
.ag-box { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.ag-box img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.ag-box b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.ag-box small { color: var(--ink-3); font-size: 12.5px; }
.book form, #valF { display: grid; gap: 12px; }
.book fieldset { border: 0; }
.book legend, .book label, #valF label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); display: grid; gap: 5px; }
.book legend { margin-bottom: 6px; }
.dchips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dchips button { height: 54px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-content: center; line-height: 1.15; background: var(--surface); }
.dchips small { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.dchips b { font-size: 16px; }
.dchips button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.dchips button[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.dchips button:disabled { opacity: .4; cursor: not-allowed; }
.book input, .book select, .book textarea, #valF input, #valF select { height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 14.5px; color: var(--ink); background: var(--surface); width: 100%; min-width: 0; }
.book textarea { height: auto; padding: 10px 12px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { font-weight: 500; color: var(--ink-3); }
.err { color: #b5473a; font-weight: 600; font-size: 13.5px; }
.btn-brand.wide { width: 100%; justify-content: center; height: 46px; }
.ok { display: grid; gap: 8px; justify-items: start; }
.ok-i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-bg); color: var(--brand); font-weight: 700; font-size: 20px; }
.ok h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.ok p { color: var(--ink-2); }
.sold-n { color: var(--ink-2); }
.similar { margin-top: 28px; }
.sim-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sim { display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding-bottom: 12px; }
.sim-ph { position: relative; display: block; height: 150px; margin-bottom: 8px; }
.sim-ph img { width: 100%; height: 100%; object-fit: cover; }
.sim b, .sim small { padding: 0 14px; }
.sim b { font-family: var(--serif); font-size: 19px; }
.sim small { color: var(--ink-3); font-size: 12.5px; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 32px 90px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }
.sell-hero { display: grid; grid-template-columns: 1.1fr 1fr 400px; gap: 28px; align-items: center; }
.sh-img { height: 420px; border-radius: 18px; overflow: hidden; }
.sh-img img { width: 100%; height: 100%; object-fit: cover; }
.kick { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-2); }
.sh-txt h1 { font-family: var(--serif); font-size: 36px; font-weight: 650; letter-spacing: -.02em; line-height: 1.12; margin: 8px 0 10px; text-wrap: balance; }
.sh-txt > p { color: var(--ink-2); font-size: 15px; }
.stats { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.stats li { display: flex; align-items: baseline; gap: 10px; }
.stats b { font-family: var(--serif); font-size: 24px; color: var(--brand); min-width: 84px; }
.stats span { color: var(--ink-2); font-size: 13.5px; }
.wrap { margin-top: 34px; }
.sold-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sold { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 2px; }
.sold-t { justify-self: start; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #f6e3df; color: #9b3a2f; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.sold b { font-family: var(--serif); font-size: 22px; }
.sold small, .sold p { color: var(--ink-3); font-size: 13px; }
.sold p { color: var(--ink-2); }
.ag-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.agc { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.agc img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.agc div { display: grid; gap: 1px; min-width: 0; }
.agc b { font-family: var(--serif); font-size: 18px; }
.agc span { color: var(--brand-2); font-weight: 600; font-size: 13px; }
.agc small { color: var(--ink-3); font-size: 12.5px; overflow-wrap: anywhere; }
.visit { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--brand-bg); border-radius: 16px; padding: 22px 24px; }
.visit p { color: var(--ink-2); }
@media (max-width: 1100px) {
  .sell-hero { grid-template-columns: 1fr 1fr; }
  .sell-hero .val { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .lst-grid { grid-template-columns: 1fr; }
  .lst-side { position: static; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .lst, .sell { padding: 12px 16px 32px; }
  .gal { grid-template-columns: 1fr; height: auto; }
  .g-main { height: 250px; }
  .g-th { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 64px; }
  .lst-h h1 { font-size: 30px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: 1fr 1fr; }
  .calc-g { grid-template-columns: 1fr; gap: 14px; }
  .box { padding: 16px; }
  .dchips { gap: 4px; }
  .dchips button { height: 50px; }
  .two { grid-template-columns: 1fr; }
  .sim-g, .sold-g, .ag-g { grid-template-columns: 1fr; }
  .sell-hero { grid-template-columns: 1fr; gap: 16px; }
  .sh-img { height: 210px; }
  .sh-txt h1 { font-size: 28px; }
  .foot { padding: 18px 16px 90px; }
}
/* the chat button sits bottom-right: the map's agent card floats above it */
@media (min-width: 721px) { .agent { bottom: 80px; } }
/* drawn homes (no photo yet) */
.ph-soon .art { position: absolute; inset: 0; width: 100%; height: 100%; fill: initial; stroke: none; opacity: 1; }
.ph-soon small { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 3px 9px; border-radius: 7px; background: rgba(255,255,255,.92); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.card .ph-soon small { left: auto; right: 12px; }
.sold-g a.sold { color: inherit; }
.sold-g a.sold:hover b { color: var(--brand-2); }
.sold .sth { position: relative; display: block; height: 120px; margin: -16px -18px 10px; border-radius: 14px 14px 0 0; overflow: hidden; }
.sold .sth .art { width: 100%; height: 100%; display: block; }
/* phones: the map's agent card stays clear of the chat button */
@media (max-width: 720px) { .mapview .agent { right: 76px; } }
/* the chat docked beside the page (../_chat dock): the list flexes, the map keeps a readable column */
@media (min-width: 1100px) {
  html.mb-docked .main { grid-template-columns: minmax(0, 1fr) 380px; }
  html.mb-docked .agent { flex-wrap: wrap; }
  html.mb-docked .agent .btn-brand { flex: 1 1 100%; text-align: center; }
}
/* docked chat: the nav stays on one line (the number lives on the sell page) */
@media (min-width: 1100px) {
  html.mb-docked .nav .links a, html.mb-docked .nav-r a { white-space: nowrap; }
  html.mb-docked .nav-r .phone-n { display: none; }
}
