/* ==========================================================================
   Intensified Builders — leasing site (private review build)
   Design tokens live in :root. Change the palette or type here only.
   ========================================================================== */

:root {
  /* Palette (provisional — replace with approved brand guide) */
  --bg: #F8F6F1;
  --surface: #FFFFFF;
  --surface-2: #F1EDE5;
  --ink: #18211E;
  --ink-2: #47524D;          /* secondary text, 7.4:1 on --bg */
  --primary: #24463A;        /* evergreen */
  --primary-hover: #1A352B;
  --primary-tint: #E6EDE9;
  --bronze: #A9794A;         /* decorative only — 3.3:1, never small text */
  --bronze-text: #85592F;    /* bronze for text, 5.3:1 on --bg */
  --border: #DED9D0;
  --border-strong: #C6BEB1;

  /* Status (always paired with words) */
  --ok-bg: #E3EEE6;  --ok-ink: #1C5232;  --ok-dot: #2F7A4C;
  --soon-bg: #F6EBD7; --soon-ink: #73460C; --soon-dot: #B7791F;
  --off-bg: #ECEAE5; --off-ink: #4A4843; --off-dot: #85817A;
  --error: #A1251A; --error-bg: #FBEDEB;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* Shape */
  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(24, 33, 30, .06);
  --shadow-lg: 0 18px 50px rgba(24, 33, 30, .18);

  --maxw: 1280px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.04; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0; }
.prose p + p { margin-top: var(--s4); }
.prose { max-width: 66ch; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze-text);
}
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 54ch; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 46px; padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700; font-size: .9875rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--secondary { background: var(--surface); color: var(--primary); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--primary); color: var(--primary-hover); background: #fff; }
.btn--ghost { background: transparent; color: var(--primary); padding-inline: 8px; }
.btn--ghost:hover { background: var(--primary-tint); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Preview bar ---------- */
.preview-bar { background: var(--ink); color: #EDEAE3; font-size: .8125rem; }
.preview-bar__inner { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding-block: 7px; }
.preview-bar a { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 246, 241, .96);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--border);
}
/* backdrop-filter makes the header the containing block for the fixed mobile menu; drop it while the menu is open */
.site-header:has(.mobile-menu:not([hidden])) { backdrop-filter: none; background: var(--bg); }
.site-header__inner { display: flex; align-items: center; gap: var(--s5); min-height: var(--header-h); }
.wordmark {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; font-stretch: 118%; letter-spacing: -.01em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; line-height: 1; margin-right: auto;
}
.wordmark:hover { color: var(--primary); }
.nav-list { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1rem;
  border: 0; background: transparent; border-radius: var(--radius-sm);
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--surface-2); color: var(--ink); }
.nav-link[aria-current="page"], .nav-trigger.is-current { color: var(--primary); box-shadow: inset 0 -3px 0 var(--bronze); border-radius: 0; }
.nav-chevron { width: 11px; height: 8px; transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 50px -30px rgba(24, 33, 30, .35);
  padding-block: var(--s6) var(--s7);
  max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto;
  transform-origin: 50% 0;
}
.mega.is-open { animation: mega-in .28s var(--ease) both; }
@keyframes mega-in { from { opacity: 0; transform: perspective(1200px) rotateX(-10deg) translateY(-8px); } to { opacity: 1; transform: none; } }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.2fr); gap: var(--s5) var(--s6); align-items: start; }
.mega__h { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); margin-bottom: var(--s3); }
.mega__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__links a { display: grid; gap: 2px; padding: 10px 12px; margin-inline: -12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.mega__links a:hover { background: var(--surface-2); }
.mega__links strong { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.mega__links span { color: var(--ink-2); font-size: .875rem; }
.mega__links a[aria-current="page"] strong { color: var(--primary); }
.mega__dot { width: 8px; height: 8px; border-radius: 50%; }
.mega__dot--ok { background: var(--ok-dot); }
.mega__dot--soon { background: var(--soon-dot); border-radius: 2px; }
.mega__feature { display: grid; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--bg); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mega__feature:hover { transform: perspective(900px) rotateX(4deg) translateY(-2px); box-shadow: 0 16px 30px -18px rgba(24,33,30,.4); color: var(--ink); }
.mega__feature-media { display: block; aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--border); }
.mega__feature-media img { width: 100%; height: 100%; object-fit: contain; }
.mega__feature-body { display: grid; gap: 6px; padding: var(--s4); justify-items: start; }
.mega__feature-body strong { font-size: 1.0625rem; }
.mega__feature-body > span:not(.status):not(.link-arrow) { color: var(--ink-2); font-size: .9375rem; }
.mega__feature .link-arrow { color: var(--primary); font-size: .9375rem; }
.mega__help { display: grid; gap: var(--s3); justify-items: start; padding: var(--s5); border-radius: var(--radius); background: var(--primary-tint); }
.mega__help p:not(.mega__h) { color: var(--ink-2); }
@media (max-width: 1100px) { .mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mega__feature, .mega__help { grid-column: 1 / -1; grid-template-columns: 220px 1fr; } .mega__feature-media { border-bottom: 0; border-right: 1px solid var(--border); } }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-actions .link-quiet { font-weight: 600; font-size: .9375rem; color: var(--ink-2); text-decoration: none; padding: 10px 4px; }
.header-actions .link-quiet:hover { color: var(--primary); }
.label-short { display: none; }

.menu-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); font-weight: 650; font-size: .9375rem;
}
.menu-toggle__icon { width: 16px; height: 10px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-toggle__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { border-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 2px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--menu-top, var(--header-h)); bottom: 0;
  background: var(--bg); border-top: 1px solid var(--border);
  overflow-y: auto; overscroll-behavior: contain; z-index: 39;
  padding: var(--s4) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom));
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--border); }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.mobile-menu a:not(.btn)::after { content: "→"; color: var(--bronze-text); }
.mobile-menu__ctas { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.mobile-menu__h { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-text); margin: var(--s5) 0 var(--s1); }
.mobile-menu a[aria-current="page"]:not(.btn) { color: var(--primary); }

