/* Lintel — a property listings theme. Example business: Brightyard Homes, Yaba, Lagos. */
@view-transition { navigation: auto; }

:root {
  /* colour */
  --bg: #f5f2ec;
  --surface: #fbfaf7;
  --sunk: #ece8df;
  --ink: #17201b;
  --ink-2: #39423d;
  --muted: #5c655f;
  --line: #e2ddd3;
  --line-2: #cfc8bb;
  --accent: #1e5a44;
  --accent-hover: #174a37;
  --accent-soft: #e2ebe5;
  --on-accent: #ffffff;
  --dark: #141b17;
  --dark-2: #1f2822;
  --on-dark: #f1eee7;
  --on-dark-muted: #b4b9b2;
  --map-land: #ebe6db;
  --map-block: #e3ddd0;
  --map-water: #d3dfd9;
  --map-road: #fbfaf7;
  --error: #a33a2b;

  /* type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-hero: clamp(46px, 7.2vw, 104px);
  --t-1: clamp(38px, 5vw, 68px);
  --t-2: clamp(30px, 3.4vw, 46px);
  --t-3: clamp(23px, 2vw, 28px);
  --t-4: 20px;
  --t-body: 17px;
  --t-sm: 15px;
  --t-xs: 13px;

  /* space (4 px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --sec: clamp(80px, 10vw, 128px);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;

  /* shape */
  --r: 6px;
  --r-lg: 10px;
  --shadow-1: 0 1px 2px rgba(23, 32, 27, .06), 0 1px 1px rgba(23, 32, 27, .04);
  --shadow-2: 0 2px 4px rgba(23, 32, 27, .05), 0 8px 20px -6px rgba(23, 32, 27, .12), 0 20px 40px -20px rgba(23, 32, 27, .18);
  --shadow-3: 0 2px 6px rgba(23, 32, 27, .06), 0 18px 40px -12px rgba(23, 32, 27, .22), 0 40px 80px -40px rgba(23, 32, 27, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
dl, dd { margin: 0; }
.i { width: 18px; height: 18px; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.h1 { font-family: var(--serif); font-size: var(--t-1); line-height: 1.02; letter-spacing: -0.022em; font-weight: 340; font-variation-settings: "opsz" 144; }
.h2 { font-family: var(--serif); font-size: var(--t-2); line-height: 1.06; letter-spacing: -0.018em; font-weight: 350; font-variation-settings: "opsz" 120; }
.h3 { font-family: var(--serif); font-size: var(--t-3); line-height: 1.15; letter-spacing: -0.01em; font-weight: 400; }
.h4 { font-family: var(--serif); font-size: var(--t-4); line-height: 1.2; font-weight: 420; }
.eyebrow { font-size: var(--t-xs); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-4); }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.fine { font-size: var(--t-xs); line-height: 1.5; color: var(--muted); }
.lbl { display: block; font-size: var(--t-xs); font-weight: 650; letter-spacing: .02em; color: var(--ink-2); }
.opt { font-weight: 500; color: var(--muted); }
.unit { font-weight: 500; color: var(--muted); }
small { font-size: .72em; color: var(--muted); font-weight: 500; }
.num, .card-price, .price-xl, .kf-grid dd, .costs td, .near li span:last-child, .count strong, .pin span { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent; font-weight: 650; font-size: 15px; letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s; white-space: nowrap; }
.btn .i { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover .i:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 1px 2px rgba(20,40,30,.25); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px -6px rgba(20,60,40,.45); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.btn-light:hover { box-shadow: var(--shadow-2); }
.btn-line { background: transparent; color: var(--on-dark); border-color: rgba(241,238,231,.35); }
.btn-line:hover { border-color: var(--on-dark); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; padding: 6px 2px; font-weight: 650; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); cursor: pointer; }
.btn-text:hover { text-decoration-color: currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; text-decoration: none; color: var(--accent); }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.site-header.over { position: absolute; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.site-header.over.solid { position: fixed; background: color-mix(in srgb, var(--bg) 94%, transparent); border-color: var(--line); backdrop-filter: saturate(1.2) blur(10px); }
.bar { display: flex; align-items: center; gap: var(--s-6); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; font-weight: 450; }
.brand em { font-style: italic; font-weight: 340; margin-left: 5px; color: var(--ink-2); }
.mark { width: 26px; height: 26px; color: var(--accent); fill: none; }
.nav { display: flex; gap: var(--s-6); margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 550; color: var(--ink-2); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.mnav { border-top: 1px solid var(--line); background: var(--bg); padding: 8px var(--gutter) 20px; }
.mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 22px; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 72px; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,242,236,.55) 0%, rgba(245,242,236,.2) 38%, rgba(245,242,236,0) 60%); }
.hero-inner { padding-top: clamp(48px, 9vh, 120px); padding-bottom: var(--s-7); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-title { font-family: var(--serif); font-size: var(--t-hero); line-height: .98; letter-spacing: -0.03em; font-weight: 320; font-variation-settings: "opsz" 144; max-width: 10.5ch; }
.hero-lede { margin-top: var(--s-5); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.hero-search { position: relative; margin-bottom: calc(var(--s-8) * -1); z-index: 2; }

/* the word-rise used on every page title */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }

/* ---------- search (one object with internal dividers) ---------- */
.search { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: var(--s-4); }
.seg { display: inline-flex; border: 0; margin: 0; padding: 3px; gap: 2px; background: var(--sunk); border-radius: 8px; min-width: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 7px 16px; border-radius: 6px; font-size: 14px; font-weight: 650; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg label:hover span { color: var(--ink); }
.search-row { display: grid; grid-template-columns: 1.15fr 1fr 1.35fr .8fr auto; margin-top: var(--s-3); border: 1px solid var(--line); border-radius: 8px; }
.field { display: block; padding: 12px 16px 10px; border-left: 1px solid var(--line); min-width: 0; position: relative; transition: background .2s; }
.field:first-child { border-left: 0; border-radius: 8px 0 0 8px; }
.field:hover { background: color-mix(in srgb, var(--sunk) 45%, transparent); }
.field:focus-within { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.ctl { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--ink); }
.ctl .i { color: var(--muted); width: 17px; height: 17px; }
.ctl select, .duo select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c655f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center; padding: 2px 18px 2px 0; width: 100%; min-width: 0; font-size: 16px; font-weight: 550; cursor: pointer; }
.ctl select:focus-visible, .duo select:focus-visible { outline: none; }
.duo { display: flex; align-items: center; gap: 6px; }
.dash { color: var(--muted); }
.search-go { margin: 6px; min-height: auto; padding: 0 24px; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.featured { padding-top: calc(var(--sec) + var(--s-8)); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap; }
.sec-note { color: var(--muted); max-width: 44ch; font-size: var(--t-sm); }

/* ---------- listing card ---------- */
.card { position: relative; }
.card-link { display: block; text-decoration: none; color: inherit; border-radius: var(--r); }
.card-media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--sunk); box-shadow: var(--shadow-1); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card-link:hover .card-media { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card-link:hover .card-media img { transform: scale(1.03); }
.card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card-body { padding-top: var(--s-4); }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: var(--t-xs); font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.card-meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); vertical-align: middle; margin-right: 10px; }
.tag { color: var(--accent); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 11.5px; }
.card-title { margin-top: 6px; font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -0.005em; }
.card-price { margin-top: 6px; font-family: var(--serif); font-size: 26px; line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; }
.card-price span, .costs td span { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
/* the lintel: a hairline with the facts sitting on it */
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--t-sm); font-weight: 600; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .i { width: 17px; height: 17px; color: var(--muted); }
.facts small { font-size: 13px; }
.save { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(251,250,247,.92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-1); transition: transform .2s var(--ease), background .2s; color: var(--ink); }
.save:hover { transform: scale(1.06); }
.save .i { width: 18px; height: 18px; transition: fill .2s, color .2s; }
.save[aria-pressed="true"] .i { fill: var(--accent); color: var(--accent); }

/* featured grid (home): one large, two stacked */
.feat-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: var(--s-7) var(--s-7); }
.card-xl { grid-row: span 2; }
.card-xl .card-media { aspect-ratio: auto; height: calc(100% - 150px); min-height: 420px; }
.card-xl .card-price { font-size: 34px; }
.card-xl .card-title { font-size: 19px; }
.feat-grid .card:not(.card-xl) .card-media { aspect-ratio: 16 / 10; }

