/*
 * Public property websites — shared layout and components.
 * Each theme (classic.css, editorial.css, heritage.css, coastal.css) sets the custom properties
 * below and adds its own treatments. Plain CSS (no Tailwind) so property sites stay light.
 */

:root {
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: var(--font-body);

  --color-bg: #ffffff;
  --color-bg-alt: #f6f6f4;
  --color-surface: #ffffff;
  --color-text: #1d1d1b;
  --color-muted: #6b6b66;
  --color-rule: rgba(0, 0, 0, 0.12);
  --color-accent: #8c6a3f;
  --color-accent-hover: #6f5331;
  --color-accent-contrast: #ffffff;
  --color-dark: #151515;
  --color-dark-text: #f5f3ee;
  --color-dark-muted: rgba(245, 243, 238, 0.65);
  --color-dark-rule: rgba(255, 255, 255, 0.14);
  --color-success: #2f6b46;
  --color-error: #a3352b;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-btn: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);

  --container: 1180px;
  --container-wide: 1440px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
  --section-pad-compact: clamp(2.75rem, 5vw, 4.25rem);
  --nav-height: 72px;
  --measure: 66ch;
  --photo-radius: var(--radius-sm);
  --hero-scrim: rgba(10, 14, 12, 0.5);
  --mobile-cta-text: var(--color-text);

  --heading-weight: 500;
  --heading-case: none;
  --heading-tracking: -0.01em;
  --title-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --label-size: 0.72rem;
  --label-tracking: 0.24em;
  --btn-case: none;
  --btn-tracking: 0.02em;
  --btn-weight: 600;
  --btn-pad: 0.85rem 1.6rem;
  --btn-font: var(--font-ui);

  color-scheme: light;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* full-bleed figures use 100vw; clip the sideways overflow (a scrollbar's width) without creating a scroll container */
main { overflow-x: clip; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--heading-weight); line-height: 1.15; letter-spacing: var(--heading-tracking); margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
table { border-collapse: collapse; width: 100%; }

.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: 0.75rem 1rem; background: var(--color-dark); color: var(--color-dark-text); border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); }
.container--report { width: min(100% - 2 * var(--gutter), 960px); }

.prose { max-width: var(--measure); }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose a { color: var(--color-accent); }
.prose ul { padding-left: 1.2em; }
.prose table { margin: 1em 0; font-size: 0.95em; }
.prose th, .prose td { border-bottom: 1px solid var(--color-rule); padding: 0.4em 0.6em; text-align: left; }
.prose--small { font-size: 0.95rem; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: var(--btn-pad); border: 1.5px solid transparent; border-radius: var(--radius-btn);
  font-family: var(--btn-font); font-weight: var(--btn-weight); font-size: 0.92rem; line-height: 1.2;
  text-transform: var(--btn-case); letter-spacing: var(--btn-tracking); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn--primary { background: var(--color-accent); color: var(--color-accent-contrast); border-color: var(--color-accent); }
.btn--primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-accent-contrast); }
.btn--outline { background: transparent; color: currentColor; border-color: currentColor; }
.btn--outline:hover { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }
.btn--ghost { background: transparent; color: currentColor; border-color: transparent; text-decoration: underline; text-underline-offset: 0.25em; padding-inline: 0.4rem; }
.btn--ghost:hover { color: var(--color-accent); }
.btn--small { padding: 0.55rem 1.05rem; font-size: 0.8rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }

.chip {
  display: inline-flex; align-items: center; padding: 0.45rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--color-rule); background: transparent; font-size: 0.85rem; cursor: pointer;
  font-family: var(--font-ui); transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--color-text); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.tag { display: inline-block; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--color-bg-alt); font-size: 0.8rem; color: var(--color-muted); }

/* ------------------------------------------------------------------ icons */
/* Font Awesome (the kit in layouts/site) swaps each <i class="fa-…" aria-hidden="true"> for an inline SVG
   one em high, filled with currentColor, so icons take each theme's text colour and scale with the text.
   Until the kit runs, the <i> holds the same box so nothing shifts when the icon appears. */
i[class*="fa-"] { display: inline-block; width: 1.25em; height: 1em; vertical-align: -0.125em; }
:is(i[class*="fa-"], .svg-inline--fa) { flex: none; }
.icon-label { display: inline-flex; align-items: center; gap: 0.45em; }
.chip { gap: 0.45em; }
.chip:has(> :is(i, svg):first-child) { padding-left: 0.75rem; }
.stat__icon { font-size: 1.15em; }

