/* Layout: full-bleed bands (moss, limestone, ivory) carry a 1240px content column;
   listings sit in a 3-up grid, detail pages in a 2/3 + 1/3 split with a sticky enquiry card. */
:root {
  --moss: #4E5F53;
  --moss-hover: #49574E;
  --jungle: #2E3A32;
  --jungle-2: #36443A;
  --sage: #8E9C87;
  --sage-soft: #D7DECF;
  --mist: #EEF1E9;
  --ivory: #F8F5EF;
  --paper: #FCFAF6;
  --limestone: #E9E2D8;
  --brass: #A9865B;
  --brass-ink: #85663F;
  --brass-light: #D2B78F;
  --charcoal: #2B2B29;
  --ink-2: #555A52;
  --ink-3: #7A7E74;
  --line: #DDD5C8;
  --line-soft: #E8E1D6;
  --on-dark: #F4F0E7;
  --on-dark-2: #C6CDBF;
  --danger: #9E4A2F;
  --ok: #4C7356;
  --sea: #BFCDC6;

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Hoefler Text", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --section-y: clamp(72px, 9vw, 128px);
  --r-btn: 12px;
  --r-bar: 20px;
  --shadow-1: 0 1px 2px rgba(43, 43, 41, .05), 0 10px 30px rgba(43, 43, 41, .06);
  --shadow-2: 0 2px 6px rgba(43, 43, 41, .07), 0 22px 54px rgba(43, 43, 41, .13);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; } /* photos carry width/height attributes (no layout jump); this keeps their shape */
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--sage-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--font-display); text-wrap: balance; font-variant-numeric: lining-nums; }
.display { font-weight: 500; font-size: clamp(2.7rem, 1.5rem + 3.9vw, 5rem); line-height: 1.02; letter-spacing: -.012em; }
.h1 { font-weight: 500; font-size: clamp(2.3rem, 1.5rem + 2.5vw, 3.6rem); line-height: 1.07; letter-spacing: -.008em; }
.h2 { font-weight: 500; font-size: clamp(2.05rem, 1.45rem + 1.9vw, 3.15rem); line-height: 1.1; letter-spacing: -.005em; }
.h3 { font-weight: 500; font-size: clamp(1.55rem, 1.3rem + .75vw, 1.95rem); line-height: 1.2; }
.h4 { font-weight: 600; font-size: 1.42rem; line-height: 1.25; }
.display em, .h1 em, .h2 em { font-style: italic; font-weight: 400; }
.eyebrow { font-weight: 600; font-size: 12px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .eyebrow--light { color: var(--brass-light); }
.lead { font-size: 1.125rem; line-height: 1.75; color: var(--ink-2); max-width: 62ch; }
.on-dark .lead { color: var(--on-dark-2); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.label { font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.prose { max-width: 68ch; color: var(--charcoal); }
.prose p + p { margin-top: 1.05em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--r-btn);
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap; background: transparent;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--moss); color: var(--ivory); }
.btn-primary:hover { background: var(--moss-hover); box-shadow: 0 8px 22px rgba(46, 58, 50, .22); transform: translateY(-1px); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: #987752; transform: translateY(-1px); }
.btn-outline { border-color: rgba(43, 43, 41, .55); color: var(--charcoal); }
.btn-outline:hover { border-color: var(--charcoal); background: rgba(43, 43, 41, .04); }
.btn-light { background: var(--ivory); color: var(--jungle); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost-light { border-color: rgba(244, 240, 231, .62); color: var(--on-dark); }
.btn-ghost-light:hover { background: rgba(244, 240, 231, .1); border-color: var(--on-dark); }
.btn-quiet { color: var(--ink-2); padding: 0 14px; }
.btn-quiet:hover { color: var(--charcoal); background: rgba(43, 43, 41, .05); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #874027; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 11.5px; }
.btn-xs { min-height: 32px; padding: 0 12px; font-size: 11px; letter-spacing: .1em; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid currentColor;
  font-weight: 600; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.text-link { color: var(--moss); text-decoration: underline; text-decoration-color: rgba(78, 95, 83, .35); text-underline-offset: 3px; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(248, 245, 239, .95); border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  transition: background-color .35s, border-color .35s, color .35s;
}
.header-inner { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; margin-right: auto; color: var(--jungle); }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 31px; letter-spacing: .22em; margin-right: -.22em; }
.brand-sub { font-weight: 500; font-size: 9.6px; letter-spacing: .36em; margin-right: -.36em; margin-top: 7px; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 28px); }
.nav a { position: relative; padding: 10px 0; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { min-height: 44px; padding: 0 20px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; position: relative; margin-right: -10px; }
.menu-toggle span:not(.visually-hidden) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 27px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

body[data-route="home"] .site-header.is-top,
body[data-route="list-your-property"] .site-header.is-top { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--on-dark); }
body[data-route="home"] .site-header.is-top .brand,
body[data-route="list-your-property"] .site-header.is-top .brand { color: var(--on-dark); }
body[data-route="home"] .site-header.is-top .brand-sub,
body[data-route="list-your-property"] .site-header.is-top .brand-sub { color: var(--on-dark-2); }
body[data-route="home"] .site-header.is-top .header-cta,
body[data-route="list-your-property"] .site-header.is-top .header-cta { background: transparent; border-color: rgba(244, 240, 231, .62); color: var(--on-dark); box-shadow: none; }
body.menu-open .site-header { background: var(--jungle) !important; color: var(--on-dark) !important; border-color: transparent !important; }
/* Fitted to the language by fitHeader(): tighter spacing, then no header button, then the menu button. */
.site-header.hdr-tight .header-inner { gap: 16px; }
.site-header.hdr-tight .nav { gap: 16px; }
.site-header.hdr-tight .nav a { letter-spacing: .07em; }
.site-header.hdr-tight .header-cta { padding: 0 16px; letter-spacing: .08em; }
.site-header.hdr-nocta .header-cta { display: none; }
.site-header.hdr-menu .nav { display: none; }
.site-header.hdr-menu .menu-toggle { display: block; }
body.menu-open .site-header .brand { color: var(--on-dark) !important; }
body.menu-open .site-header .brand-sub { color: var(--on-dark-2) !important; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 55; background: var(--jungle); color: var(--on-dark);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  background-image: var(--topo-light); background-size: cover; background-position: center;
}
.mobile-nav a.m-link { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.3; text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(244, 240, 231, .12); }
.mobile-nav .btn { margin-top: 26px; }
.mobile-nav .m-contact { margin-top: auto; padding-top: 28px; color: var(--on-dark-2); font-size: 14px; display: grid; gap: 6px; }

main { display: block; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); min-height: 70vh; }
body[data-route="home"] main, body[data-route="list-your-property"] main { padding-top: 0; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--limestone { background: var(--limestone); }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }
.section--moss { background: var(--moss); color: var(--on-dark); }
.section--jungle { background: var(--jungle); color: var(--on-dark); }
.topo { background-image: var(--topo-light); background-size: cover; background-position: center; }
.section-head { display: grid; gap: 4px; margin-bottom: clamp(36px, 4.5vw, 56px); max-width: 760px; }
.section-head .lead { margin-top: 14px; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 40px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-foot { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 5; isolation: isolate; color: var(--on-dark); background: var(--jungle); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(30, 39, 33, .6) 0%, rgba(30, 39, 33, .1) 28%, rgba(30, 39, 33, .08) 55%, rgba(30, 39, 33, .62) 100%),
  linear-gradient(90deg, rgba(30, 39, 33, .7) 0%, rgba(30, 39, 33, .45) 38%, rgba(30, 39, 33, 0) 70%); }
.hero-inner { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(80px, 13vw, 170px)); padding-bottom: clamp(40px, 5vw, 64px); }
.hero-copy { max-width: 780px; }
.hero-sub { margin-top: 24px; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.7; color: rgba(244, 240, 231, .9); max-width: 60ch; }
/* The search card sits inside the hero picture, with the picture continuing below it. */
.hero-search { position: relative; z-index: 3; margin-bottom: 0; padding-bottom: clamp(44px, 5.5vw, 72px); }
.after-hero { padding-top: var(--section-y); }

.search-bar {
  display: grid; grid-template-columns: 1.2fr 1.15fr 1.1fr .85fr auto; align-items: stretch;
  background: var(--paper); color: var(--charcoal); border-radius: var(--r-bar); box-shadow: var(--shadow-2); padding: 10px;
}
.sb-field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 10px 22px; border-right: 1px solid var(--line-soft); min-width: 0; }
.sb-field > label { font-weight: 600; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); }
.sb-field select { appearance: none; -webkit-appearance: none; width: 100%; border: 0; background: transparent; padding: 4px 26px 4px 0; font-size: 15.5px; color: var(--charcoal); cursor: pointer; text-overflow: ellipsis; }
.sb-field::after { content: ""; position: absolute; right: 22px; top: 50%; margin-top: 4px; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg) translateY(-50%); pointer-events: none; }
.sb-field[data-off="true"] { opacity: .45; }
.sb-submit { min-height: 62px; margin-left: 8px; padding: 0 38px; }

/* ---------- Cards ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.listing-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--limestone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card--closed .card-media img { filter: grayscale(.5); }
.chips { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 5px; border-radius: 2px; font-weight: 600; font-size: 10.5px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; background: rgba(252, 250, 246, .95); color: var(--jungle); }
.chip--status { background: var(--brass); color: #fff; }
.chip--closed { background: var(--charcoal); color: var(--ivory); }
.chip--new { background: var(--moss); color: var(--ivory); }
.chip--example { background: rgba(46, 58, 50, .84); color: var(--on-dark); }
.chip--draft { background: #6d6a62; color: #fff; }
.chip-right { margin-left: auto; }
.card-photo-note { position: absolute; left: 14px; bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(46, 58, 50, .75); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 20px; flex: 1; }
.card-area { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.card-area svg { width: 14px; height: 14px; }
.card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.48rem; line-height: 1.2; text-wrap: balance; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-2); }
.spec { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.spec svg { width: 18px; height: 18px; color: var(--sage); }
.zone-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08) inset; }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; line-height: 1.2; color: var(--jungle); font-variant-numeric: lining-nums; }
.price small { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--ink-2); margin-left: 3px; letter-spacing: 0; }
.ref { font-size: 12px; letter-spacing: .08em; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }

.skeleton { pointer-events: none; }
.skeleton .card-media, .sk-line { background: linear-gradient(100deg, var(--limestone) 30%, #F1ECE3 50%, var(--limestone) 70%); background-size: 300% 100%; animation: sk 1.6s linear infinite; }
.sk-line { height: 12px; border-radius: 2px; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: 0 0; } }

.empty { padding: clamp(36px, 5vw, 56px); border: 1px dashed var(--line); border-radius: 3px; text-align: center; display: grid; gap: 12px; justify-items: center; background: rgba(252, 250, 246, .6); }
.empty .h4 { font-weight: 500; }
.empty p { color: var(--ink-2); max-width: 52ch; }
.empty--dark { border-color: rgba(244, 240, 231, .25); background: rgba(255, 255, 255, .04); }
.empty--dark p { color: var(--on-dark-2); }

/* ---------- Tabs & segmented ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: none; padding: 10px 0 12px; margin-bottom: -1px; border-bottom: 1.5px solid transparent; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tab:hover { color: var(--charcoal); }
.tab[aria-selected="true"] { color: var(--charcoal); border-bottom-color: var(--brass); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line); border-radius: 2px; padding: 3px; background: var(--paper); }
.seg button { border: 0; background: none; padding: 9px 8px; border-radius: 1px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--moss); color: var(--ivory); }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.value { display: grid; align-content: start; gap: 14px; padding-top: 26px; border-top: 1px solid rgba(43, 43, 41, .18); }
.value-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--moss); color: var(--ivory); }
.value-icon svg { width: 26px; height: 26px; }
.value h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; line-height: 1.2; }
.value p { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.statement { max-width: 940px; margin-bottom: clamp(44px, 5vw, 64px); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.service { display: flex; flex-direction: column; min-width: 0; background: rgba(46, 58, 50, .38); border: 1px solid rgba(244, 240, 231, .14); border-radius: 3px; overflow: hidden; }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-count { position: absolute; left: 16px; bottom: 16px; }
.service-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; flex: 1; }
.service-body h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; line-height: 1.15; }
.service-body p { color: var(--on-dark-2); font-size: 15px; line-height: 1.7; }
.service-links { margin-top: auto; padding-top: 10px; display: grid; gap: 14px; justify-items: start; }
.service-links .link-arrow { color: var(--brass-light); }

/* ---------- Area map ---------- */
.areas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.area-chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; display: inline-flex; gap: 8px; align-items: center; transition: background-color .2s, border-color .2s, color .2s; }
.area-chip b { font-weight: 600; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.area-chip:hover { border-color: var(--moss); }
.area-chip[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--ivory); }
.area-chip[aria-pressed="true"] b { color: var(--on-dark-2); }
.area-panel { margin-top: 22px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; display: grid; gap: 10px; }
.area-panel h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.area-panel ul { display: grid; gap: 6px; }
.area-panel li { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }

.map { position: relative; width: 100%; border-radius: 3px; overflow: hidden; background: var(--sea); border: 1px solid var(--line-soft); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .m-land { fill: #F1EBE0; stroke: #D9CEBD; stroke-width: 1; }
.map .m-coast { fill: none; stroke: #A9B8B0; stroke-width: 2.5; }
.map .m-circle { fill: rgba(169, 134, 91, .22); stroke: var(--brass); stroke-width: 1.6; stroke-dasharray: 5 4; }
.map .m-area-hl { fill: rgba(78, 95, 83, .14); stroke: var(--moss); stroke-width: 1.4; }
.map .m-pin { fill: var(--danger); stroke: #fff; stroke-width: 2; }
/* Roads (OpenStreetMap data): white lines over the land, the bigger ones with a thin warm edge. Widths stay
   the same on screen at any zoom (non-scaling strokes); the browse map adds detail as you zoom in (data-z). */
:is(.m-road1, .m-road2, .m-road3, .m-road4, .m-road1c, .m-road2c, .m-road3c) { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-road1c { stroke: #B5A385; stroke-width: 5.6; }
.m-road2c { stroke: #BFAF94; stroke-width: 4.6; }
.m-road3c { stroke: #C7B89E; stroke-width: 3.4; }
.m-road1 { stroke: #FFFFFF; stroke-width: 3.6; }
.m-road2 { stroke: #FFFFFF; stroke-width: 2.8; }
.m-road3 { stroke: #FFFFFF; stroke-width: 2; }
.m-road4 { stroke: #FFFFFF; stroke-width: 1.2; }
.bmap-canvas svg[data-z="1"] :is(.m-road2, .m-road2c, .m-road3, .m-road3c, .m-road4),
.bmap-canvas svg[data-z="2"] :is(.m-road3, .m-road3c, .m-road4),
.bmap-canvas svg[data-z="3"] .m-road4 { display: none; }
.bmap-canvas svg[data-z="1"] .m-road1c { stroke-width: 3.8; }
.bmap-canvas svg[data-z="1"] .m-road1 { stroke-width: 2.2; }
.bmap-canvas svg[data-z="2"] .m-road1c { stroke-width: 4.4; }
.bmap-canvas svg[data-z="2"] .m-road1 { stroke-width: 2.6; }
.bmap-canvas svg[data-z="2"] .m-road2c { stroke-width: 3.4; }
.bmap-canvas svg[data-z="2"] .m-road2 { stroke-width: 1.8; }
.map-credit { position: absolute; right: 8px; bottom: 6px; z-index: 2; padding: 1px 5px; border-radius: 2px; background: rgba(252, 250, 246, .78); font-size: 10px; line-height: 1.5; color: rgba(43, 43, 41, .72); text-decoration: none; }
.map-credit:hover { color: var(--ink); text-decoration: underline; }
.map-labels { position: absolute; inset: 0; pointer-events: none; }
.map-label { position: absolute; transform: translate(-6px, -50%); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-weight: 600; font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: rgba(43, 43, 41, .72); pointer-events: auto; background: none; border: 0; padding: 2px 0; }
.map-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 2px rgba(241, 235, 224, .9); flex: none; }
.map-label[data-side="l"] { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
.map-label.is-on { color: var(--jungle); }
.map-label.is-on::before { background: var(--brass); box-shadow: 0 0 0 3px rgba(169, 134, 91, .3); }
button.map-label { cursor: pointer; }
button.map-label:hover { color: var(--jungle); }
.map-label--minor { opacity: .7; }
/* Labels are measured as they change sides (declutterLabels), so they never animate their position, not even the
   tiny transitions the reduced-motion setting leaves. */
.map-label { transition: none !important; line-height: 1.2; }
/* A name that doesn't fit next to its neighbours on a small map: only the dot stays (declutterLabels). */
.map-label.map-label--dot { font-size: 0; gap: 0; letter-spacing: 0; }
.map-label--edge { transform: translate(-50%, 0); font-size: 10px; }
.map-label--edge::before { display: none; }
.map-sea-label { position: absolute; font-family: var(--font-display); font-style: italic; font-size: 15px; color: rgba(46, 58, 50, .45); letter-spacing: .04em; white-space: nowrap; pointer-events: none; }
.map-scale { position: absolute; left: 14px; bottom: 12px; display: grid; gap: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: rgba(43, 43, 41, .7); pointer-events: none; }
.map-scale i { display: block; height: 5px; border: 1.5px solid rgba(43, 43, 41, .6); border-top: 0; }
.map-north { position: absolute; right: 14px; top: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(252, 250, 246, .85); font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--jungle); pointer-events: none; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.review { display: flex; flex-direction: column; gap: 16px; padding: 30px 30px 26px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; min-width: 0; }
.stars { display: flex; gap: 3px; color: var(--brass); }
.stars svg { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.28rem; line-height: 1.5; color: var(--charcoal); }
.review blockquote.is-long { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review .more { align-self: start; }
.review-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.review-name { font-weight: 600; font-size: 14.5px; }
.review-date { font-size: 13px; color: var(--ink-3); }
.review-src { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.review-src svg { width: 14px; height: 14px; }
.reviews-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.story-media::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--brass); border-radius: 2px; z-index: -1; }
.story-body { display: grid; gap: 22px; }
.pull { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); line-height: 1.35; color: var(--jungle); font-style: italic; }
.story-body p:not(.pull):not(.eyebrow) { color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-intro { display: grid; gap: 18px; }
.contact-intro .muted { max-width: 58ch; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.contact-card { display: grid; gap: 8px; align-content: start; padding: 22px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; min-width: 0; }
.contact-card .ci { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--moss); }
.contact-card .ci svg { width: 20px; height: 20px; }
.contact-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.contact-card p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.contact-card .cv { font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
.contact-card .ca { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-1); display: grid; gap: 18px; }
.form-card h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field > label, .field > .flabel { font-weight: 600; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.field .opt { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ink-3); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 2px; background: #fff; font-size: 15px; line-height: 1.5; color: var(--charcoal);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(78, 95, 83, .14); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { font-size: 13px; color: var(--danger); }
.field-hint { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.input-unit { position: relative; }
.input-unit input { padding-right: 64px !important; }
.input-unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12.5px; color: var(--ink-3); pointer-events: none; }
.form-note { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--moss); flex: none; }
.check.is-off { opacity: .5; cursor: not-allowed; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.wa-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.wa-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--sage); }
.notice { padding: 14px 16px; border-radius: 2px; background: var(--mist); border: 1px solid var(--sage-soft); font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.notice--warn { background: #F6EEE2; border-color: #E6D3B8; }
.notice strong { color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--jungle); color: var(--on-dark-2); padding-top: clamp(64px, 8vw, 104px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); background-image: var(--topo-light); background-size: cover; background-position: center; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(244, 240, 231, .12); }
.footer-brand .brand { color: var(--on-dark); margin: 0; }
.footer-brand .brand-sub { color: var(--on-dark-2); }
.footer-brand p { margin-top: 22px; max-width: 34ch; font-size: 15px; line-height: 1.7; }
.footer-h { font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 18px; }
.footer-list { display: grid; gap: 10px; font-size: 15px; }
.footer-list a, .footer-list button { text-decoration: none; color: var(--on-dark-2); background: none; border: 0; padding: 0; text-align: left; font-size: 15px; }
.footer-list a:hover, .footer-list button:hover { color: var(--on-dark); }
.footer-list .fl-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(198, 205, 191, .6); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 13px; color: rgba(198, 205, 191, .75); }
.footer-bottom a { color: inherit; }

/* ---------- Page heroes ---------- */
.page-hero { padding-block: clamp(56px, 7vw, 96px) clamp(36px, 4vw, 56px); background: var(--mist); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: var(--topo-dark); background-size: cover; background-position: center; pointer-events: none; opacity: .9; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .lead { margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--charcoal); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------- Browse ---------- */
.browse { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 3.5vw, 52px); align-items: start; }
.filters { display: grid; gap: 22px; padding: 26px 24px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.filters-head h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.fgroup { display: grid; gap: 9px; }
.fgroup + .fgroup { padding-top: 20px; border-top: 1px solid var(--line-soft); }
.fgroup > .flabel { font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .checks { grid-template-columns: 1fr; gap: 9px; }
.filters .check { font-size: 14px; }
.filters-close, .filters-apply { display: none; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 18px; }
.results-count { font-size: 15px; color: var(--ink-2); }
.results-count strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--charcoal); margin-right: 4px; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.results-tools select { min-height: 42px; padding: 8px 36px 8px 14px; border: 1px solid var(--line); border-radius: 2px; background-color: var(--paper); font-size: 14px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.filters-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.af { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--mist); border: 1px solid var(--sage-soft); font-size: 13px; }
.af button { border: 0; background: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); padding: 0; }
.af button:hover { background: rgba(43, 43, 41, .08); color: var(--charcoal); }
.af button svg { width: 12px; height: 12px; }
.filters-backdrop { display: none; }

/* ---------- Property ---------- */
.prop { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(56px, 7vw, 96px); }
.prop-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.banner-example { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; margin-bottom: 18px; border-radius: 2px; background: var(--mist); border: 1px solid var(--sage-soft); font-size: 14px; color: var(--ink-2); }
.banner-example svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--moss); }
.gallery { position: relative; display: grid; gap: 10px; border-radius: 3px; overflow: hidden; }
.gallery--1 { grid-template-columns: 1fr; }
.gallery--1 .g-item { aspect-ratio: 21 / 9; }
.gallery--2 { grid-template-columns: 1.6fr 1fr; }
.gallery--2 .g-item { aspect-ratio: 4 / 3; }
.gallery--many { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 2.35 / 1; }
.gallery--many .g-item:first-child { grid-row: span 2; }
.gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 2.1 / 1; }
.gallery--3 .g-item:first-child { grid-row: span 2; }
.g-item { position: relative; overflow: hidden; border: 0; padding: 0; background: var(--limestone); cursor: zoom-in; min-height: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.g-item:hover img { transform: scale(1.03); filter: brightness(1.03); }
.g-more { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border: 0; border-radius: 999px; background: rgba(252, 250, 246, .95); font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--jungle); box-shadow: var(--shadow-1); }
.g-more svg { width: 16px; height: 16px; }
.g-count { display: none; }
.prop-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(28px, 3.5vw, 44px); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.prop-head .h1 { font-size: clamp(2.1rem, 1.5rem + 2vw, 3.2rem); }
.prop-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-3); }
.prop-price { text-align: right; display: grid; gap: 4px; justify-items: end; }
.prop-price .price { font-size: clamp(1.9rem, 1.6rem + 1vw, 2.5rem); }
.prop-price .price-alt { font-size: 15px; color: var(--ink-2); }
.prop-price .price-sub { font-size: 13.5px; color: var(--ink-3); }
/* Wide screens: each fact takes the width of its words and the gaps between facts are all the same, so a long value
   ("Fully furnished") never sits closer to its neighbour than a short one. Narrow screens keep a two-column grid. */
.facts { display: flex; flex-wrap: wrap; gap: 0 52px; margin: 0; border-bottom: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 22px 0; }
.fact svg { grid-row: span 2; width: 28px; height: 28px; color: var(--moss); }
.fact dt { font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.fact dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; line-height: 1.2; color: var(--charcoal); font-variant-numeric: lining-nums; }
.prop-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.prop-main { display: grid; gap: clamp(44px, 5vw, 64px); min-width: 0; }
.prop-main > section { display: grid; gap: 20px; }
.features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.features-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.features-list svg { width: 18px; height: 18px; color: var(--brass); flex: none; }
.more-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.more-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.more-facts dt { color: var(--ink-2); }
.more-facts dd { margin: 0; font-weight: 600; text-align: right; }
.loc-note { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.loc-note svg { width: 18px; height: 18px; color: var(--brass); flex: none; margin-top: 3px; }
.prop-aside { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px); min-width: 0; }
/* A form taller than the screen scrolls on its own (mouse over it, or touchpad), so its end and the send button can
   always be reached while the listing stays where it is; the page scrolls on once the form reaches its end. */
.prop-aside { max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px) - 48px); overflow-y: auto; overscroll-behavior-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; border-radius: 4px; }
.prop-aside::-webkit-scrollbar { width: 6px; }
.prop-aside::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.enquiry { display: grid; gap: 16px; padding: 28px 26px; background: var(--paper); border: 1px solid var(--line-soft); border-top: 3px solid var(--moss); border-radius: 3px; box-shadow: var(--shadow-1); }
.enquiry h2 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; line-height: 1.2; }
.enquiry .eyebrow { margin-bottom: 0; }
.agent { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--ink-2); }
.agent-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--moss); color: var(--ivory); font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; flex: none; overflow: hidden; }
.agent-mark img { width: 100%; height: 100%; object-fit: cover; }
.agent strong { display: block; color: var(--charcoal); font-size: 14.5px; }
.mobile-enquire { display: none; }
.closed-banner { padding: 16px 18px; background: var(--limestone); border-radius: 2px; font-size: 14.5px; }