/* ---------- areas ---------- */
.areas { border-top: 1px solid var(--line); }
.areas-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: start; }
.areas-intro { position: sticky; top: 112px; }
.areas-intro .lede { margin-top: var(--s-5); }
.area-list { border-top: 1px solid var(--line-2); }
.area-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; grid-template-areas: "name count go" "desc count go"; align-items: center; column-gap: var(--s-5); padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease), background .3s; }
.area-list a:hover { padding-left: 14px; background: linear-gradient(90deg, var(--surface), transparent); }
.a-name { grid-area: name; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.01em; }
.a-desc { grid-area: desc; font-size: var(--t-sm); color: var(--muted); margin-top: 4px; }
.a-count { grid-area: count; font-size: var(--t-xs); font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.a-go { grid-area: go; color: var(--accent); transition: transform .3s var(--ease); }
.area-list a:hover .a-go { transform: translateX(4px); }

/* ---------- viewing steps ---------- */
.viewing { border-top: 1px solid var(--line); }
.view-grid { display: grid; grid-template-columns: 6fr 6fr; gap: var(--s-9); align-items: center; }
.view-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.view-photo figcaption { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--muted); }
.view-copy .h2 { max-width: 14ch; }
.steps { margin-top: var(--s-7); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--serif); font-size: 22px; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.3; }
.steps h3 { font-size: 18px; font-weight: 650; line-height: 1.35; }
.steps p { margin-top: 4px; color: var(--ink-2); font-size: var(--t-sm); max-width: 48ch; }