/* ------------------------------------------------------------------ preview + flash */
.preview-banner { position: relative; z-index: 60; background: #ffe58f; color: #3d3000; text-align: center; padding: 0.55rem 1rem; font-size: 0.9rem; }
.site-flash { position: fixed; z-index: 70; top: calc(var(--nav-height) + 0.75rem); left: 50%; transform: translateX(-50%); width: min(92vw, 560px); }
.site-flash__message { margin: 0 0 0.5rem; padding: 0.85rem 1.1rem; border-radius: var(--radius-md); box-shadow: var(--shadow-md); background: var(--color-surface); border-left: 4px solid var(--color-success); }
.site-flash__message--alert { border-left-color: var(--color-error); }

/* ------------------------------------------------------------------ navigation */
/* Four primary links, a "More" disclosure for secondary resources and the call to action. Links never
   wrap: below 1100px everything moves into the menu. */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-height);
  color: var(--nav-color, var(--color-text)); background: var(--nav-bg, var(--color-bg));
  border-bottom: 1px solid var(--nav-rule, var(--color-rule));
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.preview-banner ~ .site-nav { top: 2.3rem; }
.site-nav__inner { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); height: 100%; width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; }
.site-nav__brand { display: flex; flex-direction: column; justify-content: center; gap: 0.1rem; text-decoration: none; line-height: 1.15; flex: 0 1 auto; min-width: 0; }
.site-nav__brand:hover { color: inherit; }
.site-nav__brand-street { font-family: var(--font-display); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav__brand-suburb { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.02em; opacity: 0.78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav__menu { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); min-width: 0; }
.site-nav__links { display: flex; flex-wrap: nowrap; align-items: center; gap: 0 clamp(1rem, 1.8vw, 1.9rem); list-style: none; margin: 0; padding: 0; }
.site-nav__links > li { flex: none; }
.site-nav__links a, .site-nav__more-toggle {
  display: inline-flex; align-items: center; gap: 0.35em; white-space: nowrap; text-decoration: none; color: inherit; cursor: pointer;
  font-size: var(--nav-font-size, 0.78rem); letter-spacing: var(--nav-tracking, 0.12em); text-transform: var(--nav-case, uppercase); font-family: var(--nav-font, var(--font-ui));
  padding: 0.25rem 0; background: none; border: 0; border-bottom: 1px solid transparent;
}
.site-nav__links a[aria-current] { border-bottom-color: currentColor; }
.site-nav__links a:hover, .site-nav__more-toggle:hover { color: inherit; border-bottom-color: currentColor; }
.site-nav__more { position: relative; }
.site-nav__more-toggle svg { transition: transform 0.2s; }
.site-nav__more.is-open .site-nav__more-toggle svg { transform: rotate(180deg); }
.site-nav__more-list {
  display: none; position: absolute; right: -1rem; top: calc(100% + 1rem); min-width: 15rem; margin: 0; padding: 0.4rem 0; list-style: none;
  background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-rule); border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12); text-shadow: none; z-index: 2;
}
.site-nav__more.is-open .site-nav__more-list { display: block; }
.site-nav .site-nav__links .site-nav__more-list :is(a, button) {
  display: flex; align-items: center; gap: 0.7em; width: 100%; padding: 0.6rem 1.1rem; border: 0; background: none; text-align: left; cursor: pointer; color: inherit;
  font-family: var(--font-ui); font-size: 0.92rem; letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.site-nav .site-nav__links .site-nav__more-list :is(a, button):hover { background: var(--color-bg-alt); color: var(--color-text); }
.site-nav__cta { flex: none; }
.site-nav__toggle { display: none; margin-left: auto; background: none; border: 0; padding: 0.6rem; cursor: pointer; color: inherit; flex: none; font-size: 1.35rem; line-height: 1; }
.site-nav__toggle .site-nav__toggle-icon--close, .menu-open .site-nav__toggle .site-nav__toggle-icon--open { display: none; }
.menu-open .site-nav__toggle .site-nav__toggle-icon--close { display: inline-block; }
.site-nav__more-icon { font-size: 0.8em; }

@media (max-width: 1100px) {
  .site-nav__toggle { display: block; }
  .site-nav__menu {
    position: fixed; inset: var(--nav-height) 0 0 0; flex-direction: column; align-items: stretch; gap: 1.75rem;
    padding: 1.5rem var(--gutter) 3rem; background: var(--color-bg); color: var(--color-text); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .menu-open .site-nav__menu { opacity: 1; transform: none; visibility: visible; }
  .menu-open body { overflow: hidden; }
  .site-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__links > li { border-bottom: 1px solid var(--color-rule); }
  .site-nav .site-nav__links > li > a { display: block; padding: 0.9rem 0; font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0; text-transform: none; border: 0; }
  .site-nav__more { border-bottom: 0 !important; padding-top: 1.25rem; }
  .site-nav__more-toggle { display: none; }
  .site-nav__more-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav .site-nav__links .site-nav__more-list :is(a, button) { padding: 0.55rem 0; font-size: 0.95rem; white-space: normal; }
  .site-nav .site-nav__links .site-nav__more-list :is(a, button):hover { background: none; text-decoration: underline; }
  .site-nav__cta { align-self: stretch; }
}
@media (max-width: 600px) {
  .site-nav__brand-street { font-size: 1.05rem; }
  .site-nav__brand-suburb { font-size: 0.74rem; }
}

/* ------------------------------------------------------------------ hero (shared) */
.hero { position: relative; }
.hero picture { display: contents; }
.hero__placeholder { width: 100%; height: 100%; min-height: 50vh; background: linear-gradient(135deg, var(--color-accent), var(--color-dark)); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.status-banner { display: inline-block; margin: 0; padding: 0.45rem 1rem; background: var(--color-dark); color: var(--color-dark-text); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.status-banner--sold { background: #9d2a24; color: #fff; }


/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section-pad); background: var(--color-bg); position: relative; }
.section--alt { background: var(--color-bg-alt); }
.section--resources, .section--contact { padding-block: var(--section-pad-compact); }
.section-head { margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); max-width: 54rem; }
.section-head__eyebrow { margin: 0 0 0.75rem; font-family: var(--font-ui); font-size: 0.85rem; color: var(--color-muted); font-weight: 500; }
.section-head__title { font-size: var(--title-size); text-transform: var(--heading-case); margin: 0; }
.section-head__lede { margin: 0.75rem 0 0; color: var(--color-muted); font-size: 1rem; max-width: 60ch; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; max-width: none; }
.section-head__link { font-family: var(--font-ui); font-size: 0.95rem; font-weight: 500; text-underline-offset: 0.3em; white-space: nowrap; }

.page-header { padding: calc(var(--nav-height) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(2rem, 5vw, 3.5rem); background: var(--color-bg-alt); }
.page-header__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); text-transform: var(--heading-case); margin: 0.25rem 0 0; }
.page-header__lede { color: var(--color-muted); margin: 1rem 0 0; max-width: 60ch; }
.breadcrumbs { font-size: 0.82rem; color: var(--color-muted); margin-bottom: 1.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumbs a { text-decoration: none; }
.page-missing { padding-top: calc(var(--nav-height) + 5rem); }

/* key facts: one strip of hairline-divided cells under the hero */
.section--strip { padding-block: 0; }
.facts-strip { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; background: var(--color-rule); border-block: 1px solid var(--color-rule); }
.facts-strip__item { flex: 1 1 8.5rem; display: flex; flex-direction: column; gap: 0.3rem; padding: 1.15rem 1.25rem 1.1rem; background: var(--strip-bg, var(--color-bg)); min-width: 0; }
.section--alt .facts-strip__item { --strip-bg: var(--color-bg-alt); }
.facts-strip__item--price { flex: 2 1 13rem; }
.facts-strip__item--method { flex: 1.5 1 11rem; }
.stat__label { font-family: var(--font-ui); font-size: 0.8rem; color: var(--color-muted); letter-spacing: 0.01em; }
.stat__value { margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.15; font-variant-numeric: lining-nums tabular-nums; }
.facts-strip__item--method .stat__value { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); }
/* the price sits on the page background now (older brand rules coloured it for a dark price card) */
.facts-strip .facts-strip__item .facts__price { color: var(--facts-price-color, var(--color-text)); }
@media (max-width: 600px) {
  .section--strip > .container { width: 100%; }
  .facts-strip { border-inline: 0; }
  .facts-strip__item { flex-basis: 20%; padding: 0.9rem 0.75rem 0.85rem var(--gutter); }
  .facts-strip__item:not(:first-child):not(.facts-strip__item--method) { padding-left: 0.85rem; }
  .facts-strip__item--price, .facts-strip__item--method { flex-basis: 100%; }
  /* four narrow room cells: the icon sits above its label so the label keeps the full cell width */
  .facts-strip__item:not(.facts-strip__item--price, .facts-strip__item--method) .stat__label { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}

/* offer status (bidding) */
.bidding-status__list { margin: 0; display: grid; gap: 0.35rem; }
.bidding-status__list > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--color-rule); }
.bidding-status__list dt { color: var(--color-muted); }
.bidding-status__list dd { margin: 0; font-weight: 600; }
.offer-layout { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 960px) { .offer-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.aside-card { padding: 1.5rem; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-rule); margin-bottom: 1.25rem; }
.aside-card__image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.aside-card__title { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 0.25rem; }
.aside-card__meta { color: var(--color-muted); margin-bottom: 1rem; }
.aside-card__heading { font-size: 1.1rem; }
.aside-card--note ul { padding-left: 1.1em; margin: 0 0 1rem; color: var(--color-muted); font-size: 0.93rem; }

