/* ==========================================================================
   Properties by Jon — Neighbourhood Guide
   Editorial system: black, warm paper, muted gold.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/assets/fonts/dm-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/assets/fonts/dm-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --ink-soft: #0f0f0f;
  --ink-80: #34322d;
  --ink-60: #6f6a61;
  --paper: #fdfcfa;
  --sand: #f5f2ee;
  --sand-deep: #e8e2d8;
  --line: #e2dbd0;
  --line-strong: #c9c0b2;
  --gold: #a18e5d;
  --gold-soft: #c3b184;
  --cream: #f6f2e9;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shell: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header: 78px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-80);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  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;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: #000;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono-label {
  margin: 0 0 0.9rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #fff;
}

.brand-mark {
  width: 26px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}

.brand-name {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
}

.primary-nav a {
  position: relative;
  display: block;
  padding: 0.4rem 0;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: #fff;
}

.primary-nav a.is-active::after,
.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.menu-button {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-button span:first-child {
  top: 19px;
}
.menu-button span:last-child {
  top: 24px;
}
.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--header) + 1.5rem) var(--gutter) 2.5rem;
  background: #000;
  color: #fff;
  overflow-y: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav li a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}

.mobile-nav-actions {
  display: grid;
  gap: 0.75rem;
}

/* ----------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button--gold {
  background: var(--gold);
  color: #000;
}

.button--gold:hover {
  background: var(--gold-soft);
}

.button--ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button--small {
  padding: 0.7rem 1.05rem;
  font-size: 0.6rem;
}

.icon-arrow {
  width: 16px;
  height: 8px;
  flex: none;
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: var(--header);
  overflow: hidden;
  background: #000;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: heroScale 18s var(--ease) both;
}

@keyframes heroScale {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.18) 34%,
      rgba(0, 0, 0, 0.42) 68%,
      rgba(0, 0, 0, 0.86) 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 62%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(3.5rem, 8vh, 6.5rem);
  max-width: calc(var(--shell) + 2 * var(--gutter));
}

.hero-eyebrow {
  margin: 0 0 1.4rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 11.4vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
}

.hero-subtitle {
  margin: 1.1rem 0 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  line-height: 1.16;
  color: var(--gold-soft);
}

.hero-intro {
  margin: 1.6rem 0 0;
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero-meta li {
  position: relative;
  padding-left: 1.1rem;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 2.2rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.hero-scroll span {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.8);
  animation: scrollCue 2.2s ease-in-out infinite;
}

@keyframes scrollCue {
  0%,
  100% {
    transform: translateY(-3px);
    opacity: 0.4;
  }
  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

/* ----------------------------------------------------------------- section */

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  scroll-margin-top: var(--header);
}

.section--sand {
  background: var(--sand);
}

.section--ink {
  background: #000;
  color: var(--cream);
}

.section--ink h2,
.section--ink h3 {
  color: var(--cream);
}

.section--ink .lede,
.section--ink .intro,
.section--ink p {
  color: rgba(246, 242, 233, 0.74);
}

.section--ink .section-label {
  color: rgba(246, 242, 233, 0.55);
}

.section-head {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-tag {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0;
  padding-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-num {
  font-size: 0.7rem;
  color: var(--gold);
}

.section-label {
  color: var(--ink-60);
}

.section-head-main {
  max-width: 900px;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 54ch;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink-60);
}

.intro {
  max-width: 62ch;
  margin: 0 0 2.5rem;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-80);
}

.prose {
  max-width: 66ch;
}

.prose p {
  margin: 0 0 1.15em;
  color: var(--ink-80);
}

.prose p:last-child {
  margin-bottom: 0;
}

.media {
  width: 100%;
  height: auto;
}

figcaption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-60);
}

.section--ink figcaption {
  color: rgba(246, 242, 233, 0.6);
}

.pullquote {
  margin: 2.2rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  color: var(--ink);
}

/* ---------------------------------------------------------------- overview */

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.overview-figure {
  margin: 0;
}

.overview-figure .media {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.highlight-num {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.highlight h3 {
  margin-bottom: 0.45rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.highlight p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-60);
}

/* ----------------------------------------------------------------- history */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.split-aside {
  display: grid;
  gap: 2rem;
}

.plate {
  margin: 0;
}

.plate .media {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sources {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.sources ul {
  display: grid;
  gap: 0.4rem;
}

.sources a {
  font-size: 0.86rem;
  color: var(--ink-60);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.sources a:hover {
  color: var(--ink);
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.timeline-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-80);
}

/* ------------------------------------------------------------------- homes */

.homes-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.type-card {
  padding: 1.8rem 1.8rem 1.8rem 0;
  border-bottom: 1px solid var(--line);
}

.type-card:not(:nth-child(3n + 1)) {
  padding-left: 1.8rem;
  border-left: 1px solid var(--line);
}

.type-index {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.type-card h3 {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.type-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-60);
}

.lot-note {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--sand);
  border-left: 2px solid var(--gold);
}

.lot-note p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-80);
}