/* ---------- About ---------- */
/* One centred reading column: the quote sits above the text instead of in a mostly empty left column. */
.about-intro { max-width: calc(780px + 2 * var(--gutter)); display: grid; gap: clamp(36px, 4.5vw, 56px); }
.about-quote { display: grid; justify-items: center; gap: clamp(22px, 2.6vw, 30px); font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(2rem, 1.45rem + 2vw, 3.2rem); line-height: 1.18; color: var(--jungle); text-align: center; text-wrap: balance; }
.about-quote::after { content: ""; width: 64px; height: 1px; background: var(--brass); }
.about-text { display: grid; gap: 1.1em; color: var(--ink-2); font-size: 1.05rem; }
.about-text p:first-child { font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); line-height: 1.45; color: var(--charcoal); }
.about-text p:first-child::first-letter { float: left; font-size: 4.2em; line-height: .82; padding: 6px 12px 0 0; color: var(--moss); font-weight: 500; }
.about-sign { margin-top: 10px; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--jungle); }
.founder { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.founder-media { position: sticky; top: calc(var(--header-h) + 32px); }
.founder-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.portrait-ph { position: relative; aspect-ratio: 4 / 5; border-radius: 2px; overflow: hidden; background: var(--moss); color: var(--on-dark); display: grid; place-items: center; text-align: center; background-image: var(--topo-light); background-size: cover; }
.portrait-ph .mono { font-family: var(--font-display); font-size: clamp(5rem, 4rem + 4vw, 8rem); font-weight: 400; letter-spacing: .06em; line-height: 1; }
.portrait-ph .mono-ring { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(210, 183, 143, .55); }
.portrait-ph small { position: absolute; bottom: 22px; left: 0; right: 0; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.founder-body { display: grid; gap: 1.1em; color: var(--ink-2); }
.founder-body .h2 { color: var(--charcoal); }
.founder-role { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); margin-top: -6px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(64px, 8vw, 104px); text-align: center; }
.cta-band .container { display: grid; gap: 20px; justify-items: center; }
.cta-band p { max-width: 58ch; color: var(--on-dark-2); font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.cta-owner { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .98rem; }
.cta-band .cta-owner { max-width: none; }

/* ---------- Owners page ---------- */
.owner-hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--jungle); }
.owner-hero .hero-inner { padding-bottom: clamp(80px, 10vw, 130px); }
.owner-hero .hero-copy { max-width: 820px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.offer { display: grid; gap: 12px; align-content: start; padding: 28px 24px; border: 1px solid var(--line-soft); background: var(--paper); border-radius: 3px; }
/* Titles and texts line up across a row even when a title wraps to two lines. */
@supports (grid-template-rows: subgrid) {
  .offer-grid { grid-auto-rows: auto; row-gap: clamp(18px, 2.2vw, 28px); }
  .offer { grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; }
}
@supports not (grid-template-rows: subgrid) { .offer h3 { min-height: 2.4em; } }
.offer .value-icon { width: 46px; height: 46px; }
.offer .value-icon svg { width: 22px; height: 22px; }
.offer h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.offer p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.types-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.type-card { position: relative; aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; color: var(--on-dark); display: flex; align-items: flex-end; }
.type-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.type-card:hover img { transform: scale(1.05); }
.type-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 39, 33, 0) 28%, rgba(30, 39, 33, .55) 55%, rgba(30, 39, 33, .9) 100%); }
.type-card div { position: relative; z-index: 1; padding: 24px 22px; display: grid; gap: 6px; }
.type-card h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; line-height: 1.15; }
.type-card p { font-size: 13.5px; color: var(--on-dark-2); line-height: 1.55; }
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid rgba(244, 240, 231, .16); }
.step { display: grid; gap: 10px; align-content: start; padding: 32px 28px 36px 0; border-bottom: 1px solid rgba(244, 240, 231, .16); }
.step:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid rgba(244, 240, 231, .16); }
.step-n { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--brass-light); font-weight: 400; font-variant-numeric: lining-nums; }
.step h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: var(--on-dark); }
.step p { color: var(--on-dark-2); font-size: 15px; line-height: 1.65; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.checklist li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.checklist svg { width: 20px; height: 20px; color: var(--brass); flex: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: #141915; color: var(--on-dark); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px calc(env(safe-area-inset-bottom, 0px) + 10px); }
.lb-top { flex: none; display: flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 4px 10px 8px; font-size: 13px; letter-spacing: .06em; color: var(--on-dark-2); }
.lb-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { flex: none; font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.lb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.lb-img--ph { filter: blur(6px); transform: scale(1.01); }
.lb-img--full { opacity: 0; transition: opacity .25s ease; }
.lb-img--full.is-loaded { opacity: 1; }
.lb-btn { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid rgba(244, 240, 231, .3); background: rgba(20, 25, 21, .55); color: var(--on-dark); display: grid; place-items: center; z-index: 2; }
@media (hover: hover) { .lb-btn:hover { background: rgba(244, 240, 231, .14); } }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-thumbs { flex: none; display: flex; gap: 8px; overflow-x: auto; padding: 12px 8px 2px; scrollbar-width: thin; }
.lb-thumbs::before, .lb-thumbs::after { content: ""; margin: auto; }
.lb-thumbs button { flex: none; width: 76px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 2px; overflow: hidden; opacity: .5; background: #222823; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button[aria-current="true"] { border-color: var(--brass-light); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Dialog & toasts ---------- */
.dialog-wrap { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(23, 29, 25, .5); }
.dialog { width: min(460px, 100%); background: var(--paper); border-radius: 3px; box-shadow: var(--shadow-2); padding: 28px; display: grid; gap: 14px; }
.dialog h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.2; }
.dialog p { color: var(--ink-2); font-size: 15px; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 99; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: min(92vw, 520px); }
.toast { pointer-events: auto; padding: 13px 18px; border-radius: 2px; background: var(--jungle); color: var(--on-dark); font-size: 14.5px; box-shadow: var(--shadow-2); display: flex; gap: 10px; align-items: center; animation: toastIn .35s var(--ease); }
.toast svg { width: 18px; height: 18px; color: var(--brass-light); flex: none; }
.toast--error { background: var(--danger); }
.toast--error svg { color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.team-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 58; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 42px; border-radius: 999px; border: 1px solid rgba(244, 240, 231, .25); background: var(--jungle); color: var(--on-dark); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: var(--shadow-2); }
.team-fab svg { width: 16px; height: 16px; }
.team-fab:hover { background: var(--moss); }

/* ---------- Team area ---------- */
.team-hero { padding-block: clamp(36px, 4vw, 56px) 0; background: var(--jungle); color: var(--on-dark); background-image: var(--topo-light); background-size: cover; }
.team-hero .container { display: grid; gap: 22px; }
.team-hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; }
.team-hero .h1 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.team-hero p { color: var(--on-dark-2); font-size: 15px; }
.team-acct { margin-top: 6px; font-size: 14px; }
.team-acct a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.team-tabs { display: flex; gap: 6px; overflow-x: auto; }
.team-tabs a { padding: 14px 18px 13px; border-radius: 3px 3px 0 0; text-decoration: none; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); white-space: nowrap; }
.team-tabs a:hover { color: var(--on-dark); }
.team-tabs a[aria-current="page"] { background: var(--ivory); color: var(--charcoal); }
.team-body { padding-block: clamp(28px, 3.5vw, 44px) clamp(64px, 8vw, 96px); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-bottom: 20px; }
.toolbar .input, .toolbar select { min-height: 44px; width: auto; }
.toolbar .grow { flex: 1 1 220px; min-width: 0; }
.toolbar select { padding: 8px 36px 8px 12px; border: 1px solid var(--line); border-radius: 2px; background-color: #fff; font-size: 14px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.new-menu { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 22px; font-size: 14px; color: var(--ink-2); }
.stat-row b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--charcoal); margin-right: 6px; font-variant-numeric: lining-nums; }
/* position: relative keeps visually hidden header labels inside the scrolling box (they would widen the page on phones). */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--paper); position: relative; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.tbl--listings { min-width: 980px; }
.tbl th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: 14px 16px; border-bottom: 1px solid var(--line); background: #FAF7F1; white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #FBF8F3; }
.tbl .t-thumb { width: 84px; }
.tbl .t-thumb img { width: 72px; height: 50px; object-fit: cover; border-radius: 2px; }
.tbl .t-title { font-weight: 600; color: var(--charcoal); text-decoration: none; display: block; max-width: 34ch; }
.tbl .t-title:hover { text-decoration: underline; }
.tbl .t-sub { font-size: 12.5px; color: var(--ink-3); }
.tbl .t-actions { white-space: nowrap; text-align: right; }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .t-home, .tbl .t-top { width: 1%; }
.tbl td.t-top .check { align-items: center; gap: 6px; white-space: nowrap; }
.tbl th.t-home { line-height: 1.4; padding-top: 10px; padding-bottom: 10px; }
.t-flags { display: grid; gap: 1px; }
.t-flags .check { font-size: 13px; gap: 7px; align-items: center; padding: 3px 0; white-space: nowrap; color: var(--ink-2); }
.t-flags .check input { width: 16px; height: 16px; margin: 0; }
.ed-home { border: 0; border-top: 1px solid var(--line-soft); margin: 0; padding: 18px 0 0; min-width: 0; display: grid; gap: 12px; }
.ed-home legend { float: left; width: 100%; padding: 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status-pill[data-s="reserved"]::before { background: var(--brass); }
.status-pill[data-s="closed"]::before { background: var(--charcoal); }
.status-pill[data-s="draft"]::before { background: transparent; box-shadow: 0 0 0 1.5px var(--ink-3) inset; }
.icon-btn { width: 36px; height: 36px; border-radius: 2px; border: 1px solid transparent; background: none; display: inline-grid; place-items: center; color: var(--ink-2); text-decoration: none; vertical-align: middle; }
.icon-btn:hover { background: rgba(43, 43, 41, .06); color: var(--charcoal); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn--danger:hover { color: var(--danger); background: rgba(158, 74, 47, .08); }

.editor { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.ed-main { display: grid; gap: 22px; min-width: 0; }
.ed-section { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 18px; }
.ed-section > header { display: grid; gap: 4px; }
.ed-section > header h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; }
.ed-section > header p { font-size: 14px; color: var(--ink-3); }
.ed-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.ed-side .card { pointer-events: none; }
.ed-actions { display: grid; gap: 10px; padding: 20px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; }
.ed-errors { padding: 14px 16px; border-radius: 2px; background: #F7ECE7; border: 1px solid #E4C8BC; color: var(--danger); font-size: 14px; }
.ed-errors ul { list-style: disc; padding-left: 18px; margin-top: 6px; }
.type-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.type-pick button { border: 1px solid var(--line); background: #fff; border-radius: 2px; padding: 14px 12px; text-align: left; display: grid; gap: 2px; }
.type-pick button strong { font-size: 14.5px; }
.type-pick button span { font-size: 12.5px; color: var(--ink-3); }
.type-pick button[aria-pressed="true"] { border-color: var(--moss); box-shadow: 0 0 0 1px var(--moss) inset; background: var(--mist); }
.feature-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.money-hint { font-size: 13px; color: var(--moss); font-weight: 600; min-height: 1.2em; }
.dropzone { display: grid; place-items: center; gap: 8px; text-align: center; padding: 28px 20px; border: 1.5px dashed var(--line); border-radius: 3px; background: #fff; color: var(--ink-2); cursor: pointer; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--moss); background: var(--mist); }
.dropzone svg { width: 28px; height: 28px; color: var(--sage); }
.dropzone strong { color: var(--charcoal); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ph-tile { position: relative; border-radius: 2px; overflow: hidden; background: var(--limestone); aspect-ratio: 3 / 2; border: 1px solid var(--line-soft); }
.ph-tile img { width: 100%; height: 100%; object-fit: cover; }
.ph-tile.is-dragging { opacity: .4; }
.ph-tile.is-target { outline: 2px solid var(--brass); outline-offset: 2px; }
.ph-cover { position: absolute; top: 8px; left: 8px; }
.ph-tools { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; justify-content: space-between; gap: 4px; }
.ph-tools button { width: 30px; height: 30px; border: 0; border-radius: 2px; background: rgba(252, 250, 246, .94); display: grid; place-items: center; color: var(--charcoal); padding: 0; }
.ph-tools button:hover { background: #fff; }
.ph-tools button svg { width: 15px; height: 15px; }
.ph-tools .grp { display: flex; gap: 4px; }
.ph-progress { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(252, 250, 246, .8); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.upload-status { font-size: 13.5px; color: var(--ink-2); }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: end; }
.review-admin { display: grid; gap: 12px; }
.ra-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; }
.ra-item p { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ra-item .ra-name { font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.img-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.img-slot { display: grid; gap: 10px; }
.img-slot .slot-media { position: relative; aspect-ratio: 16 / 10; border-radius: 2px; overflow: hidden; background: var(--limestone); border: 1px solid var(--line-soft); }
.img-slot .slot-media img { width: 100%; height: 100%; object-fit: cover; }
.img-slot .slot-media .chip { position: absolute; top: 8px; left: 8px; }
.img-slot .slot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-title { font-weight: 600; font-size: 14px; }
.slot-sub { font-size: 12.5px; color: var(--ink-3); margin-top: -6px; }
.gate { max-width: 560px; margin-inline: auto; text-align: center; display: grid; gap: 14px; justify-items: center; padding-block: clamp(64px, 9vw, 120px); }
.gate .value-icon { width: 64px; height: 64px; }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .values, .offer-grid, .types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-bar { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .sb-submit { grid-column: 1 / -1; margin: 8px 0 0; }
  .sb-field:nth-child(4) { border-right: 0; }
}
@media (max-width: 1024px) {
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: 1fr; }
  .service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .service-media { aspect-ratio: auto; min-height: 260px; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .areas, .story, .contact-grid, .about-intro, .founder, .two-col { grid-template-columns: 1fr; }
  .about-intro .pull, .founder-media { position: static; }
  .founder-media { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .browse { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 80; width: min(380px, 92vw); max-height: none; overflow-y: auto; overscroll-behavior: contain; border-radius: 0; transform: translateX(-102%); transition: transform .35s var(--ease); padding: calc(env(safe-area-inset-top, 0px) + 20px) 22px calc(env(safe-area-inset-bottom, 0px) + 20px); box-shadow: var(--shadow-2); align-content: start; }
  body.filters-open .filters { transform: none; }
  .filters-backdrop { position: fixed; inset: 0; z-index: 79; background: rgba(23, 29, 25, .45); }
  body.filters-open .filters-backdrop { display: block; }
  .filters-close { display: inline-grid; }
  .filters-apply { display: flex; position: sticky; bottom: 0; margin-top: 6px; }
  .filters-toggle { display: inline-flex; }
  .prop-body { grid-template-columns: 1fr; }
  .prop-aside { position: static; max-height: none; overflow: visible; }
  .editor { grid-template-columns: minmax(0, 1fr); }
  .ed-side { position: static; order: -1; grid-template-columns: 1fr; }
  .ed-side .card { display: none; }
  .settings-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .step:nth-child(2n) { padding-left: 28px; border-left: 1px solid rgba(244, 240, 231, .16); }
}
@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .brand-name { font-size: 26px; }
  .brand-sub { font-size: 8.5px; }
  .section-head--split { grid-template-columns: 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; padding: 8px; }
  .sb-field { padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .sb-field::after { right: 14px; }
  .sb-field:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .sb-submit { min-height: 54px; }
  .hero-search { padding-bottom: 36px; }
  .listing-grid, .listing-grid--2 { grid-template-columns: 1fr; }
  .values, .offer-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr 1fr; }
  .type-card { aspect-ratio: 3 / 4; }
  .service { grid-template-columns: 1fr; }
  .service-media { aspect-ratio: 16 / 10; min-height: 0; }
  .reviews { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery--many, .gallery--3 { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .gallery--many .g-item, .gallery--3 .g-item, .gallery--2 .g-item { display: none; aspect-ratio: 4 / 3; }
  .gallery--2 { grid-template-columns: 1fr; }
  .gallery .g-item:first-child { display: block; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery--1 .g-item { aspect-ratio: 4 / 3; }
  .g-count { display: inline-flex; position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 6px 10px; border-radius: 2px; background: rgba(23, 29, 25, .7); color: var(--on-dark); font-size: 12px; font-weight: 600; letter-spacing: .08em; pointer-events: none; }
  .prop-head { grid-template-columns: 1fr; align-items: start; }
  .prop-price { text-align: left; justify-items: start; }
  .features-list, .more-facts, .checklist, .checks, .feature-picks { grid-template-columns: 1fr; }
  .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .fact { padding-right: 12px; }
  .mobile-enquire { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 57; align-items: center; justify-content: space-between; gap: 14px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(43, 43, 41, .08); }
  .mobile-enquire .price { font-size: 1.25rem; }
  body[data-route="property"] .team-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  body[data-route="property"] .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .process { grid-template-columns: 1fr; }
  .step:nth-child(2n) { padding-left: 0; border-left: 0; }
  .loc-grid { grid-template-columns: 1fr; }
  .type-pick { grid-template-columns: 1fr; }
  .img-slots { grid-template-columns: 1fr; }
  .story-media::after { inset: 14px -10px -14px 14px; }
  .ra-item { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .search-bar { grid-template-columns: 1fr; }
  .sb-field:nth-child(odd) { border-right: 0; }
  .types-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-right: 8px; gap: 2px 10px; }
  .fact svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Additions ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.brand-name, .brand-sub { text-transform: uppercase; }
.map .m-coast { stroke-width: 5; }
.values--dark .value { border-top-color: rgba(244, 240, 231, .2); }
.values--dark .value p { color: var(--on-dark-2); }
.values--dark .value-icon { background: rgba(244, 240, 231, .08); color: var(--brass-light); box-shadow: inset 0 0 0 1px rgba(244, 240, 231, .22); }
.cta-band p { color: var(--ink-2); }
.cta-band.on-dark p { color: var(--on-dark-2); }
.on-dark .h2, .on-dark .h3 { color: var(--on-dark); }
.form-done { margin: 0; }
.service-count { position: absolute; left: 16px; bottom: 16px; }
.team-hero .crumbs a { color: var(--on-dark-2); }
.team-hero .crumbs a:hover { color: var(--on-dark); }
.prop-meta .status-pill { font-size: 13.5px; color: var(--ink-2); }
.ed-actions .check span strong { font-size: 14.5px; }

select.input { appearance: none; -webkit-appearance: none; padding-right: 38px; background-color: #fff; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.story-media { isolation: isolate; }
.map-label[data-side="b"] { transform: translate(-50%, 6px); flex-direction: column; gap: 3px; }
.map-label[data-side="b"]::before { position: absolute; top: -10px; left: 50%; margin-left: -3.5px; }

.stack-text { display: grid; gap: 1em; color: var(--ink-2); }
.cta-band .eyebrow { color: var(--brass-ink); }
.cta-band.on-dark .eyebrow { color: var(--brass-light); }
.cta-band .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.map-label[data-side="t"] { transform: translate(-50%, calc(-100% - 6px)); flex-direction: column-reverse; gap: 3px; }
.map-label[data-side="t"]::before { position: absolute; bottom: -10px; left: 50%; margin-left: -3.5px; }
@media (max-width: 1024px) and (min-width: 761px) {
  .listing-grid--similar > :nth-child(n + 3) { display: none; }
}
@media (max-width: 760px) {
  .hero-shade { background: linear-gradient(180deg, rgba(30, 39, 33, .62) 0%, rgba(30, 39, 33, .5) 45%, rgba(30, 39, 33, .7) 100%); }
  .listing-grid.listing-grid--rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
  .listing-grid--rail > .card { scroll-snap-align: start; }
  .listing-grid--rail > .card:hover { transform: none; }
  .map-label { font-size: 8.5px; letter-spacing: .08em; gap: 4px; }
  .map-label::before { width: 5px; height: 5px; }
  .map-label[data-side="b"]::before, .map-label[data-side="t"]::before { margin-left: -2.5px; }
  .map-sea-label { font-size: 12px; }
  .card .price { font-size: 1.3rem; }
  .area-chips { gap: 6px; }
  .area-chip { padding: 6px 12px; font-size: 13px; }
}

/* ---------- Search popovers (hero) ---------- */
.sb-pop { position: relative; }
.sb-label { font-weight: 600; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); }
.sb-btn { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 4px 26px 4px 0; font-size: 15.5px; color: var(--charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-btn:focus-visible { outline-offset: 6px; }
.pop { position: absolute; top: calc(100% + 12px); left: 0; z-index: 40; width: 360px; max-width: calc(100vw - 32px); background: var(--paper); color: var(--charcoal); border: 1px solid var(--line-soft); border-radius: 10px; box-shadow: var(--shadow-2); padding: 18px; display: grid; gap: 14px; }
.pop:focus { outline: none; }
.pop--areas { width: 420px; }
.pop--budget { width: 400px; }
.pop-title { font-weight: 600; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.pop-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.pop-list .check { font-size: 14px; }
.pop-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.pop-foot .btn, .bp-foot .btn { border-radius: 8px; }

/* ---------- Budget picker ---------- */
.bp { display: grid; gap: 14px; }
.bp-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bp-box { display: grid; gap: 2px; padding: 9px 12px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: text; transition: border-color .2s, box-shadow .2s; }
.bp-box:focus-within { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(78, 95, 83, .14); }
.bp-box span { font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; gap: 6px; }
.bp-box span i { font-style: normal; letter-spacing: .04em; text-transform: none; font-weight: 500; }
.bp-box input { border: 0; padding: 0; background: transparent; font-weight: 600; font-size: 15.5px; color: var(--charcoal); min-width: 0; width: 100%; font-variant-numeric: tabular-nums; outline: none; }
.bp-box input::placeholder { color: var(--ink-3); font-weight: 500; }
.bp-range { position: relative; height: 30px; margin: 0 4px; }
.bp-track, .bp-fill { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; }
.bp-track { left: 0; right: 0; background: var(--line-soft); }
.bp-fill { background: var(--moss); }
.bp-range input[type=range] { position: absolute; left: -2px; right: -2px; top: 0; width: calc(100% + 4px); height: 30px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 3; }
.bp-range input[type=range]:focus { outline: none; }
.bp-range input[type=range]::-webkit-slider-runnable-track { background: transparent; height: 30px; }
.bp-range input[type=range]::-moz-range-track { background: transparent; }
.bp-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; background: #fff; border: 6px solid var(--moss); box-shadow: 0 2px 8px rgba(43, 43, 41, .25); cursor: grab; }
.bp-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 6px solid var(--moss); box-shadow: 0 2px 8px rgba(43, 43, 41, .25); cursor: grab; }
.bp-range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(169, 134, 91, .35); }
.bp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--charcoal); transition: border-color .2s, background-color .2s; }
.bp-chip:hover { border-color: var(--moss); }
.bp-chip[aria-pressed="true"] { border-color: var(--moss); background: var(--mist); box-shadow: inset 0 0 0 1px var(--moss); }
.bp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.filters .bp-inputs { grid-template-columns: 1fr; }
.filters .bp-foot { padding-top: 0; border-top: 0; justify-content: flex-start; }
.filters .bp-chip { padding: 7px 12px; font-size: 13px; }

/* ---------- Multi-select lists in filters ---------- */
.checks--scroll { max-height: 236px; overflow-y: auto; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 2px; background: #fff; }
.check .zone-dot { margin-top: 5px; flex: none; }

/* ---------- Rented / sold ---------- */
.ribbon { position: absolute; top: 24px; right: -46px; z-index: 2; width: 180px; padding: 7px 0 6px; transform: rotate(45deg); background: var(--brass-ink); color: #fff; text-align: center; font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(43, 43, 41, .22); pointer-events: none; }
.ribbon--lg { top: 34px; right: -58px; width: 240px; padding: 9px 0 8px; font-size: 13px; }
.card--closed .card-media img { filter: grayscale(.35) brightness(.96); }
.card-example { position: absolute; left: 14px; bottom: 12px; }
.grid-sep { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 0 2px; border-top: 1px solid var(--line); margin-top: 8px; }
.grid-sep span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--charcoal); }
.grid-sep small { font-size: 13.5px; color: var(--ink-3); }
.empty + .listing-grid { margin-top: 28px; }
.status-select { min-height: 36px; padding: 6px 30px 6px 10px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 2px; background-color: #fff; font-size: 13.5px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.status-select[data-s="available"] { border-left-color: var(--ok); }
.status-select[data-s="reserved"] { border-left-color: var(--brass); }
.status-select[data-s="closed"] { border-left-color: var(--charcoal); }

/* ---------- Services included ---------- */
.svc-box { padding: 4px 22px 8px; background: var(--mist); border: 1px solid var(--sage-soft); border-radius: 3px; }
.svc-box .features-list li:last-child, .svc-box .features-list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.svc-none { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #F6EEE2; border: 1px solid #E6D3B8; border-radius: 3px; font-size: 15px; color: var(--ink-2); }
.svc-none svg { width: 18px; height: 18px; color: var(--brass-ink); flex: none; margin-top: 3px; }
.svc-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: center; }
.svc-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.svc-n { width: 170px; }
.svc-n input { min-height: 40px !important; }

@media (max-width: 760px) {
  .pop, .pop--areas, .pop--budget { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; max-height: 78vh; overflow-y: auto; z-index: 85; box-shadow: 0 -6px 40px rgba(23, 29, 25, .35); }
  .pop-list { max-height: 46vh; }
  .ribbon { top: 20px; right: -50px; }
  .svc-picks { grid-template-columns: 1fr; }
}

.pop .check { font-size: 14px; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--charcoal); }
.sb-pop::after { pointer-events: none; }

/* ---------- Reviews carousel ---------- */
.rv-wrap { --rv-gap: clamp(16px, 2vw, 28px); display: grid; gap: 18px; }
.rv-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 1.4vw, 20px); }
.rv-track { position: relative; display: flex; gap: var(--rv-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding: 6px 2px 12px; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline-offset: 6px; }
.rv-track > .review { flex: 0 0 calc((100% - 2 * var(--rv-gap)) / 3); scroll-snap-align: start; }
.rv-nav { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--jungle); display: grid; place-items: center; box-shadow: var(--shadow-1); transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.rv-nav svg { width: 20px; height: 20px; }
@media (hover: hover) { .rv-nav:hover { border-color: var(--moss); background: #fff; transform: translateY(-1px); } }
.rv-bar { display: flex; justify-content: center; align-items: center; gap: 18px; }
.rv-bar-btn { display: none; width: 46px; height: 46px; }
.rv-count { min-width: 76px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rv-wrap.is-static .rv-nav { visibility: hidden; }
.rv-wrap.is-static .rv-bar { display: none; }
.dialog--review { width: min(620px, 100%); max-height: min(86vh, 760px); overflow-y: auto; position: relative; gap: 18px; padding: 34px 32px 26px; }
.dialog--review blockquote { margin: 0; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.55; color: var(--charcoal); white-space: pre-line; }
.dialog-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); display: grid; place-items: center; }
.dialog-x svg { width: 16px; height: 16px; }
@media (max-width: 1024px) {
  .rv-track > .review { flex-basis: calc((100% - var(--rv-gap)) / 2); }
}
@media (max-width: 760px) {
  .rv-carousel { grid-template-columns: minmax(0, 1fr); }
  .rv-side { display: none; }
  .rv-bar-btn { display: grid; }
  .rv-track { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .rv-track > .review { flex-basis: 86%; padding: 26px 22px 22px; }
}

/* ---------- Video tours ---------- */
.chip--video { background: var(--jungle); color: var(--on-dark); }
.chip--video svg { width: 10px; height: 10px; }
.g-video { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; gap: 9px; align-items: center; padding: 10px 16px 10px 12px; border: 0; border-radius: 999px; background: var(--jungle); color: var(--on-dark); font-weight: 600; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; box-shadow: var(--shadow-1); cursor: pointer; }
.g-video svg { width: 16px; height: 16px; }
.g-video svg:last-child:not(:first-child) { width: 13px; height: 13px; }
.g-video span { font-weight: 500; letter-spacing: .04em; color: var(--on-dark-2); }
@media (hover: hover) { .g-video:hover { background: var(--moss); } }
.vt { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; }
.vt-poster { position: relative; display: block; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--jungle); box-shadow: var(--shadow-2); cursor: pointer; color: var(--on-dark); }
.vt-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .vt-poster:hover img { transform: scale(1.04); } }
.vt-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--moss); background-image: var(--topo-light); background-size: cover; }
.vt-ph svg { width: 34px; height: 34px; opacity: .5; }
.vt-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(252, 250, 246, .94); color: var(--jungle); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.vt-play svg { width: 22px; height: 22px; margin-left: 3px; }
.vt-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(20, 25, 21, .72); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vt-copy { display: grid; gap: 12px; justify-items: start; }
.vt-lead { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; color: var(--charcoal); }
.lb-stage--video { display: grid; place-items: center; }
.lb-video { display: block; max-width: 100%; max-height: 100%; background: #000; border-radius: 10px; }
/* Editor */
.dropzone--video { margin-bottom: 4px; }
.vid-job { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
.vid-job-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.vid-job-row span { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.vid-bar { position: relative; height: 6px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.vid-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--moss); border-radius: 999px; transition: width .4s ease; }
.vid-bar--busy span { animation: vidBusy 1.2s ease-in-out infinite; }
@keyframes vidBusy { from { left: -30%; } to { left: 100%; } }
.vid-current { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: start; }
.vid-current video { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #111; border-radius: 10px; }
.vid-meta { display: grid; gap: 8px; }
.vid-link { margin-top: 18px; }
@media (max-width: 760px) {
  .g-video { left: 12px; bottom: auto; top: 12px; padding: 8px 13px 8px 10px; font-size: 10.5px; }
  .vt { grid-template-columns: 132px minmax(0, 1fr); }
  .vt-lead { font-size: 1.2rem; }
  .vt-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .vid-current { grid-template-columns: 120px minmax(0, 1fr); }
}

/* ---------- Map view on the browse pages ---------- */
.view-toggle { grid-auto-columns: auto; }
.view-toggle button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; }
.view-toggle svg { width: 16px; height: 16px; }
.bmap { position: relative; }
.bmap-canvas { position: relative; height: clamp(440px, 70vh, 760px); border-radius: 3px; overflow: hidden; background: var(--sea); border: 1px solid var(--line-soft); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.bmap-canvas.is-dragging { cursor: grabbing; }
.bmap-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bmap-canvas .m-land { fill: #F1EBE0; stroke: #D9CEBD; stroke-width: 1; }
.bmap-canvas .m-coast { fill: none; stroke: #A9B8B0; stroke-width: 5; }
.bmap-canvas .m-circle { fill: rgba(169, 134, 91, .22); stroke: var(--brass); stroke-width: 1.6; stroke-dasharray: 5 4; }
.bmap-canvas .map-labels { pointer-events: none; }
.bmap-canvas .map-label { pointer-events: none; color: rgba(43, 43, 41, .6); }
.bmap-canvas .map-label.is-on { color: var(--jungle); }
.bm-markers { position: absolute; inset: 0; pointer-events: none; }
.bm-pin, .bm-cluster { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; border: 0; cursor: pointer; font-family: var(--font-body); font-variant-numeric: tabular-nums; box-shadow: 0 2px 8px rgba(23, 29, 25, .25); transition: background-color .15s, color .15s, transform .15s; }
.bm-pin { transform: translate(-50%, calc(-100% - 6px)); padding: 6px 10px; border-radius: 999px; background: var(--paper); color: var(--jungle); font-weight: 600; font-size: 12.5px; white-space: nowrap; border: 1px solid rgba(46, 58, 50, .2); }
.bm-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; margin-left: -4px; background: inherit; border-right: 1px solid rgba(46, 58, 50, .2); border-bottom: 1px solid rgba(46, 58, 50, .2); transform: rotate(45deg); }
.bm-pin.is-on, .bm-cluster.is-on { background: var(--jungle); color: var(--on-dark); z-index: 2; }
.bm-cluster { width: 38px; height: 38px; border-radius: 50%; background: var(--moss); color: var(--ivory); font-weight: 600; font-size: 14px; box-shadow: 0 0 0 5px rgba(78, 95, 83, .25), 0 2px 8px rgba(23, 29, 25, .25); }
@media (hover: hover) { .bm-pin:hover { background: var(--jungle); color: var(--on-dark); z-index: 3; } .bm-cluster:hover { transform: translate(-50%, -50%) scale(1.08); } }
.bmap-canvas .map-scale i { height: 5px; }
.bm-controls { position: absolute; right: 14px; top: 56px; z-index: 3; display: grid; border-radius: 3px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-1); border: 1px solid var(--line-soft); }
.bm-controls button { width: 40px; height: 40px; border: 0; background: none; display: grid; place-items: center; color: var(--jungle); }
.bm-controls button + button { border-top: 1px solid var(--line-soft); }
.bm-controls button:disabled { opacity: .35; cursor: default; }
.bm-controls svg { width: 18px; height: 18px; }
@media (hover: hover) { .bm-controls button:not(:disabled):hover { background: var(--mist); } }
.bm-card-slot { position: absolute; left: 14px; bottom: 14px; z-index: 4; width: min(380px, calc(100% - 28px)); }
.bm-card { position: relative; background: var(--paper); border-radius: 3px; box-shadow: var(--shadow-2); overflow: hidden; animation: fadeIn .18s ease both; }
.bm-card-link { display: grid; grid-template-columns: 128px minmax(0, 1fr); text-decoration: none; color: inherit; }
.bm-card-img { position: relative; background: var(--limestone); min-height: 118px; }
.bm-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bm-card-body { display: grid; gap: 6px; align-content: start; padding: 12px 40px 12px 14px; min-width: 0; }
.bm-card-body .card-area { font-size: 10.5px; }
.bm-card-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm-card-body .card-specs { font-size: 12.5px; gap: 4px 12px; }
.bm-card-body .spec svg { width: 15px; height: 15px; }
.bm-card .price { font-size: 1.12rem; }
.bm-card-x { position: absolute; top: 6px; right: 6px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(252, 250, 246, .92); display: grid; place-items: center; color: var(--ink-2); }
.bm-card-x svg { width: 14px; height: 14px; }
.bm-card--list { padding: 14px 14px 8px; }
.bm-card-head { font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 2px 40px 8px 2px; }
.bm-card--list ul { display: grid; max-height: 260px; overflow-y: auto; }
.bm-card--list li + li { border-top: 1px solid var(--line-soft); }
.bm-card--list a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 2px; text-decoration: none; color: inherit; }
.bm-card--list img { width: 64px; height: 48px; object-fit: cover; border-radius: 2px; background: var(--limestone); }
.bm-card--list .bm-card-title { font-size: 1.02rem; }
.bm-card--list .price { font-size: 1rem; display: block; margin-top: 2px; }
.bm-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.bm-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--brass); }
@media (max-width: 760px) {
  .results-tools { flex-wrap: wrap; }
  .view-toggle button { padding: 7px 11px; }
  .bmap-canvas { height: 64vh; min-height: 380px; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-inline: 0; }
  .bm-card-slot { left: 0; right: 0; bottom: 10px; width: auto; }
  .bm-card-slot .bm-card { margin-inline: 2px; }
  .bm-card-link { grid-template-columns: 112px minmax(0, 1fr); }
  .bm-controls { right: 6px; }
}
.vid-note { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; max-width: min(86%, 420px); margin: 0; padding: 10px 16px; border-radius: 999px; background: rgba(20, 25, 21, .82); color: #fff; font-size: 13.5px; line-height: 1.45; text-align: center; pointer-events: none; }
.vid-note.is-error { border-radius: 10px; }
.vid-current { position: relative; }
.vid-current .vid-note { left: 85px; top: 50%; max-width: 160px; font-size: 12px; }

/* ---------- Prices in other currencies ---------- */
.price .approx { font-weight: 500; margin-right: 3px; opacity: .7; }
.price-idr { font-size: 13px; color: var(--ink-3); }
.fx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ==================== Round 3 ==================== */
/* ---------- Focus that is always visible (idea 69) ---------- */
html { scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px); }
:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 3px; }
.on-dark :focus-visible, .section--moss :focus-visible, .section--jungle :focus-visible, .hero :focus-visible, .owner-hero :focus-visible,
.site-footer :focus-visible, .mobile-nav :focus-visible, .team-hero :focus-visible, .lightbox :focus-visible, .cmp-tray :focus-visible,
body[data-route="home"] .site-header.is-top :focus-visible, body[data-route="list-your-property"] .site-header.is-top :focus-visible, body.menu-open .site-header :focus-visible { outline-color: var(--brass-light); }
.hero .search-bar :focus-visible, .on-dark .pop :focus-visible { outline-color: var(--brass-ink); }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--brass-ink); outline-offset: 3px; }
.l10n-wait #app, .l10n-wait .site-header .nav, .l10n-wait .site-footer { visibility: hidden; }

/* ---------- Header: language & currency, slides away on phones (idea 63) ---------- */
.site-header { transition: background-color .35s, border-color .35s, color .35s, transform .4s var(--ease); view-transition-name: site-header; }
body.hdr-hidden .site-header { transform: translateY(-105%); }
.loc-wrap { position: relative; flex: none; }
.loc-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border: 1px solid rgba(43, 43, 41, .22); border-radius: var(--r-btn); background: transparent; color: inherit; font-weight: 600; font-size: 12px; letter-spacing: .12em; white-space: nowrap; }
.loc-btn svg { width: 17px; height: 17px; flex: none; }
.loc-btn:hover { border-color: rgba(43, 43, 41, .45); }
body[data-route="home"] .site-header.is-top .loc-btn, body[data-route="list-your-property"] .site-header.is-top .loc-btn, body.menu-open .loc-btn { border-color: rgba(244, 240, 231, .5); }
.loc-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; width: 300px; background: var(--paper); color: var(--charcoal); border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--shadow-2); padding: 16px; display: grid; gap: 10px; text-transform: none; letter-spacing: normal; }
.loc-pop:focus { outline: none; }
.loc-h { font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.loc-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.loc-opts button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 9px 10px; font-size: 14px; text-align: left; color: var(--charcoal); }
.loc-opts button:hover { border-color: var(--moss); }
.loc-opts button[aria-pressed="true"] { border-color: var(--moss); background: var(--mist); box-shadow: inset 0 0 0 1px var(--moss); font-weight: 600; }
.loc-opts--cur { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.loc-opts--cur button { text-align: center; padding: 9px 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.loc-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.mobile-nav a.m-link--sm { font-size: 1.45rem; color: var(--brass-light); }

/* ---------- Cards: compare, photo count, second photo on hover (ideas 17, 58) ---------- */
.card-link { display: flex; flex-direction: column; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.card .chips { right: 58px; }
.card-cmp { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(252, 250, 246, .94); color: var(--jungle); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(23, 29, 25, .18); transition: opacity .25s, background-color .2s, color .2s, transform .2s var(--ease); }
.card-cmp svg { width: 18px; height: 18px; }
.card-cmp:hover { transform: scale(1.06); }
.card-cmp[aria-pressed="true"] { background: var(--moss); color: var(--ivory); }
.card--closed .card-cmp { display: none; }
@media (hover: hover) and (pointer: fine) {
  .card .card-cmp:not([aria-pressed="true"]) { opacity: 0; }
  .card:hover .card-cmp, .card .card-cmp:focus-visible { opacity: 1; }
}
.card-count { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(20, 25, 21, .6); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.card-count svg { width: 13px; height: 13px; }
.card-img2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease), transform .8s var(--ease) !important; }
.card-img2.is-on { opacity: 1; }
.ed-side .card-cmp { display: none; }

/* ---------- Photos arrive softly over their average colour (idea 56) ---------- */
.js-fade img.fade-img { opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease), filter .4s; }
.js-fade img.fade-img.is-loaded { opacity: 1; }
.g-item, .card-media, .hero-slide, .band, .story-photo, .cmp-img { background-color: var(--limestone); }

/* ---------- Living hero (idea 55) ---------- */
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; background-color: var(--jungle); }
.hero-slide.is-on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
[data-motion="on"] .hero .hero-slide.is-on img.is-loaded { animation: heroZoom 16s cubic-bezier(.25, .6, .3, 1) both; }
[data-motion="on"] .hero .hero-slides--many .hero-slide.is-on img.is-loaded, [data-motion="on"] .hero .hero-slides--many .hero-slide.is-leaving img.is-loaded { animation: heroDrift 9.5s linear both; }
.hero-slides.is-paused .hero-slide img { animation-play-state: paused !important; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes heroDrift { from { transform: scale(1.01); } to { transform: scale(1.06); } }
.hero-pause { position: absolute; right: var(--gutter); top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 14px); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(244, 240, 231, .42); background: rgba(20, 25, 21, .3); color: var(--on-dark); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s; }
.hero-pause svg { width: 14px; height: 14px; }
.hero-pause:hover { background: rgba(20, 25, 21, .5); }
[data-motion="off"] .hero-pause { opacity: .7; }

/* ---------- A moment to breathe: wide photo band (idea 62) ---------- */
.band { position: relative; height: clamp(240px, 40vw, 540px); overflow: hidden; }
.band--empty { display: none; }
.band-inner { position: absolute; left: 0; right: 0; top: -9%; bottom: -9%; }
.band-inner { background-size: cover; background-position: center; background-repeat: no-repeat; }
/* The drift with the scroll is set by script (07-motion.js bandDrift): the CSS scroll-timeline version blinked in Safari. */
.band-inner { will-change: transform; }

/* ---------- Quiet reveals (idea 54), headlines line by line (61), curtain (60) ---------- */
[data-motion="on"] .rv { opacity: 0; transform: translateY(14px); }
[data-motion="on"] .rv.rv-in { opacity: 1; transform: none; transition: opacity .65s var(--ease), transform .75s var(--ease); transition-delay: var(--rv-d, 0ms); }
[data-lines].ln-wait { visibility: hidden; }
[data-lines] .ln-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
[data-lines] .ln-i { display: inline-block; }
[data-motion="on"] [data-lines].ln-ready .ln-i { transition: transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--ln, 0) * 120ms + 60ms); }
[data-motion="on"] [data-lines].ln-ready:not(.ln-in) .ln-i { transform: translateY(108%); }
.story-photo, .founder-photo { position: relative; overflow: hidden; border-radius: 2px; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
/* Stacked (tablet and phone): the full-width portrait would be taller than the screen, so show a wider crop
   from the middle of the same photo. */
@media (max-width: 1024px) { .story-media img, .story-photo img, .story-media .portrait-ph { aspect-ratio: 3 / 2; } }
@media (max-width: 640px) { .story-media img, .story-photo img, .story-media .portrait-ph { aspect-ratio: 4 / 3; } }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.curtain::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--curtain, var(--ivory)); transform-origin: right center; transition: transform 1.15s cubic-bezier(.65, 0, .35, 1); }
.curtain img { transform: scale(1.06); transition: transform 1.7s var(--ease) .1s, opacity .6s var(--ease) !important; }
.curtain.is-in::before { transform: scaleX(0); }
.curtain.is-in img { transform: none; }
.founder-photo { --curtain: var(--limestone); }

