/* Layout idea: a map-led single page, as in the reference app. Brand deep blue as the ground, tan as the one accent. */
:root {
  /* "Limestone & Dusk" (2026-11-17): light limestone pages, brand blue for the frame and text, brand tan as the accent.
     The two brand colors are #353647 and #B7A991; everything else supports them. The blue-framed areas
     (header, contact bar, off-market section) redefine these same names near the end of this file. */
  --brand-blue: #353647;
  --brand-tan: #B7A991;
  --bg: #F7F4EE;          /* page: warm limestone */
  --panel: #FFFFFF;       /* cards, sheets, inputs */
  --panel-2: #EFEAE0;     /* alternate sections, photo placeholders */
  --ink: #353647;         /* headings and text */
  --muted: #5C5D6E;       /* secondary text */
  --tan: #B7A991;         /* brand tan: fills and accents, never text on light */
  --tan-hi: #6E6149;      /* deeper tan for small accent text on light */
  --line: #DDD5C6;        /* decorative dividers */
  --control: #857860;     /* outlines of inputs, chips and outline buttons */
  --alert: #A3362B;
  --ok: #2F6B4F;
  --focus: #353647;
  --pri-bg: #353647; --pri-ink: #F7F4EE; --pri-hover: #2A2B3A;
  --sec-line: #353647; --sec-ink: #353647; --sec-hover: #E9E2D3;
  --sea: #DCE6E6; --land: #EDE7DA; --golf: #D3DCC6; --fair: #C9D3BB; --water: #CBDADB;
  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --body: "EB Garamond", Garamond, "Times New Roman", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.5 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 500; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--tan-hi); outline-offset: 2px; }