/* forms */
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-rule); color: var(--color-text); }
.form-card__title { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 1.25rem; }
.form-card--details > summary { cursor: pointer; list-style: none; margin: 0; }
.form-card--details > summary::-webkit-details-marker { display: none; }
.form-card--details > summary::after { content: "+"; float: right; font-family: var(--font-ui); font-weight: 400; }
.form-card--details[open] > summary { margin-bottom: 1.25rem; }
.form-card--details[open] > summary::after { content: "–"; }
.lead-form { display: grid; gap: 1.1rem; }
.form-fieldset { border: 0; padding: 0; margin: 0 0 0.5rem; display: grid; gap: 1.1rem; }
.form-fieldset > legend { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.75rem; padding: 0; }
.field { display: grid; gap: 0.4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field__label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; padding: 0; }
.field__input {
  width: 100%; padding: 0.8rem 0.95rem; font: inherit; font-size: 1rem; color: var(--color-text);
  background: var(--color-bg); border: 1px solid var(--field-border, rgba(0, 0, 0, 0.22)); border-radius: var(--field-radius, var(--radius-sm));
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 22%, transparent); }
textarea.field__input { resize: vertical; min-height: 6rem; }
.field__hint { margin: 0; font-size: 0.82rem; color: var(--color-muted); }
.choice-list { display: grid; gap: 0.5rem; }
.choice, .checkbox { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; font-size: 0.95rem; }
.choice { padding: 0.75rem 0.9rem; border: 1px solid var(--color-rule); border-radius: var(--radius-sm); }
.choice:has(input:checked) { border-color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 7%, transparent); }
.choice:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.choice input, .checkbox input { margin-top: 0.3rem; accent-color: var(--color-accent); }
.form-note { margin: 0; font-size: 0.82rem; color: var(--color-muted); }
.form-errors { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--color-error) 9%, white); color: var(--color-error); border: 1px solid color-mix(in srgb, var(--color-error) 35%, white); }
.form-errors ul { margin: 0.25rem 0 0; }
.form-success { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-md); background: color-mix(in srgb, var(--color-success) 9%, white); border: 1px solid color-mix(in srgb, var(--color-success) 30%, white); color: var(--color-text); }
.form-success__title { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.5rem; }
.form-success p:last-child { margin-bottom: 0; }
.disclaimer { margin: 1.5rem 0 0; font-size: 0.82rem; color: var(--color-muted); }

/* the home: one short introduction */
.intro { display: grid; gap: 1.25rem clamp(2rem, 6vw, 5.5rem); }
@media (min-width: 900px) { .intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.intro__title { font-size: clamp(1.85rem, 1.25rem + 2.2vw, 3rem); line-height: 1.1; margin: 0; max-width: 15ch; text-transform: var(--heading-case); }
.intro__text { font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.65; max-width: 62ch; }
.intro__highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); column-gap: 1.5rem; margin: 1.75rem 0 0; max-width: 62ch; }
.intro__highlight { display: flex; flex-direction: column; padding: 0.85rem 0; border-top: 1px solid var(--color-rule); }
.intro__highlight dd { margin: 0; }
.highlight__value { order: -1; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; }
.highlight__label { font-weight: 600; font-size: 0.92rem; }
.highlight__caption { color: var(--color-muted); font-size: 0.85rem; }
.intro__more { margin: 1.25rem 0 0; font-family: var(--font-ui); font-weight: 500; }
.intro__more a { text-underline-offset: 0.3em; }