/* ---------- Card-to-property transition (idea 53) ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
::view-transition-group(prop-photo) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-old(prop-photo), ::view-transition-new(prop-photo) { width: 100%; height: 100%; object-fit: cover; overflow: clip; }
::view-transition-group(site-header) { animation-duration: .3s; }

/* ---------- Photo viewer opens from the gallery (idea 57) ---------- */
.lb-ghost { position: fixed; z-index: 96; pointer-events: none; will-change: transform, clip-path; border-radius: 2px; }
.lightbox .lb-stage, .lightbox .lb-top, .lightbox .lb-thumbs { transition: opacity .22s ease; }
.lightbox.lb-zooming .lb-stage, .lightbox.lb-zooming .lb-top, .lightbox.lb-zooming .lb-thumbs, .lightbox.lb-closing .lb-stage, .lightbox.lb-closing .lb-top, .lightbox.lb-closing .lb-thumbs { opacity: 0; transition: none; }
.lightbox.lb-closing { background: transparent; }

/* ---------- Property page: actions, buyer costs, terms, legal, drive times ---------- */
.prop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.prop-actions .btn { min-height: 38px; padding: 0 16px; }
.prop-actions .btn svg { width: 16px; height: 16px; }
.cmp-toggle[aria-pressed="true"] { background: var(--mist); border-color: var(--moss); color: var(--jungle); }
.costs { margin-top: 10px; text-align: left; width: min(400px, 100%); border: 1px solid var(--line-soft); border-radius: 10px; background: var(--paper); }
.costs summary { list-style: none; display: flex; align-items: center; gap: 9px; padding: 10px 14px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; border-radius: 10px; }
.costs summary::-webkit-details-marker { display: none; }
.costs summary > svg { width: 17px; height: 17px; color: var(--brass-ink); flex: none; }
.costs .costs-chev { margin-left: auto; width: 15px; height: 15px; transition: transform .25s var(--ease); }
.costs[open] .costs-chev { transform: rotate(180deg); }
.costs-body { padding: 0 14px 14px; display: grid; gap: 10px; }
.costs-body dl div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.costs-body dt { color: var(--ink-2); }
.costs-body dd { margin: 0; font-weight: 600; white-space: nowrap; }
.costs-body .costs-total { border-bottom: 0; }
.costs-body .costs-total dt { color: var(--charcoal); font-weight: 600; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.kv-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.kv-row > svg { grid-row: span 2; width: 20px; height: 20px; color: var(--moss); margin-top: 1px; }
.kv-row dt { font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.kv-row dd { margin: 0; font-size: 15px; color: var(--charcoal); line-height: 1.5; overflow-wrap: anywhere; }
.kv-row dd .zone-dot { margin-right: 7px; }
.pst { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pst svg { width: 16px; height: 16px; }
.pst[data-st="yes"] { color: var(--ok); }
.pst[data-st="process"] { color: var(--brass-ink); }
.pst[data-st="no"] { color: var(--ink-3); }
.legal-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.legal-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--brass); }
.prop-main > section.drive { padding: clamp(20px, 2.6vw, 28px); background: var(--mist); border: 1px solid var(--sage-soft); border-radius: 3px; gap: 12px; }
.drive-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.drive-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(78, 95, 83, .14); }
.drive-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--moss); }
.drive-ic svg { width: 18px; height: 18px; }
.drive-name { display: grid; gap: 1px; font-size: 14.5px; line-height: 1.35; min-width: 0; }
.drive-k { font-weight: 600; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.drive-v { display: grid; justify-items: end; gap: 2px; }
.drive-t { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--jungle); white-space: nowrap; }
.drive-km { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.drive-t svg { width: 16px; height: 16px; color: var(--sage); }
.drive-group { display: grid; }
/* Sorted lists read down the first column, then the second. */
.drive-group .drive-list { grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 1), auto); }
.drive-group + .drive-group { margin-top: 14px; }
.drive-h { margin: 0 0 2px; font-family: inherit; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.tr-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--ink-3); }
.tr-note svg { width: 14px; height: 14px; }
.tr-note .text-link { font-size: 12.5px; }
.review .tr-note { margin-top: -6px; }