/* ---------- dark band ---------- */
.band { background: var(--dark); color: var(--on-dark); padding: var(--sec) 0; }
.band .eyebrow { color: var(--on-dark-muted); }
.band-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-9); align-items: center; }
.band-copy .h2 { max-width: 16ch; }
.band-copy > p:not(.eyebrow) { margin-top: var(--s-5); color: var(--on-dark-muted); max-width: 52ch; }
.band-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-7); }
.band-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); }
.ct-list { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.ct-list li { display: flex; gap: 12px; align-items: center; color: var(--on-dark); }
.ct-list .i { color: var(--on-dark-muted); }
.ct-list a { text-decoration: none; border-bottom: 1px solid rgba(241,238,231,.3); }
.ct-list a:hover { border-color: var(--on-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid var(--dark-2); padding: var(--s-9) 0 var(--s-6); font-size: var(--t-sm); }
.foot { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: var(--s-7); }
.foot .brand { color: var(--on-dark); }
.foot .brand em { color: var(--on-dark-muted); }
.foot .mark { color: #8fb9a4; }
.foot-brand p { margin-top: var(--s-4); line-height: 1.6; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 4px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--on-dark); }
.foot-base { display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--dark-2); font-size: var(--t-xs); }

/* ---------- listings page ---------- */
.crumbs { display: flex; gap: 10px; font-size: var(--t-xs); font-weight: 600; color: var(--muted); margin-bottom: var(--s-5); flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.list-head { padding: var(--s-8) 0 var(--s-6); }
.list-head .lede { margin-top: var(--s-4); }
.filters { position: sticky; top: 72px; z-index: 30; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr) minmax(0, .8fr) auto; gap: 0; align-items: stretch; }
.ff { padding: 12px 16px 10px; border-left: 1px solid var(--line); min-width: 0; }
.ff:first-child { border-left: 0; padding-left: 0; }
.ff select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c655f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center; padding: 4px 18px 2px 0; width: 100%; font-size: 15px; font-weight: 600; cursor: pointer; }
.ff select:disabled { color: var(--muted); cursor: not-allowed; opacity: .7; }
.ff-actions { display: flex; align-items: center; gap: var(--s-3); padding-right: 0; }
.price-hint { font-size: var(--t-xs); color: var(--muted); padding-bottom: 10px; margin-top: -4px; }
.price-hint[hidden] { display: none; }
.results { padding: var(--s-6) 0 var(--sec); }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); flex-wrap: wrap; }
.count { font-size: var(--t-sm); color: var(--muted); }
.count strong { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); margin-right: 4px; }
.results-tools { display: flex; align-items: center; gap: var(--s-4); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.lbl-inline { color: var(--muted); font-weight: 600; }
.sort select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c655f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding: 8px 34px 8px 12px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 40px; }
.view-toggle { display: inline-flex; padding: 3px; background: var(--sunk); border-radius: 8px; gap: 2px; }
.vt { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 7px 12px; border-radius: 6px; font-size: 14px; font-weight: 650; color: var(--muted); cursor: pointer; min-height: 34px; }
.vt .i { width: 16px; height: 16px; }
.vt[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-6); }
.card[hidden] { display: none; }
.empty { padding: var(--s-9) 0; text-align: left; max-width: 44ch; }
.empty p { margin: var(--s-3) 0 var(--s-5); color: var(--muted); }