/* photographic stories: a large photograph beside a short passage, an offset pair, a wide photograph between passages */
.stories { display: grid; gap: clamp(4rem, 10vw, 8rem); margin-top: clamp(3.5rem, 8vw, 6.5rem); }
.area__intro { margin-bottom: 1rem; font-size: 1.08rem; }
.area__intro + .stories { margin-top: clamp(2.5rem, 6vw, 4rem); }
.story-block { margin: 0; min-width: 0; }
.story-block__label { margin: 0 0 0.5rem; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 500; color: var(--color-muted); }
.story-block__title { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.4rem); line-height: 1.12; margin: 0 0 1rem; text-transform: var(--heading-case); }
.story-block__text { max-width: 36rem; }
.story-block__media { margin: 0; min-width: 0; }
.story-block__media img { display: block; width: 100%; object-fit: cover; border-radius: var(--photo-radius); }
.story-block__media figcaption { margin-top: 0.6rem; font-family: var(--font-ui); font-size: 0.85rem; color: var(--color-muted); }
.pull-quote { margin: 1.75rem 0 0; padding: 0 0 0 1.25rem; border-left: 1px solid var(--color-accent); font-family: var(--font-display); font-size: 1.35rem; font-style: italic; line-height: 1.4; }
.pull-quote p { margin: 0; }

.story-block--feature .story-block__media img, .story-block--feature-reverse .story-block__media img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .story-block--feature .story-block__media img, .story-block--feature-reverse .story-block__media img { aspect-ratio: 4 / 3; } }
.story-block--feature .story-block__body, .story-block--feature-reverse .story-block__body { margin-top: 1.5rem; }
@media (max-width: 899px) {
  .story-block--feature .story-block__media, .story-block--feature-reverse .story-block__media { margin-inline: calc(-1 * var(--gutter)); }
  .story-block--feature .story-block__media img, .story-block--feature-reverse .story-block__media img { border-radius: 0; }
  .story-block__media figcaption { padding-inline: var(--gutter); }
}
@media (min-width: 900px) {
  .story-block--feature, .story-block--feature-reverse { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); align-items: end; }
  .story-block--feature .story-block__media { grid-column: 1 / span 8; }
  .story-block--feature .story-block__body { grid-column: 9 / -1; margin: 0; padding-bottom: 0.25rem; }
  .story-block--feature-reverse .story-block__media { grid-column: 5 / -1; grid-row: 1; }
  .story-block--feature-reverse .story-block__body { grid-column: 1 / span 4; grid-row: 1; margin: 0; padding-bottom: 0.25rem; }
}

/* phones: the two photographs offset across the column, no overlap */
.story-block--pair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 3vw, 3rem); }
.story-block--pair .story-block__media--primary { grid-column: 1 / span 11; }
.story-block--pair .story-block__media--secondary { grid-column: 4 / -1; margin-top: 1rem; }
.story-block--pair .story-block__media img { aspect-ratio: 3 / 2; }
@media (max-width: 899px) {
  .story-block--pair .story-block__media--primary { margin-left: calc(-1 * var(--gutter)); }
  .story-block--pair .story-block__media--primary figcaption { padding-left: var(--gutter); }
  .story-block--pair .story-block__media--secondary { margin-right: calc(-1 * var(--gutter)); }
  .story-block--pair .story-block__media--secondary figcaption { padding-right: var(--gutter); }
}
.story-block--pair .story-block__body { grid-column: 1 / -1; margin-top: 1.75rem; }
@media (min-width: 900px) {
  .story-block--pair { row-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
  .story-block--pair .story-block__media--primary { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .story-block--pair .story-block__media--primary img { aspect-ratio: 4 / 5; }
  .story-block--pair .story-block__body { grid-column: 9 / -1; grid-row: 1; margin: 0; padding-top: clamp(1rem, 4vw, 3rem); }
  .story-block--pair .story-block__media--secondary { grid-column: 8 / -1; grid-row: 2; margin: 0; }
}

.story-block--wide .story-block__lead { display: grid; gap: 0.5rem clamp(2rem, 5vw, 4rem); margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.story-block--wide .story-block__media--wide { width: 100vw; margin-left: calc(50% - 50vw); }
.story-block--wide .story-block__media--wide img { aspect-ratio: 3 / 2; max-height: 88vh; border-radius: 0; }
.story-block--wide .story-block__media--wide figcaption { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.story-block--wide .story-block__after { margin-top: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 900px) {
  .story-block--wide .story-block__lead, .story-block--wide .story-block__after { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); }
  .story-block--wide .story-block__head { grid-column: 1 / span 5; }
  .story-block--wide .story-block__lead > .story-block__text { grid-column: 6 / span 6; padding-top: 0.35rem; }
  .story-block--wide .story-block__after > * { grid-column: 6 / span 6; }
  .story-block--wide .story-block__media--wide img { aspect-ratio: 21 / 10; }
}
.story-block--text .story-block__body { max-width: 44rem; }

/* gallery: the home page leads with three large photographs; /gallery holds the whole collection */
.gallery__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gallery-gap, 0.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery__item { margin: 0; min-width: 0; }
.gallery__item--extra { display: none; }
.gallery__button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--gallery-radius, var(--photo-radius)); }
.gallery__button img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s ease; }
.gallery__button:hover img { transform: scale(1.02); }
.gallery__zoom { position: absolute; top: 0.75rem; right: 0.75rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 0.9rem; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.gallery__button:hover .gallery__zoom, .gallery__button:focus-visible .gallery__zoom { opacity: 1; }
@media (hover: none) { .gallery__zoom { display: none; } }
.gallery__caption { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--color-muted); }