.header-actions .btn { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1199px) {
  .nav-list { gap: 0; }
  .nav-link, .nav-trigger { padding: 0 9px; }
  .label-long { display: none; }
  .label-short { display: inline; }
}
@media (max-width: 959px) {
  .primary-nav, .header-actions .link-quiet { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { gap: var(--s3); }
}
@media (max-width: 479px) {
  .wordmark { font-size: 1.12rem; }
  .wordmark span { display: block; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .header-actions { gap: var(--s2); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--s8); }
.section--tight { padding-block: var(--s7); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s4); margin-bottom: var(--s6); }
.section-head p { max-width: 58ch; margin-top: var(--s3); color: var(--ink-2); }
@media (min-width: 768px) { .section { padding-block: var(--s9); } }

/* ---------- Hero ---------- */
.hero { padding-block: var(--s6) var(--s7); }
.hero__grid { display: grid; gap: var(--s6); align-items: center; }
.hero__copy h1 { margin-block: var(--s3) var(--s4); max-width: 13ch; }
.hero__copy .lead { margin-bottom: var(--s5); }
.hero__actions { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.hero-search { display: grid; gap: var(--s2); max-width: 30rem; }
.hero-search label { font-weight: 600; font-size: .9375rem; }
.hero-search__row { display: flex; gap: var(--s2); }
.hero-search__row input { flex: 1; min-width: 0; }
.hero__art {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--border);
  aspect-ratio: 4 / 3; max-height: 300px; width: 100%;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__art-note {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92);
  font-size: .75rem; padding: 4px 10px; border-radius: var(--radius-pill); color: var(--ink-2);
}
@media (min-width: 560px) { .hero__actions { display: flex; flex-wrap: wrap; } }
@media (min-width: 960px) {
  .hero { padding-block: var(--s8); }
  .hero__grid { grid-template-columns: 45fr 55fr; gap: var(--s8); }
  .hero__art { aspect-ratio: 5 / 4; max-height: none; }
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .field legend, .label { font-weight: 600; font-size: .9375rem; }
.field .hint { font-size: .875rem; color: var(--ink-2); }
.input, input[type="search"], input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 1rem; /* 16px avoids iOS zoom */
}
select { appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2318211E' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
textarea { min-height: 120px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
[aria-invalid="true"] { border-color: var(--error) !important; background: var(--error-bg); }
.field-error { color: var(--error); font-size: .875rem; font-weight: 600; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.choice-group { display: grid; gap: var(--s2); }
.choice {
  display: flex; gap: var(--s3); align-items: flex-start; padding: 12px 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer;
}
.choice:hover { border-color: var(--ink-2); }
.choice input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.choice strong { display: block; font-weight: 650; }
.choice span span { color: var(--ink-2); font-size: .875rem; }
@media (min-width: 640px) { .choice-group--2 { grid-template-columns: 1fr 1fr; } }
legend { padding: 0; margin-bottom: 6px; }
.choice-inline { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choice-inline .choice { padding: 10px 14px; }

/* ---------- Status ---------- */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: .8125rem; font-weight: 700; letter-spacing: .01em; line-height: 1.3;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status--available { background: var(--ok-bg); color: var(--ok-ink); }
.status--available .status__dot { background: var(--ok-dot); }
.status--coming-soon { background: var(--soon-bg); color: var(--soon-ink); }
.status--coming-soon .status__dot { background: var(--soon-dot); border-radius: 2px; }
.status--leased { background: var(--off-bg); color: var(--off-ink); }
.status--leased .status__dot { background: var(--off-dot); border-radius: 0; height: 2px; }

/* ---------- Listing cards ---------- */
/* Fixed column counts so rows always fill: 3-up for catalog/related, 4-up on the home tabs */
.card-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) and (max-width: 1239px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); } }
/* 35 photo listings = 7 full rows of 5 */
@media (min-width: 1000px) { .card-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); } .card-grid--5 .listing-card__body { padding: var(--s3) var(--s4) var(--s4); } .card-grid--5 .listing-card__title { font-size: 1.0625rem; } }
/* 2-up range: an odd last card spans the row as a wide horizontal card instead of leaving a hole */
@media (min-width: 640px) and (max-width: 999px) {
  .card-grid > .listing-card.is-row-end,
  .card-grid:not([data-catalog-list]) > .listing-card:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .card-grid > .listing-card.is-row-end .listing-card__media,
  .card-grid:not([data-catalog-list]) > .listing-card:last-child:nth-child(odd) .listing-card__media { flex: 0 0 50%; aspect-ratio: auto; min-height: 100%; }
}
.listing-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s var(--ease), transform .2s var(--ease);
}
.listing-card:hover { border-color: var(--border-strong); }
.listing-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.listing-card:hover .listing-card__media img { transform: scale(1.02); }
.media-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  background: rgba(24, 33, 30, .82); color: #fff; font-size: .75rem; font-weight: 600;
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.listing-card__body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4) var(--s5) var(--s5); flex: 1; }
.listing-card__body > .status { align-self: flex-start; }
.listing-card__title { font-family: var(--font-sans); letter-spacing: 0; line-height: 1.25; font-size: 1.1875rem; font-weight: 650; margin-top: var(--s1); }
.listing-card__title a { color: var(--ink); text-decoration: none; }
.listing-card__title a:hover { color: var(--primary); text-decoration: underline; }
.listing-card__address { color: var(--ink-2); font-size: .9375rem; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; font-size: .9375rem; }
.facts li + li::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); margin-right: 14px; vertical-align: middle; position: relative; top: -2px; }
.listing-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-top: var(--s3); margin-top: auto; border-top: 1px solid var(--border); }
.price { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.price span { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.price--unknown { font-size: 1rem; font-weight: 650; color: var(--ink-2); }
.listing-card__date { font-size: .875rem; color: var(--ink-2); }
.listing-card__actions { display: grid; gap: var(--s2); margin-top: var(--s3); }
.listing-card__actions--two { grid-template-columns: 1fr 1fr; }
.fixture-note { font-size: .75rem; color: var(--ink-2); letter-spacing: .02em; }

.photo-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(36,70,58,.05) 14px 15px),
    var(--surface-2);
  color: var(--ink-2); font-weight: 600; font-size: .9375rem;
}
.photo-placeholder svg { margin-inline: auto; width: 34px; color: var(--bronze); }

