/* Chhana Homes — warm paper, ink and brick. Bricolage Grotesque for headings, Inter for text. */
:root {
  --paper: #f6f2eb; --paper2: #efe8dc; --card: #fffdf9; --ink: #1d1a16; --ink2: #463f37; --muted: #7b7268;
  --brick: #b4532a; --brick-d: #94411f; --brick-l: #f4e3d8; --moss: #2e4a3b; --moss-l: #e3ebe3; --gold: #c99a3f;
  --line: rgba(29, 26, 22, .12); --line2: rgba(29, 26, 22, .2);
  --r: 16px; --r-s: 11px; --shadow: 0 18px 50px -24px rgba(29, 26, 22, .35);
  --head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif; --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--brick); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* type */
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
.h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); letter-spacing: -.035em; line-height: 1.02; }
.h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); letter-spacing: -.03em; }
.h3 { font-size: 1.25rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brick); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink2); max-width: 58ch; }
.muted { color: var(--muted); }
em.hl { font-style: normal; color: var(--brick); }

/* buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--b); background: var(--b); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(29, 26, 22, .5); }
.btn:active { transform: scale(.97); }
.btn.brick { --b: var(--brick); }
.btn.brick:hover { background: var(--brick-d); border-color: var(--brick-d); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; backdrop-filter: blur(6px); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: var(--card); cursor: pointer; flex: none; }
.icon-btn:hover { border-color: var(--ink); }

/* header */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(246, 242, 235, .86); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-word { display: flex; flex-direction: column; font: 800 1.32rem/1 var(--head); letter-spacing: -.03em; }
.brand-word small { font: 500 .7rem/1.2 var(--body); letter-spacing: .02em; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .94rem; color: var(--ink2); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--paper2); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.saved-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); color: var(--ink); }
.saved-link:hover { border-color: var(--brick); color: var(--brick); }
.saved-n { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--brick); color: #fff; font: 700 .7rem/19px var(--body); text-align: center; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 12px; background: var(--card); cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 4.5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* sections */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec.tint { background: var(--paper2); }
.sec.dark { background: var(--ink); color: #f3ede4; }
.sec.dark .lead, .sec.dark .muted { color: #c9bfb2; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: clamp(26px, 4vw, 44px); }
.head > div { max-width: 640px; }
.head h2 { margin-top: 12px; }
.head p { margin: 0; max-width: 42ch; color: var(--muted); }

/* hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: heroZoom 18s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 17, 13, .25) 0%, rgba(20, 17, 13, .1) 35%, rgba(20, 17, 13, .78) 100%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { padding: 120px 0 44px; }
.hero .eyebrow { color: #ffd7c2; }
.hero h1 { max-width: 15ch; margin: 16px 0 16px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .lead { color: #efe7dc; }

/* search panel */
.finder { margin-top: 30px; background: var(--card); color: var(--ink); border-radius: 20px; padding: 10px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); max-width: 1000px; }
.finder-tabs { display: flex; gap: 6px; padding: 4px 4px 10px; }
.finder-tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--muted); }
.finder-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.finder-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 13px; background: var(--paper); min-width: 0; }
.field > span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field select, .field input { border: 0; background: transparent; padding: 0; font-size: 1rem; font-weight: 600; outline: none; min-width: 0; width: 100%; }
.finder .btn { min-height: 100%; border-radius: 13px; padding: 0 26px; }
.hero-stats { display: flex; gap: clamp(18px, 4vw, 48px); margin-top: 26px; flex-wrap: wrap; }
.hero-stats div b { display: block; font: 700 1.6rem/1 var(--head); }
.hero-stats div span { font-size: .85rem; color: #e5dacb; }

/* property cards */
.grid-homes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line2); }
.hc-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper2); }
.hc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hcard:hover .hc-img img { transform: scale(1.05); }
.tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: var(--card); color: var(--ink); }
.tag-reduced { background: var(--moss); color: #fff; }
.tag-hot { background: var(--brick); color: #fff; }
.deal { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 8px; font-size: .74rem; font-weight: 600; background: rgba(20, 17, 13, .66); color: #fff; backdrop-filter: blur(4px); }
.fav { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .92); color: var(--ink); cursor: pointer; transition: transform .2s, color .2s; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: var(--brick); }
.fav[aria-pressed="true"] svg { fill: currentColor; animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.3); } }
.hc-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; flex: 1; }
.hc-price { font: 700 1.38rem/1.1 var(--head); letter-spacing: -.02em; }
.hc-price small { font: 500 .8rem var(--body); color: var(--muted); margin-left: 2px; }
.hcard h3 { font: 600 1rem/1.35 var(--body); letter-spacing: 0; }
.hcard h3 a { text-decoration: none; }
.hcard h3 a:hover { color: var(--brick); }
.hc-loc { display: flex; align-items: center; gap: 5px; margin: 0; font-size: .88rem; color: var(--muted); }
.hc-facts { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--ink2); }
.hc-facts li { display: inline-flex; align-items: center; gap: 5px; }
.hc-facts svg { color: var(--muted); }
.cmp-box { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: .82rem; color: var(--muted); cursor: pointer; align-self: flex-start; }
.cmp-box input { width: 17px; height: 17px; accent-color: var(--brick); }