/* map view: list on the left, the drawn map on the right */
.results-body.is-map { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: start; }
.results-body.is-map .grid { grid-template-columns: 1fr; gap: var(--s-3); }
.results-body.is-map .card-link { display: grid; grid-template-columns: 168px 1fr; gap: var(--s-4); padding: 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .25s, box-shadow .25s; }
.results-body.is-map .card-media { aspect-ratio: 4 / 3; box-shadow: none; }
.results-body.is-map .card-link:hover .card-media { transform: none; }
.results-body.is-map .card-body { padding-top: 2px; }
.results-body.is-map .card-title { font-size: 15px; }
.results-body.is-map .card-price { font-size: 21px; }
.results-body.is-map .facts { margin-top: 8px; padding-top: 8px; gap: 4px 14px; font-size: 13.5px; }
.results-body.is-map .save { top: 16px; right: auto; left: 140px; width: 32px; height: 32px; }
.results-body.is-map .save .i { width: 15px; height: 15px; }
.card.is-active .card-link { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-2); }
.map { position: sticky; top: 168px; }
.map[hidden] { display: none; }
.map-frame { position: relative; aspect-ratio: 1000 / 700; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); background: var(--map-land); }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-art .land { fill: var(--map-land); }
.map-art .blk { fill: var(--map-block); }
.map-art .water { fill: var(--map-water); }
.map-art .roads path { fill: none; stroke: var(--map-road); stroke-width: 7; stroke-linecap: round; }
.map-art text { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .14em; fill: #6e746d; }
.map-art text.sm { font-size: 12px; }
.map-art text.water { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: .02em; font-size: 20px; fill: #6d8580; }
.pins { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%, -100%); border: 0; padding: 0; background: none; cursor: pointer; }
.pin span { display: block; position: relative; padding: 5px 9px; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 750; box-shadow: var(--shadow-2); border: 1px solid var(--line); transition: background .2s, color .2s, transform .25s var(--ease); }
.pin span::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: inherit; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateX(-50%) rotate(45deg); }
.pin:hover span { transform: translateY(-2px); }
.pin.is-active { z-index: 2; }
.pin.is-active span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-2px) scale(1.06); }
.pin.is-active span::after { border-color: var(--accent); }
.pin[hidden] { display: none; }
.map-note { position: absolute; left: 12px; bottom: 10px; font-size: 12px; font-weight: 600; color: #6e746d; background: rgba(251,250,247,.8); padding: 3px 8px; border-radius: 4px; }

/* ---------- listing page ---------- */
.lst-head { padding: var(--s-7) 0 var(--s-6); }
.lst-title { display: flex; align-items: end; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; }
.lst-title .h1 { margin-top: var(--s-3); max-width: 18ch; }
.addr { display: flex; align-items: center; gap: 8px; margin-top: var(--s-4); color: var(--ink-2); font-weight: 550; }
.addr .i { color: var(--muted); }
.lst-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-3); }
.price-xl { font-family: var(--serif); font-size: clamp(32px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.015em; font-weight: 360; }
.save-inline { position: static; width: auto; height: 40px; border-radius: var(--r); padding: 0 14px; gap: 8px; display: inline-flex; align-items: center; font-weight: 650; font-size: 14px; border: 1px solid var(--line-2); box-shadow: none; background: var(--surface); }
.save-inline:hover { transform: none; border-color: var(--ink); }
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: clamp(320px, 42vw, 580px); border-radius: var(--r-lg); overflow: hidden; }
.g-tile { padding: 0; border: 0; background: var(--sunk); cursor: zoom-in; overflow: hidden; position: relative; }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s; }
.g-tile:hover img { transform: scale(1.03); }
.g-tile::after { content: ""; position: absolute; inset: 0; background: rgba(20,27,23,0); transition: background .3s; }
.g-tile:hover::after { background: rgba(20,27,23,.06); }
.g-tile:focus-visible { outline-offset: -4px; outline-color: var(--surface); }
.g-0 { grid-row: span 2; }
.g-all { position: absolute; right: 16px; bottom: 16px; }
.lst-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-9); padding-top: var(--s-7); }
.kf-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.kf-grid > div { padding: var(--s-4) var(--s-4) var(--s-5); border-left: 1px solid var(--line); }
.kf-grid > div:first-child { border-left: 0; padding-left: 0; }
.kf-grid dt { display: flex; align-items: center; gap: 7px; font-size: var(--t-xs); font-weight: 650; color: var(--muted); }
.kf-grid dt .i { width: 16px; height: 16px; }
.kf-grid dd { margin-top: 8px; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -0.01em; }
.kf-grid dd { white-space: nowrap; }
.kf-grid dd small { font-family: var(--sans); font-size: 13px; margin-left: 2px; }
.lst-sec { padding: var(--s-7) 0; border-bottom: 1px solid var(--line); }
.lst-sec:last-child { border-bottom: 0; }
.lst-sec .h3 { margin-bottom: var(--s-5); }
.prose p { color: var(--ink-2); max-width: 64ch; }
.prose p + p { margin-top: var(--s-4); }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-6); }
.feat-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); font-weight: 550; color: var(--ink-2); }
.feat-list .i { color: var(--accent); width: 19px; height: 19px; }
.costs { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.costs th, .costs td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 550; color: var(--ink-2); }
.costs td { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; padding-left: var(--s-4); }
.costs + .fine { margin-top: var(--s-4); max-width: 64ch; }
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; }
.loc-map { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--map-land); }
.loc-pin { position: absolute; left: 46%; top: 54%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(30,90,68,.16), var(--shadow-2); }
.loc-pin .i { width: 20px; height: 20px; }
.loc-label { position: absolute; left: 46%; top: calc(54% + 40px); transform: translateX(-50%); font-size: 11.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: #5f665f; white-space: nowrap; }
.loc-label.l2 { left: 58%; top: 16%; font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: .02em; font-weight: 400; font-size: 15px; color: #5f7671; }
.loc-copy > p:first-child { color: var(--ink-2); }
.near { margin-top: var(--s-4); }
.near li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-sm); }
.near li span:last-child { font-weight: 700; white-space: nowrap; }
.loc-copy .fine { margin-top: var(--s-3); }
.lst-side { position: relative; }
.side-stick { position: sticky; top: 96px; display: grid; gap: var(--s-4); }
.agent { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.agent-photo img { width: 88px; height: 104px; object-fit: cover; border-radius: var(--r); }
.agent-role { font-size: var(--t-xs); font-weight: 650; color: var(--muted); }
.agent-name { font-family: var(--serif); font-size: 24px; line-height: 1.15; margin-top: 2px; }
.agent-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-3); }
.agent-links .btn { min-height: 36px; padding: 0 12px; font-size: 13.5px; gap: 7px; }
.agent-links .i { width: 15px; height: 15px; }
.enquiry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-2); }
.enq-fields { display: grid; gap: var(--s-4); }
.seg-sm { display: flex; width: 100%; }
.seg-sm label { flex: 1; }
.seg-sm span { text-align: center; padding: 8px 10px; font-size: 13.5px; }
.when { display: grid; gap: 8px; }
.when[hidden] { display: none; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.day { position: relative; cursor: pointer; }
.day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day span { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 12px; font-weight: 650; color: var(--muted); transition: border-color .2s, background .2s, color .2s; line-height: 1.25; }
.day b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.day input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.day input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.day:hover span { border-color: var(--ink-2); }
.day-fallback { grid-column: 1 / -1; }
.day-fallback input { width: 100%; }
.tf { display: grid; gap: 6px; }
.tf input, .tf textarea, .day-fallback input { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; padding: 11px 12px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.tf textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.tf input::placeholder, .tf textarea::placeholder { color: #8b918b; }
.tf input:hover, .tf textarea:hover { border-color: var(--muted); }
.tf input:focus, .tf textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,90,68,.16); }
.err { display: none; font-size: 13px; font-weight: 600; color: var(--error); }
.tf.invalid input { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163,58,43,.12); }
.tf.invalid .err { display: block; }
.enq-done { text-align: left; padding: var(--s-4) 0; }
.enq-done[hidden] { display: none; }
.enq-done:focus { outline: none; }
.done-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: var(--s-4); }
.done-mark .i { width: 22px; height: 22px; }
.enq-done p { color: var(--ink-2); margin: 8px 0 var(--s-4); }
.similar { border-top: 1px solid var(--line); margin-top: var(--s-8); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.m-bar { display: none; }

/* lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0f1411; color: var(--on-dark); overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(15,20,17,.9); }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.lb-count { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--on-dark-muted); }
.lb-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 210px); object-fit: contain; border-radius: 4px; }
.lb-stage figcaption { margin-top: 12px; font-size: 13.5px; color: var(--on-dark-muted); max-width: 72ch; text-align: center; }
.lb-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(241,238,231,.25); background: rgba(255,255,255,.04); color: var(--on-dark); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.lb-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(241,238,231,.6); }
.lb-btn .i { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-thumbs { display: flex; justify-content: center; gap: 8px; padding: 14px 18px 18px; overflow-x: auto; }
.lb-thumb { padding: 0; border: 2px solid transparent; border-radius: 5px; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; flex: none; }
.lb-thumb img { width: 72px; height: 48px; object-fit: cover; border-radius: 3px; }
.lb-thumb:hover { opacity: .9; }
.lb-thumb[aria-current="true"] { opacity: 1; border-color: var(--on-dark); }

/* ---------- about ---------- */
.ab-hero { padding: var(--s-8) 0 0; }
.ab-hero-grid { display: grid; grid-template-columns: 6fr 6fr; gap: var(--s-8); align-items: end; }
.ab-title { font-size: clamp(42px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.026em; }
.ab-hero-copy .lede { margin-top: var(--s-5); }
.ab-hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
.ab-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--s-8); border-top: 1px solid var(--ink); }
.ab-facts > div { padding: var(--s-5) var(--s-5) 0 0; }
.ab-facts > div + div { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.ab-facts dt { font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ab-facts dd { margin-top: 8px; font-size: var(--t-sm); font-weight: 550; color: var(--ink); line-height: 1.5; }
.svc-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); }
.svc-grid .h2 { max-width: 12ch; }
.svc { border-top: 1px solid var(--line-2); }
.svc li { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6px var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.svc h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; grid-row: span 2; }
.svc p { color: var(--ink-2); font-size: var(--t-sm); }
.svc-fee { color: var(--accent) !important; font-weight: 650; }
.agents-sec { border-top: 1px solid var(--line); }
.ag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.ag-photo { overflow: hidden; border-radius: var(--r); background: var(--sunk); }
.ag-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.ag:hover .ag-photo img { transform: scale(1.025); }
.ag-body { padding-top: var(--s-4); }
.ag-name { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-top: 4px; letter-spacing: -0.01em; }
.facts-text { font-weight: 550; }
.ag-note { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--t-sm); }
.ag-links { display: flex; flex-direction: column; gap: 6px; margin-top: var(--s-4); font-size: var(--t-sm); font-weight: 600; }
.ag-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--accent); width: fit-content; }
.ag-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ag-links .i { width: 16px; height: 16px; }