/* Broken image fallback */
.img-failed { position: relative; }
.img-failed img { opacity: 0; }
.img-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 16px;
  background: var(--surface-2); color: var(--ink-2); font-size: .9375rem; font-weight: 600;
}

/* ---------- Tabs (home + media) ---------- */
.tablist { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); max-width: 100%; }
.tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 16px; border: 0; border-radius: var(--radius-sm);
  background: transparent; font-weight: 650; color: var(--ink-2); font-size: .9875rem;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(24,33,30,.12); }
.tab-count { font-variant-numeric: tabular-nums; font-size: .8125rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 0 8px; }
.tab-panel { padding-top: var(--s5); }
.find-rental .tablist { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
@media (min-width: 560px) { .find-rental .tablist { display: inline-grid; width: auto; } }
.panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: var(--s5); }

.empty-state {
  border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface);
  padding: var(--s6) var(--s5); text-align: center; display: grid; gap: var(--s3); justify-items: center;
}
.empty-state h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.empty-state p { max-width: 48ch; color: var(--ink-2); }
.empty-state--error { border-style: solid; border-color: #E2B7B1; background: var(--error-bg); }

/* ---------- Home feature sections ---------- */
.compare { display: grid; gap: var(--s5); }
.compare figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare figure > div { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; }
.compare figure img { width: 100%; height: 100%; object-fit: contain; }
.compare figure img.cover { object-fit: cover; }
.compare figcaption { padding: var(--s4) var(--s5) var(--s5); display: grid; gap: 4px; }
.compare figcaption strong { font-size: 1.0625rem; }
.compare figcaption span { color: var(--ink-2); font-size: .9375rem; }
@media (min-width: 768px) { .compare { grid-template-columns: repeat(3, 1fr); } }

.steps { display: grid; gap: var(--s5); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding-top: var(--s5); border-top: 2px solid var(--ink); display: grid; gap: var(--s2); }
.steps li::before { content: "0" counter(step); font-weight: 700; font-family: var(--font-display); font-size: 1.75rem; color: var(--bronze-text); line-height: 1; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--ink-2); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }

.split { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: var(--s8); } }
.brand-line { font-weight: 800; font-family: var(--font-display); font-size: clamp(2.4rem, 1.5rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -.02em; color: var(--primary); }
.brand-line { font-stretch: 112%; text-transform: uppercase; }
.brand-line em { font-style: normal; color: var(--bronze-text); }
/* Section labels are kept only where they carry meaning (the hero brand line). */
.eyebrow { display: none; }
.hero .eyebrow { display: block; }
.plan3d__step h3, .empty-state h3, .footer-brand { font-stretch: 112%; }
.footer-brand { text-transform: uppercase; font-size: 1.35rem; }

.help-band { display: grid; gap: var(--s5); padding: var(--s6); border-radius: var(--radius); background: var(--primary); color: #F1F4F2; }
.help-band h2 { color: #fff; }
.help-band p { color: #D3DED8; max-width: 52ch; margin-top: var(--s3); }
.help-band .btn--primary { background: #fff; color: var(--primary); }
.help-band .btn--primary:hover { background: #E9EFEB; color: var(--primary-hover); }
.help-band .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.help-band .btn--secondary:hover { border-color: #fff; color: #fff; }
.help-band a:not(.btn) { color: #fff; }
@media (min-width: 900px) { .help-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: var(--s7); } .help-band .btn-row { justify-content: flex-end; } }

/* Buildings strip */
.building-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .building-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .building-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .building-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .building-grid > li:last-child:nth-child(odd) { grid-column: auto; } }
.building-card { display: grid; text-decoration: none; color: var(--ink); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; transition: border-color .2s var(--ease), transform .3s var(--ease); }
.building-card:hover { color: var(--ink); border-color: var(--ink-2); transform: translateY(-2px); }
.building-card__media { display: block; aspect-ratio: 4 / 3; background: var(--surface-2); }
.building-card__media img { width: 100%; height: 100%; object-fit: cover; }
.building-card__body { display: grid; gap: 2px; padding: var(--s3) var(--s4) var(--s4); }
.building-card__body strong { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.125rem; }
.building-card__body span { color: var(--ink-2); font-size: .9375rem; }

/* ---------- Page header ---------- */
.page-head { padding-block: var(--s6) var(--s5); }
.page-head h1 { margin-top: var(--s2); }
.page-head .lead { margin-top: var(--s3); }

/* ---------- Catalog ---------- */
.catalog-controls { display: grid; gap: var(--s4); padding-bottom: var(--s5); border-bottom: 1px solid var(--border); margin-bottom: var(--s5); }
.status-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); }
.status-switch button {
  min-height: 46px; padding: 6px 8px; border: 0; border-radius: var(--radius-sm); background: transparent;
  font-weight: 650; color: var(--ink-2); line-height: 1.2; font-size: .9375rem;
}
.status-switch button:hover { color: var(--ink); }
.status-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(24,33,30,.12); }
@media (min-width: 640px) { .status-switch { display: inline-grid; grid-template-columns: repeat(3, auto); justify-self: start; } .status-switch button { padding-inline: 18px; } }

.search-row { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: end; }
.search-row .field { min-width: 0; }
.filter-toggle { position: relative; min-height: 46px; }
.filter-badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700;
}
.filter-panel__head, .filter-panel__foot { display: none; }
.filter-panel__fields { display: grid; gap: var(--s4); }
.filter-backdrop { position: fixed; inset: 0; background: rgba(24,33,30,.45); z-index: 60; }

@media (max-width: 899px) {
  .filter-panel { display: none; }
  .filter-panel.is-open {
    display: flex; flex-direction: column;
    position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: min(88dvh, 640px);
    background: var(--bg); border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg);
  }
  .filter-panel.is-open .filter-panel__head { display: flex; justify-content: space-between; align-items: center; padding: var(--s4) var(--gutter); border-bottom: 1px solid var(--border); }
  .filter-panel.is-open .filter-panel__head h2 { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 700; }
  .filter-panel.is-open .filter-panel__fields { padding: var(--s5) var(--gutter); overflow-y: auto; }
  .filter-panel.is-open .filter-panel__foot {
    display: grid; grid-template-columns: auto 1fr; gap: var(--s3);
    padding: var(--s4) var(--gutter) calc(var(--s4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface);
  }
  .filter-clear-inline { display: none; }
}
@media (min-width: 900px) {
  .catalog-controls { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: minmax(260px, 1fr); }
  .filter-toggle { display: none; }
  .filter-panel__fields { grid-template-columns: repeat(3, minmax(150px, 220px)) auto; align-items: end; }
  .catalog-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: var(--s4); align-items: end; }
}
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface); font-size: 1.25rem; line-height: 1;
}
.icon-btn:hover { border-color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 8px 4px 12px;
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-pill);
  font-size: .875rem; font-weight: 600;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip span[aria-hidden] { font-size: 1.1rem; line-height: 1; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); align-items: baseline; margin-bottom: var(--s5); }