.gallery__grid--curated { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .gallery__grid--curated { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .gallery__grid--curated .gallery__item--feature { grid-row: span 2; }
  .gallery__grid--curated .gallery__item--feature img { height: 100%; aspect-ratio: auto; }
}
/* the full collection: a wide photograph, then pairs */
@media (min-width: 700px) {
  .gallery--full .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gallery-gap, 1rem); }
  .gallery--full .gallery__item:nth-child(3n + 1) { grid-column: 1 / -1; }
  .gallery--full .gallery__item:nth-child(3n + 1) img { aspect-ratio: 2 / 1; }
}

/* Lightbox: edge-to-edge photo viewer (Swiper) whose controls fade out when idle. */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; }
.lightbox[open] { display: block; }
.lightbox::backdrop { background: #000; }
.lightbox__swiper { width: 100%; height: 100%; outline: none; }
.lightbox__slide { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lightbox__slide .swiper-zoom-container { width: 100%; height: 100%; }
.lightbox__slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__chrome > * { position: absolute; z-index: 3; transition: opacity 0.35s ease; }
.lightbox.is-idle .lightbox__chrome > * { opacity: 0; pointer-events: none; }
.lightbox.is-idle { cursor: none; }
.lightbox__counter { top: max(0.9rem, env(safe-area-inset-top)); left: 0.9rem; margin: 0; padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(0, 0, 0, 0.5); font-size: 0.78rem; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.lightbox__close, .lightbox__nav { border: 0; background: rgba(0, 0, 0, 0.5); color: #fff; width: 2.75rem; height: 2.75rem; border-radius: 50%; font-size: 1.15rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(0, 0, 0, 0.75); }
.lightbox__close { top: max(0.6rem, env(safe-area-inset-top)); right: 0.6rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 0.75rem; }
.lightbox__nav--next { right: 0.75rem; }
.lightbox__nav.swiper-button-disabled { opacity: 0.25; cursor: default; }
.lightbox__caption { left: 0; right: 0; bottom: 0; margin: 0; padding: 3rem 1.25rem max(1.1rem, env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent); text-align: center; font-size: 0.95rem; line-height: 1.4; color: rgba(255, 255, 255, 0.92); pointer-events: none; }
.lightbox__caption:empty { display: none; }
/* Touch screens swipe; arrows only where there's a mouse. */
@media (hover: none) and (pointer: coarse) { .lightbox__nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .lightbox__chrome > * { transition: none; } }

/* media embeds */
.media-stack { display: grid; gap: 2.5rem; }
.media-item { margin: 0; }
.media-item figcaption, .media-item__caption { margin-top: 0.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.9rem; color: var(--color-muted); }
.embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-md); overflow: hidden; }
.embed--tour { aspect-ratio: 16 / 10; }
.embed video, .embed__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed video { object-fit: cover; }
.embed__facade { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #111; cursor: pointer; }
.embed__poster { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity 0.3s, transform 0.6s; }
.embed__facade:hover .embed__poster { opacity: 0.68; transform: scale(1.02); }
.embed__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; gap: 0.6rem; align-items: center; padding: 0.95rem 1.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: #111; font-weight: 600; font-size: 0.95rem; box-shadow: var(--shadow-md); white-space: nowrap; }

/* floor plans, with room dimensions and specifications beside them */
.tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--color-rule); }
.tabs__tab { padding: 0.75rem 1rem; border: 0; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--font-ui); font-size: 0.92rem; color: var(--color-muted); }
.tabs__tab[aria-selected="true"] { color: var(--color-text); border-bottom-color: var(--color-accent); font-weight: 600; }
.plans-layout { display: grid; gap: 2rem clamp(2rem, 4vw, 4rem); }
@media (min-width: 900px) {
  .plans-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
  .plans-layout--specs-only { grid-template-columns: minmax(0, 1fr); }
  .plans { position: sticky; top: calc(var(--nav-height) + 1.5rem); }
}
.plans__image { position: relative; display: block; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--color-rule); padding: clamp(0.75rem, 2vw, 1.75rem); }
.plans__image img { margin-inline: auto; width: 100%; max-height: 78vh; object-fit: contain; }
.plans__zoom { position: absolute; right: 0.75rem; bottom: 0.75rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 0.78rem; }
.plans__caption { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--color-muted); }
.plans__areas { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; margin: 0 0 1.25rem; }
.plans__areas > div { display: flex; flex-direction: column-reverse; }
.plans__areas dt { font-family: var(--font-ui); font-size: 0.8rem; color: var(--color-muted); }
.plans__areas dd { margin: 0; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; }
.plans__download { margin: 0 0 1.5rem; font-family: var(--font-ui); font-weight: 500; }
.plans__download a { text-underline-offset: 0.3em; }
.specs { border-top: 1px solid var(--color-rule); }
.specs__summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 0; cursor: pointer; list-style: none; font-family: var(--font-ui); font-weight: 600; border-bottom: 1px solid var(--color-rule); }
.specs__summary::-webkit-details-marker { display: none; }
.specs__summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--color-muted); }
.specs[open] > .specs__summary::after { content: "\2013"; }
.specs__groups { display: grid; gap: 1.75rem; padding: 1.5rem 0 0.5rem; }
.plans-layout--specs-only .specs__groups { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 3rem; }
.feature-group { min-width: 0; }
.feature-group__title { margin: 0 0 0.35rem; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em; color: var(--color-muted); text-transform: none; }
.feature-list { list-style: none; margin: 0; padding: 0; display: block; }
.feature-list__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0.15rem 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--color-rule); font-size: 0.95rem; text-align: left; }
.feature-list__label { font-weight: 500; }
.feature-list__detail { margin: 0; color: var(--color-muted); font-size: 0.92rem; }