/* ---------- Enquiry: viewing request, reply times ---------- */
.viewing { border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; background: #fff; display: grid; gap: 12px; transition: border-color .2s, box-shadow .2s; }
.viewing.is-on { border-color: var(--moss); box-shadow: inset 0 0 0 1px var(--moss); }
.viewing-toggle { font-weight: 600; align-items: center; }
.viewing-toggle svg { width: 18px; height: 18px; color: var(--moss); flex: none; }
.viewing-body { display: grid; gap: 12px; }
.viewing-body .flabel { font-weight: 600; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.vd-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: thin; }
.vd-day { position: relative; flex: none; scroll-snap-align: start; }
.vd-day input { position: absolute; opacity: 0; pointer-events: none; }
.vd-day span { display: grid; justify-items: center; gap: 1px; width: 56px; padding: 8px 0 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; transition: background-color .15s, border-color .15s; }
.vd-day small { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.vd-day b { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.05; font-weight: 600; }
.vd-day span:hover { border-color: var(--moss); }
.vd-day input:checked + span { background: var(--moss); border-color: var(--moss); color: var(--ivory); }
.vd-day input:checked + span small { color: var(--on-dark-2); }
.vd-day input:focus-visible + span, .seg--sm input:focus-visible + span, .chip-check input:focus-visible + span { outline: 2px solid var(--brass-ink); outline-offset: 2px; }
.vd-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; }
.seg--sm label { position: relative; display: block; }
.seg--sm input { position: absolute; opacity: 0; pointer-events: none; }
.seg--sm span { display: block; padding: 11px 4px; text-align: center; font-size: 13px; border-radius: 1px; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.seg--sm input:checked + span { background: var(--moss); color: var(--ivory); }
.reply-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.reply-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--sage); }
.reply-now { color: var(--ink-2); }
.reply-note--card { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line-soft); }
.contact-card p.cv--addr { font-weight: 500; line-height: 1.5; color: var(--charcoal); }
.contact-card p.appt-only { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; font-weight: 600; color: var(--brass-ink); }
.appt-only svg { width: 15px; height: 15px; }
.mobile-enquire .copy-row { flex-wrap: nowrap; }
.me-view svg { width: 16px; height: 16px; }

/* ---------- Footer: office, replies, pause animations (idea 66) ---------- */
.footer-brand p.footer-office { margin-top: 20px; font-size: 14px; line-height: 1.55; display: grid; gap: 3px; }
.footer-office .fl-label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(198, 205, 191, .6); }
.footer-office a { color: var(--on-dark-2); text-decoration: none; }
.footer-office a:hover { color: var(--on-dark); }
.footer-appt { font-size: 12.5px; color: var(--brass-light); }
.footer-tools { display: inline-flex; gap: 8px 22px; align-items: center; flex-wrap: wrap; }
.footer-motion { display: inline-flex; gap: 7px; align-items: center; border: 0; background: none; padding: 4px 0; color: inherit; font-size: 13px; text-decoration: underline; text-decoration-color: rgba(198, 205, 191, .4); text-underline-offset: 3px; }
.footer-motion svg { width: 12px; height: 12px; }
.footer-motion:hover { color: var(--on-dark); }

/* ---------- Modals: alerts and sharing ---------- */
body.modal-open { overflow: hidden; }
.modal { width: min(520px, 100%); max-height: min(90vh, 820px); overflow-y: auto; position: relative; padding: 30px 28px 24px; gap: 14px; }
.modal > .h3, .modal .notify > .h3 { padding-right: 34px; }
.modal .eyebrow { margin-bottom: 0; }
.modal .eyebrow svg { width: 15px; height: 15px; }
.notify { display: grid; gap: 14px; }
.notify-search { padding: 12px 14px; border-radius: 8px; background: var(--mist); border: 1px solid var(--sage-soft); font-size: 14px; color: var(--charcoal); line-height: 1.5; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.consent svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--sage); }
.share-menu { display: grid; gap: 8px; }
.share-opt { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; text-decoration: none; color: var(--charcoal); text-align: left; width: 100%; }
.share-opt:hover { border-color: var(--moss); background: var(--mist); }
.share-opt svg { width: 20px; height: 20px; color: var(--moss); flex: none; }
.dialog--review .stars { margin-top: 4px; }

/* ---------- Browse: alerts and the brief band ---------- */
.notify-btn svg { width: 16px; height: 16px; }
.brief-band { background: var(--limestone); }
.brief-band-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; }
.brief-band .eyebrow { margin-bottom: 8px; }
.brief-band .h3 { margin-bottom: 8px; }
.brief-band .cta-actions { justify-content: flex-end; margin: 0; }
.brief-band .btn svg { width: 17px; height: 17px; }

/* ---------- Brief page (idea 19) ---------- */
.brief-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.seg--wrap { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.seg--wrap button { padding: 11px 10px; }
.brief-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.chip-check span:hover { border-color: var(--moss); }
.chip-check input:checked + span { background: var(--moss); border-color: var(--moss); color: var(--ivory); }
.brief-side { position: sticky; top: calc(var(--header-h) + 24px); }
.brief-steps { padding: 26px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; display: grid; gap: 16px; }
.brief-steps ol { display: grid; gap: 14px; counter-reset: bs; }
.brief-steps li { counter-increment: bs; display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.brief-steps li::before { content: counter(bs); width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--moss); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.brief-steps strong { color: var(--charcoal); }

/* ---------- Compare (idea 17) ---------- */
.cmp-tray { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 56; max-width: calc(100vw - 24px); animation: toastIn .35s var(--ease); }
.cmp-tray-in { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 12px; border-radius: 999px; background: var(--jungle); color: var(--on-dark); box-shadow: var(--shadow-2); }
.cmp-thumbs { display: flex; padding-left: 8px; }
.cmp-thumbs img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--jungle); margin-left: -10px; background: var(--moss); }
.cmp-text { font-size: 13.5px; white-space: nowrap; }
.cmp-tray .btn { border-radius: 999px; min-height: 38px; padding: 0 16px; background: var(--ivory); color: var(--jungle); }
.cmp-tray .btn svg { width: 16px; height: 16px; }
.cmp-tray .cmp-clear { color: var(--on-dark-2); border-radius: 50%; }
.cmp-tray .cmp-view { color: var(--on-dark); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; text-decoration: none; padding: 0 6px; }
.cmp-tray .cmp-view:hover { text-decoration: underline; }
.cmp-tray .cmp-clear:hover { background: rgba(244, 240, 231, .1); color: var(--on-dark); }
body.has-tray .team-fab { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.cmp-wrap { display: grid; gap: 16px; }
.cmp-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-bottom: 28px; }
.cmp-wrap .cmp-tools { margin-bottom: 4px; }
.cmp-tools .btn svg { width: 16px; height: 16px; }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--paper); }
.cmp { width: 100%; border-collapse: collapse; min-width: calc(170px + var(--cols) * 230px); table-layout: fixed; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; text-align: left; font-size: 14.5px; line-height: 1.5; }
.cmp thead th { vertical-align: bottom; font-weight: 400; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp .cmp-rowh { width: 170px; font-weight: 600; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); background: #FAF7F1; position: sticky; left: 0; z-index: 1; }
.cmp-head { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.cmp-img { display: block; position: relative; aspect-ratio: 3 / 2; border-radius: 2px; overflow: hidden; }
.cmp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; font-weight: 500; }
.cmp-head:hover .cmp-title { text-decoration: underline; }
.cmp-sub { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.cmp-remove { margin-top: 6px; font-size: 13px; }
.cmp td strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.cmp .zone-dot { margin-right: 6px; }

/* ---------- Demand for owners (idea 24) ---------- */
.demand { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 48px; align-items: start; padding: clamp(24px, 3vw, 36px); background: var(--mist); border: 1px solid var(--sage-soft); border-radius: 3px; }
.demand .h3 { margin-bottom: 8px; }
.demand-list { display: grid; gap: 10px; }
.demand-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.demand-list svg { width: 18px; height: 18px; color: var(--moss); flex: none; margin-top: 3px; }

/* ---------- "How we work" with a photo that stays (idea 64) ---------- */
.st-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.st-wrap .st-steps { grid-template-columns: 1fr; border-top: 1px solid rgba(244, 240, 231, .16); }
.st-wrap .st-steps .step { padding: 30px 0 34px; border-left: 0; }
.st-wrap.is-live .st-steps .step { opacity: .42; transition: opacity .5s var(--ease); }
.st-wrap.is-live .st-steps .step.is-active { opacity: 1; }
.st-media { position: sticky; top: calc(var(--header-h) + 40px); }
.st-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: var(--moss); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.st-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 1.4s var(--ease); }
.st-photo.is-on { opacity: 1; transform: none; }

/* ---------- Team area additions ---------- */
.tab-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--brass); color: #fff; font-size: 11px; letter-spacing: 0; vertical-align: 1px; }
.t-warn { color: var(--brass-ink); font-weight: 600; }
.wait-chip { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: #F6EEE2; border: 1px solid #E6D3B8; color: var(--brass-ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.wait-chip svg { width: 13px; height: 13px; }
.set-h { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.fx-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fx-cell { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 3px; background: #fff; }
.fx-cell span { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .08em; }
.fx-cell b { font-variant-numeric: tabular-nums; font-size: 15px; }
.slot-empty { height: 100%; display: grid; place-items: center; font-size: 13px; color: var(--ink-3); }
.feature-picks--row { grid-template-columns: repeat(3, max-content); gap: 10px 26px; }
.tr-status { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.tr-status svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
.tr-status.is-ok svg { color: var(--ok); }
.tr-preview summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--moss); }
.tr-prev { padding: 10px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 4px; }
.tr-prev b { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ed-drive { margin-top: 4px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 3px; background: #fff; }
.ed-drive ul { display: grid; margin: 8px 0; }
.ed-drive-h { margin: 10px 0 0; font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ed-drive li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.leads-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; margin-bottom: 26px; align-items: start; }
.lead-list { display: grid; gap: 12px; }
.lead-card { padding: 16px 18px; background: var(--paper); border: 1px solid var(--line-soft); border-left: 3px solid var(--brass); border-radius: 3px; display: grid; gap: 8px; }
.lead-card[data-st="contacted"] { border-left-color: var(--sage); }
.lead-card[data-st="viewing"] { border-left-color: var(--moss); }
.lead-card[data-st="closed"] { border-left-color: var(--line); opacity: .75; }
.lead-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.lead-head .grow { flex: 1; }
.lead-head .chip { background: var(--mist); }
.chip--lang { background: #F6EEE2 !important; color: var(--brass-ink); }
.chip--ok { background: var(--mist); color: var(--ok); }
.chip--ok svg { width: 12px; height: 12px; }
.lead-crit { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.lead-crit svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--sage); }
.lead-note { font-size: 13.5px; color: var(--ink-3); white-space: pre-line; }
.lead-matches summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--moss); }
.lead-matches ul { display: grid; margin-top: 6px; }
.lead-matches li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.lead-matches .btn svg { width: 14px; height: 14px; }
.lead-form { display: grid; gap: 14px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.brief-areas--sm .chip-check span { padding: 5px 10px; font-size: 12.5px; }
.demand-list--team li { font-size: 14px; }

@media (max-width: 1024px) {
  .loc-wrap { margin-left: auto; }
  .loc-btn { height: 36px; padding: 0 11px 0 10px; font-size: 11.5px; }
  .leads-top { grid-template-columns: 1fr; }
  .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-grid { grid-template-columns: 1fr; }
  .brief-side { position: static; }
  .demand { grid-template-columns: 1fr; }
  .st-wrap { grid-template-columns: 1fr; }
  .st-media { display: none; }
  .st-wrap.is-live .st-steps .step { opacity: 1; }
}
@media (max-width: 900px) {
  .brief-band-in { grid-template-columns: 1fr; }
  .brief-band .cta-actions { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .loc-pop { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 6px); width: auto; }
  .kv, .drive-list { grid-template-columns: 1fr; }
  .drive-group .drive-list { grid-auto-flow: row; grid-template-rows: none; }
  .prop-price .costs { width: 100%; }
  .modal-wrap { align-items: end; padding: 0; }
  .modal { width: 100%; border-radius: 16px 16px 0 0; padding: 26px 20px calc(22px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; }
  .vd-row { grid-template-columns: 1fr; }
  body[data-route="property"] .cmp-tray { display: none; }
  body[data-route="property"].has-tray .team-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .fx-row--3 { grid-template-columns: 1fr 1fr; }
  .feature-picks--row { grid-template-columns: 1fr; }
  .notify-btn span { display: none; }
  .seg--wrap { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .loc-btn svg { display: none; }
  .cmp-text { display: none; }
  .me-view span, .me-ask span { display: none; }
  .me-view, .me-ask { padding: 0 12px; }
  .mobile-enquire .price { font-size: 1.05rem; }
  .mobile-enquire .price small { display: none; }
  .mobile-enquire { gap: 10px; }
}
.me-ask svg { width: 16px; height: 16px; }

.filters .filters-close { display: none; }
.cmp-img { aspect-ratio: 16 / 10; max-width: 340px; }
.brief-group { display: grid; gap: 9px; min-width: 0; }
.brief-group > .flabel { font-weight: 600; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.brief-group > .flabel .opt { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ink-3); }
.brief-card .bp-inputs { grid-template-columns: 1fr 1fr; }
@media (max-width: 1024px) { .filters .filters-close { display: inline-grid; } }

/* Phones: button labels may wrap (longer in Indonesian, Russian and French) instead of widening the page. */
@media (max-width: 560px) {
  .btn { white-space: normal; letter-spacing: .1em; padding-inline: 18px; }
  .contact-intro, .form-card, .vt-copy { min-width: 0; }
}

/* ---------- Language suggestion (one time, in the visitor's own language) ---------- */
.lang-hint { position: fixed; z-index: 70; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); right: max(var(--gutter), calc((100vw - var(--container)) / 2)); width: min(340px, calc(100vw - 2 * var(--gutter))); display: grid; gap: 14px; padding: 18px 46px 16px 18px; background: var(--paper); color: var(--charcoal); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); }
.lang-hint p { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.lang-hint p svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--moss); }
.lang-hint-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.lang-hint-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); cursor: pointer; }
.lang-hint-x:hover { background: var(--mist); color: var(--charcoal); }
.lang-hint-x svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) { html:not([data-motion="off"]) .lang-hint { animation: toastIn .4s var(--ease) both; } }

/* ---------- Chinese ---------- */
/* Latin text stays in the site's fonts; Chinese characters fall back to the reader's own serif and sans fonts. */
html[lang="zh"] {
  --font-display: "Cormorant Garamond", "Songti SC", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "PingFang SC", "Microsoft YaHei", serif;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
}
/* Chinese has no italics: emphasis and quotes stay upright, and the wide letter-spacing of the small capitals is
   reduced (it is meant for Latin capitals). */
html[lang="zh"] :is(.display em, .h1 em, .h2 em, .pull, .about-quote, .about-sign) { font-style: normal; }
html[lang="zh"] :is(.eyebrow, .label, .nav a, .sb-field > label, .chip, .card-photo-note, .card-area, .tab, .review-src, .field > label, .field > .flabel, .footer-h, .footer-list .fl-label, .fgroup > .flabel, .g-more, .fact dt, .portrait-ph small, .founder-role, .tbl th, .sb-label, .pop-title, .bp-box span, .ribbon, .rv-count, .g-video, .bm-card-head, .loc-h, .kv-row dt, .drive-k, .drive-h, .viewing-body .flabel, .vd-day small, .footer-office .fl-label, .cmp .cmp-rowh, .brief-group > .flabel, .btn, .link-arrow) { letter-spacing: .05em; }