[hidden] { display: none !important; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 23px; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--tan); }
.list-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 17px; background: var(--bg); }
.list-btn svg { color: var(--tan); }
.count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--tan); color: var(--bg); font-size: 15px; font-weight: 600; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums lining-nums; }
.demo-bar { background: var(--tan); color: #23242f; font-size: 15.5px; font-weight: 600; text-align: center; padding: 6px 16px; }

.view { max-width: 1180px; margin: 0 auto; padding: 18px 16px 40px; }
.hero { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 4px 0 0; }
.hero h1 { font-size: 36px; line-height: 1.1; }
.intro { max-width: 60ch; color: var(--muted); }
.asof { font-size: 15.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; background: var(--panel); }
.asof b { color: var(--ink); font-weight: 600; }
.mode { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.mode button { min-height: 44px; border: 1px solid transparent; background: transparent; border-radius: 999px; font-size: 19px; color: var(--muted); }
.mode button[aria-pressed="true"] { background: var(--tan); color: #23242f; font-weight: 600; }
.jump { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 2px 16px; margin: 0 -16px; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump button { flex: none; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 17px; }

.section { margin-top: 30px; scroll-margin-top: 78px; }
.eyebrow { font-style: italic; color: var(--tan-hi); font-size: 18px; }
.section h2 { font-size: 30px; line-height: 1.15; }
.sub { color: var(--muted); margin-top: 4px; max-width: 65ch; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; padding: 0; }
.chip { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; font-size: 16.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.chip .n { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.chip[aria-pressed="true"] { border-color: var(--tan-hi); color: var(--tan-hi); background: var(--panel-2); }
.chip[aria-pressed="true"] .n { color: var(--tan-hi); }

/* Map */
.mapgrid { display: grid; gap: 16px; margin-top: 14px; }
@media (min-width: 900px) { .mapgrid { grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr); align-items: start; } }
.mapbox { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.map { position: relative; height: 400px; overflow: hidden; background: var(--land); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
@media (min-width: 900px) { .map { height: 520px; cursor: grab; } }
.map.expanded { position: fixed; inset: 0; height: auto; z-index: 60; touch-action: none; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.m-sea { fill: var(--sea); } .m-land { fill: var(--land); } .m-golf { fill: var(--golf); } .m-fair { fill: var(--fair); } .m-water { fill: var(--water); }
.m-minor { fill: none; stroke: rgba(244, 241, 234, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-major { fill: none; stroke: rgba(183, 169, 145, .75); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.map-layer { position: absolute; inset: 0; pointer-events: none; }
.it { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.it > * { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: auto; }
.lm { font-style: italic; font-size: 14px; color: rgba(244, 241, 234, .62); pointer-events: none !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.lm.sea { letter-spacing: .14em; font-size: 15px; } .lm.road { font-style: normal; font-size: 12px; letter-spacing: .06em; color: rgba(220, 207, 182, .8); }
.it > .lm.place { transform: translate(-4px, -50%); }
.lm.place::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-right: 5px; vertical-align: middle; opacity: .7; }
.hood { border: 0; background: none; padding: 4px 4px; font-family: var(--display); font-size: 16px; line-height: 1.1; font-weight: 600; color: var(--ink); text-shadow: 0 1px 3px rgba(0, 0, 0, .75), 0 0 8px rgba(0, 0, 0, .5); }
.hood .n { font: 600 12.5px var(--body); color: #23242f; background: var(--tan); border-radius: 9px; padding: 0 6px; margin-left: 5px; text-shadow: none; vertical-align: 2px; font-variant-numeric: lining-nums; }
.hood.on { color: var(--tan-hi); text-decoration: underline; text-underline-offset: 3px; }
.hood[data-dim] { opacity: .55; }
.hood.out { font-size: 15.5px; color: var(--muted); }
.pin { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #23242f; background: var(--tan); color: #23242f; font: 600 15px var(--body); font-variant-numeric: lining-nums; display: grid; place-items: center; padding: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
@media (max-width: 700px) { .pin { width: 25px; height: 25px; font-size: 13.5px; border-width: 1.5px; } }
.pin.saved { background: var(--ink); }
.pin.on { background: #fff; outline: 3px solid var(--tan-hi); z-index: 2; width: 36px; height: 36px; font-size: 17px; }
.map.far .pin { width: 13px; height: 13px; font-size: 0; border-width: 1.5px; }
.map.far .pin.on { width: 20px; height: 20px; }
.map.far .hood.in, .map.far .lm.road { display: none; }
.map:not(.far) .hood.resort-all { display: none; }
.map-ctl { position: absolute; display: flex; gap: 6px; z-index: 3; }
.map-ctl.zoom { right: 10px; top: 10px; flex-direction: column; }
.map-ctl.views { left: 10px; top: 10px; flex-wrap: wrap; }
.map-ctl button { min-width: 42px; min-height: 40px; padding: 0 11px; border-radius: 12px; border: 1px solid var(--line); background: rgba(42, 43, 58, .92); color: var(--ink); font-size: 16px; }
.map-ctl.zoom button { font-size: 24px; line-height: 1; padding: 0; }
.map-card { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 4; background: rgba(42, 43, 58, .97); border: 1px solid var(--tan); border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; max-width: 520px; }
.map-card .num { width: 32px; height: 32px; border-radius: 50%; background: var(--tan); color: #23242f; font-weight: 600; display: grid; place-items: center; font-variant-numeric: lining-nums; }
.map-card .t { min-width: 0; display: grid; }
.map-card .t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-card .t span { font-size: 15.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-card .acts { display: flex; gap: 6px; align-items: center; }
.x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); font-size: 20px; line-height: 1; }
.hint { font-size: 15px; color: var(--muted); padding: 8px 12px 10px; }
.pick { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 8px; }
.pick h3 { font-size: 25px; }
.pick-note { color: var(--muted); font-size: 16px; }
.pick-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; min-height: 46px; padding: 8px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; }
.pick-row span:last-child { color: var(--muted); font-size: 16px; text-align: right; font-variant-numeric: lining-nums; }
.pick-row[aria-pressed="true"] span:first-child { color: var(--tan-hi); }
.pick-row small { display: block; font-size: 14px; color: var(--muted); font-style: italic; }
.feature { border-top: 1px solid var(--line); padding: 12px 0 4px; display: grid; gap: 6px; }
.feature .where { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--tan-hi); }
.feature p { font-size: 16px; color: var(--muted); }
.frange { color: var(--muted); font-size: 16px; font-variant-numeric: lining-nums; }
.nearby { border-top: 1px solid var(--line); padding-top: 8px; }
.nearby summary { cursor: pointer; font-weight: 600; color: var(--tan-hi); min-height: 40px; display: flex; align-items: center; gap: 8px; list-style: none; }
.nearby summary::-webkit-details-marker { display: none; }
.nearby summary::after { content: "+"; font-size: 22px; line-height: 1; }
.nearby[open] summary::after { content: "–"; }
.nearby-note { font-size: 15.5px; color: var(--muted); margin: 0 0 10px; }

/* Homes */
.result-head { display: grid; gap: 2px; }
.result-head p { font-size: 16px; color: var(--muted); }
.filters { display: flex; gap: 10px; overflow-x: auto; margin: 14px -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters label { flex: 0 0 150px; display: grid; gap: 3px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filters select { min-height: 44px; width: 100%; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--ink); }
@media (min-width: 980px) { .filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; margin: 14px 0 16px; padding: 0; } }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; background: var(--panel); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; scroll-margin-top: 90px; }
.card.flash { border-color: var(--tan-hi); box-shadow: 0 0 0 2px var(--tan-hi); }
.card-link { display: block; text-decoration: none; flex: 1; }
.ph { position: relative; aspect-ratio: 3 / 2; background: var(--panel-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.cnum { position: absolute; left: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--tan); color: #23242f; border: 2px solid #23242f; font-weight: 600; display: grid; place-items: center; font-variant-numeric: lining-nums; }
.tag { position: absolute; left: 10px; bottom: 10px; background: rgba(35, 36, 47, .9); color: var(--ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.cb { padding: 12px 14px 6px; display: grid; gap: 1px; }
.price { font-family: var(--display); font-weight: 600; font-size: 27px; font-variant-numeric: tabular-nums lining-nums; }
.price small { font: 400 16px var(--body); color: var(--muted); }
.cb h3 { font-family: var(--body); font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.hood-line { font-size: 16.5px; color: var(--muted); }
.hood-line b { color: var(--tan-hi); font-weight: 500; }
.facts { font-size: 17px; margin-top: 3px; font-variant-numeric: lining-nums; }
.card-foot { padding: 0 14px 12px; }
.linkish { background: none; border: 0; padding: 0; color: var(--tan-hi); text-decoration: underline; text-underline-offset: 3px; min-height: 40px; font-size: 16.5px; }
.linkish.off { color: var(--muted); text-decoration: none; font-style: italic; cursor: default; }
.save { position: absolute; top: 10px; right: 10px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(35, 36, 47, .88); display: grid; place-items: center; }
.save svg { width: 23px; height: 23px; fill: none; stroke: var(--tan-hi); stroke-width: 1.9; }
.save[aria-pressed="true"] { background: var(--tan); border-color: var(--tan); }
.save[aria-pressed="true"] svg { fill: #23242f; stroke: #23242f; }
.save.inline { position: static; width: auto; height: 46px; border-radius: 999px; padding: 0 18px; gap: 8px; display: inline-flex; align-items: center; background: none; }
.save.inline[aria-pressed="true"] { background: var(--tan); color: #23242f; font-weight: 600; }

.panel { grid-column: 1 / -1; background: var(--panel-2); border: 1px solid var(--tan); border-radius: 18px; padding: 20px 18px; display: grid; gap: 10px; scroll-margin-top: 90px; }
.panel h2 { font-size: 27px; }
.panel p { color: var(--muted); max-width: 60ch; }
.state { grid-column: 1 / -1; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; display: grid; gap: 10px; justify-items: start; }
.state h2 { font-size: 25px; }
.state p { color: var(--muted); max-width: 60ch; }
.state.outage { border-left: 4px solid var(--alert); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 999px; font-size: 18.5px; text-decoration: none; border: 1px solid var(--tan); text-align: center; }
.btn.primary, .btn.tan { background: var(--tan); color: #23242f; font-weight: 600; }
.btn.secondary { background: transparent; color: var(--tan-hi); }
.btn.small { min-height: 44px; font-size: 17px; padding: 0 16px; }
.btn.block { width: 100%; }

/* Compare */
.tablewrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-variant-numeric: tabular-nums lining-nums; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: 17px; }
th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
td.r, th.r { text-align: right; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--tan-hi); }

/* Neighborhoods */
.hoodgrid { display: grid; gap: 14px; margin-top: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hoodgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .hoodgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hcard { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: grid; gap: 6px; align-content: start; }
.hcard h3 { font-size: 24px; }
.hcard .where { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--tan-hi); }
.hcard p { color: var(--muted); font-size: 16.5px; }
.hcard .row { margin-top: 2px; }

/* Home page */
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--tan-hi); text-decoration: none; }
.gallery { position: relative; margin: 4px -16px 0; }
.gallery .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .track img { flex: 0 0 100%; aspect-ratio: 3 / 2; object-fit: cover; scroll-snap-align: center; background: var(--panel-2); }
.gallery .pos { position: absolute; right: 12px; bottom: 12px; background: rgba(35, 36, 47, .9); font-size: 15px; padding: 2px 10px; border-radius: 999px; font-variant-numeric: tabular-nums lining-nums; }
.gallery .tag { left: 12px; bottom: 12px; }
@media (min-width: 760px) { .gallery { margin: 4px 0 0; border-radius: 18px; overflow: hidden; } .gallery .track img { flex-basis: 60%; } }
.home { display: grid; gap: 18px; max-width: 760px; }
.home-head { display: grid; gap: 4px; margin-top: 16px; }
.home-head h1 { font-size: 34px; line-height: 1.1; overflow-wrap: anywhere; }
.home-head .price { font-size: 30px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; border: 1px solid currentColor; color: var(--ok); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.off { color: var(--alert); }
.inout strong { color: var(--tan-hi); font-weight: 500; }
.factgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.factgrid div { background: var(--panel); padding: 10px 12px; }
.factgrid dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.factgrid dd { margin: 0; font-weight: 500; font-size: 19px; overflow-wrap: anywhere; font-variant-numeric: lining-nums; }
@media (min-width: 560px) { .factgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.desc { font-size: 19px; max-width: 65ch; }
.cta { display: grid; gap: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.snapnote { font-size: 15.5px; color: var(--muted); font-style: italic; }
a.linkish { display: inline-flex; align-items: center; }
.attrib { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.linkbox { display: flex; gap: 8px; align-items: stretch; width: 100%; }
.linkbox input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; background: var(--bg); font-size: 16px; }
.locator { position: relative; height: 220px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--land); }
.locator svg { width: 100%; height: 100%; display: block; }
.locator .cap { position: absolute; left: 10px; bottom: 8px; font-size: 15px; background: rgba(35, 36, 47, .9); padding: 2px 10px; border-radius: 999px; }

/* Shortlist */
.saved { display: grid; gap: 16px; max-width: 760px; }
.saved h1 { font-size: 34px; }
.saved .lede { color: var(--muted); max-width: 60ch; }
.srow { display: grid; grid-template-columns: 104px 1fr auto; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.srow a.thumb { display: block; border-radius: 9px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel-2); }
.srow a.thumb img { width: 100%; height: 100%; object-fit: cover; }
.srow .t { display: grid; gap: 0; min-width: 0; }
.srow .t a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.srow .t span { font-size: 16px; color: var(--muted); }
.srow .t .p { color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.srow.gone { border-left: 4px solid var(--alert); }
.srow.gone .thumb { filter: grayscale(1); opacity: .55; }
.gone-note { color: var(--alert) !important; font-weight: 600; }
.remove { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 22px; line-height: 1; color: var(--muted); }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.box h2 { font-family: var(--body); font-size: 19px; font-weight: 600; }
.box p { font-size: 16.5px; color: var(--muted); }
.notice { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 17px; display: grid; gap: 8px; justify-items: start; }

.foot { max-width: 1180px; margin: 0 auto; padding: 22px 16px 34px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); display: grid; gap: 6px; }
.foot strong { color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); background: var(--tan); color: #23242f; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 17px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .toast { transition: none; } }

/* Map view and List view */
.viewmode { max-width: 280px; }
.viewmode button { min-height: 40px; font-size: 18px; }
body.v-map #results .card { display: none; }
body.v-map #sec-list { margin-top: 0; }
body.v-list #sec-map .eyebrow, body.v-list #map-title, body.v-list #sec-map > .sub, body.v-list #map, body.v-list #map-hint, body.v-list .pick > h3, body.v-list #pick-note, body.v-list #pick-rows { display: none; }
body.v-list #sec-map { margin-top: 14px; }
body.v-list .mapbox { background: none; border: 0; border-radius: 0; }
body.v-list .pick { background: none; border: 0; padding: 0; }
body.v-list #sec-list { margin-top: 18px; }
.map-card .mc-ph { position: relative; display: block; }
.map-card .mc-ph img { width: 76px; height: 57px; object-fit: cover; border-radius: 9px; display: block; }
.map-card .mc-ph .num { position: absolute; left: -8px; top: -8px; width: 26px; height: 26px; font-size: 14px; }

/* Photo-first front page (2026-11-17) */
.hero { gap: 14px; padding: 0; }
.hero-photo { position: relative; display: block; width: calc(100% + 32px); margin: -18px -16px 4px; overflow: hidden; text-decoration: none; background: var(--panel-2); }
.hero-photo img { width: 100%; height: min(72vh, 620px); min-height: 300px; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(to bottom, rgba(26, 27, 38, 0), rgba(26, 27, 38, .88)); pointer-events: none; }
.hero-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 18px 20px; display: grid; gap: 2px; text-align: left; color: #fff; }
.hero-cap small { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--tan-hi); }
.hero-cap b { font-family: var(--display); font-weight: 500; font-size: clamp(27px, 5vw, 44px); line-height: 1.1; }
.hero-cap .hp { font-size: clamp(20px, 3vw, 26px); font-variant-numeric: lining-nums; }
@media (min-width: 1212px) { .hero-photo { width: 100%; margin: 0 0 4px; border-radius: 20px; } }
.hero h1 { font-size: 30px; }
.hoods-row { width: calc(100% + 32px); margin: 0 -16px; padding: 2px 16px; }
@media (min-width: 900px) { .hoods-row { flex-wrap: wrap; justify-content: center; overflow: visible; width: 100%; margin: 0; padding: 2px 0; } }
.hoods-row .chip { background: var(--panel); }
#sec-homes { margin-top: 22px; }
#sec-homes .result-head { margin-bottom: 14px; }
#sec-homes .result-head h2 { font-size: 24px; }
#view-search > .asof { display: table; margin: 28px auto 0; }

/* Photo cards and the listing page (2026-11-17) */
.grid { gap: 30px 22px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: none; border: 0; border-radius: 0; overflow: visible; }
.ph { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
@media (max-width: 699px) { #results .ph { width: calc(100% + 32px); margin: 0 -16px; border-radius: 0; } }
.strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; }
.pcount { position: absolute; right: 12px; bottom: 12px; background: rgba(26, 27, 38, .72); color: #fff; font-size: 14px; padding: 2px 10px; border-radius: 999px; font-variant-numeric: tabular-nums lining-nums; pointer-events: none; }
.pnav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(244, 241, 234, .92); color: #23242f; font-size: 26px; line-height: 1; display: none; place-items: center; padding: 0 0 4px; z-index: 2; }
.pnav.prev { left: 12px; } .pnav.next { right: 12px; }
@media (hover: hover) and (pointer: fine) { .pnav { display: grid; opacity: 0; transition: opacity .15s; } .ph:hover .pnav, .gallery:hover .pnav, .pnav:focus-visible { opacity: 1; } }
.ph .save { top: 12px; right: 12px; background: rgba(26, 27, 38, .55); border-color: rgba(255, 255, 255, .35); }
.ph .save svg { stroke: #fff; }
.cb { display: grid; gap: 2px; padding: 12px 2px 0; text-decoration: none; }
.cb .hood-line { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--tan-hi); }
.cb h3 { font-family: var(--display); font-weight: 500; font-size: 25px; line-height: 1.15; }
.cb .price { font-family: var(--body); font-weight: 400; font-size: 19px; color: var(--muted); }

.gallery .track img { aspect-ratio: 4 / 3; cursor: zoom-in; }
@media (min-width: 760px) { .gallery .track img { flex-basis: 72%; aspect-ratio: 3 / 2; } }
.gallery .pnav { width: 48px; height: 48px; }
.gclose { display: none; }
.gallery.full { position: fixed; inset: 0; z-index: 60; margin: 0; border-radius: 0; background: #000; }
.gallery.full .track { height: 100%; align-items: center; }
.gallery.full .track img { flex-basis: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: #000; cursor: default; }
.gallery.full .gclose { display: grid; place-items: center; position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(244, 241, 234, .92); color: #23242f; font-size: 30px; line-height: 1; padding: 0 0 4px; z-index: 3; }
.gallery.full .pos { bottom: 18px; right: 50%; transform: translateX(50%); }
.keyfacts { font-size: 19px; margin-top: 4px; font-variant-numeric: lining-nums; }
.descbox { display: grid; gap: 4px; justify-items: start; }
.desc.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }

/* Contact bar, on every page (2026-11-17) */
.contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(42, 43, 58, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.contact-bar .btn { min-height: 52px; }
.contact-bar .btn.secondary { padding: 0 22px; background: var(--bg); }
@media (min-width: 760px) { .contact-bar { left: auto; right: 20px; bottom: 20px; border: 1px solid var(--line); border-radius: 999px; padding: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); } .contact-bar .btn { min-height: 48px; } }
body { padding-bottom: 84px; }
.toast { bottom: 96px; }

/* Off-market: private access (2026-11-17) */
.vip-link { background: none; border: 0; border-bottom: 1px solid var(--tan); padding: 6px 2px 4px; min-height: 40px; color: var(--tan-hi); font-size: 17px; font-style: italic; letter-spacing: .01em; }
.vip { grid-column: 1 / -1; scroll-margin-top: 84px; margin: 10px 0; padding: 34px 22px 28px; display: grid; gap: 16px; justify-items: center; text-align: center; border: 1px solid var(--tan); border-radius: 4px; background: radial-gradient(120% 90% at 50% 0%, rgba(183, 169, 145, .16), rgba(183, 169, 145, 0) 60%), #353647; box-shadow: inset 0 0 0 6px #353647, inset 0 0 0 7px rgba(183, 169, 145, .45); }
.vip-eyebrow { font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--tan); }
.vip h2 { font-size: clamp(29px, 4.6vw, 44px); line-height: 1.12; max-width: 20ch; font-style: italic; }
.vip-lead { max-width: 58ch; color: var(--ink); font-size: 19px; }
.vip-points { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; gap: 14px; width: 100%; max-width: 860px; }
.vip-points li { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.vip-points b { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--tan-hi); }
.vip-points span { color: var(--muted); font-size: 16.5px; }
@media (min-width: 760px) { .vip { padding: 52px 40px 40px; } .vip-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.vip-foot { display: grid; gap: 18px; justify-items: center; margin-top: 8px; }
.vip-me { display: flex; align-items: center; gap: 12px; text-align: left; }
.vip-me b { display: block; font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.1; }
.vip-me small { color: var(--muted); font-size: 15px; }
.vip-face { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--tan); display: grid; place-items: center; overflow: hidden; font-family: var(--display); font-size: 24px; letter-spacing: .06em; color: var(--tan-hi); background: var(--panel); }
.vip-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vip-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.vip-acts .btn { min-width: 220px; }
@media (max-width: 699px) { #results .vip { margin: 6px 0; } .vip-acts { width: 100%; } .vip-acts .btn { width: 100%; } }
.vip-face { width: 92px; height: 92px; }
.vip-me { gap: 16px; }

/* Neighborhood guide (2026-11-17) */
.hoodgrid { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 900px) { .hoodgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .guide-map { grid-column: 1 / -1; } }
.guide-map { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--land); }
@media (min-width: 900px) { .guide-map { aspect-ratio: 2 / 1; } }
.guide-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.guide-map .m-sea { fill: var(--sea); } .guide-map .m-land { fill: var(--land); } .guide-map .m-golf { fill: var(--golf); } .guide-map .m-fair { fill: var(--fair); } .guide-map .m-water { fill: var(--water); }
.gdot { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; border: 2px solid #23242f; background: var(--tan); color: #23242f; font-weight: 600; font-size: 15px; padding: 0; display: grid; place-items: center; font-variant-numeric: lining-nums; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.gdot:hover { background: var(--tan-hi); }
.glm { position: absolute; transform: translate(-50%, -50%); font-size: 13px; font-style: italic; color: var(--muted); white-space: nowrap; pointer-events: none; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.glm.sea { letter-spacing: .2em; text-transform: uppercase; font-style: normal; font-size: 11.5px; opacity: .8; }
.guide-list { display: grid; align-content: start; }
.guide-list h3 { font-family: var(--body); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--tan-hi); font-weight: 500; padding-bottom: 8px; }
.grow { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; }
.grow .gn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--tan); color: var(--tan-hi); font-size: 14px; display: grid; place-items: center; font-variant-numeric: lining-nums; }
.grow .gname { font-family: var(--display); font-size: 21px; }
.grow .gcount { color: var(--muted); font-size: 15.5px; text-align: right; font-variant-numeric: lining-nums; }
.grow:hover .gname { color: var(--tan-hi); }
@media (min-width: 900px) { .hoodgrid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } .guide-map { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 3; } }

/* License number, shown with the company name (2026-11-17) */
.brand-lic { font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 2px; font-variant-numeric: lining-nums; }
.vip-me small { display: block; }

/* Last tile of a card's photo strip: the way to the full gallery */
.more-tile { flex: 0 0 100%; scroll-snap-align: center; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 20px; text-align: center; background: var(--panel-2); color: var(--ink); }
.more-tile b { font-family: var(--display); font-weight: 500; font-size: 26px; border-bottom: 1px solid var(--tan); padding-bottom: 4px; }
.more-tile small { color: var(--muted); font-size: 15.5px; }

/* Dorado Beach Neighborhood Guide (2026-11-17). Light map on the dark page; brand deep blue and tan. */
.hero .vip-link + .vip-link { margin-top: -6px; }
#hoods.hoodgrid { display: block; margin-top: 14px; }
.g-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.g-cat { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 16.5px; }
.g-cat svg { width: 18px; height: 18px; }
.g-cat[aria-pressed="true"] { background: var(--tan); border-color: var(--tan); color: #23242f; font-weight: 600; }
.g-wrap { display: grid; gap: 14px; }
@media (min-width: 900px) { .g-wrap { grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); align-items: start; } }
.g-map { position: relative; aspect-ratio: 77 / 50; border-radius: 16px; overflow: hidden; background: #EFEAE0; border: 1px solid var(--tan); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
@media (max-width: 699px) { .g-map { aspect-ratio: 77 / 62; } }
.g-map.zoomed { touch-action: none; cursor: grab; }
.g-stage { position: absolute; inset: 0; transform-origin: 0 0; --k: 1; --u: 1px; }
.g-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-land { fill: #EFEAE0; } .g-sea { fill: #A9BFCB; } .g-golf { fill: #C9D8BC; } .g-water { fill: #B9CDD6; }
.g-road { fill: none; stroke: #B7A991; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.g-ocean { position: absolute; transform: translate(-50%, -50%) scale(calc(1 / var(--k))); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: #5d7482; white-space: nowrap; pointer-events: none; }
.g-it { position: absolute; width: 0; height: 0; }
.g-area { position: absolute; left: 0; top: 0; width: calc(var(--u) * var(--r) * 2); height: calc(var(--u) * var(--r) * 2); transform: translate(-50%, -50%); border-radius: 50%; background: rgba(183, 169, 145, .34); border: 1px solid rgba(138, 122, 94, .55); pointer-events: none; }
.g-area.sel { background: rgba(53, 54, 71, .2); border: 2px solid #353647; }
.g-hood, .g-poi, .g-golfl { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(calc(1 / var(--k))); background: none; border: 0; padding: 0; color: #353647; font-family: var(--body); }
.g-hood { width: 34px; height: 34px; display: grid; place-items: center; }
.g-dot { width: 11px; height: 11px; border-radius: 50%; background: #353647; border: 2px solid #EFEAE0; box-shadow: 0 0 0 1px #353647; }
.g-hood.sel .g-dot { background: #B7A991; width: 14px; height: 14px; }
.g-lab { position: absolute; white-space: nowrap; font-size: 13.5px; font-weight: 600; line-height: 1.15; padding: 2px 7px; border-radius: 6px; background: rgba(239, 234, 224, .86); color: #353647; pointer-events: none; }
.la-n > .g-lab { left: 50%; bottom: 100%; transform: translate(-50%, 2px); }
.la-s > .g-lab { left: 50%; top: 100%; transform: translate(-50%, -2px); }
.la-e > .g-lab { left: 100%; top: 50%; transform: translate(-2px, -50%); }
.la-w > .g-lab { right: 100%; top: 50%; transform: translate(2px, -50%); }
.la-ne > .g-lab { left: 70%; bottom: 80%; }
.la-nw > .g-lab { right: 70%; bottom: 80%; }
.g-hood.sel .g-lab { background: #353647; color: #F4F1EA; }
.g-hood.t2 .g-lab { display: none; }
.g-map.z2 .g-hood.t2 .g-lab, .g-hood.t2.sel .g-lab, .g-hood.t2:hover .g-lab, .g-hood.t2:focus-visible .g-lab { display: block; }
.g-hood.t2 .g-dot { width: 8px; height: 8px; background: #6c6d80; }
.g-golfl { font-style: italic; font-size: 13px; font-weight: 500; color: #4d6b4a; padding: 6px 8px; white-space: nowrap; }
.g-golfl.sel { text-decoration: underline; color: #2f4a2d; }
.g-poi { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #F8F5EE; border: 1.5px solid #353647; box-shadow: 0 1px 4px rgba(53, 54, 71, .35); }
.g-poi svg { width: 17px; height: 17px; }
.g-poi.dining { color: #7a4b2b; border-color: #7a4b2b; }
.g-poi.amenity { color: #2f5a6b; border-color: #2f5a6b; }
.g-poi.sel { background: #353647; color: #F4F1EA; border-color: #353647; }
.g-poi .g-lab { display: none; font-weight: 500; }
.g-map.z2 .g-poi .g-lab, .g-poi.sel .g-lab, .g-poi:hover .g-lab, .g-poi:focus-visible .g-lab { display: block; z-index: 3; }
.g-hood:focus-visible, .g-poi:focus-visible, .g-golfl:focus-visible { outline: 2px solid #353647; outline-offset: 2px; border-radius: 8px; }
.g-ctl { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; justify-items: end; z-index: 4; }
.g-ctl button { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid #353647; background: rgba(248, 245, 238, .96); color: #353647; font-size: 20px; line-height: 1; }
.g-ctl #g-reset { font-size: 14px; font-weight: 600; }
.g-north { position: absolute; left: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #353647; background: rgba(248, 245, 238, .92); color: #353647; display: grid; place-items: center; font-size: 13px; z-index: 4; }
.g-north::before { content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 8px solid #353647; border-top: 0; }
.g-brand { position: absolute; left: 12px; bottom: 9px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5c5d70; z-index: 4; pointer-events: none; }
.g-note { margin-top: 8px; font-size: 14.5px; color: var(--muted); font-style: italic; }
.g-panel { position: relative; background: #F4F1EA; color: #353647; border-radius: 16px; padding: 18px 16px 16px; display: grid; gap: 10px; align-content: start; }
.g-panel .g-hint { color: #5c5d70; font-size: 17px; }
.g-kind { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: #7d6f55; }
.g-panel h3 { font-size: 28px; line-height: 1.1; padding-right: 40px; color: #353647; }
.g-desc, .g-count { font-size: 17px; color: #4a4b5e; }
.g-access { font-size: 15px; color: #5c5d70; border-left: 2px solid #B7A991; padding-left: 10px; }
.g-flag { font-size: 14px; font-style: italic; color: #7d6f55; }
.g-panel .btn { min-height: 48px; font-size: 17.5px; }
.g-panel .btn.primary { background: #353647; border-color: #353647; color: #F4F1EA; }
.g-panel .btn.secondary { background: transparent; border-color: #353647; color: #353647; }
.g-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: rgba(183, 169, 145, .9); color: #23242f; font-size: 14.5px; font-weight: 600; font-variant-numeric: lining-nums; }
.g-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(53, 54, 71, .4); background: none; color: #353647; font-size: 24px; line-height: 1; padding: 0 0 3px; }
@media (max-width: 899px) {
  .g-panel { display: none; }
  .g-panel.open { display: grid; position: fixed; left: 8px; right: 8px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 29; max-height: 62vh; overflow: auto; box-shadow: 0 -8px 34px rgba(0, 0, 0, .55); border: 1px solid #B7A991; }
}
.g-find { margin-top: 22px; display: grid; gap: 8px; }
.g-find label { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--tan-hi); }
.g-find input { min-height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); padding: 0 14px; font-size: 17px; width: 100%; max-width: 520px; }
#g-list { display: grid; gap: 4px 28px; margin-top: 6px; }
@media (min-width: 700px) { #g-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { #g-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g-group { display: grid; align-content: start; margin-bottom: 14px; }
.g-group h4 { margin: 0; font: 500 13px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--tan-hi); padding-bottom: 6px; }
.g-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 44px; padding: 7px 0; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; width: 100%; }
.g-row span { font-family: var(--display); font-size: 20px; }
.g-row small { color: var(--muted); font-size: 15px; text-align: right; white-space: nowrap; font-variant-numeric: lining-nums; }
.g-row[aria-pressed="true"] span, .g-row:hover span { color: var(--tan-hi); }
/* Guide fixes after first look: names stay above icons; north marker out of the way of West Point */
.g-hood { z-index: 3; } .g-golfl { z-index: 2; } .g-poi { z-index: 1; width: 26px; height: 26px; } .g-poi.sel { z-index: 4; }
.g-poi svg { width: 15px; height: 15px; }
.g-north { left: auto; top: auto; right: 12px; bottom: 12px; }
@media (max-width: 699px) { .g-lab { font-size: 12px; padding: 1px 5px; } .g-golfl { font-size: 11.5px; } .g-brand { font-size: 9.5px; } .g-hood { width: 30px; height: 30px; } }
/* Guide controls: zoom row at the bottom right, north marker at the top right (over the sea) */
.g-ctl { top: auto; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.g-ctl button { height: 38px; min-width: 38px; }
.g-north { top: 12px; right: 12px; bottom: auto; left: auto; }
@media (max-width: 699px) { .g-brand { display: none; } }
/* Room at the bottom of the guide map for the zoom buttons */
.g-map { aspect-ratio: 77 / 56; }
@media (max-width: 699px) { .g-map { aspect-ratio: 77 / 70; } }

/* ===== Limestone & Dusk (2026-11-17): the rules that turn the old dark page into the light one ===== */
/* Blue-framed areas: the same variable names, with values for a blue surface. */
.top, .contact-bar, .vip {
  --bg: transparent; --panel: #353647; --panel-2: #414258;
  --ink: #F7F4EE; --muted: #E9E2D3; --tan-hi: #B7A991;
  --line: rgba(183, 169, 145, .45); --control: #B7A991; --focus: #B7A991;
  --pri-bg: #B7A991; --pri-ink: #353647; --pri-hover: #C6BBA6;
  --sec-line: #B7A991; --sec-ink: #F7F4EE; --sec-hover: rgba(183, 169, 145, .18);
  color: var(--ink);
}
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.top { background: #353647; border-bottom-color: #353647; }
.contact-bar { background: #353647; border-top-color: #353647; backdrop-filter: none; }
@media (min-width: 760px) { .contact-bar { border-color: #353647; box-shadow: 0 10px 30px rgba(53, 54, 71, .35); } }
.list-btn { border-color: var(--control); }
.count { color: #353647; }

/* Buttons: blue on light, tan on blue. One rule, driven by the variables above. */
.btn { border-color: var(--sec-line); }
.btn.primary, .btn.tan { background: var(--pri-bg); border-color: var(--pri-bg); color: var(--pri-ink); }
.btn.secondary { color: var(--sec-ink); }
@media (hover: hover) { .btn.primary:hover, .btn.tan:hover { background: var(--pri-hover); border-color: var(--pri-hover); } .btn.secondary:hover { background: var(--sec-hover); } }
.g-panel .btn.primary { background: #353647; border-color: #353647; color: #F7F4EE; }

/* Selected filters: blue fill plus a check mark, so the choice never depends on color alone. */
.mode { border-color: var(--control); }
.mode button { color: var(--ink); }
.mode button[aria-pressed="true"], .chip[aria-pressed="true"], .g-cat[aria-pressed="true"] { background: #353647; border-color: #353647; color: #F7F4EE; font-weight: 600; }
.mode button[aria-pressed="true"]::before, .chip[aria-pressed="true"]::before, .g-cat[aria-pressed="true"]::before { content: "\2713"; margin-right: 6px; font-weight: 400; }
.chip[aria-pressed="true"]::before, .g-cat[aria-pressed="true"]::before { margin-right: 0; }
.chip, .g-cat, .hoods-row .chip { border-color: var(--control); background: var(--panel); color: var(--ink); }
.chip[aria-pressed="true"] .n { color: #F7F4EE; }
.hoods-row .chip[aria-pressed="true"] { background: #353647; }
.vip-link { color: var(--ink); border-bottom-color: var(--control); }
.x, .remove, .linkbox input, .g-find input, .save.inline { border-color: var(--control); }
.g-find input { background: var(--panel); }

/* Everything that sits on a photograph gets a solid blue or tan disc. */
.tag, .gallery .pos, .locator .cap, .pcount { background: #353647; color: #F7F4EE; }
.save { color: var(--ink); }
.save svg { stroke: currentColor; }
.ph .save { background: #353647; border-color: #353647; color: #F7F4EE; }
.ph .save svg { stroke: #F7F4EE; }
.save[aria-pressed="true"], .ph .save[aria-pressed="true"] { background: #B7A991; border-color: #B7A991; color: #353647; }
.save[aria-pressed="true"] svg, .ph .save[aria-pressed="true"] svg { fill: #353647; stroke: #353647; }
.save.inline[aria-pressed="true"] { color: #353647; }
.hero-cap small { color: #F7F4EE; }
.pnav, .gallery.full .gclose { background: #F7F4EE; color: #353647; }

/* Cards: name and price in blue, neighborhood in the deeper tan. */
.cb .price { color: var(--ink); font-weight: 500; }
.toast { background: #353647; color: #F7F4EE; border: 1px solid #B7A991; }
.demo-bar { color: #353647; }
.card.flash { border-color: #353647; box-shadow: 0 0 0 2px #353647; }

/* Neighborhood guide: quiet map colors, blue labels, one unmistakable selection. */
.g-map { background: #EDE7DA; border-color: var(--line); }
.g-land { fill: #EDE7DA; } .g-sea { fill: #DCE6E6; } .g-golf { fill: #D3DCC6; } .g-water { fill: #CBDADB; }
.g-ocean { color: #5C5D6E; }
.g-area { background: rgba(183, 169, 145, .38); border-color: rgba(133, 120, 96, .7); }
.g-area.sel { background: rgba(53, 54, 71, .5); border: 2.5px solid #B7A991; box-shadow: 0 0 0 1.5px #353647; }
.g-lab { background: rgba(237, 231, 218, .88); }
.g-hood.sel .g-lab { background: #353647; color: #F7F4EE; }
.g-golfl, .g-golfl.sel { color: #353647; }
.g-poi, .g-poi.dining, .g-poi.amenity { color: #353647; border-color: #353647; background: #FFFFFF; }
.g-poi.sel { background: #353647; color: #F7F4EE; }
.g-panel { background: #FFFFFF; border: 1px solid var(--line); }
.g-panel .g-hint, .g-access, .g-brand { color: #5C5D6E; }
.g-desc, .g-count { color: #353647; }
.g-kind, .g-flag { color: #6E6149; }
.g-n { background: #B7A991; color: #353647; }
.g-ctl button, .g-north { background: #FFFFFF; }
.g-row[aria-pressed="true"] span { font-weight: 600; }
@media (max-width: 899px) { .g-panel.open { box-shadow: 0 -8px 34px rgba(53, 54, 71, .35); border-color: #857860; } }
.m-minor { stroke: rgba(53, 54, 71, .18); }
.m-major { stroke: #B7A991; }
/* LD-THEME-1 */
.chip[aria-pressed="true"], .hoods-row .chip[aria-pressed="true"] { background: #353647; border-color: #353647; color: #F7F4EE; }
/* LD-THEME-2 */

/* ===== White (2026-11-29, Christian: "move the live app to the white design") =====
   White pages so the photographs are the brightest thing on screen. Deep blue #353647 for type and the main
   buttons, tan #B7A991 as the one accent. Cinzel for display lines, Montserrat for everything else.
   Square corners and small tracked capitals on controls, as on the top luxury brokerage sites.
   The private-access section stays deep blue: the one dark moment on the page. */
:root {
  --bg: #FFFFFF; --panel: #FFFFFF; --panel-2: #F6F4EF;
  --ink: #2F303D; --muted: #6C6D78; --tan-hi: #86704C; --line: #E4DFD5; --control: #CFC7B8; --focus: #353647;
  --pri-bg: #353647; --pri-ink: #FFFFFF; --pri-hover: #26273A;
  --sec-line: #353647; --sec-ink: #353647; --sec-hover: #F6F4EF;
  --display: "Cinzel", "Times New Roman", serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}
body { background: #FFFFFF; font: 15.5px/1.65 var(--body); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; color: #353647; }

/* Header: white, blue wordmark, a hairline underneath */
.top { --bg: #FFFFFF; --panel: #FFFFFF; --ink: #353647; --muted: #6C6D78; --line: #E4DFD5; --control: #CFC7B8; --tan-hi: #86704C;
  background: #FFFFFF; border-bottom: 1px solid #E4DFD5; color: #353647; padding: 12px 18px; }
.brand-name { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font-size: 9.5px; letter-spacing: .34em; font-weight: 600; color: #86704C; margin-top: 3px; }
.brand-lic { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: #6C6D78; }
.list-btn { border: 0; border-radius: 0; background: none; padding: 0 2px; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #353647; }
.list-btn svg { color: #B7A991; }
.count { background: none; color: #353647; font-size: 14px; min-width: 0; padding: 0; }

/* Hero */
.hero-photo::after { background: linear-gradient(to bottom, rgba(38, 39, 58, 0), rgba(38, 39, 58, .78)); }
.hero-cap small { font-size: 10.5px; font-weight: 600; letter-spacing: .26em; color: #FFFFFF; }
.hero-cap b { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 5.4vw, 40px); letter-spacing: .02em; color: #FFFFFF; }
.hero-cap .hp { font-family: var(--body); font-weight: 500; font-size: clamp(17px, 2.6vw, 22px); }
@media (min-width: 1212px) { .hero-photo { border-radius: 0; } }
.hero h1 { font-size: clamp(26px, 7vw, 44px); line-height: 1.15; letter-spacing: .04em; margin-top: 10px; }
.hero h1::after { content: ""; display: block; width: 48px; height: 1px; background: #B7A991; margin: 16px auto 0; }
.intro { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Buy / Rent, New this week, neighborhoods */
.mode { border: 1px solid #353647; border-radius: 0; padding: 0; max-width: 340px; background: #FFFFFF; }
.mode button { border: 0; border-radius: 0; min-height: 48px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #353647; }
.mode button[aria-pressed="true"] { background: #353647; color: #FFFFFF; }
.mode button[aria-pressed="true"]::before { content: none; }
.new-week { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid #B7A991; border-radius: 0; background: #FFFFFF; color: #353647; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.new-week .n { font-size: 12px; letter-spacing: 0; color: #86704C; font-variant-numeric: tabular-nums lining-nums; }
.new-week[aria-pressed="true"] { background: #B7A991; color: #26273A; border-color: #B7A991; }
.new-week[aria-pressed="true"] .n { color: #26273A; }
.new-week[aria-pressed="true"]::before { content: "\2713"; margin-right: -2px; }
.chip, .hoods-row .chip, .g-cat { border-radius: 0; border-color: #E4DFD5; background: #FFFFFF; color: #353647; font-size: 13px; font-weight: 500; letter-spacing: .02em; min-height: 42px; padding: 0 14px; }
.chip .n { color: #86704C; font-weight: 600; }
.chip[aria-pressed="true"], .hoods-row .chip[aria-pressed="true"], .g-cat[aria-pressed="true"] { background: #353647; border-color: #353647; color: #FFFFFF; }
.chip[aria-pressed="true"] .n { color: #B7A991; }
.chip[aria-pressed="true"]::before, .g-cat[aria-pressed="true"]::before { content: none; }
.vip-link { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #353647; border-bottom: 1px solid #B7A991; }
.asof { border: 0; border-radius: 0; background: none; font-size: 13px; color: var(--muted); text-align: center; max-width: 52ch; padding: 0; }

/* Section heads */
#sec-homes .result-head h2, .section h2 { font-size: clamp(20px, 5vw, 28px); line-height: 1.25; }
.result-head p, .sub { font-size: 13.5px; color: var(--muted); }
.eyebrow { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #86704C; }

/* Cards */
.ph { border-radius: 0; }
.cb { gap: 4px; padding-top: 14px; }
.cb .hood-line { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; color: #86704C; }
.cb h3 { font-size: 19px; line-height: 1.3; letter-spacing: .03em; }
.cb .price { font-family: var(--body); font-size: 15.5px; font-weight: 500; color: #2F303D; font-variant-numeric: lining-nums; }
.price small { font: 400 13px var(--body); }
.pcount, .tag, .gallery .pos { background: rgba(255, 255, 255, .94); color: #353647; border-radius: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; }
.ph .save { background: rgba(255, 255, 255, .94); border-color: transparent; color: #353647; }
.ph .save svg { stroke: #353647; }
.ph .save[aria-pressed="true"] { background: #B7A991; border-color: #B7A991; }
.pnav { background: rgba(255, 255, 255, .94); color: #353647; }
.more-tile b { font-size: 18px; letter-spacing: .04em; }
.more-tile small { font-size: 13px; }

/* Buttons */
.btn { border-radius: 0; min-height: 52px; font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.btn.small { min-height: 44px; font-size: 11px; }
.btn.secondary { background: #FFFFFF; border-color: #353647; color: #353647; }
.save.inline { border-radius: 0; border-color: #E4DFD5; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.linkish { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #353647; text-decoration-color: #B7A991; text-underline-offset: 5px; }

/* Contact bar: white, with the blue button as the one strong shape */
.contact-bar { --bg: #FFFFFF; --panel: #FFFFFF; --ink: #353647; --line: #E4DFD5; --pri-bg: #353647; --pri-ink: #FFFFFF; --pri-hover: #26273A; --sec-line: #353647; --sec-ink: #353647; --sec-hover: #F6F4EF;
  background: rgba(255, 255, 255, .97); border-top: 1px solid #E4DFD5; color: #353647; }
.contact-bar .btn { min-height: 50px; }
.contact-bar .btn.secondary { background: #FFFFFF; }
@media (min-width: 760px) { .contact-bar { border: 1px solid #E4DFD5; border-radius: 0; box-shadow: 0 10px 30px rgba(53, 54, 71, .14); } }

/* Private access: the one deep-blue block */
.vip { border-radius: 0; }
.vip-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .28em; }
.vip h2 { font-style: normal; color: #FFFFFF; font-size: clamp(22px, 5.6vw, 36px); line-height: 1.25; letter-spacing: .03em; }
.vip-lead { font-size: 15px; line-height: 1.7; }
.vip-points b { font-family: var(--display); font-weight: 400; font-size: 16px; letter-spacing: .06em; color: #B7A991; }
.vip-points span { font-size: 13.5px; }
.vip-me b { font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: .04em; color: #FFFFFF; }
.vip-me small { font-size: 12px; }
.vip .btn.primary { background: #B7A991; border-color: #B7A991; color: #26273A; }
.vip .btn.secondary { background: transparent; border-color: #B7A991; color: #FFFFFF; }

/* Home page */
.back { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #353647; text-decoration: none; }
.home-head h1 { font-size: clamp(24px, 6.4vw, 36px); line-height: 1.2; letter-spacing: .03em; }
.home-head .price, .price { font-family: var(--body); font-weight: 500; font-size: 24px; color: #2F303D; }
.pill { border-radius: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; color: #86704C; border: 0; padding: 0; }
.pill::before { content: none; }
.inout { font-size: 14px; color: var(--muted); }
.inout strong { color: #86704C; font-weight: 600; }
.keyfacts { font-size: 15px; color: #2F303D; }
.factgrid { border-radius: 0; }
.factgrid dt { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; }
.factgrid dd { font-size: 15.5px; }
.desc { font-size: 15px; line-height: 1.75; }
.snapnote { font-size: 13px; font-style: italic; color: var(--muted); }
.locator, .box, .state, .srow, .srow a.thumb, .g-map, .guide-map { border-radius: 0; }
.locator .cap { background: #FFFFFF; color: #353647; border-radius: 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.box h2 { font-family: var(--display); font-weight: 400; font-size: 17px; letter-spacing: .04em; }
.box p { font-size: 14px; }
.attrib { font-size: 12px; color: var(--muted); line-height: 1.6; }
.state h2 { font-size: 20px; }

/* Favorites */
.saved h1 { font-size: clamp(24px, 6.4vw, 34px); letter-spacing: .04em; }
.srow .t a { font-family: var(--display); font-weight: 400; letter-spacing: .03em; color: #353647; }
.srow .t span { font-size: 13.5px; }

/* Neighborhood guide */
.grow .gname { font-family: var(--display); font-size: 16px; letter-spacing: .03em; }
.grow .gcount { font-size: 13px; }
.guide-list h3 { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; }
.g-panel { border-radius: 0; }

/* Footer and small print */
.foot { font-size: 13px; line-height: 1.7; }
.foot strong { font-family: var(--display); font-weight: 400; letter-spacing: .06em; color: #353647; }
.toast { background: #353647; color: #FFFFFF; border: 0; border-radius: 0; font-size: 14px; }
.nw { white-space: nowrap; }

.contact-bar .btn { font-size: 11px; letter-spacing: .14em; white-space: nowrap; padding: 0 14px; }
.demo-bar { background: #F6F4EF; color: #6C6D78; font-size: 12.5px; font-weight: 500; border-bottom: 1px solid #E4DFD5; }
.factgrid div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 400px) { .brand-name { font-size: 16.5px; letter-spacing: .04em; } .list-btn { letter-spacing: .1em; } }