.results-count { font-weight: 650; }
.results-note { font-size: .875rem; color: var(--ink-2); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--ink-2); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--ink-2); }
.breadcrumbs a:hover { color: var(--primary); }

/* ---------- Unit page ---------- */
.unit-top { padding-block: var(--s5) var(--s5); }
.unit-head { display: grid; gap: var(--s4); margin-top: var(--s4); }
.unit-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.unit-address { color: var(--ink-2); font-size: 1.0625rem; }
.key-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 0; }
.key-facts div { background: var(--surface); padding: 12px 16px; }
.key-facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.key-facts dd { margin: 2px 0 0; font-weight: 650; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .key-facts { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); } }
.tab-panel:focus-visible { outline-offset: 6px; }
.unit-head > .status { justify-self: start; }
.photo-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.media-notes { display: grid; gap: var(--s3); margin-top: var(--s4); }
.quick-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (min-width: 1024px) { .quick-actions { display: none; } }

.unit-layout { display: grid; gap: var(--s6); padding-bottom: var(--s8); }
.unit-main { min-width: 0; display: grid; gap: var(--s7); }
@media (min-width: 1024px) {
  .unit-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s7); align-items: start; }
  .unit-aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
.unit-section h2 { font-size: 1.75rem; margin-bottom: var(--s4); }

.media-block .tablist { margin-bottom: var(--s4); flex-wrap: wrap; }
@media (max-width: 639px) {
  .key-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .media-block .tablist { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  .media-block .tab { padding: 8px 6px; font-size: .9rem; line-height: 1.2; }
}
.media-block .tab-panel { padding-top: 0; }

.gallery-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); aspect-ratio: 4 / 3; touch-action: pan-y; }
.gallery-main { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,255,255,.94); font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.gallery-nav:hover { background: #fff; border-color: var(--ink-2); }
.gallery-nav--prev { left: 12px; } .gallery-nav--next { right: 12px; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(24,33,30,.85); color: #fff; font-size: .8125rem; font-weight: 650; padding: 3px 10px; border-radius: var(--radius-pill); font-variant-numeric: tabular-nums; }
.gallery-expand { position: absolute; left: 12px; bottom: 12px; }
.gallery-caption { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; margin-top: var(--s3); font-size: .9375rem; }
.scope-label { font-size: .8125rem; font-weight: 650; color: var(--bronze-text); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--s2); list-style: none; padding: 0; margin: var(--s3) 0 0; }
.gallery-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button { position: relative; }
.gallery-thumbs .img-fallback { font-size: .6875rem; padding: 4px; line-height: 1.2; }

.plan-frame { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s4); }
.plan-frame img { width: 100%; height: auto; max-height: 560px; object-fit: contain; margin-inline: auto; }
.p3-viewer { position: relative; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.p3-viewer.is-dragging { cursor: grabbing; }
.p3-viewer:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.p3-viewer .plan3d__scene { max-width: 640px; margin-inline: auto; }
.p3-hint { text-align: center; font-size: .8125rem; color: var(--ink-2); margin-top: var(--s2); }
.plan-meta { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: center; margin-top: var(--s4); }
.plan-label { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .875rem; }
.plan-label span { font-weight: 600; color: var(--bronze-text); }
.plan-text { margin-top: var(--s4); font-size: .9375rem; }
.plan-text summary { cursor: pointer; font-weight: 650; color: var(--primary); min-height: 32px; }
.plan-text ul { margin: var(--s2) 0 0; padding-left: 1.2em; color: var(--ink-2); }
.notice {
  display: grid; gap: 4px; padding: var(--s4) var(--s5); border-radius: var(--radius-sm);
  background: var(--surface-2); border-left: 3px solid var(--bronze); font-size: .9375rem;
}
.notice strong { font-weight: 700; }
.notice--neutral { border-left-color: var(--border-strong); }

.feature-list { display: grid; gap: var(--s2) var(--s5); list-style: none; padding: 0; margin: 0; }
.feature-list li { padding-left: 22px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border: 2px solid var(--primary); border-radius: 2px; }
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }

.lease-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s5); display: grid; gap: var(--s4); box-shadow: var(--shadow-sm); }
.lease-card .price { font-size: 1.75rem; }
.lease-card__facts { margin: 0; display: grid; gap: 6px; font-size: .9375rem; }
.lease-card__facts div { display: flex; justify-content: space-between; gap: var(--s3); border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.lease-card__facts dt { color: var(--ink-2); }
.lease-card__facts dd { margin: 0; font-weight: 650; text-align: right; }
.lease-card__actions { display: grid; gap: var(--s2); }
.lease-card .small { color: var(--ink-2); }
.record-meta { font-size: .75rem; color: var(--ink-2); border-top: 1px dashed var(--border-strong); padding-top: var(--s3); }

.unavailable-banner { display: grid; gap: var(--s3); padding: var(--s6); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); margin-block: var(--s5) var(--s8); }
.unavailable-banner h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: rgba(14, 19, 17, .96); color: #fff;
}
.lightbox::backdrop { background: rgba(14, 19, 17, .7); }
.lightbox__inner { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--gutter); }
.lightbox__count { font-variant-numeric: tabular-nums; font-weight: 650; }
.lightbox__close { min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-weight: 650; }
.lightbox__close:hover { border-color: #fff; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 4px; }
.lightbox__stage .img-fallback { position: static; background: #2B322F; color: #EDEAE3; border-radius: var(--radius); min-height: 200px; min-width: min(80vw, 420px); }
.lightbox__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: rgba(14,19,17,.6); color: #fff; font-size: 1.5rem;
}
.lightbox__nav:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--next { right: 12px; }
.lightbox__caption { padding: var(--s4) var(--gutter) calc(var(--s5) + env(safe-area-inset-bottom)); text-align: center; display: grid; gap: 2px; }
.lightbox__caption span { color: #D9C2A6; font-size: .875rem; font-weight: 600; }
.lightbox :focus-visible { outline-color: #fff; }

/* ---------- Gallery page ---------- */
.photo-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 560px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.photo-grid figure { margin: 0; }
.photo-grid button { display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; cursor: zoom-in; }
.photo-grid button img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.photo-grid button:hover img { transform: scale(1.03); }
.photo-grid figcaption { margin-top: var(--s2); font-size: .9375rem; display: grid; gap: 2px; }
/* Portrait walkthrough stills: 2-up on phones, 4-up on desktop */
.photo-grid--tall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (min-width: 1000px) { .photo-grid--tall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); } }
.photo-grid--tall button { aspect-ratio: 3 / 4; }
.gallery-group + .gallery-group { margin-top: var(--s8); }
.gallery-group__head { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: end; margin-bottom: var(--s5); }

/* ---------- Real property photos (portrait stills from walkthrough videos) ---------- */
.listing-card__media--photo { aspect-ratio: 1 / 1; }
.listing-card__media--photo img { object-position: 50% 58%; }
.building-card__media--photo { aspect-ratio: 1 / 1; }
.building-card__media--photo img { object-position: 50% 58%; }
@media (max-width: 559px) {
  .building-grid:has(.building-card__media--photo) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .building-grid:has(.building-card__media--photo) > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .building-grid:has(.building-card__media--photo) > li:last-child:nth-child(odd) .building-card__media--photo { aspect-ratio: 16 / 10; }
  .building-card__body strong { font-size: 1rem; }
  .building-card__body span { font-size: .8125rem; }
}
@media (min-width: 1100px) { .building-grid.building-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photo-count { position: absolute; right: 10px; bottom: 10px; z-index: 1; background: rgba(24, 33, 30, .82); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: var(--radius-pill); }

.prop-head { display: grid; gap: var(--s4); padding-block: var(--s5) var(--s6); }
.prop-head h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); }
.prop-head .unit-address { margin-top: var(--s2); }
.prop-head__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.prop-mosaic { display: grid; gap: var(--s2); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--s6); }
.prop-mosaic button { display: block; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 4; cursor: zoom-in; }
.prop-mosaic button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prop-mosaic button:hover img { transform: scale(1.03); }
.prop-mosaic button:nth-child(n + 3) { display: none; }
@media (min-width: 720px) {
  .prop-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .prop-mosaic button:nth-child(n + 3) { display: block; }
  .prop-mosaic button:nth-child(n + 5) { display: none; }
}
@media (min-width: 1100px) {
  .prop-mosaic { grid-template-columns: 1.6fr repeat(3, 1fr); }
  .prop-mosaic button { aspect-ratio: auto; height: clamp(300px, 30vw, 440px); }
}

.prop-layout { display: grid; gap: var(--s7); padding-bottom: var(--s8); }
@media (min-width: 1024px) {
  .prop-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .prop-layout .unit-aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
.unit-jump { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.unit-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); text-decoration: none; color: var(--ink); font-weight: 650; font-size: .9375rem; background: var(--surface); }
.unit-jump a:hover { border-color: var(--primary); color: var(--primary); }

.unit-block { display: grid; gap: var(--s4); padding-top: var(--s6); border-top: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 16px); }
.unit-block:first-of-type { border-top: 0; padding-top: 0; }
.unit-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s3); }
.unit-block__head h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.unit-block__head p { color: var(--ink-2); margin-top: 4px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tag-list li { font-size: .8125rem; font-weight: 650; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink); }
.unit-photos { display: grid; gap: var(--s2); grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
/* Column count follows the photo count so every row is full: 4 → 4, 5 → 5, 6 → 3 × 2 */
@media (min-width: 640px) {
  .unit-photos { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
  .unit-photos:has(> li:nth-child(5)) { --cols: 5; }
  .unit-photos:has(> li:nth-child(6)) { --cols: 3; }
  .unit-photos:has(> li:nth-child(6)) button { aspect-ratio: 4 / 3; }
}
.unit-photos button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 4; cursor: zoom-in; }
.unit-photos button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.unit-photos button:hover img { transform: scale(1.04); }
.unit-photos__label { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .75rem; font-weight: 650; padding: 2px 8px; border-radius: var(--radius-pill); }
.unit-block__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
/* Odd photo counts: the last tile fills the row on 2-up phones */
@media (max-width: 639px) { .unit-photos li:last-child:nth-child(odd) { grid-column: 1 / -1; } .unit-photos li:last-child:nth-child(odd) button { aspect-ratio: 4 / 3; } }

.hero__art--photos { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s2); background: none; border: 0; aspect-ratio: auto; max-height: none; overflow: visible; }
.hero__art--photos img { border-radius: var(--radius); aspect-ratio: 3 / 4; height: auto; }
.hero__art--photos img:nth-child(2) { margin-top: var(--s7); }
@media (max-width: 959px) { .hero__art--photos { max-height: 340px; overflow: hidden; border-radius: var(--radius); } .hero__art--photos img { aspect-ratio: 4 / 5; } .hero__art--photos img:nth-child(2) { margin-top: 0; } }