.disclaimer {
  align-self: center;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--ink-60);
}

/* ------------------------------------------------------------------ market */

.section--ink .mono-label {
  color: var(--gold-soft);
}

.stat-grid-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.stat-card {
  padding: clamp(1.5rem, 2.6vw, 2.4rem);
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.stat-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.stat-card h3 {
  margin: 0 0 1.6rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.2;
  color: var(--cream);
}

.stat-hero {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-big {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.stat-caption {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.55);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 1.4rem 0 1.2rem;
}

.stat-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-grid dt {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.5);
}

.stat-grid dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--cream);
}

.stat-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.stat-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
}

.stat-note {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(246, 242, 233, 0.6);
}

.period-note {
  margin: 1.4rem 0 0;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.42);
}

.bands {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.bands-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: 2rem;
}

.sub-display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  color: var(--cream);
}

.bands-head p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(246, 242, 233, 0.65);
}

.band-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.band-row {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.band-range {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--gold-soft);
}

.band-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(246, 242, 233, 0.72);
}

.band-note {
  margin: 1.4rem 0 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(246, 242, 233, 0.5);
  max-width: 78ch;
}

.divide {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.divide-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-bottom: 2rem;
}

.divide-head p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(246, 242, 233, 0.65);
}

.divide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.divide-card ul {
  display: grid;
  gap: 0.7rem;
}

.divide-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(246, 242, 233, 0.72);
}

.divide-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.divide-note {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.divide-note p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(246, 242, 233, 0.72);
}

/* --------------------------------------------------------------------- map */

.section--map {
  padding-bottom: 0;
}

.map-shell {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: min(78vh, 720px);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-panel {
  grid-column: 1;
  grid-row: 1;
  background: var(--sand);
  border-right: 1px solid var(--line);
}

.map-list-panel {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--sand);
  border-right: 1px solid var(--line);
}

.map-search {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.map-search input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink);
}

.map-search input::placeholder {
  color: var(--ink-60);
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-80);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.filter-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--gold));
}

.filter-chip .n {
  color: var(--ink-60);
}

.filter-chip.is-active {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-chip:not(.is-active) {
  background: transparent;
  border-style: dashed;
  color: var(--ink-60);
}

.filter-chip:not(.is-active) .dot {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.filter-chip:not(.is-active) .n {
  opacity: 0.55;
}

.map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.map-count {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-60);
}

.map-count strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}

.map-reset {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.4rem 0;
}

.map-item {
  display: grid;
  gap: 0.15rem;
  width: 100%;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.map-item:hover,
.map-item.is-active {
  background: rgba(161, 142, 93, 0.12);
}

.map-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.map-item-meta {
  font-size: 0.74rem;
  color: var(--ink-60);
}

.map-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.map-item-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot, var(--gold));
}

.map-canvas {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  min-height: 0;
  background: #e9e6e0;
}

.map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-layers {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 500;
  display: flex;
  padding: 2px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: var(--radius);
}

.map-layers button {
  padding: 0.45rem 0.75rem;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.map-layers button.is-active {
  background: var(--gold);
  color: #000;
}

.map-key {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.94);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
  transition: opacity 0.18s ease;
}
.map-canvas.has-popup .map-key {
  opacity: 0;
  pointer-events: none;
}

.map-key-swatch {
  width: 14px;
  height: 2px;
  background: var(--gold);
}

.map-intro-note {
  margin: 1.2rem 0 0;
  max-width: 78ch;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-60);
}

.map-note {
  margin: 0.55rem 0 2rem;
  font-size: 0.72rem;
  color: var(--ink-60);
}

.map-empty {
  padding: 1.5rem 1.1rem;
  font-size: 0.85rem;
  color: var(--ink-60);
}

.map-noscript {
  position: absolute;
  inset: auto 1rem 1rem;
  z-index: 400;
  padding: 0.75rem 1rem;
  background: #fff;
  font-size: 0.8rem;
}

.pin {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--pin, var(--gold));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease);
}