/* ---------- Bali Guides ---------- */
.nav a[hidden], .mobile-nav a[hidden] { display: none; }
.g-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.g-cat { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 15px; font-size: 13.5px; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--charcoal); transition: background-color .2s, border-color .2s, color .2s; }
.g-cat b { font-weight: 600; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.g-cat:hover { border-color: var(--moss); }
.g-cat[aria-current="page"] { background: var(--moss); border-color: var(--moss); color: var(--ivory); }
.g-cat[aria-current="page"] b { color: var(--on-dark-2); }
.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.g-card { min-width: 0; }
.g-card > a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.g-card > a:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: transparent; }
.g-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--limestone); }
.g-cover-wrap { margin-top: clamp(4px, 1.5vw, 16px); }
.g-cover { aspect-ratio: 21 / 9; overflow: hidden; border-radius: 3px; background: var(--limestone); }
.g-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .g-cover { aspect-ratio: 16 / 10; } }
.g-card-media img, .g-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-card > a:hover .g-card-media img, .g-feature > a:hover .g-feature-media img { transform: scale(1.04); }
.g-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; flex: 1; }
.g-card-cat { font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.g-card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.18; text-wrap: balance; }
.g-card-desc { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.g-card-meta { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); }
.g-card-meta svg { width: 15px; height: 15px; flex: none; }
.g-card--small .g-card-title { font-size: 1.28rem; }
.g-card--small .g-card-media { aspect-ratio: 5 / 2; }
.g-feature { margin-bottom: clamp(20px, 2.4vw, 32px); }
.g-feature > a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .35s var(--ease), border-color .35s; }
.g-feature > a:hover { box-shadow: var(--shadow-2); border-color: transparent; }
.g-feature-media { display: block; min-height: 340px; overflow: hidden; background: var(--limestone); }
.g-feature-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(28px, 4vw, 52px); }
.g-feature-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 1.35rem + 1.4vw, 2.6rem); line-height: 1.08; text-wrap: balance; }
.g-feature .g-card-desc { font-size: 1rem; }
.g-read { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 13.5px; color: var(--moss); }
.g-read svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.g-feature > a:hover .g-read svg { transform: translateX(4px); }

.g-title { max-width: 22ch; }
.g-lead { font-size: 1.2rem; line-height: 1.7; max-width: 64ch; }
.g-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 13.5px; color: var(--ink-2); }
.g-meta span { display: inline-flex; gap: 7px; align-items: center; }
.g-meta svg { width: 15px; height: 15px; color: var(--brass-ink); }
.g-langnote { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.g-langnote svg { width: 15px; height: 15px; color: var(--moss); flex: none; }
.g-main { padding-top: clamp(36px, 5vw, 64px); }
.g-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.g-side { position: sticky; top: calc(var(--header-h) + 28px); min-width: 0; }
.g-head .g-layout { align-items: end; }
.g-head-in { min-width: 0; max-width: 820px; }
.g-content { min-width: 0; max-width: 740px; }
.g-toc summary { list-style: none; display: flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); padding-bottom: 12px; }
.g-toc summary::-webkit-details-marker { display: none; }
.g-toc summary svg { width: 16px; height: 16px; }
.g-toc ol { list-style: none; display: grid; }
.g-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--ink-2); font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s, border-color .2s; }
.g-toc a:hover { color: var(--charcoal); border-left-color: var(--brass-light); }
.g-toc a.is-on { color: var(--charcoal); border-left-color: var(--brass); font-weight: 500; }