/* Home: hero carousel */
.hero-carousel { position: relative; display: grid; gap: var(--s3); min-width: 0; }
.hero-carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  border-radius: var(--radius); scrollbar-width: none; width: 100%; height: clamp(460px, 70vh, 640px); background: var(--surface-2);
}
.hero__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); } }
.hero-carousel__track::-webkit-scrollbar { display: none; }
.hero-carousel__track:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.hc-slide { position: relative; scroll-snap-align: start; overflow: hidden; height: 100%; }
.hc-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.06); transition: transform 6s linear; }
.hc-slide.is-current img { transform: scale(1); }
.hc-card {
  position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3);
  display: grid; gap: 4px; padding: var(--s4); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); color: var(--ink);
  box-shadow: 0 10px 30px rgba(12, 18, 16, .18);
  transform: translateY(10px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.hc-slide.is-current .hc-card { transform: none; opacity: 1; }
.hc-card__eyebrow { display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--ok-ink); }
.hc-card__eyebrow .status__dot { background: var(--ok-dot); }
.hc-card__title { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.1; margin: 0; }
.hc-card__meta { color: var(--ink-2); font-size: .9375rem; }
.hc-card__row { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: 4px; font-size: .875rem; color: var(--ink-2); }
.hc-card__row a { font-weight: 700; white-space: nowrap; }
.hero-carousel__controls { display: flex; align-items: center; gap: var(--s2); }
.hc-btn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--ink); cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.hc-btn:hover { border-color: var(--ink-2); background: var(--surface); }
.hc-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.hc-btn svg { width: 18px; height: 18px; }
.hc-btn .hc-ico-play { display: none; }
.hc-btn[aria-pressed="true"] .hc-ico-play { display: block; }
.hc-btn[aria-pressed="true"] .hc-ico-pause { display: none; }
.hc-dots { flex: 1; display: flex; justify-content: center; gap: 6px; }
.hc-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hc-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--border); transition: width .3s var(--ease), background .3s var(--ease); }
.hc-dots button[aria-current="true"]::before { width: 22px; background: var(--primary); }
.hc-dots button:focus-visible { outline: 2px solid var(--primary); border-radius: 6px; }
@media (max-width: 959px) { .hero-carousel__track { height: auto; aspect-ratio: 4 / 5; max-height: 540px; } }
@media (max-width: 420px) { .hc-dots { gap: 0; } .hc-dots button { width: 20px; } }
@media (prefers-reduced-motion: reduce) { .hero-carousel__track { scroll-behavior: auto; } .hc-slide img, .hc-card { transition: none; transform: none; } }

/* Home: photo strip (2 rows of 4 on desktop) */
.photo-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .photo-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); } }
.photo-strip a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); color: #fff; text-decoration: none; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.photo-strip a:hover img { transform: scale(1.04); }
.photo-strip span { position: absolute; inset: auto 0 0 0; padding: var(--s5) var(--s3) var(--s3); background: linear-gradient(transparent, rgba(12, 18, 16, .78)); font-size: .875rem; font-weight: 650; line-height: 1.3; }
.photo-strip span small { display: block; font-weight: 500; opacity: .85; font-size: .8125rem; }

/* Home map: 15 buildings — scroll the list beside the map, 2-up on tablets */
@media (min-width: 560px) and (max-width: 899px) { .map-list { grid-template-columns: 1fr 1fr; } .map-list li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 900px) { .map-block .map-list { max-height: 640px; overflow-y: auto; padding-right: 6px; overscroll-behavior: contain; } .map-block .map-canvas { min-height: 640px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s7); padding-bottom: var(--s8); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 4fr 7fr; } .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-aside { display: grid; gap: var(--s5); align-content: start; }
.aside-box { padding: var(--s5); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: grid; gap: var(--s2); }
.aside-box h2 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; }
.inquiry-form { display: grid; gap: var(--s5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s5); }
@media (min-width: 640px) { .inquiry-form { padding: var(--s6); } }
.form-row { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.unit-context { display: grid; gap: 4px; padding: var(--s4); border-radius: var(--radius-sm); background: var(--primary-tint); border: 1px solid #C9D8D0; }
.unit-context__label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.unit-context strong { font-size: 1.0625rem; }
.form-errors { padding: var(--s4) var(--s5); border: 1px solid #E2B7B1; border-left: 4px solid var(--error); background: var(--error-bg); border-radius: var(--radius-sm); }
.form-errors h2 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--error); }
.form-errors ul { margin: var(--s2) 0 0; padding-left: 1.2em; }
.form-errors a { color: var(--error); font-weight: 600; }
.form-foot { display: grid; gap: var(--s3); }
.form-result { display: grid; gap: var(--s4); padding: var(--s6); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--bronze); border-radius: var(--radius); }
.form-result h2 { font-size: 1.75rem; }
.form-result pre { white-space: pre-wrap; word-break: break-word; background: var(--surface-2); padding: var(--s4); border-radius: var(--radius-sm); font-size: .8125rem; max-height: 320px; overflow: auto; }