.pin::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.leaflet-marker-icon:hover .pin,
.leaflet-marker-icon.is-active .pin {
  transform: scale(1.28);
}

.leaflet-container {
  font-family: var(--sans);
  background: #e9e6e0;
}

/* On touch screens a vertical swipe scrolls the page instead of trapping the gesture in the map.
   Horizontal drags still pan the map and pinch still zooms it. */
@media (pointer: coarse) {
  .leaflet-container.leaflet-touch-drag,
  .leaflet-container.leaflet-touch-zoom,
  .leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
    touch-action: pan-y;
  }
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-content {
  margin: 1rem 1.1rem;
  width: 250px !important;
}

.popup-tag {
  margin: 0 0 0.3rem;
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.popup-name {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--ink);
}

.popup-address {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  color: var(--ink-60);
}

.popup-note {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-80);
}

.popup-link {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.popup-outside {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.4rem;
  background: var(--sand);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* ----------------------------------------------------------------- schools */

.school-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.school-group h3 {
  margin: 0 0 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.school {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.school-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--ink);
}

.school-meta {
  font-size: 0.8rem;
  color: var(--ink-60);
}

.school-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  margin-top: 0.35rem;
}

.school-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.school-outside {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.35rem;
  background: var(--sand-deep);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-60);
  vertical-align: middle;
}

.schools-loading {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: var(--ink-60);
}

.board-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.board-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.board-card h3 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.text-link:hover {
  color: var(--ink);
}

.section--ink .text-link:hover {
  color: #fff;
}

/* --------------------------------------------------------------- lifestyle */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--line);
}

.feature:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.feature-tag {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.feature h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.18;
}

.feature p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-60);
}

.feature-plate {
  width: min(100%, 760px);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}

.feature-plate .media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-plate figcaption {
  margin-top: 0.9rem;
}

.footnote {
  margin: 1rem 0 0;
  font-size: 0.76rem;
  color: var(--ink-60);
}

/* --------------------------------------------------------------- residents */

.resident-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.resident {
  padding: 1.8rem 1.8rem 1.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.resident:not(:nth-child(3n + 1)) {
  padding-left: 1.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.resident-num {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.resident h3 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.2;
}

.resident p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(246, 242, 233, 0.66);
}

/* -------------------------------------------------------------- comparison */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.compare-card {
  padding: 1.8rem;
  background: var(--sand);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}

.compare-tag {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.compare-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
}

.compare-card p:last-child {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-60);
}

/* --------------------------------------------------------------------- faq */

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq-item[open] .faq-q {
  color: var(--gold);
}

.faq-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-60);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, color 0.3s ease;
}

.faq-icon svg {
  width: 12px;
  height: 12px;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--gold);
  color: var(--gold);
}

.faq-a {
  padding: 0 3.5rem 1.5rem 0;
}

.faq-a p {
  margin: 0;
  max-width: 72ch;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink-60);
}

/* ------------------------------------------------------------------- about */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.signature {
  margin: 2rem 0 0.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}

.role {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.credentials {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--sand);
  border-radius: var(--radius);
}

.credentials ul {
  display: grid;
  gap: 0.65rem;
}

.credentials li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-80);
}

.credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* --------------------------------------------------------------------- cta */

.cta {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: #000;
  color: var(--cream);
  text-align: center;
  scroll-margin-top: var(--header);
}

.section-tag--center {
  justify-content: center;
  padding-top: 0;
}

.section-tag--center .section-label {
  color: var(--gold-soft);
}

.cta .display {
  color: var(--cream);
  margin: 0.6rem auto 0;
}

.cta-text {
  max-width: 56ch;
  margin: 1.3rem auto 2.4rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(246, 242, 233, 0.72);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cta .button--ghost {
  color: var(--cream);
}

.cta-note {
  margin: 1.8rem 0 0;
  font-size: 0.74rem;
  color: rgba(246, 242, 233, 0.5);
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: #000;
  color: rgba(246, 242, 233, 0.7);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.9fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 0.9rem;
}

.footer-name {
  margin: 0 0 0.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.footer-sub {
  margin: 0 0 1.2rem;
  font-size: 0.74rem;
  color: rgba(246, 242, 233, 0.5);
}

.footer-legal-name {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(246, 242, 233, 0.62);
}

.footer-col ul {
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  font-size: 0.84rem;
  color: rgba(246, 242, 233, 0.68);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-series {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(246, 242, 233, 0.55);
}

.footer-bottom {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.8rem;
}

.footer-legal {
  max-width: 100ch;
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.7;
  color: rgba(246, 242, 233, 0.4);
}

.footer-credits summary {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.55);
  cursor: pointer;
}

.footer-credits ul {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  color: rgba(246, 242, 233, 0.45);
}

.footer-copy {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.35);
}

/* ------------------------------------------------------------------ 404 */

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #000;
  color: var(--cream);
}