/* buyer resources: compact ruled rows */
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; column-gap: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--color-rule); }
@media (min-width: 900px) { .resource-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.resource { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--color-rule); }
.resource__badge { justify-self: start; display: inline-flex; flex-direction: column; align-items: center; gap: 0.3rem; min-width: 2.9rem; padding: 0.45rem 0.35rem 0.35rem; border: 1px solid var(--color-rule); border-radius: var(--radius-sm); font-family: var(--font-ui); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; color: var(--color-muted); }
.resource__icon { font-size: 1.9em; color: var(--color-text); }
.resource__title { margin: 0; font-family: var(--font-ui); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.resource__note { margin: 0.15rem 0 0; font-size: 0.88rem; color: var(--color-muted); }
.resource__note:empty { display: none; }
.resource .bidding-status { margin-top: 0.6rem; font-size: 0.9rem; }
.resource__action { justify-self: end; }
@media (max-width: 520px) {
  .resource { grid-template-columns: 3rem minmax(0, 1fr); }
  .resource__action { grid-column: 2; justify-self: start; margin-top: 0.35rem; }
}

/* dialogs */
.site-dialog { width: min(94vw, 560px); max-height: 90vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-lg); }
.site-dialog::backdrop { background: rgba(10, 10, 10, 0.55); backdrop-filter: blur(3px); }
.site-dialog__panel { padding: clamp(1.25rem, 4vw, 2rem); display: grid; gap: 1rem; }
.site-dialog__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.site-dialog__title { font-size: 1.4rem; margin: 0; }
.site-dialog__lede { margin: 0; color: var(--color-muted); }
.site-dialog__close { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--color-rule); background: transparent; font-size: 1rem; line-height: 1; cursor: pointer; }
.share-dialog__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.5rem; }
.share-dialog__link { display: flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.75rem; border-radius: var(--radius-sm); text-align: center; text-decoration: none; color: #fff; font-weight: 600; font-size: 0.9rem; }
.share-dialog__link:hover { color: #fff; filter: brightness(1.1); }
.share-dialog__link--facebook { background: #1877f2; }
.share-dialog__link--x { background: #0f1419; }
.share-dialog__link--whatsapp { background: #25d366; }
.share-dialog__link--linkedin { background: #0a66c2; }
.share-dialog__link--email { background: #555; }
.share-dialog__copy { display: flex; gap: 0.5rem; }
.testimonial { margin: 0 0 1.25rem; padding: 0 0 1.25rem; border-bottom: 1px solid var(--color-rule); }
.testimonial p { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; margin-bottom: 0.5rem; }
.testimonial footer { color: var(--color-muted); font-size: 0.88rem; }

/* location: a handful of meaningful destinations beside the map */
.location { display: grid; gap: 2rem clamp(2rem, 4vw, 4rem); }
@media (min-width: 960px) { .location--with-highlights { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; } }
@media (max-width: 959px) { .location__map-area { order: -1; } }
.location__map-area { min-width: 0; }
.location__highlights-title { margin: 0 0 0.5rem; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; color: var(--color-muted); text-transform: none; letter-spacing: 0.01em; }
.place-highlights { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.place-highlight { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--color-rule); align-items: baseline; }
.place-highlight__category { grid-column: 1 / -1; font-family: var(--font-ui); font-size: 0.8rem; color: var(--color-muted); }
.place-highlight__name { text-decoration: none; font-weight: 500; }
.place-highlight__name:hover { text-decoration: underline; }
.place-highlight__distance { font-family: var(--font-ui); font-size: 0.85rem; color: var(--color-muted); text-align: right; white-space: nowrap; }
.location__more { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1rem 0 0; font-family: var(--font-ui); font-size: 0.92rem; font-weight: 500; }
.location__more a { text-underline-offset: 0.3em; }
.location__controls { position: relative; display: flex; flex-wrap: nowrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; overflow-x: auto; scrollbar-width: none; }
.location__controls::-webkit-scrollbar { display: none; }
.location__controls .chip { flex: none; }
/* wider screens: wrap rather than clip the last layer (phones keep the single scrolling row) */
@media (min-width: 768px) { .location__controls { flex-wrap: wrap; overflow-x: visible; } }
.location__select { position: relative; flex: none; display: inline-flex; }
.chip--select { appearance: none; -webkit-appearance: none; padding-right: 2rem; color: inherit; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23777' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.8rem center; }
.location__map { position: relative; height: clamp(300px, 52vh, 540px); border-radius: var(--photo-radius); overflow: hidden; background: var(--color-bg-alt); border: 1px solid var(--color-rule); }
.location__fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 2rem; background:
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(0, 0, 0, 0.04) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(0, 0, 0, 0.04) 38px 39px), var(--color-bg-alt); color: var(--color-text); }
.location__stage { position: relative; }
.location__pano { position: absolute; inset: 0; border-radius: var(--photo-radius); overflow: hidden; background: #111; border: 1px solid var(--color-rule); }
.location__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; }
.map-info { font: 14px/1.4 var(--font-body); color: #111; }

/* places */
.places-table { font-size: 0.95rem; background: var(--color-surface); color: var(--color-text); border-radius: var(--radius-md); overflow: hidden; }
.places-table th, .places-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--color-rule); vertical-align: top; }
.places-table thead th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; }
.places-table tbody th { font-weight: 500; }
.places-table a { text-decoration: none; }
.places-table a:hover { text-decoration: underline; }
.places-table__meta { display: block; font-size: 0.8rem; color: var(--color-muted); font-weight: 400; }
.places__group-title { font-size: 1.2rem; }
.places-groups { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.places-group { padding: 1.4rem; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-rule); color: var(--color-text); }
.places-group__title { font-size: 1.2rem; }
.places-list { list-style: none; margin: 0; padding: 0; }
.places-list__item { display: grid; padding: 0.6rem 0; border-bottom: 1px solid var(--color-rule); }
.places-list__item:last-child { border-bottom: 0; }
.places-list__name { text-decoration: none; font-weight: 500; }
.places-list__meta { font-size: 0.82rem; color: var(--color-muted); }
.places-list__icon { margin-right: 0.45em; }

/* inspections and agent contact */
.contact { display: grid; gap: 2.5rem clamp(2rem, 5vw, 5rem); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.contact__agents { display: grid; gap: 1.5rem; }
.contact__times { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--color-rule); }
.contact__subhead { margin: 0 0 0.35rem; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; color: var(--color-muted); letter-spacing: 0.01em; text-transform: none; }
.contact__note { margin: 0.85rem 0 0; font-size: 0.88rem; color: var(--color-muted); }
.contact__tabs { margin: -0.25rem 0 1.5rem; }
@media (max-width: 560px) {
  .contact__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0; }
  .contact__tabs .tabs__tab { padding: 0.6rem 0.4rem 0.7rem; font-size: 0.84rem; line-height: 1.25; text-align: center; }
}
.contact__forms { min-width: 0; }
.contact-links { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.6rem; }
.contact-links a { font-weight: 600; }
.inspections { display: grid; gap: 2rem; }
.inspection-list { list-style: none; margin: 0; padding: 0; }
.inspection { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.35rem 1rem; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid var(--color-rule); color: var(--color-text); }
.inspection__date { display: grid; justify-items: center; min-width: 3.4rem; padding: 0.3rem 0.4rem; border: 1px solid var(--color-rule); border-radius: var(--radius-sm); line-height: 1.05; }
.inspection__day, .inspection__month { font-family: var(--font-ui); font-size: 0.7rem; color: var(--color-muted); }
.inspection__num { font-family: var(--font-display); font-size: 1.45rem; }
.inspection__kind { margin: 0; font-weight: 600; }
.inspection__time { margin: 0; color: var(--color-muted); font-size: 0.93rem; }
.inspection__notes { margin: 0.2rem 0 0; color: var(--color-muted); font-size: 0.88rem; }
.inspection__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.4rem 0.9rem; }
.inspection__calendar { font-family: var(--font-ui); font-size: 0.85rem; text-underline-offset: 0.25em; }
@media (max-width: 520px) {
  .inspection { grid-template-columns: auto minmax(0, 1fr); }
  .inspection__actions { grid-column: 2; justify-content: flex-start; }
}

/* agents: portrait (or logo, or a quiet monogram) beside name and direct contact */
.agent-card { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 1.25rem; align-items: start; color: var(--color-text); }
.agent-card__photo img, .agent-card__initials { display: block; width: 88px; height: 110px; object-fit: cover; border-radius: var(--radius-sm); }
.agent-card__photo--logo img { object-fit: contain; padding: 0.75rem; background: var(--color-surface); border: 1px solid var(--color-rule); }
.agent-card__initials { display: grid; place-items: center; border: 1px solid var(--color-rule); background: var(--color-surface); font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.04em; color: var(--color-muted); }
.agent-card__name { font-size: 1.35rem; margin: 0 0 0.2rem; }
.agent-card__title { margin: 0 0 0.6rem; color: var(--color-muted); font-size: 0.92rem; line-height: 1.45; }
.agent-card__meta { margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--color-muted); }
.agent-card__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; }
.agent-card__links .icon-label { align-items: baseline; }
.agent-card__links .icon-label > :not(svg, i) { min-width: 0; }
.agent-card__links a { font-weight: 500; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.25em; overflow-wrap: anywhere; }
.agent-card__actions { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0.5rem 0 0 -0.4rem; }
.agent-card__actions .btn--ghost { padding-inline: 0.4rem; }