/* ---------- Notes / docs ---------- */
.doc { padding-bottom: var(--s8); }
.doc h2 { margin: var(--s7) 0 var(--s3); font-size: 1.75rem; }
.doc h3 { margin: var(--s5) 0 var(--s2); }
.doc ul, .doc ol { padding-left: 1.3em; max-width: 72ch; }
.doc li + li { margin-top: 6px; }
.doc p { max-width: 72ch; margin-top: var(--s3); }
.doc code { font-size: .875em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-top: var(--s4); }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; min-width: 560px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); font-weight: 700; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D7DCD9; padding-top: var(--s8); margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: var(--s6); padding-bottom: var(--s7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand { font-weight: 700; font-family: var(--font-display); font-size: 1.6rem; color: #fff; line-height: 1.1; }
.footer-line { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #D9B48C; margin-top: var(--s2); }
.footer-grid p { margin-top: var(--s3); max-width: 34ch; }
.footer-h { font-family: var(--font-sans); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: var(--s3); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-grid ul a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.footer-grid ul a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); padding-block: var(--s5) calc(var(--s5) + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem; }

/* ---------- 3D scroll motion (classes added by script.js; content stays visible without JS) ---------- */
.reveal {
  opacity: 0;
  transform: perspective(1100px) rotateX(22deg) translateY(64px) scale(.95);
  transform-origin: 50% 100%;
  transition: opacity .8s var(--ease), transform 1s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Hero entrance on page load (only when motion is allowed; .motion is set by script.js) */
@keyframes hero-rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
.motion .hero__copy > * { animation: hero-rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.motion .hero__copy > :nth-child(2) { animation-delay: .08s; }
.motion .hero__copy > :nth-child(3) { animation-delay: .16s; }
.motion .hero__copy > :nth-child(4) { animation-delay: .24s; }
.motion .hero__copy > :nth-child(5) { animation-delay: .32s; }
.motion .hero__art { animation: hero-rise 1.1s .2s cubic-bezier(.2, .8, .2, 1) both; }
.tilt { will-change: transform; transform-style: preserve-3d; }
.hero__art.tilt { transform-origin: 50% 0; }

/* Home: 3D floor plan scroll scene */
.plan3d { padding-block: var(--s8); overflow: clip; }
.plan3d__intro { max-width: 60ch; margin-bottom: var(--s6); }
.plan3d__intro p { color: var(--ink-2); margin-top: var(--s3); }
.plan3d__grid { display: grid; gap: var(--s6); }
.plan3d__stage { position: relative; }
.plan3d__sticky { display: grid; gap: var(--s3); justify-items: center; }
.plan3d__scene {
  width: 100%; aspect-ratio: 1 / .78; perspective: 1700px; perspective-origin: 50% 30%;
  display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 58%, rgba(36, 70, 58, .10), transparent 70%);
}
.plan3d__board {
  width: 76%; transform-style: preserve-3d; transform-origin: 50% 50%;
  transform: rotateX(54deg) rotateZ(-32deg) scale(.95);
  will-change: transform;
}

/* 3D model pieces: each .p3-box is a box with five visible faces */
.p3-model { position: relative; width: 100%; aspect-ratio: 500 / 350; container-type: inline-size; transform-style: preserve-3d; }
.p3-box { position: absolute; transform-style: preserve-3d; will-change: transform; }
.p3-f { position: absolute; display: block; background: var(--c); }
.p3-f--top { inset: 0; transform: translateZ(var(--h)); display: grid; place-items: center; }
.p3-f--s { left: 0; top: 100%; width: 100%; height: var(--h); transform-origin: top; transform: rotateX(90deg); filter: brightness(.86); }
.p3-f--n { left: 0; bottom: 100%; width: 100%; height: var(--h); transform-origin: bottom; transform: rotateX(-90deg); filter: brightness(.94); }
.p3-f--e { left: 100%; top: 0; width: var(--h); height: 100%; transform-origin: left; transform: rotateY(-90deg); filter: brightness(.8); }
.p3-f--w { right: 100%; top: 0; width: var(--h); height: 100%; transform-origin: right; transform: rotateY(90deg); filter: brightness(.9); }
.p3-base .p3-f--top { box-shadow: 0 0 0 .4cqw rgba(24, 33, 30, .08); }
.p3-wall .p3-f--top { background: #1E2A26; }
.p3-floor .p3-f--top { transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.p3-floor.is-focus .p3-f--top { background: color-mix(in srgb, var(--c) 70%, #8FB8A6); box-shadow: inset 0 0 0 .6cqw rgba(36, 70, 58, .55); }
.p3-item .p3-f--top { box-shadow: inset 0 0 0 .25cqw rgba(24, 33, 30, .18); }
.p3-floor[data-lp="r"] .p3-f--top { justify-items: end; padding-right: 1.4cqw; }
.p3-floor[data-lp="tl"] .p3-f--top { justify-items: start; align-items: start; padding: 4cqw 0 0 3cqw; }
.p3-floor[data-lp="t"] .p3-f--top { align-items: start; padding-top: 1.6cqw; }
.p3-label { font: 700 2.4cqw/1 var(--font-sans); color: #18211E; letter-spacing: .01em; white-space: nowrap; }
.plan3d__label { font-size: .8125rem; font-weight: 700; color: var(--bronze-text); letter-spacing: .04em; }
.plan3d__steps { display: grid; gap: var(--s5); list-style: none; margin: 0; padding: 0; counter-reset: p3; }
.plan3d__step { padding: var(--s5); border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color .3s var(--ease), opacity .3s var(--ease); }
.plan3d__step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.015em; margin: 6px 0 8px; }
.plan3d__step p:last-child { color: var(--ink-2); }
.plan3d__step.is-active { border-color: var(--primary); box-shadow: inset 4px 0 0 var(--primary); }
@media (min-width: 900px) {
  .plan3d__grid { grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: stretch; }
  .plan3d__stage { align-self: stretch; }
  .plan3d__sticky { position: sticky; top: calc(var(--header-h) + 40px); padding-block: 4vh; }
  .plan3d__scene { max-width: 620px; }
  .plan3d__steps { gap: 0; }
  .plan3d__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border: 0; background: transparent; box-shadow: none; padding: 0 0 0 var(--s5); opacity: .35; border-left: 3px solid var(--border); }
  .plan3d__step.is-active { opacity: 1; border-left-color: var(--primary); box-shadow: none; }
  .plan3d__step:last-child { min-height: 55vh; }
}

/* ---------- Sticky mobile actions ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--s2);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(248, 246, 241, .97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(24, 33, 30, .1);
  transform: translateY(115%); transition: transform .3s var(--ease); visibility: hidden;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta .btn { min-height: 48px; padding: 8px 10px; font-size: .9375rem; line-height: 1.2; width: 100%; }
body.has-sticky-cta { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .sticky-cta { display: none; } body.has-sticky-cta { padding-bottom: 0; } }

/* ---------- Legal / long-form pages ---------- */
.legal { padding-bottom: var(--s8); }
.legal__layout { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .legal__layout { grid-template-columns: 240px minmax(0, 1fr); gap: var(--s8); } .legal__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.legal__toc { font-size: .9375rem; }
.legal__toc ol { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: 2px; }
.legal__toc a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--primary); }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-size: 1.6rem; margin: var(--s7) 0 var(--s3); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ink); }
.legal__body p + p { margin-top: var(--s3); }
.legal__body ul { padding-left: 1.2em; margin: var(--s3) 0 0; }
.legal__body li + li { margin-top: 6px; }
.draft-flag { display: grid; gap: 4px; padding: var(--s4) var(--s5); margin-bottom: var(--s6); border-radius: var(--radius-sm); background: var(--soon-bg); color: var(--soon-ink); border-left: 4px solid var(--soon-dot); }
.faq-list { display: grid; gap: var(--s3); }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 var(--s5); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); align-items: center; min-height: 60px; font-weight: 700; font-size: 1.0625rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--bronze-text); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > div { padding-bottom: var(--s5); color: var(--ink-2); max-width: 66ch; }
.faq-list details > div p + p { margin-top: var(--s3); }
.faq-group + .faq-group { margin-top: var(--s7); }
.faq-grid { display: grid; gap: var(--s3); align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); } }