/* compare bar + sheet */
.cmp-bar { position: fixed; z-index: 45; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .55); animation: up .3s ease; max-width: calc(100% - 24px); }
body.has-cmp { padding-bottom: 84px; }
.cmp-bar .icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); width: 36px; height: 36px; }
.cmp-thumbs { display: flex; }
.cmp-thumbs img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -8px; }
.cmp-thumbs img:first-child { margin-left: 0; }
.cmp-bar > span { font-size: .88rem; white-space: nowrap; }
@keyframes up { from { transform: translate(-50%, 20px); opacity: 0; } }
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(20, 17, 13, .55); backdrop-filter: blur(4px); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet-card { width: min(560px, 100%); max-height: 88vh; overflow: auto; background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.sheet-card.wide { width: min(940px, 100%); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { font-size: 1.5rem; }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
.cmp-table th, .cmp-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th { font-weight: 600; }
.cmp-table thead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.cmp-table thead a { text-decoration: none; font-size: .9rem; line-height: 1.3; display: block; }
.cmp-table tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; width: 130px; }

/* valley map */
.map-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
.map-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px; }
.valley { width: 100%; height: auto; display: block; }
.v-hills { fill: #d8cab5; }
.v-floor { stroke: rgba(29, 26, 22, .08); }
.v-ring { fill: none; stroke: #c9b79e; stroke-width: .45; stroke-dasharray: 1.4 1; }
.v-river { fill: none; stroke: #8fb3c4; stroke-width: .7; stroke-linecap: round; opacity: .9; }
.v-river.thin { stroke-width: .45; }
.v-label { font: italic 2.2px var(--body); fill: #8a7a63; }
.v-pin { cursor: pointer; outline: none; }
.v-halo { fill: var(--brick); opacity: .14; transition: r .2s, opacity .2s; }
.v-dot { fill: var(--brick); stroke: #fff; stroke-width: .5; }
.v-name { font: 600 2.3px var(--body); fill: var(--ink); paint-order: stroke; stroke: var(--card); stroke-width: .7px; stroke-linejoin: round; }
.v-hit { fill: transparent; }
.v-pin:hover .v-halo, .v-pin:focus .v-halo, .v-pin.on .v-halo { opacity: .35; r: 4.4; }
.v-pin.on .v-dot { fill: var(--ink); }
.area-info { padding: 6px 4px; }
.area-info h3 { font-size: 1.7rem; margin: 10px 0 8px; }
.area-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; }
.area-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 12px; }
.area-stats b { display: block; font: 700 1.15rem var(--head); }
.area-stats span { font-size: .78rem; color: var(--muted); }

/* checks / steps */
.checks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.check { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); padding: 22px; }
.check .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brick); color: #fff; font: 700 1rem var(--head); margin-bottom: 16px; }
.check h3 { font-size: 1.15rem; margin-bottom: 8px; color: #fff; }
.check p { margin: 0; font-size: .92rem; color: #c9bfb2; }
.check small { display: block; margin-top: 10px; font-size: .78rem; color: #e9a17d; }

/* tool teaser + quotes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 30px); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quote p { margin: 0; font-size: 1.02rem; color: var(--ink2); }
.quote footer { display: flex; align-items: center; gap: 10px; font-size: .88rem; margin-top: auto; }
.av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .86rem; flex: none; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(26px, 4vw, 44px); border-radius: 26px; background: var(--brick); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 22ch; }
.cta-band p { margin: 8px 0 0; color: #fbe3d6; }
.cta-band .btn { --b: #fff; color: var(--brick); position: relative; z-index: 1; }

/* listings page */
.page-head { padding: clamp(36px, 6vw, 64px) 0 24px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.03em; margin-top: 12px; }
.listing-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 80px; }
.filters { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.filters h2 { font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; }
.filters h2 button { border: 0; background: none; color: var(--brick); font: 600 .84rem var(--body); cursor: pointer; }
.fgroup > span { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 12px; background: var(--paper); gap: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 6px; border-radius: 9px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ink2); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(29, 26, 22, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line2); background: transparent; padding: 7px 12px; border-radius: 999px; font-size: .86rem; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sel { width: 100%; padding: 11px 12px; border: 1px solid var(--line2); border-radius: 11px; background: var(--card); font-size: .95rem; }
.range-out { display: flex; justify-content: space-between; font-size: .86rem; color: var(--ink2); margin-top: 4px; }
input[type=range] { width: 100%; accent-color: var(--brick); }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.results-bar b { font: 700 1.1rem var(--head); }
.view-toggle { display: flex; gap: 6px; }
.filter-open { display: none; }
.empty { text-align: center; padding: 60px 20px; background: var(--card); border: 1px dashed var(--line2); border-radius: 20px; }
.empty h3 { font-size: 1.4rem; margin-bottom: 8px; }
.map-view { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.map-list { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow: auto; }
.mini { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 13px; text-decoration: none; }
.mini img { width: 92px; height: 70px; object-fit: cover; border-radius: 9px; }
.mini b { display: block; font: 700 1rem var(--head); }
.mini span { font-size: .82rem; color: var(--muted); display: block; line-height: 1.35; }

/* property page */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); padding: 22px 0 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brick); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(300px, 52vw, 540px); border-radius: 22px; overflow: hidden; }
.gallery button { position: relative; border: 0; padding: 0; cursor: zoom-in; overflow: hidden; background: var(--paper2); }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gal-more { position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border-radius: 9px; background: rgba(255, 253, 249, .94); font-size: .84rem; font-weight: 600; }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding: 32px 0 90px; }
.prop-top { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.prop-top h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.03em; max-width: 22ch; }
.prop-price { font: 700 clamp(1.7rem, 3vw, 2.3rem)/1 var(--head); color: var(--brick); text-align: right; }
.prop-price small { display: block; font: 500 .84rem var(--body); color: var(--muted); margin-top: 6px; }
.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 24px 0 30px; }
.keyfacts div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.keyfacts span { display: block; font-size: .76rem; color: var(--muted); }
.keyfacts b { font: 700 1.05rem var(--head); }
.prop-sec { padding: 26px 0; border-top: 1px solid var(--line); }
.prop-sec h2 { font-size: 1.35rem; margin-bottom: 14px; }
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.feat-list li { display: flex; align-items: center; gap: 9px; }
.feat-list svg { color: var(--moss); flex: none; }
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.doc { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--moss-l); }
.doc svg { color: var(--moss); flex: none; margin-top: 2px; }
.doc b { display: block; font-size: .95rem; }
.doc span { font-size: .84rem; color: var(--ink2); }
.side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.agent-card { display: flex; align-items: center; gap: 14px; }
.agent-card .av { width: 52px; height: 52px; font-size: 1rem; }
.agent-card b { display: block; }
.agent-card span { font-size: .86rem; color: var(--muted); }
.side .btn { width: 100%; }
.mobile-cta { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 10, 8, .94); display: flex; flex-direction: column; animation: fade .2s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: #fff; font-size: .9rem; }
.lb-top .icon-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.lb-stage { flex: 1; display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; min-height: 0; padding-bottom: 20px; }
.lb-stage img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 8px; touch-action: pan-y; }
.lb-nav { justify-self: center; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; }

/* calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.calc-in { display: flex; flex-direction: column; gap: 18px; }
.slider-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.slider-row label output { font: 700 1.05rem var(--head); color: var(--brick); }
.slider-row small { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); }
.big-out { padding: 24px; border-radius: 18px; background: var(--ink); color: #fff; }
.big-out span { font-size: .84rem; color: #c9bfb2; }
.big-out b { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1.05 var(--head); letter-spacing: -.02em; margin: 6px 0 2px; }
.out-rows { display: grid; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; }
.out-rows div { display: flex; justify-content: space-between; gap: 10px; }
.out-rows div span { color: #c9bfb2; }
.bar-split { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin-top: 16px; background: #3a342d; }
.bar-split i { display: block; height: 100%; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: .8rem; color: #c9bfb2; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart { width: 100%; height: auto; margin-top: 14px; }
.unit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.unit { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 13px; background: var(--paper); border: 1px solid transparent; }
.unit:focus-within { border-color: var(--brick); background: var(--card); }
.unit span { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.unit input { border: 0; background: transparent; font: 700 1.2rem var(--head); width: 100%; outline: none; padding: 0; }
.unit-sys { font-size: .8rem; font-weight: 600; color: var(--muted); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; font-size: .92rem; }
.toggle input { width: 18px; height: 18px; accent-color: var(--brick); }
.tool-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

/* booking */
.book { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-bottom: 90px; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 7px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.steps span i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper2); font-style: normal; font-size: .78rem; }
.steps span.on { color: var(--ink); border-color: var(--ink); }
.steps span.on i { background: var(--brick); color: #fff; }
.steps span.done i { background: var(--moss); color: #fff; }
.pick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 420px; overflow: auto; padding: 2px; }
.pick { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; text-align: left; }
.pick img { width: 80px; height: 60px; border-radius: 9px; object-fit: cover; }
.pick b { display: block; font-size: .9rem; line-height: 1.3; }
.pick span { font-size: .8rem; color: var(--muted); }
.pick[aria-pressed="true"] { border-color: var(--brick); background: var(--brick-l); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.date { flex: none; width: 70px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); text-align: center; cursor: pointer; }
.date span { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.date b { display: block; font: 700 1.35rem/1.2 var(--head); }
.date[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.date[aria-pressed="true"] span { color: #c9bfb2; }
.date:disabled { opacity: .4; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { padding: 11px 6px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; font-size: .9rem; cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--brick); border-color: var(--brick); color: #fff; }
.slot:disabled { text-decoration: line-through; opacity: .45; cursor: not-allowed; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.inp { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 600; }
.inp input, .inp select, .inp textarea { padding: 12px 14px; border: 1.5px solid var(--line2); border-radius: 12px; background: var(--card); font-size: 16px; font-weight: 400; }
.inp input:focus, .inp select:focus, .inp textarea:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(180, 83, 42, .14); }
.inp textarea { min-height: 110px; resize: vertical; }
.err { color: #b42318; font-size: .86rem; min-height: 1.2em; margin: 10px 0 0; }
.summary { position: sticky; top: 92px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.done-card { text-align: center; padding: clamp(26px, 5vw, 48px); }
.done-card .tick { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: var(--moss); color: #fff; }
.ref { display: inline-block; margin: 14px 0; padding: 8px 16px; border-radius: 10px; background: var(--paper2); font: 700 1.2rem var(--head); letter-spacing: .06em; }

/* about */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.member { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.member .av { width: 64px; height: 64px; font-size: 1.2rem; margin-bottom: 16px; }
.member h3 { font-size: 1.2rem; }
.member p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); }
.nums div { padding: 24px; border-right: 1px solid var(--line); }
.nums div:last-child { border-right: 0; }
.nums b { display: block; font: 700 2rem var(--head); letter-spacing: -.02em; }
.nums span { font-size: .88rem; color: var(--muted); }
.credits-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.credit { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .84rem; }
.credit img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.credit div { padding: 12px; }
.credit a { color: var(--brick); }

/* footer */
.foot { background: var(--ink); color: #d9cfc2; padding: 64px 0 28px; }
.foot .brand-word { color: #fff; }
.foot .brand-word small { color: #a99d8f; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand p { font-size: .92rem; max-width: 36ch; margin: 16px 0 0; }
.foot h4 { font: 600 .76rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #e9a17d; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: .92rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-live { display: flex; align-items: center; gap: 8px; color: #fff !important; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 0 4px rgba(95, 208, 138, .2); flex: none; }
.dot.off { background: #d9a34a; box-shadow: 0 0 0 4px rgba(217, 163, 74, .2); }
.concept { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #a99d8f; }
.concept a { color: #e9a17d; }

/* toast + reveal */
.toast { position: fixed; z-index: 99; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .92rem; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .5); transition: .3s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .grid-homes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; z-index: 70; inset: auto 0 0 0; top: auto; max-height: 86vh; overflow: auto; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .3s ease; box-shadow: 0 -20px 60px rgba(0, 0, 0, .3); }
  .filters.open { transform: none; }
  .filter-open { display: inline-flex; }
  .filters .apply { display: inline-flex !important; }
  .prop-layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .map-view { grid-template-columns: minmax(0, 1fr); }
  .map-list { max-height: none; }
}
@media (max-width: 900px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: 12px; font-size: 1rem; }
  .nav-right { margin-left: auto; }
  .burger { display: flex; }
  .map-wrap, .split, .calc { grid-template-columns: minmax(0, 1fr); }
  .quotes, .team { grid-template-columns: minmax(0, 1fr); }
  .credits-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums div:nth-child(2) { border-right: 0; }
  .nums div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav .wrap { min-height: 62px; gap: 10px; }
  .brand svg { width: 36px; height: 36px; }
  .brand-word { font-size: 1.18rem; }
  .hide-s { display: none !important; }
  .head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero { min-height: 0; }
  .hero-inner { padding: 70px 0 26px; }
  .finder { padding: 8px; border-radius: 18px; }
  .finder-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .finder-row .field:first-child { grid-column: 1 / -1; }
  .finder .btn { grid-column: 1 / -1; min-height: 50px; }
  .grid-homes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .area-stats { gap: 8px; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; height: auto; aspect-ratio: 4 / 3; border-radius: 16px; }
  .gallery button:not(:first-child) { display: none; }
  .gallery button:first-child { grid-row: auto; }
  .prop-top { flex-direction: column; gap: 10px; }
  .prop-price { text-align: left; }
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-list, .docs { grid-template-columns: minmax(0, 1fr); }
  .mobile-cta { display: grid; grid-template-columns: auto 1fr; gap: 10px; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 249, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobile-cta .btn { min-height: 50px; }
  body.has-mcta { padding-bottom: 76px; }
  body.has-mcta .cmp-bar { bottom: 84px; }
  .pick-list { grid-template-columns: minmax(0, 1fr); }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .lb-stage { grid-template-columns: minmax(0, 1fr); }
  .lb-nav { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 16px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .cmp-bar { gap: 10px; padding: 8px 8px 8px 10px; }
  .cmp-bar > span { display: none; }
  .sheet { padding: 0; align-items: end; }
  .sheet-card, .sheet-card.wide { width: 100%; border-radius: 22px 22px 0 0; max-height: 90vh; }
  .credits-list { grid-template-columns: minmax(0, 1fr); }
  .team { gap: 12px; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 28px); }
  .brand-word small { display: none; }
  .hero-stats { gap: 16px; }
  .hero-stats div b { font-size: 1.3rem; }
  .keyfacts { gap: 8px; }
  .hide-xs { display: none !important; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unit-grid { gap: 8px; }
  .area-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .area-stats div:last-child { grid-column: 1 / -1; }
}
@media (hover: none) { .hcard:hover { transform: none; box-shadow: none; } .hcard:hover .hc-img img { transform: none; } }

.fclose { display: none; }
@media (max-width: 1080px) { .fclose { display: grid; } }

.btn[aria-pressed="true"] { color: var(--brick); border-color: var(--brick); }
.btn[aria-pressed="true"] svg { fill: currentColor; }
.yr-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 12px; }
.yr-table th, .yr-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.yr-table th:first-child, .yr-table td:first-child { text-align: left; }
details.more { margin-top: 16px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--brick); }
.tool-sec { scroll-margin-top: 90px; }
.combo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }

@media (max-width: 1080px) {
  .results-bar .view-toggle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; width: 100%; }
  .results-bar .view-toggle .sel { grid-column: 1 / -1; order: 3; width: 100% !important; }
  .results-bar .view-toggle .seg { width: auto !important; }
}

/* booking look-up (visit page) */
.track-sec { padding-block: clamp(40px, 6vw, 70px); }
.track-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(20px, 4vw, 48px); align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.track-form { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; align-items: end; }
.track-form > * { min-width: 0; }
.track-out { grid-column: 1 / -1; }
.track-out:empty { display: none; }
.track-card { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-s); background: var(--moss-l); border-left: 4px solid var(--moss); }
.track-card.s-new { background: var(--brick-l); border-left-color: var(--brick); }
.track-card.s-cancelled { background: #f6e1e1; border-left-color: #b42a2a; }
.track-card span { color: var(--ink2); font-size: .94rem; }
[aria-invalid="true"] { border-color: #b42a2a !important; box-shadow: 0 0 0 3px rgba(180, 42, 42, .14); }
button[aria-busy="true"] { cursor: progress; opacity: .75; }
@media (max-width: 860px) { .track-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .track-form { grid-template-columns: 1fr 1fr; } .track-form .btn { grid-column: 1 / -1; } }