.not-found-inner {
  max-width: 640px;
  text-align: center;
}

.not-found .display {
  color: var(--cream);
  margin-bottom: 1rem;
}

.not-found .lede {
  color: rgba(246, 242, 233, 0.7);
  margin: 0 auto 2rem;
}

.not-found .eyebrow {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------------------------------------------------------------- reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .primary-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
}

@media (max-width: 1024px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .section-tag {
    padding-top: 0;
  }
  .stat-grid-wrap,
  .school-groups,
  .board-row,
  .feature-grid,
  .compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .resident-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .resident:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }
  .resident:nth-child(even) {
    padding-left: 1.8rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .map-shell {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .map-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .map-list-panel {
    border-right: 0;
    max-height: 46vh;
  }
  .map-canvas {
    height: 62vh;
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .overview-grid,
  .split,
  .homes-top,
  .lot-note,
  .about-grid,
  .bands-head,
  .divide-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .type-card:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }
  .type-card:nth-child(even) {
    padding-left: 1.6rem;
    border-left: 1px solid var(--line);
  }
  .highlight-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  .divide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .overview-figure .media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 66px;
  }
  body {
    font-size: 1rem;
  }
  .brand-sub {
    display: none;
  }
  .header-actions .button {
    display: none;
  }
  .hero {
    min-height: 100svh;
  }
  .hero-title {
    font-size: clamp(2.6rem, 11.4vw, 4.8rem);
  }
  .hero-eyebrow {
    margin-bottom: 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }
  .hero-subtitle {
    max-width: 20ch;
    margin-top: 0.8rem;
    font-size: 1.42rem;
  }
  .hero-intro {
    margin-top: 1.1rem;
    font-size: 0.92rem;
    line-height: 1.62;
  }
  .hero-actions {
    margin-top: 1.5rem;
    gap: 0.6rem;
  }
  .hero-actions .button {
    flex: 1 1 100%;
    padding: 0.9rem 1.2rem;
  }
  .hero-meta {
    display: none;
  }
  .hero-inner {
    padding-bottom: 2.6rem;
  }
  .hero-image {
    object-position: center 68%;
  }
  .hero-scroll {
    display: none;
  }
  .section {
    padding: 3.5rem 0;
  }
  .band-row,
  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }
  .type-grid,
  .resident-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .type-card,
  .type-card:nth-child(even),
  .resident,
  .resident:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .faq-a {
    padding-right: 0;
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .map-canvas {
    height: 66vh;
  }
  .map-list-panel {
    max-height: 50vh;
  }
  .feature-plate .media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 420px) {
  .hero-eyebrow {
    letter-spacing: 0.16em;
  }
  .stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------- map teaser */

.map-teaser {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(161, 142, 93, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-top: clamp(2.1rem, 3.6vw, 3rem);
  padding-bottom: clamp(2.1rem, 3.6vw, 3rem);
}

.map-teaser-title {
  margin: 0.15rem 0 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.12;
  color: #fff;
}

.map-teaser-text {
  margin: 0;
  max-width: 58ch;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.map-teaser-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  text-align: right;
}

.map-teaser-meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

@media (max-width: 860px) {
  .map-teaser-inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .map-teaser-action {
    align-items: flex-start;
    text-align: left;
  }
  .map-teaser-text {
    font-size: 0.92rem;
  }
}

/* --------------------------------------------------------------- clusters */

.cluster-wrap {
  background: transparent;
  border: 0;
}

.cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(253, 252, 250, 0.92);
  background: var(--gold);
  color: #000;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.cluster--m {
  font-size: 0.76rem;
}

.cluster--l {
  font-size: 0.82rem;
}

.cluster-wrap:hover .cluster {
  background: var(--gold-soft);
  transform: scale(1.06);
}

/* ------------------------------------------------------------ market note */

.stat-source {
  margin: 0.85rem 0 0;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 700px) {
  .section--map .display {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }
  .section--map .lede {
    font-size: 1.02rem;
    line-height: 1.55;
  }
  .section--map .intro {
    margin-top: 1.1rem;
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .section--map .section-head {
    margin-bottom: 1.2rem;
  }
}