/* Home: listings map */
.map-block { display: grid; gap: var(--s5); }
.map-frame { display: grid; gap: var(--s2); order: -1; }
.map-fallback { padding: var(--s5); color: var(--ink-2); }
.map-canvas {
  height: 460px; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden;
  background: var(--surface-2); z-index: 0;
}
.map-note { font-size: .8125rem; color: var(--ink-2); }
.map-note .map-key { vertical-align: -1px; margin-right: 6px; }
.map-key { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(24,33,30,.25); }
.map-key--ok { background: var(--ok-dot); }
.map-key--soon { background: var(--soon-dot); margin-left: 8px; }
.map-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); counter-reset: pin; }
.map-list li {
  counter-increment: pin; position: relative; display: grid; gap: 6px;
  padding: var(--s3) var(--s4) var(--s3) 56px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.map-list li::before {
  content: counter(pin); position: absolute; left: var(--s4); top: var(--s3);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 800 .8125rem/1 var(--font-sans); color: #fff; background: var(--ok-dot);
}
.map-list li[data-state="soon"]::before { background: var(--soon-dot); }
.map-list li.is-active { border-color: var(--primary); box-shadow: inset 4px 0 0 var(--primary); }
.map-list__btn { display: grid; gap: 2px; text-align: left; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; }
.map-list__btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
.map-list__name { font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 1.125rem; }
.map-list__area { color: var(--ink-2); font-size: .9375rem; }
.map-list__counts { display: flex; flex-wrap: wrap; gap: 6px; }
.map-list__links { display: flex; flex-wrap: wrap; gap: 4px var(--s4); font-size: .9375rem; font-weight: 600; }
.pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.pill--ok { background: var(--ok-bg); color: var(--ok-ink); }
.pill--soon { background: var(--soon-bg); color: var(--soon-ink); }
@media (min-width: 900px) {
  .map-block { grid-template-columns: minmax(300px, 5fr) 7fr; align-items: stretch; }
  .map-frame { grid-template-rows: 1fr auto; order: 0; }
  .map-canvas { height: auto; min-height: 520px; }
}
/* 3D map (MapLibre): stage, pins, toolbar, building card */
.map-stage { position: relative; display: grid; }
.map-stage > .map-canvas { grid-area: 1 / 1; }
.map-pin { background: none; border: 0; padding: 0; cursor: pointer; display: block; }
.map-pin span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--ok-dot); border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(24,33,30,.55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.map-pin span b { transform: rotate(45deg); color: #fff; font: 800 .875rem/1 var(--font-sans); }
.map-pin--soon span { background: var(--soon-dot); }
.map-pin:hover span { transform: rotate(-45deg) scale(1.08); }
.map-pin:focus-visible { outline: none; }
.map-pin:focus-visible span { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--primary); }
.map-pin.is-active { z-index: 2; }
.map-pin.is-active span { background: var(--primary); transform: rotate(-45deg) scale(1.18); box-shadow: 0 0 0 6px rgba(36,70,58,.28), 0 8px 18px -4px rgba(24,33,30,.6); }
.map-tools {
  position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px;
  max-width: calc(100% - 64px);
}
.map-tools[hidden] { display: none; }
.map-tool {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 8px;
  background: rgba(255,255,255,.94); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font: 700 .875rem/1 var(--font-sans); cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.map-tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.map-tool:hover { border-color: var(--primary); }
.map-tool:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.map-tool[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.map-card {
  position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px;
  display: grid; grid-template-columns: 92px 1fr; gap: var(--s3); align-items: stretch;
  padding: 10px; padding-right: 44px; border-radius: 12px; background: rgba(255,255,255,.97); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); animation: mapCardIn .35s var(--ease) both;
}
.map-card[hidden] { display: none; }
@keyframes mapCardIn { from { opacity: 0; transform: translateY(10px); } }
.map-card__img { width: 92px; height: 100%; min-height: 120px; max-height: 150px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.map-card__body { display: grid; gap: 4px; align-content: center; min-width: 0; }
.map-card__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok-ink); }
.map-card__title { font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 1.25rem; line-height: 1.15; }
.map-card__meta { color: var(--ink-2); font-size: .9375rem; }
.map-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.map-card__close {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); cursor: pointer;
}
.map-card__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.map-card__close:hover { background: var(--surface-2); color: var(--ink); }
.map-card__close:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; }
@media (max-width: 639px) {
  .map-card { grid-template-columns: 64px 1fr; gap: 10px; padding: 8px 40px 8px 8px; left: 8px; right: 8px; bottom: 8px; }
  .map-card__img { width: 64px; min-height: 0; max-height: 104px; }
  .map-card__eyebrow { font-size: .6875rem; }
  .map-card__title { font-size: 1.0625rem; }
  .map-card__meta { font-size: .8125rem; }
  .map-card__actions { margin-top: 2px; gap: 6px; }
  .map-card__actions .btn--sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
}
@media (min-width: 640px) {
  .map-card { left: auto; width: 380px; }
}
.map-list__sv {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--primary);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.map-list__sv:hover { color: var(--primary-hover); }
.map-list__sv:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 3px; }
/* MapLibre chrome in the site's type */
.maplibregl-map { font-family: var(--font-sans); }
.maplibregl-ctrl-group { border-radius: 8px; }
.maplibregl-ctrl-attrib { font-size: 11px; }
.maplibregl-cooperative-gesture-screen { font-family: var(--font-sans); font-size: 1rem; }
/* Street view dialog */
.sv-dialog {
  width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 14px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden;
}
.sv-dialog[open] { display: grid; grid-template-rows: auto 1fr auto; }
.sv-dialog::backdrop { background: rgba(14, 22, 19, .72); }
.sv-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--border); }
.sv-dialog__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok-ink); }
.sv-dialog__head h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 1.25rem; }
.sv-dialog__nav { display: flex; gap: 6px; }
.sv-dialog__frame { position: relative; background: #1b2420; min-height: 0; }
.sv-dialog__frame iframe { display: block; width: 100%; height: min(68vh, 620px); border: 0; }
.sv-dialog__foot { padding: var(--s3) var(--s4); font-size: .875rem; color: var(--ink-2); }
.sv-dialog__foot a { font-weight: 700; }
@media (max-width: 639px) { .sv-dialog__frame iframe { height: 62vh; } }
.faq-group > h2 { margin-bottom: var(--s4); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