.g-body { font-size: 1.0625rem; line-height: 1.75; color: var(--charcoal); }
.g-body > * + * { margin-top: 1.1em; }
.g-body h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 1.35rem + 1vw, 2.2rem); line-height: 1.15; letter-spacing: -.005em; margin-top: 2em; text-wrap: balance; scroll-margin-top: 12px; }
.g-body h3 { font-weight: 600; font-size: 1.1rem; line-height: 1.4; margin-top: 1.7em; scroll-margin-top: 12px; }
.g-body h2 + *, .g-body h3 + * { margin-top: .6em; }
.g-body ul, .g-body ol { padding-left: 1.35em; display: grid; gap: .45em; }
.g-body ul { list-style: disc; }
.g-body ol { list-style: decimal; }
.g-body li::marker { color: var(--brass); }
.g-body ol li::marker { font-weight: 600; }
.g-body a { color: var(--moss); text-decoration: underline; text-decoration-color: var(--brass-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.g-body a:hover { text-decoration-color: var(--moss); }
.g-body strong { font-weight: 600; }
.g-short { background: var(--mist); border-left: 3px solid var(--moss); padding: 22px 26px 24px; border-radius: 0 3px 3px 0; }
.g-body .g-short-h { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin: 0 0 12px; }
.g-short ul { gap: .55em; }
.g-short > * + * { margin-top: .7em; }
.g-callout { padding: 18px 22px; border-radius: 0 3px 3px 0; background: var(--paper); border: 1px solid var(--line-soft); border-left: 3px solid var(--brass); font-size: 1rem; line-height: 1.7; }
.g-callout--tip { border-left-color: var(--moss); }
.g-callout--warn { border-left-color: var(--danger); background: #FBF5F0; }
.g-callout--example { background: var(--ivory); }
.g-callout-label { color: var(--jungle); }
.g-callout--warn .g-callout-label { color: var(--danger); }
.g-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; background-color: var(--paper);
  /* a soft shadow at an edge that has more table to scroll to */
  background-image: linear-gradient(to right, var(--paper) 30%, rgba(252, 250, 246, 0)), linear-gradient(to left, var(--paper) 30%, rgba(252, 250, 246, 0)),
    radial-gradient(farthest-side at 0 50%, rgba(43, 43, 41, .16), transparent), radial-gradient(farthest-side at 100% 50%, rgba(43, 43, 41, .16), transparent);
  background-position: 0 0, 100% 0, 0 0, 100% 0; background-repeat: no-repeat; background-size: 36px 100%, 36px 100%, 12px 100%, 12px 100%;
  background-attachment: local, local, scroll, scroll; }
.g-table--wide table { min-width: 620px; }
.g-table:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.g-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.g-table th, .g-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.g-table tr:last-child > * { border-bottom: 0; }
.g-table thead th { background: var(--limestone); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.g-table tbody th { font-weight: 600; }
.g-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-body blockquote { border-left: 2px solid var(--line); padding-left: 18px; color: var(--ink-2); font-style: italic; }
.g-faq { margin-top: 2.6em; }
.g-faq h2 { margin-bottom: .4em; }
.g-q { border-bottom: 1px solid var(--line); margin-top: 0 !important; }
.g-q summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 17px 0; }
.g-q summary::-webkit-details-marker { display: none; }
.g-q summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-top: 7px; border-right: 1.5px solid var(--brass-ink); border-bottom: 1.5px solid var(--brass-ink); transform: rotate(45deg); transition: transform .25s var(--ease); }
.g-q[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.g-body .g-q summary h3 { margin: 0; font-size: 1.04rem; font-weight: 600; line-height: 1.45; }
.g-q summary:hover h3 { color: var(--moss); }
.g-a { padding-bottom: 18px; color: var(--ink-2); }
.g-a > * + * { margin-top: .8em; }
.g-sources { margin-top: 2.6em; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.g-body .g-sources h2 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.g-sources ul { gap: .35em; }
.g-sources a { overflow-wrap: anywhere; }
.g-caution { margin-top: 32px; }
.g-checked { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.g-checked svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--moss); }
.g-cta { margin-top: 40px; padding: clamp(24px, 3vw, 32px); background: var(--limestone); border-radius: 3px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; }
.g-cta p { margin-top: 8px; color: var(--ink-2); line-height: 1.6; }
.g-cta .cta-actions { justify-content: flex-end; }
.g-skel span { display: block; height: 15px; margin: 14px 0; border-radius: 3px; background: linear-gradient(90deg, var(--limestone), var(--mist), var(--limestone)); background-size: 200% 100%; animation: g-skel 1.4s linear infinite; }
.g-skel span:nth-child(3n) { width: 72%; }
.g-skel span:nth-child(4n) { width: 88%; }
@keyframes g-skel { to { background-position: -200% 0; } }
[data-motion="off"] .g-skel span { animation: none; }
.g-help { display: grid; gap: 16px; }
.g-links { list-style: none; display: grid; gap: 10px; }
.g-links a { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line-soft); background: var(--paper); border-radius: 3px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.g-links a:hover { border-color: var(--moss); box-shadow: var(--shadow-1); }
.g-links-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--moss); flex: none; }
.g-links-icon svg { width: 20px; height: 20px; }
.g-links-title { display: block; font-weight: 500; line-height: 1.4; }
.g-links-meta { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); }
.g-links a > svg { margin-left: auto; width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.g-strip { border-top: 1px solid var(--line-soft); }
.g-strip .section-head { margin-bottom: 28px; }
@media (max-width: 1024px) {
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-grid--3 > :nth-child(3) { display: none; }
  .g-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .g-side-pad { display: none; }
  .g-side { position: static; }
  .g-toc { border: 1px solid var(--line); background: var(--paper); border-radius: 3px; padding: 14px 18px; }
  .g-toc summary { padding-bottom: 0; }
  .g-toc[open] summary { padding-bottom: 12px; }
  .g-feature > a { grid-template-columns: minmax(0, 1fr); }
  .g-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .g-grid { grid-template-columns: minmax(0, 1fr); }
  .g-grid--3 > :nth-child(3) { display: block; }
  .g-cta { grid-template-columns: minmax(0, 1fr); }
  .g-cta .cta-actions { justify-content: flex-start; }
  .g-body { font-size: 1.02rem; }
  .g-short { padding: 18px 18px 20px; }
  .g-table table { font-size: 13.5px; }
  .g-table th, .g-table td { padding: 9px 11px; }
}
/* Zoning colours with what they mean (land filter, listing facts) */
.zone-label { display: flex; flex-direction: column; gap: 1px; }
.zone-what { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.zone-what--inline { font-size: inherit; color: var(--ink-2); }
.zone-what--inline::before { content: '·'; margin: 0 6px; color: var(--ink-3); }
.zone-guide { display: block; margin-top: 2px; font-size: 13px; }

/* ---------- Office: leases, contacts, reminders (owner only) ---------- */
.team-tabs a.tab-office { display: inline-flex; align-items: center; gap: 6px; }
.team-tabs a.tab-office svg { width: 13px; height: 13px; }
.ed-section > header p svg, .field-hint svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.input-unit--wide input { padding-right: 150px !important; }
.of-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.of-col { display: grid; gap: 16px; min-width: 0; }
.of-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.of-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 6px; }
.of-h h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.of-tasks { display: grid; gap: 12px; }
.of-task { padding: 16px 18px; background: var(--paper); border: 1px solid var(--line-soft); border-left: 3px solid var(--sage); border-radius: 3px; display: grid; gap: 12px; }
.of-task[data-type="pay"] { border-left-color: var(--brass); }
.of-task[data-late] { border-left-color: var(--danger); }
.of-task-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.of-task-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--moss); }
.of-task-ic svg { width: 17px; height: 17px; }
.of-task-t { display: grid; gap: 2px; min-width: 0; }
.of-task-t strong { font-size: 15px; line-height: 1.4; }
.of-task .t-sub, .of-soon .t-sub, .of-docs .t-sub, .of-chip .t-sub, .of-uses .t-sub, .of-who .t-sub, .of-nolease .t-sub { font-size: 12.5px; color: var(--ink-3); }
.of-when { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ok); white-space: nowrap; padding-top: 2px; }
.of-when.is-late { color: var(--danger); }
.of-task-acts { padding-top: 10px; border-top: 1px solid var(--line-soft); }
.of-task-acts .btn svg { width: 14px; height: 14px; }
.of-snooze { font-size: 13px; color: var(--ink-3); margin-left: 4px; }
.of-rcpt { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 3px; background: #fff; }
.of-who { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 14.5px; }
.of-rcpt .btn svg { width: 14px; height: 14px; }
.of-msg summary, .of-msg-en summary, .of-donelist summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--moss); }
.of-msg-en { margin-top: 8px; }
.of-text { margin: 8px 0 0; padding: 12px 14px; background: var(--mist); border-radius: 3px; font: 13.5px/1.55 var(--font-body, inherit); white-space: pre-wrap; word-break: break-word; color: var(--charcoal); max-height: 340px; overflow: auto; }
.of-soon { display: grid; }
.of-soon li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.of-soon-date { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 13px; }
.of-soon-date svg { width: 14px; height: 14px; color: var(--ok); }
.of-soon-what { display: grid; gap: 2px; }
.of-ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.of-ov-grid > * { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 3px; background: #fff; text-decoration: none; color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.of-ov-grid b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--charcoal); line-height: 1.1; }
.of-ov-grid small { font-size: 12px; color: var(--ink-3); }
.of-ov-grid a:hover { border-color: var(--sage); }
.of-notice ul { margin-top: 10px; display: grid; }
.of-nolease li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--sage-soft); }
.of-party { display: grid; gap: 8px; }
.of-party > .flabel { font-weight: 600; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.of-picker { display: grid; gap: 8px; }
.of-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.of-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; padding: 7px 6px 7px 12px; border: 1px solid var(--sage-soft); border-radius: 999px; background: var(--mist); font-size: 14px; }
.of-chip a { color: var(--charcoal); font-weight: 600; text-decoration: none; }
.of-chip a:hover { text-decoration: underline; }
.of-chip-name { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 0; font: inherit; font-weight: 600; color: var(--charcoal); cursor: pointer; text-align: left; }
.of-chip-name svg { width: 13px; height: 13px; color: var(--ink-3); flex: none; }
.of-chip-name:hover { text-decoration: underline; }
.of-chip-name:hover svg { color: var(--moss); }
.of-chip .t-warn { color: var(--brass-ink); }
.of-chip-x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--ink-3); cursor: pointer; }
.of-chip-x:hover { background: rgba(43, 43, 41, .08); color: var(--charcoal); }
.of-chip-x svg { width: 13px; height: 13px; }
.of-picker .of-pick { width: auto; min-width: 220px; flex: 1 1 220px; }
/* Wide tables scroll inside their section instead of widening the page. */
.ed-section > *, .of-col > * { min-width: 0; }
.of-tbl td .t-sub { display: block; }
.of-tbl .t-warn { color: var(--danger); }
.tbl--compact { min-width: 640px; font-size: 13.5px; }
.tbl--compact th { padding: 10px 10px; }
.tbl--compact td { padding: 6px 8px; }
.tbl--compact .input { min-height: 38px; padding: 6px 9px; font-size: 13.5px; }
.of-rows tr.is-paid td { background: #F3F6F0; }
.of-rows tr.is-due td:first-child { box-shadow: inset 3px 0 0 var(--brass); }
.of-what { display: grid; gap: 4px; min-width: 170px; }
.of-period { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px; align-items: center; font-size: 12px; color: var(--ink-3); min-width: 300px; }
.of-com-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.of-keys { display: grid; gap: 8px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; }
.of-side-h { font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.of-keys dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13.5px; }
.of-keys dt { color: var(--ink-3); }
.of-keys dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.of-timeline { display: grid; gap: 8px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; max-height: 520px; overflow: auto; }
.of-timeline ol { display: grid; }
.of-timeline li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; line-height: 1.4; }
.of-timeline li[data-st="done"] { color: var(--ink-3); }
.of-timeline li[data-st="open"] { font-weight: 600; }
.of-tl-date { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.of-docs { display: grid; }
.of-docs li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.of-doc-ic { width: 34px; height: 34px; border-radius: 3px; display: grid; place-items: center; background: var(--mist); color: var(--moss); }
.of-doc-ic svg { width: 17px; height: 17px; }
.of-doc-t { display: grid; gap: 2px; min-width: 0; word-break: break-word; }
.of-docs .btn svg { width: 14px; height: 14px; }
.of-upload { display: grid; gap: 12px; padding-top: 6px; }
.of-drop { padding: 18px 16px; }
.of-check { padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 3px; background: #fff; display: grid; gap: 8px; }
.of-check ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.of-check li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.of-check li svg { width: 15px; height: 15px; color: var(--brass); flex: none; }
.of-check li.is-ok { color: var(--ink-3); }
.of-check li.is-ok svg { color: var(--ok); }
.of-paste { display: grid; gap: 8px; }
.of-batch { display: grid; gap: 10px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 3px; background: #fff; }
.of-batch .copy-row .field-hint { flex: 1 1 260px; }
.of-batch-list { display: grid; }
.of-batch-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.of-batch-list li[data-st="reading"] .of-doc-ic { animation: of-pulse 1.2s ease-in-out infinite; }
@keyframes of-pulse { 50% { opacity: .35; } }
.of-batch-sel { display: grid; grid-template-columns: minmax(150px, 190px) minmax(150px, 210px) auto; gap: 6px; align-items: center; }
.of-batch-sel .input { min-height: 38px; padding: 6px 30px 6px 9px; font-size: 13.5px; }
.of-agent { display: grid; gap: 8px; }
.of-agent .copy-row { align-items: center; }
@media (max-width: 760px) {
  .of-batch-list li { grid-template-columns: auto minmax(0, 1fr); }
  .of-batch-sel { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; }
  .of-batch-sel [data-of-bwho] { grid-column: 1; grid-row: 2; }
  .of-batch-sel .icon-btn { grid-column: 2; grid-row: 1; }
}
.of-checks { list-style: disc; padding-left: 18px; margin-top: 6px; display: grid; gap: 4px; }
.of-uses { display: grid; gap: 6px; font-size: 13.5px; }
.of-lease-chip { display: inline-flex; gap: 5px; align-items: center; margin-top: 6px; text-decoration: none; color: var(--moss); font-weight: 600; }
.of-lease-chip svg { width: 13px; height: 13px; }
.modal--doc { width: min(860px, 100%); }
.of-preview { display: grid; gap: 14px; }
.of-preview img { max-width: 100%; max-height: 66vh; object-fit: contain; border-radius: 3px; background: var(--limestone); justify-self: center; }
.of-preview object { width: 100%; height: 66vh; border: 1px solid var(--line-soft); border-radius: 3px; }
.of-keytext { user-select: all; }
.of-doc-text { max-height: 60vh; overflow: auto; white-space: pre-wrap; padding: 14px; border: 1px solid var(--line-soft); border-radius: 3px; background: #fff; font-size: 13px; }
/* ---------- Office calendar ---------- */
.of-cal { display: grid; gap: 16px; --cal-pay: var(--moss); --cal-lease: var(--brass); --cal-com: #5F7F96; --cal-rem: #8A8F86; }
.of-cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.of-cal-head .copy-row { align-items: center; gap: 6px; }
.of-cal-title { min-width: 11ch; text-align: center; }
.of-cal-layers { display: flex; flex-wrap: wrap; gap: 6px; }
.of-cal-layer { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 13px; color: var(--ink-2); cursor: pointer; }
.of-cal-layer i { width: 9px; height: 9px; border-radius: 50%; background: var(--cal-pay); }
.of-cal-layer[data-layer="lease"] i { background: var(--cal-lease); }
.of-cal-layer[data-layer="com"] i { background: var(--cal-com); }
.of-cal-layer[data-layer="rem"] i { background: var(--cal-rem); }
.of-cal-layer b { font-weight: 600; font-size: 12px; color: var(--ink-3); }
.of-cal-layer[aria-pressed="false"] { opacity: .55; text-decoration: line-through; text-decoration-color: rgba(43, 43, 41, .35); }
.of-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); background: var(--paper); border-radius: 3px; overflow: hidden; }
.of-cal-dow { padding: 8px 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #FAF7F1; }
.of-cal-day { min-height: 112px; padding: 6px 6px 8px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); display: grid; align-content: start; gap: 4px; min-width: 0; }
.of-cal-day.is-out { background: #F6F2EB; }
.of-cal-day.is-out .of-cal-n { color: var(--ink-3); opacity: .6; }
.of-cal-day.is-today { box-shadow: inset 0 0 0 2px var(--brass); }
.of-cal-n { font-size: 12.5px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; padding: 0 2px; }
.of-cal-day.is-today .of-cal-n { color: var(--brass-ink); }
.of-cal-evs { display: grid; gap: 3px; min-width: 0; }
.of-cal-ev { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px; align-items: start; padding: 3px 6px 4px 5px; border-radius: 3px; background: rgba(78, 95, 83, .1); border-left: 3px solid var(--cal-pay); font-size: 12px; line-height: 1.3; color: var(--charcoal); text-decoration: none; min-width: 0; }
.of-cal-ev:hover { background: rgba(78, 95, 83, .17); }
.of-cal-ev svg { width: 12px; height: 12px; margin-top: 2px; color: var(--ink-2); }
.of-cal-ev b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-cal-ev .t-sub { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--ink-3); }
.of-cal-ev[data-layer="lease"] { background: rgba(169, 134, 91, .12); border-left-color: var(--cal-lease); }
.of-cal-ev[data-layer="com"] { background: rgba(95, 127, 150, .11); border-left-color: var(--cal-com); }
.of-cal-ev[data-layer="rem"] { background: rgba(138, 143, 134, .1); border-left-color: var(--cal-rem); }
.of-cal-ev.is-done { opacity: .55; }
.of-cal-ev.is-done b { text-decoration: line-through; text-decoration-color: rgba(43, 43, 41, .4); }
.of-cal-ev.is-late { border-left-color: var(--danger); }
.of-cal-ev.is-late b { color: var(--danger); }
.of-cal-dots { display: none; }
.of-cal-agenda { display: none; }
.of-cal-none { padding: 6px 2px; }
@media (max-width: 860px) {
  .of-cal-day { min-height: 54px; padding: 4px 3px; }
  .of-cal-evs { display: none; }
  .of-cal-dots { display: flex; flex-wrap: wrap; gap: 3px; padding: 0 2px; }
  .of-cal-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--cal-pay); }
  .of-cal-dots i[data-layer="lease"] { background: var(--cal-lease); }
  .of-cal-dots i[data-layer="com"] { background: var(--cal-com); }
  .of-cal-dots i[data-layer="rem"] { background: var(--cal-rem); }
  .of-cal-dots i.is-done { opacity: .4; }
  .of-cal-dow { padding: 6px 4px; font-size: 10px; letter-spacing: .06em; text-align: center; }
  .of-cal-n { text-align: center; }
  .of-cal-agenda { display: grid; gap: 12px; }
  .of-cal-agenda li { display: grid; gap: 4px; }
  .of-cal-ad { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .of-cal-agenda li.is-today .of-cal-ad { color: var(--brass-ink); }
  .of-cal-agenda .of-cal-ev { font-size: 13.5px; padding: 7px 10px; }
  .of-cal-agenda .of-cal-ev b, .of-cal-agenda .of-cal-ev .t-sub { white-space: normal; }
  .of-cal-agenda .of-cal-ev .t-sub { font-size: 12.5px; }
}

.modal--contact { width: min(640px, 100%); }
.of-quick { display: grid; gap: 14px; }
.of-quick .check .field-hint { display: inline; }
.of-more { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.of-more > summary { cursor: pointer; font-weight: 600; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); padding: 4px 0; }
.of-more[open] > summary { margin-bottom: 12px; }
.of-more > .form-grid + .field-hint { margin-top: 10px; }
.form-grid > .form-grid[hidden] { display: none; }
@media (max-width: 1100px) {
  .of-grid { grid-template-columns: 1fr; }
  .of-aside { position: static; }
}
@media (max-width: 760px) {
  .of-soon li { grid-template-columns: 1fr; gap: 2px; }
  .of-check ul { grid-template-columns: 1fr; }
  .of-task-head { grid-template-columns: auto minmax(0, 1fr); }
  .of-when { grid-column: 2; }
}

/* ---------- The whole island on the maps ---------- */
/* Bali under the villages: same land colour, no borders (its coastline is drawn with the villages' one). */
.m-bali { fill: #F1EBE0; stroke: none; }
/* Zoomed out to the island: no village borders, only the main roads, drawn finer. */
.bmap-canvas svg[data-z="0"] .m-land { stroke: none; }
.bmap-canvas svg[data-z="0"] :is(.m-road2, .m-road2c, .m-road3, .m-road3c, .m-road4) { display: none; }
.bmap-canvas svg[data-z="0"] .m-road1c { stroke-width: 2.8; stroke: #C4B497; }
.bmap-canvas svg[data-z="0"] .m-road1 { stroke-width: 1.4; }
.bmap-canvas svg[data-z="0"] .m-coast { stroke-width: 4; }
/* Places beyond our areas: towns like the area names, peaks with a triangle, islands without a dot, the airport with a plane. */
.map-label[data-side="c"] { transform: translate(-50%, -50%); }
.map-label--peak::before { width: 0; height: 0; border-radius: 0; background: none; box-shadow: none; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid #9A8767; }
.map-label--island { letter-spacing: .22em; color: rgba(43, 43, 41, .5); }
.map-label--island::before { display: none; }
.map-label--air::before { display: none; }
.map-label--air svg { position: static; width: 13px; height: 13px; flex: none; margin-left: -3px; color: var(--moss); }
.map-sea-label--at { transform: translate(-50%, -50%); }
/* The name of a listing's area beside its spot (the dot room stays empty, clear of the spot). */
.map-label--at::before { visibility: hidden; width: 13px; }
/* A listing's spot when its circle is too small to see. */
.pm-spot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgba(252, 250, 246, .92), 0 0 0 7px rgba(169, 134, 91, .3); pointer-events: none; }
/* The map on a listing: in the page column, the shape of the map it replaces; one finger scrolls the page. */
.bmap--inline .bmap-canvas { height: auto; min-height: 0; aspect-ratio: 16 / 9; margin-inline: 0; border-radius: 3px; border: 1px solid var(--line-soft); touch-action: pan-y; }
.bmap--inline.bmap--wait { aspect-ratio: 16 / 9; border-radius: 3px; background: var(--sea); border: 1px solid var(--line-soft); }
.bmap--inline .bm-controls { top: 52px; }
@media (max-width: 760px) {
  .bmap--inline .bmap-canvas, .bmap--inline.bmap--wait { aspect-ratio: 4 / 3; }
  .bmap--inline .bm-controls { top: 48px; right: 8px; }
  .bmap--inline .bm-controls button { width: 36px; height: 36px; }
}

/* ---------- Office: stages, updates, activity ---------- */
.of-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.of-stages li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 4px 0 4px 18px; font-size: 12.5px; color: var(--ink-3); }
.of-stages li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); }
.of-stages li::after { content: ""; position: absolute; left: 6.5px; top: 19px; bottom: -6px; width: 1px; background: var(--line-soft); }
.of-stages li:last-child::after { display: none; }
.of-stages li.is-done { color: var(--ink-2); }
.of-stages li.is-done::before { background: var(--moss); border-color: var(--moss); }
.of-stages li.is-cur { color: var(--jungle); font-weight: 600; }
.of-stages li.is-cur::before { background: var(--brass); border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169, 134, 91, .25); }
.of-stages li span { font-weight: 400; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.of-note-form { display: grid; gap: 8px; margin-bottom: 14px; }
.of-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.of-note { padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 3px; background: var(--paper); display: grid; gap: 6px; }
.of-note.is-flag { border-color: #E6D3B8; background: #FBF6EE; }
.of-note-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.of-note-text { margin: 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.of-note-where { margin: 0; font-size: 12.5px; }
.of-note .copy-row { gap: 12px; }
.of-mention { color: var(--brass-ink); font-weight: 600; }
.of-notes--today { margin-bottom: 22px; }
.chip--warn { background: #F6EEE2; color: var(--brass-ink); }
.chip--warn svg { width: 12px; height: 12px; }
.of-updates-in { display: grid; gap: 8px; }
.of-updates-in header p { margin: 0 0 4px; }
.of-log-day { margin-bottom: 18px; }
.of-log-date { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.of-logs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.of-log { padding: 8px 12px; border-left: 2px solid var(--line-soft); display: grid; gap: 4px; }
.of-log.is-flag { border-left-color: var(--brass); }
.of-log-h { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 14px; }
.of-log-when { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.of-log-note { margin: 0 0 0 54px; font-size: 13.5px; color: var(--ink-2); }
.of-log-ch { list-style: none; margin: 0 0 0 54px; padding: 0; display: grid; gap: 2px; font-size: 13px; }
.of-log-ch li { display: grid; grid-template-columns: minmax(90px, 160px) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.of-log-ch li span { color: var(--ink-3); }
.of-log-ch li s { color: var(--ink-3); text-decoration-color: rgba(43, 43, 41, .35); overflow-wrap: anywhere; }
.of-log-ch li i { font-style: normal; color: var(--ink); overflow-wrap: anywhere; }
.of-history .of-log-day { margin-bottom: 12px; }
.of-snap .of-msg { margin-top: 10px; }
@media (max-width: 760px) {
  .of-log-ch li { grid-template-columns: 1fr; gap: 0; }
  .of-log-note, .of-log-ch { margin-left: 0; }
}
/* ---------- Office: conversations, texts, checks ---------- */
.of-msgs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.of-m { position: relative; max-width: 92%; padding: 10px 12px; border-radius: 10px; background: var(--mist); display: grid; gap: 4px; }
.of-m--out { margin-left: auto; background: #EEF3EC; border-bottom-right-radius: 3px; }
.of-m--in { border-bottom-left-radius: 3px; }
.of-m--call { max-width: 100%; background: var(--paper); border: 1px dashed var(--line); }
.of-m-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.of-m-h b { font-size: 13.5px; }
.of-m-x { margin-left: auto; opacity: .5; }
.of-m-x svg { width: 12px; height: 12px; }
.of-m-x:hover { opacity: 1; }
.of-m .of-text { margin: 0; font-size: 13.5px; }
.of-m-subj { margin: 0; font-weight: 600; font-size: 13.5px; }
.of-m-long summary { cursor: pointer; font-size: 13.5px; }
.of-m-form { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.of-tx { font-family: var(--font-body); font-size: 13.5px; line-height: 1.5; }
.of-checks summary { cursor: pointer; }
.of-checks ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; }
.of-checks li .btn { margin-left: 8px; vertical-align: middle; }
#ofTexts code { font-size: 11.5px; background: var(--mist); padding: 1px 4px; border-radius: 2px; }
/* ---------- Office: the assistant ---------- */
.of-props { display: grid; gap: 10px; margin-bottom: 22px; }
.of-prop { padding: 12px 14px; border: 1px solid #E6D3B8; border-left: 3px solid var(--brass); border-radius: 3px; background: #FBF6EE; display: grid; gap: 8px; }
.of-prop-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.of-prop-why { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.of-prop-text { font-size: 13.5px; line-height: 1.5; font-family: var(--font-body); }
.of-inbox { margin-bottom: 14px; }
.of-inbox-m { max-width: 100%; }
.of-paste-in { margin-bottom: 22px; }
.of-paste-in summary { cursor: pointer; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.of-paste-in summary svg { width: 14px; height: 14px; }
.of-paste-in .of-m-form { border-top: 0; padding-top: 10px; }
.of-auto { display: grid; gap: 10px; }
.of-auto-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.of-auto-row b { display: block; font-size: 14px; }
.of-auto-row .t-sub { display: block; }
.of-never { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.of-never svg { width: 13px; height: 13px; margin-right: 8px; vertical-align: -2px; color: var(--brass); }
@media (max-width: 760px) { .of-auto-row { grid-template-columns: 1fr; } }
/* ---------- Office: money ---------- */
.of-bank summary { cursor: pointer; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.of-bank summary h2 { margin: 0; display: inline; }
.of-bank-in { display: grid; gap: 10px; margin: 14px 0; }
.of-bank-tbl tr.is-sure td:first-child { border-left: 3px solid var(--ok); }
.of-bank-tbl tr.is-maybe td:first-child { border-left: 3px solid var(--brass); }
.of-bank-tbl tr.is-out { opacity: .55; }
.of-checks-list { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.of-inv { display: block; margin-top: 4px; }
.of-inv svg { width: 12px; height: 12px; margin-right: 3px; vertical-align: -2px; }
/* ---------- Office: properties ---------- */
.of-cal-view { margin-bottom: 14px; }
.of-av-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; margin-top: 6px; }
.of-av-months { position: relative; height: 18px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.of-av-months span { position: absolute; top: 0; }
.of-av-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.of-av-name { text-decoration: none; color: inherit; min-width: 0; }
.of-av-name b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.of-av-name .t-sub { display: block; }
.of-av-bar { position: relative; height: 26px; background: repeating-linear-gradient(135deg, var(--mist) 0 6px, var(--paper) 6px 12px); border-radius: 3px; overflow: hidden; }
.of-av-lease { position: absolute; top: 0; bottom: 0; background: var(--moss); color: var(--ivory); font-size: 11px; line-height: 26px; padding: 0 8px; white-space: nowrap; overflow: hidden; text-decoration: none; opacity: .75; }
.of-av-lease.is-cur { opacity: 1; }
.of-av-lease.is-asked { outline: 2px dashed var(--brass); outline-offset: -3px; }
.of-av-free { position: absolute; top: 0; bottom: 0; pointer-events: none; }
.of-av-today { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--brass); z-index: 1; }
.t-ok { color: var(--ok); }
@media (max-width: 760px) { .of-av-head, .of-av-row { grid-template-columns: 120px minmax(0, 1fr); gap: 8px; } }
/* ---------- Leads: pipeline, qualification, viewings ---------- */
.lead-card[data-st="offer"] { border-left-color: var(--jungle); }
.lead-card[data-st="won"] { border-left-color: var(--ok); }
.lead-follow { margin-bottom: 22px; }
.lead-follow .of-soon li { grid-template-columns: 70px minmax(0, 1fr) auto; }
.lead-board { display: grid; grid-template-columns: repeat(6, minmax(180px, 1fr)); gap: 12px; overflow-x: auto; align-items: start; padding-bottom: 8px; }
.lead-col { background: var(--mist); border-radius: 3px; padding: 10px; display: grid; gap: 8px; min-height: 120px; }
.lead-col-h { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; }
.lead-col[data-st="won"] { background: #EEF3EC; }
.lead-mini { background: var(--paper); border: 1px solid var(--line-soft); border-left: 3px solid var(--brass); border-radius: 3px; padding: 8px 10px; display: grid; gap: 3px; font-size: 13px; }
.lead-mini[data-st="contacted"] { border-left-color: var(--sage); }
.lead-mini[data-st="viewing"] { border-left-color: var(--moss); }
.lead-mini[data-st="offer"] { border-left-color: var(--jungle); }
.lead-mini[data-st="won"] { border-left-color: var(--ok); }
.lead-mini[data-st="closed"] { border-left-color: var(--line); opacity: .7; }
.lead-mini-name { border: 0; background: none; padding: 0; text-align: left; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.lead-mini .t-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-mini-acts { margin-top: 2px; }
.lead-qual { margin-top: 6px; }
.lead-views { margin-top: 12px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.lead-view-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.lead-view { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.lead-view.is-off { opacity: .5; }
.lead-view.is-done .of-soon-date { color: var(--ok); }
.lead-view-add summary { cursor: pointer; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.lead-view-add summary svg { width: 14px; height: 14px; }
.lead-view-add .form-grid { margin-top: 10px; }
@media (max-width: 760px) { .lead-board { grid-template-columns: repeat(6, 220px); } .lead-view { grid-template-columns: 1fr; gap: 4px; } }
/* ---------- Office: on site ---------- */
.of-tickets { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.of-ticket { padding: 12px 14px; border: 1px solid var(--line-soft); border-left: 3px solid var(--brass); border-radius: 3px; background: var(--paper); display: grid; gap: 8px; }
.of-ticket[data-st="assigned"] { border-left-color: var(--moss); }
.of-ticket[data-st="done"], .of-ticket[data-st="closed"] { border-left-color: var(--line); opacity: .8; }
.of-ticket-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.of-ticket-h .status-select { margin-left: auto; }
.of-ticket-d { margin: 0; font-size: 13.5px; color: var(--ink-2); white-space: pre-wrap; }
.of-ticket-f { gap: 8px 12px; }
.of-ticket-f .input { padding-top: 7px; padding-bottom: 7px; }
.of-ticket-log { list-style: none; margin: 0; padding: 0; font-size: 13px; display: grid; gap: 2px; }
.of-ticket-add summary { cursor: pointer; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.of-ticket-add summary svg { width: 14px; height: 14px; }
.of-ticket-add .form-grid { margin-top: 10px; }
.of-tickets--today { margin-bottom: 22px; }
.of-ho-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.of-ho { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 3px; }
.of-ho .flabel { margin: 0; }
.of-meters summary { cursor: pointer; font-size: 13px; color: var(--ink-2); }
.of-meters .form-grid { margin-top: 8px; }
@media (max-width: 760px) { .of-ho-grid { grid-template-columns: 1fr; } }

/* ---------- Office: sales deals ---------- */
.of-taxes { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); }
.of-taxes dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 6px 0 0; font-size: 13.5px; }
.of-taxes dt { color: var(--ink-3); }
.of-taxes dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.of-dd { display: grid; gap: 6px; }
.of-dd .check { align-items: flex-start; }
.of-dd .check span { font-size: 13.5px; line-height: 1.4; }

/* ---------- Team: people and roles ---------- */
.team-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.team-member { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--paper); }
.team-member.is-pending { border-color: var(--warn, #c98a2b); }
.team-member.is-off { opacity: .6; }
.team-member-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.team-member .form-grid { margin-top: 8px; }
.team-add { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.team-hits { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.team-hits li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; }
.lead-who { display: inline-flex; align-items: center; gap: 6px; }
.of-backups { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.of-bk-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.of-bk-list li { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; font-size: 13.5px; }
.of-bk-list li .copy-row { grid-column: 2; gap: 4px 8px; }

/* ---------- Team: prospects ---------- */
.pr-strip { margin-bottom: 10px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .pr-strip { grid-template-columns: repeat(2, 1fr); } }
.pr-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 12px; background: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; }
.pr-card header { display: grid; gap: 2px; margin-bottom: 6px; }
.pr-card footer { grid-column: 1 / -1; }
.pr-card .of-msg { margin-top: 8px; }
.pr-photos { display: grid; grid-template-columns: repeat(2, 96px); gap: 6px; align-content: start; }
.pr-photos img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }
.pr-evidence { margin-top: 8px; }
.pr-evidence ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; font-size: 13px; }
.pr-evidence li { display: flex; gap: 6px; align-items: flex-start; color: var(--ink-3); }
.pr-evidence li svg { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.pr-evidence li.is-agent { color: var(--danger); }
.pr-evidence li.is-owner { color: var(--ok, #2f6b4f); }
.pr-manual { flex: 1 1 100%; }
.pr-manual summary { cursor: pointer; }
@media (max-width: 640px) { .pr-card { grid-template-columns: 1fr; } .pr-photos { grid-template-columns: repeat(4, 1fr); } .pr-photos img { width: 100%; height: 64px; } }
label.btn.is-over, [data-drop-into].is-over { outline: 2px dashed var(--moss); outline-offset: 3px; background: var(--mist); }

/* ---- Office: stats ---- */
.st { position: relative; display: grid; gap: 24px; }
.st-toolbar { flex-wrap: wrap; align-items: center; gap: 10px; }
.st-toolbar .input[type=date] { width: auto; }
.st-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1200px) { .st-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-tile { display: grid; align-content: start; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--paper, #fff); min-width: 0; }
.st-tile-l { font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.st-tile b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.st-tile .t-sub { display: block; }
.st-delta { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.st-delta.is-up { color: #1F7A4D; }
.st-delta.is-down { color: #B5452A; }
.st-fig { margin: 0; padding: 16px 16px 8px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--paper, #fff); min-width: 0; }
.st-fig figcaption h3 { font-size: 15px; font-weight: 600; margin: 0; }
.st-fig figcaption p { margin: 2px 0 10px; }
.st-svg { display: block; width: 100%; height: auto; }
.st-grid { stroke: var(--line-soft); stroke-width: 1; }
.st-axis { stroke: var(--ink-2); stroke-width: 1; opacity: .5; }
.st-tick, .st-x { font-size: 11px; fill: var(--ink-2); font-family: inherit; }
.st-bar { cursor: default; stroke: var(--paper, #fff); stroke-width: 1; }
.st-bar:hover { opacity: .8; }
.st-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--ink-2); }
.st-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.st-table { margin-top: 8px; font-size: 13px; }
.st-table summary { cursor: pointer; color: var(--ink-2); font-size: 12px; }
.st-table .tbl td, .st-table .tbl th { padding: 4px 8px; }
.st-empty { padding: 30px 0; text-align: center; }
.st-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.st-hbars { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.st-hbars li { display: grid; grid-template-columns: minmax(0, 1.2fr) 2fr auto; gap: 10px; align-items: center; }
.st-hb-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-hb-bar { display: block; height: 12px; background: var(--line-soft); border-radius: 3px; overflow: hidden; }
.st-hb-bar i { display: block; height: 100%; border-radius: 3px; }
.st-hb-v { font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-tip { position: absolute; z-index: 5; pointer-events: none; padding: 6px 10px; border-radius: 6px; background: var(--charcoal, #2a2a2a); color: #fff; font-size: 12px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.st .ed-section { margin: 0; }
@media (max-width: 900px) { .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-two { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .st-tiles { grid-template-columns: 1fr; } .st-hbars li { grid-template-columns: 1fr auto; } .st-hb-bar { grid-column: 1 / -1; } }

/* ---- Office: lease counts ---- */
.of-counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.of-count { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--paper); color: inherit; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
.of-count b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.of-count span { color: var(--ink-2); }
button.of-count:hover { border-color: var(--ink-3); }
.of-count.is-on { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
.of-count.is-on span { color: rgba(255,255,255,.75); }
.of-count.is-plain { cursor: default; background: transparent; border-style: dashed; }
a.of-count.is-plain { cursor: pointer; }

/* ---- Listing editor: save bar at the foot of the form ---- */
.ed-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 8px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; }
.ed-bottom .field-hint { margin: 0; }

/* ---- Today: "still deciding" on extension reminders ---- */
.of-still { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-3); }
.of-still .text-link { font-size: 13px; }
.of-still-date { display: inline-flex; align-items: center; gap: 4px; }
.of-still .input-xs { padding: 2px 6px; font-size: 12px; height: 26px; width: auto; }

/* ---- Property page: services per rent term ---- */
.svc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc-two .h4 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.svc-two .svc-none { margin: 0; }
@media (max-width: 640px) { .svc-two { grid-template-columns: 1fr; } }

/* ---- Team: agent cards ---- */
.agent--card .t-sub { color: var(--ink-3); font-size: 12.5px; }
.agent-photo--ph { display: grid; place-items: center; background: var(--moss); color: var(--ivory); font-family: var(--font-display); letter-spacing: .06em; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.team-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; }
.team-photo { width: 112px; height: 140px; object-fit: cover; border-radius: 2px; font-size: 1.6rem; }
.team-role { color: var(--brass-ink); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 2px 0 10px; }
.team-facts { display: grid; gap: 4px; margin: 10px 0 14px; font-size: 13.5px; }
.team-facts div { display: flex; gap: 8px; }
.team-facts dt { color: var(--ink-3); min-width: 56px; }
@media (max-width: 520px) { .team-card { grid-template-columns: 1fr; } .team-photo { width: 100%; height: 220px; } }

/* ---- Site settings: profiles ---- */
.agents-list { display: grid; gap: 16px; margin-bottom: 16px; }
.agent-edit { padding: 18px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--paper); display: grid; gap: 14px; }
.agent-edit.is-off { opacity: .7; }
.agent-edit-h { display: flex; gap: 16px; align-items: center; }
.agent-edit-photo { width: 72px; height: 90px; object-fit: cover; border-radius: 3px; font-size: 1.3rem; flex: none; }
.agent-edit-up { display: grid; gap: 6px; justify-items: start; }
.pick-chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- Lifecycle badges, savings ---- */
.chip--drop { background: #C2651F; color: #fff; }
.chip--avail { background: var(--sage-soft); color: var(--charcoal); }
.card-save { margin: -4px 0 0; padding: 0 16px 14px; font-size: 12.5px; color: var(--ink-2); }
.card-save b { color: #1F7A4D; font-weight: 600; }
.price-drop { display: block; font-size: 13.5px; color: #B5452A; font-weight: 600; margin-top: 2px; }
.price-avail { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.price-avail svg { width: 15px; height: 15px; }
.term-toggle { margin-right: 6px; }

/* ---- Favourites ---- */
.fav-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--charcoal); }
.fav-link .i { width: 20px; height: 20px; }
.fav-link:hover { background: var(--mist); }
.fav-count { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--brass-ink); color: #fff; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; }
.site-header.on-dark .fav-link, .site-header.is-top .fav-link { color: inherit; }
.card-fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(252, 250, 246, .94); color: var(--jungle); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(23, 29, 25, .18); transition: color .2s, transform .2s var(--ease); }
.card-fav svg { width: 18px; height: 18px; }
.card-fav:hover { transform: scale(1.06); }
.card-fav.is-on, .fav-toggle.is-on { color: #B5452A; }
.card-fav.is-on .i, .fav-toggle.is-on .i { fill: #B5452A; }
.card .card-cmp { right: 54px; }
.sl-ask { margin: -8px 0 16px; }
.agent-wa { margin-left: auto; }
.me-wa { white-space: nowrap; }
.chip--status .i { width: 12px; height: 12px; margin-right: 4px; }
/* ---- Print: a listing as a one-page brochure ---- */
@media print {
  .site-header, .mobile-nav, .site-footer, .cmp-tray, .mobile-enquire, .prop-actions, .prop-aside, .share-menu, .hero-pause, .toast, .dialog-wrap, .modal-wrap, [data-share-open], .lb, .similar, .section--mist, .cta-band, .loc-wrap, .fav-link, .header-cta, .menu-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .prop-body { grid-template-columns: 1fr !important; }
  .gallery img { page-break-inside: avoid; }
  a[href]::after { content: ""; }
  .prop-price::after { content: "Richter – Real Estate Bali · " attr(data-print-contact); display: block; font-size: 11px; color: #555; margin-top: 8px; }
}

/* ---- Natural-language search, understood chips, nearby areas, compare summary ---- */
.nl-box { display: flex; gap: 8px; align-items: stretch; }
.nl-box .nl-input { flex: 1; min-width: 0; }
/* The hero search is one card: the sentence box on top, the four pickers below it (on phones behind "Or choose…"). */
.hero-card { background: var(--paper); color: var(--charcoal); border-radius: var(--r-bar); box-shadow: var(--shadow-2); overflow: visible; }
.hero-card .search-bar, .hero-card .nl-box--hero { box-shadow: none; }
.nl-box--hero { margin: 0; background: transparent; border-radius: var(--r-bar) var(--r-bar) 0 0; padding: 10px 10px 10px 14px; border-bottom: 1px solid var(--line-soft); align-items: center; }
.nl-box--hero .nl-input { border: 0; background: transparent; font-size: 15.5px; padding-left: 8px; text-overflow: ellipsis; }
.nl-box--hero .btn { min-height: 44px; }
.hero-card .search-bar { border-radius: 0 0 var(--r-bar) var(--r-bar); }
@media (max-width: 640px) {
  .nl-box--hero { flex-direction: row; padding: 8px 8px 8px 10px; }
  .nl-box--hero .nl-input { font-size: 15px; padding-left: 4px; }
  .nl-box--hero .btn { padding-left: 14px; padding-right: 14px; }
}
.nl-understood { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; }
.nl-understood .chip { background: var(--sage-soft); color: var(--charcoal); }
.nearby-areas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13.5px; color: var(--ink-2); }
.chip--link { cursor: pointer; border: 1px solid var(--line); background: var(--paper); color: var(--charcoal); font: inherit; font-size: 12.5px; }
.chip--link:hover { border-color: var(--charcoal); }
.cmp-summary { margin: 0 0 18px; padding: 16px 18px; background: var(--mist); border-radius: 6px; font-size: 14px; }
.cmp-summary ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.listing-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .listing-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .listing-grid--4 { grid-template-columns: 1fr; } .nl-box:not(.nl-box--hero) { flex-direction: column; } }

/* ---- Area pages ---- */
.seg-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seg-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; text-decoration: none; color: var(--charcoal); background: var(--paper); }
.seg-link.is-on { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.seg-link b { font-weight: 600; }
.area-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.area-main > p { font-size: 1.05rem; max-width: 70ch; }
.area-range { font-family: var(--font-display); font-size: 1.35rem; margin: 6px 0 14px; }
.area-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.area-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.area-agent { display: grid; gap: 6px; padding: 18px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 6px; justify-items: start; }
.area-agent .team-photo { width: 84px; height: 104px; }
.area-map .map { border-radius: 6px; overflow: hidden; }
.area-drive { margin: 6px 0 10px; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; }
.area-drive li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line-soft); padding: 4px 0; }
.area-faq dl { display: grid; gap: 14px; margin: 18px 0 26px; }
.area-faq dt { font-weight: 600; margin-bottom: 4px; }
.area-faq dd { margin: 0; max-width: 80ch; color: var(--ink-2); }
.area-others { margin-top: 18px; font-size: 14px; }
.area-texts details { border-bottom: 1px solid var(--line-soft); padding: 10px 0; }
.area-texts summary { cursor: pointer; display: flex; gap: 10px; align-items: center; }
.area-texts textarea { margin: 10px 0 8px; }
@media (max-width: 900px) { .area-body { grid-template-columns: 1fr; } .area-aside { position: static; } }

/* Pre-rendered pages (tools/prerender.py): the page's text as plain HTML until the app takes over the <main>. */
.pre-nav { padding: 12px 0; font-size: 14px; color: var(--muted, #6b6b6b); }
.pre-nav a { color: inherit; }
.prerender .wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; }
.prerender h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; }
.prerender .lead { font-size: 17px; max-width: 70ch; }
.pre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.pre-card img, .pre-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.pre-card h3 { font-size: 17px; margin: 10px 0 4px; }
.pre-card a { color: inherit; text-decoration: none; }
.pre-card p { margin: 0; font-size: 14px; color: var(--muted, #6b6b6b); }
.pre-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.pre-ref { font-size: 14px; color: var(--muted, #6b6b6b); }
.pre-faq h3 { font-size: 17px; margin: 20px 0 6px; }
.pre-faq p { margin: 0; max-width: 70ch; }

.nl-notes { display: block; width: 100%; margin-top: 6px; font-size: 13px; color: var(--ink-3); }

/* Area pages and the areas overview */
.area-admin { margin: 6px 0 14px; font-size: 13px; letter-spacing: .02em; color: var(--ink-3); }
.area-intro p { font-size: 1.05rem; line-height: 1.75; max-width: 68ch; margin: 0 0 16px; }
.area-intent { margin: 4px 0 18px; }
.area-intent { max-width: 68ch; padding: 12px 16px; background: var(--mist); border-radius: 6px; font-size: 15px; line-height: 1.65; }
.areas-all { margin-top: 14px; }
.areas-map { max-width: 980px; margin: 0 auto 40px; }
.area-group { margin-top: 36px; }
.area-group > .h3 { margin-bottom: 14px; }
.area-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.area-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 6px; }
.area-card-h { margin: 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.area-card-h a { color: inherit; text-decoration: none; }
.area-card-h a:hover { text-decoration: underline; }
.area-card-sum { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.area-card-n { margin: 0; font-size: 13px; color: var(--ink-3); }
.area-card-n a { color: var(--moss); }
.area-card-more { margin-top: auto; }
.areas-bali .lead { max-width: 62ch; margin: 10px 0 22px; }
.area-card--bali { background: #fff; }
/* Area pickers: "Southwest Bali" / "Rest of Bali" headings (sales and land) */
.area-list-h { grid-column: 1 / -1; flex-basis: 100%; margin: 10px 0 2px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.area-list-h:first-child { margin-top: 0; }
.checks--scroll .area-list-h { margin: 12px 0 6px; }
.checks--scroll .area-list-h:first-child { margin-top: 2px; }
.area-res { margin: 10px 0 14px; padding: 12px 14px; background: var(--mist); border-radius: 6px; font-size: 14px; }
.area-res p { margin: 0 0 8px; }
.of-prop-lines { margin: 6px 0 4px; padding-left: 18px; font-size: 14px; }
.of-prop-lines li { margin: 2px 0; }

/* Site settings: the guide photos fold away (one place per guide) */
.guide-slots > summary { cursor: pointer; list-style: none; }
.guide-slots > summary::-webkit-details-marker { display: none; }
.guide-slots > summary h2::after { content: " ▾"; color: var(--brass-ink); font-size: .7em; }
.guide-slots[open] > summary h2::after { content: " ▴"; }
.guide-slots > summary p { margin-top: 6px; }
.guide-slots[open] > .img-slots { margin-top: 18px; }