/* ---------- motion start states (only while JS runs) ---------- */
.js [data-reveal], .js [data-stagger] > *, .js [data-hero-fade], .js [data-hero-search] { opacity: 0; }
.js .w > span { transform: translateY(105%); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-stagger] > *, .js [data-hero-fade], .js [data-hero-search] { opacity: 1 !important; transform: none !important; }
  .js .w > span { transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .search-row { grid-template-columns: 1fr 1fr; }
  .field { border-top: 1px solid var(--line); }
  .field:nth-child(1), .field:nth-child(2) { border-top: 0; }
  .field:nth-child(odd) { border-left: 0; }
  .field:first-child { border-radius: 8px 0 0 0; }
  .search-go { grid-column: 1 / -1; min-height: 48px; }
  .filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ff:nth-child(4) { border-left: 0; padding-left: 0; }
  .ff:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lst-body { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: var(--s-7); }
  .kf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kf-grid > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .kf-grid > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .feat-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .card-xl { grid-row: auto; }
  .card-xl .card-media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .areas-grid, .view-grid, .band-grid, .svc-grid, .ab-hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .areas-intro { position: static; }
  .view-photo img { aspect-ratio: 4 / 3; }
  .band-photo img { aspect-ratio: 16 / 10; }
  .lst-body { grid-template-columns: 1fr; }
  .side-stick { position: static; }
  .results-body.is-map { grid-template-columns: 1fr; }
  .results-body.is-map .map { order: -1; position: relative; top: 0; }
  .ag-grid { grid-template-columns: 1fr 1fr; }
  .ab-facts { grid-template-columns: 1fr 1fr; }
  .ab-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .m-bar div { display: flex; flex-direction: column; line-height: 1.2; }
  .m-bar strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
  .m-bar span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
  .page-listing .site-footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  :root { --t-body: 16px; }
  .bar { height: 64px; }
  .site-header.over { position: absolute; }
  .hero { min-height: 0; padding-top: 64px; display: block; }
  .hero-media { position: relative; inset: auto; height: 300px; margin: 0 var(--gutter); border-radius: var(--r); order: 2; }
  .hero-media::after { display: none; }
  .hero-inner { padding-top: var(--s-6); padding-bottom: var(--s-5); }
  .hero-title { max-width: 11ch; }
  .hero-search { margin: var(--s-4) auto 0; }
  .search { padding: var(--s-3); box-shadow: var(--shadow-2); }
  .seg { display: flex; }
  .seg label { flex: 1; }
  .seg span { text-align: center; padding: 8px 6px; }
  .search-row { grid-template-columns: 1fr; }
  .field { border-left: 0 !important; border-top: 1px solid var(--line); }
  .field:nth-child(2) { border-top: 1px solid var(--line); }
  .field:first-child { border-top: 0; border-radius: 8px 8px 0 0; }
  .featured { padding-top: var(--sec); }
  .grid, .grid-3 { grid-template-columns: 1fr; gap: var(--s-7); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .ff { padding: 10px 12px 8px; }
  .ff:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ff:nth-child(4) { border-left: 1px solid var(--line); padding-left: 12px; }
  .ff:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ff-price { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0 !important; }
  .ff:nth-child(5) { border-left: 0; padding-left: 0; }
  .ff-actions { border-left: 1px solid var(--line); padding-left: 12px; }
  .filters { position: relative; top: 0; }
  .results-tools { width: 100%; justify-content: space-between; }
  .results-body.is-map .card-link { grid-template-columns: 112px 1fr; gap: var(--s-3); }
  .results-body.is-map .save { left: 84px; top: 14px; width: 30px; height: 30px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1.6fr 1fr; height: 380px; }
  .g-0 { grid-row: auto; grid-column: 1 / -1; }
  .g-3, .g-4 { display: none; }
  .g-all { right: 10px; bottom: 10px; }
  .lst-price { align-items: flex-start; text-align: left; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .kf-grid { grid-template-columns: 1fr 1fr; }
  .kf-grid > div { padding: var(--s-4) var(--s-3) var(--s-4) var(--s-4); }
  .kf-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kf-grid > div:nth-child(4) { border-left: 1px solid var(--line); padding-left: var(--s-4); }
  .kf-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .kf-grid > div:last-child { grid-column: 1 / -1; }
  .feat-list { grid-template-columns: 1fr; }
  .loc { grid-template-columns: 1fr; }
  .loc-map { aspect-ratio: 4 / 3; }
  .ag-grid { grid-template-columns: 1fr; }
  .ab-facts { grid-template-columns: 1fr; }
  .ab-facts > div, .ab-facts > div + div { padding: var(--s-4) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .svc li { grid-template-columns: 1fr; }
  .svc h3 { grid-row: auto; }
  .area-list a { grid-template-columns: minmax(0, 1fr) 20px; grid-template-areas: "name go" "desc go" "count go"; }
  .a-count { margin-top: 6px; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 86px; transform: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  .days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.enq-fields[hidden] { display: none; }
.lb-thumbs { justify-content: safe center; }
@media (max-width: 640px) {
  .filter-bar .ff-price { order: 1; }
  .filter-bar .ff-actions { order: 2; grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .filter-bar .ff:nth-child(5) { border-left: 1px solid var(--line); padding-left: 12px; border-top: 1px solid var(--line); }
  .filter-bar .ff:nth-child(3) { border-top: 1px solid var(--line); }
}