/* footer: address, agent and three links */
.site-footer { background: var(--footer-bg, var(--color-dark)); color: var(--footer-text, var(--color-dark-text)); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.site-footer a { color: inherit; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; } }
.site-footer__address { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; margin-bottom: 0.5rem; }
.site-footer__status { opacity: 0.72; font-size: 0.9rem; margin: 0; }
.site-footer__links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer__links a { text-decoration: none; font-size: 0.92rem; opacity: 0.85; }
.site-footer__links a:hover { opacity: 1; text-decoration: underline; }
.site-footer__agent { display: grid; gap: 0.15rem; font-size: 0.92rem; margin-bottom: 1.25rem; }
.site-footer__agent:last-child { margin-bottom: 0; }
.site-footer__agent a { text-decoration: none; }
.site-footer__agent .icon-label { justify-self: start; }
.site-footer__agent a:hover { text-decoration: underline; }
.site-footer__licence { opacity: 0.65; font-size: 0.82rem; }
.site-footer__legal { margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--footer-rule, var(--color-dark-rule)); font-size: 0.8rem; opacity: 0.72; }
.site-footer__legal p { max-width: 90ch; }
.site-footer__note { opacity: 1; }
.site-footer .btn--outline:hover { background: var(--footer-text, var(--color-dark-text)); color: var(--footer-bg, var(--color-dark)); }

/* mobile CTA (appears once the hero's buttons scroll away), cookie banner, back to top */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; z-index: 45; inset: auto 0 0 0; display: flex; gap: 0.5rem; padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom));
    background: var(--mobile-cta-bg, var(--color-bg)); border-top: 1px solid var(--color-rule); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(110%); visibility: hidden; transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition: transform 0.3s ease, visibility 0s; }
  .mobile-cta__primary { flex: 1; }
  .mobile-cta .btn--outline { color: var(--mobile-cta-text); }
  body { padding-bottom: 4.5rem; }
}
.cookie-banner { position: fixed; z-index: 80; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-inline: auto; padding: 1.2rem 1.4rem; border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-lg); border: 1px solid var(--color-rule); font-size: 0.92rem; }
.cookie-banner p { margin: 0 0 0.9rem; }
.cookie-banner__actions { display: flex; gap: 0.5rem; }
@media (max-width: 760px) { .cookie-banner { bottom: 5.5rem; } }
.back-to-top { position: fixed; z-index: 40; right: 1.25rem; bottom: 1.25rem; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border: 0; border-radius: var(--back-to-top-radius, 50%); background: var(--back-to-top-bg, var(--color-text)); color: var(--back-to-top-color, var(--color-bg)); cursor: pointer; box-shadow: var(--shadow-md); font-size: 1.1rem; }
@media (max-width: 760px) { .back-to-top { display: none; } }

/* reveal on scroll */
.reveal-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------------ property report */
.report__header { padding: calc(var(--nav-height) + 2.5rem) 0 2rem; background: var(--color-bg-alt); }
.report__toolbar { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.report__kicker { font-size: var(--label-size); letter-spacing: var(--label-tracking); text-transform: uppercase; color: var(--color-muted); margin: 0 0 0.5rem; }
.report__title { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); margin: 0; }
.report__subtitle { color: var(--color-muted); margin: 0.5rem 0 0; }
.report__body { padding-block: 2.5rem 4rem; }
.report__section { padding: 1.75rem 0; border-bottom: 1px solid var(--color-rule); break-inside: avoid; }
.report__section--split { display: grid; gap: 2rem; }
@media (min-width: 800px) { .report__section--split { grid-template-columns: 1fr 1fr; } }
.report__heading { font-size: 1.35rem; margin-bottom: 1rem; }
.report__subheading { font-size: 1rem; font-family: var(--font-ui); font-weight: 700; margin: 0 0 0.4rem; }
.report__facts { margin: 0; }
.report__facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px dotted var(--color-rule); }
.report__facts dt { color: var(--color-muted); }
.report__facts dd { margin: 0; text-align: right; font-weight: 500; }
.report__photo { margin: 0; }
.report__photo img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.report__columns { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.report__columns ul { margin: 0; padding-left: 1.1em; }
.report__rooms > div { padding: 0.5rem 0; }
.report__rooms dt { font-weight: 600; }
.report__rooms dd { margin: 0.2rem 0 0; color: var(--color-muted); }
.report__footer { padding-top: 2rem; font-size: 0.8rem; color: var(--color-muted); }

@media print {
  @page { margin: 16mm 14mm; }
  :root { --nav-height: 0px; }
  body { background: #fff; color: #000; font-size: 10.5pt; padding: 0 !important; }
  .site-nav, .site-footer, .mobile-cta, .cookie-banner, .back-to-top, .preview-banner, .skip-link, .no-print, .site-flash, dialog, .hero__actions, .gallery__filters, .location__map, .embed { display: none !important; }
  .report__header, .page-header { padding: 0 0 1rem; background: none; }
  .section { padding-block: 1.25rem; background: none !important; color: #000 !important; }
  a { color: #000; text-decoration: none; }
  .report__section { padding: 1rem 0; }
  .places-table th, .places-table td { padding: 0.35rem 0.5rem; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ demo theme switcher */
/* Demo sites only (sites/shared/_demo_theme_switcher). Neutral chrome that reads the same on every theme;
   the ID keeps footer and brand link colours from leaking in. */
#theme-switcher { position: fixed; z-index: 45; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); font-family: var(--font-ui, system-ui, sans-serif); font-size: 0.85rem; line-height: 1.3; color: #1d1d1f; }
#theme-switcher .theme-switcher__toggle { list-style: none; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.6rem 0.95rem; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: #1d1d1f; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2); cursor: pointer; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#theme-switcher .theme-switcher__toggle::-webkit-details-marker { display: none; }
#theme-switcher .theme-switcher__toggle:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }
#theme-switcher .theme-switcher__panel { position: absolute; left: 0; bottom: calc(100% + 0.5rem); width: min(19rem, calc(100vw - 2rem)); max-height: min(70vh, 34rem); overflow-y: auto; overscroll-behavior: contain; padding: 0.75rem; border-radius: 14px; background: #fff; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); }
#theme-switcher .theme-switcher__intro { margin: 0 0 0.5rem; color: #6e6e73; font-size: 0.8rem; }
#theme-switcher .theme-switcher__group { margin: 0.75rem 0 0.25rem; padding: 0 0.5rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6e6e73; }
#theme-switcher .theme-switcher__list { list-style: none; margin: 0; padding: 0; }
#theme-switcher .theme-switcher__option { display: flex; align-items: center; gap: 0.65em; padding: 0.45rem 0.5rem; border-radius: 8px; color: #1d1d1f; text-decoration: none; }
#theme-switcher .theme-switcher__option:hover, #theme-switcher .theme-switcher__option:focus-visible { background: #f2f2f7; outline: none; }
#theme-switcher .theme-switcher__option[aria-current] { background: #f2f2f7; font-weight: 700; }
#theme-switcher .theme-switcher__reset { margin-bottom: 0.25rem; font-weight: 600; }
#theme-switcher .theme-switcher__swatches { display: inline-flex; flex: none; padding-right: 0.25rem; }
#theme-switcher .theme-switcher__swatches span { width: 0.9rem; height: 0.9rem; margin-right: -0.25rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }
/* Phones: a small tab on the left edge (clear of the hero and mobile-bar buttons); the list opens as a sheet. */
@media (max-width: 760px) {
  #theme-switcher { left: 0; bottom: auto; top: 42%; }
  #theme-switcher .theme-switcher__label { display: none; }
  #theme-switcher .theme-switcher__toggle { justify-content: center; width: 2.4rem; height: 2.9rem; padding: 0 0.15rem 0 0; border-radius: 0 999px 999px 0; font-size: 1.05rem; }
  #theme-switcher .theme-switcher__panel { position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); width: auto; max-height: 72vh; }
}
@media print { #theme-switcher { display: none; } }
