/* Brooke Hicks Team — listing sites
   Matched to https://www.brookehicksteam.com (studied 13 November 2026).
   Headings: PT Serif, weight 400, letter-spacing -0.02em, line-height 1.2.
   Body: Montserrat, weight 400, line-height 1.5.
   Buttons: PT Serif, uppercase, weight 400, letter-spacing 0, radius 0,
            min-height 54px; primary #813b50, hover #672c40.
   Header: solid white, logo centred, sentence-case nav.
   Footer: blush #f8eff1.
   Palette from the live site (and its custom CSS). */

:root {
  --burgundy: #813b50;
  --burgundy-dark: #672c40;
  --blush: #f8eff1;
  --rose: #e7d4db;
  --paper: #faf5ee;
  --ink: #24221e;
  --muted: #68655e;
  --cream: #fffdf9;
  --white: #ffffff;
  --line: #e7d4db;
  --line-soft: #d3cfc6;
  --dark: #24221e;
  --serif: "PT Serif", Georgia, "Times New Roman", Times, serif;
  --sans: "Montserrat", Arial, Helvetica, sans-serif;
  --header-h: 88px;
  --subnav-h: 52px;
  --preview-h: 0px;
}

body.has-preview { --preview-h: 36px; }
body.is-index { --subnav-h: 0px; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--preview-h) + var(--header-h) + var(--subnav-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--burgundy-dark); }
button, input, select { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 4px;
}

/* Preview banner (source copies only) */
.preview-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--preview-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--burgundy);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
.preview-banner strong { font-weight: 500; }

/* ========== HEADER (matches brookehicksteam.com) ========== */
.site-header {
  position: sticky;
  top: var(--preview-h);
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
}
.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  gap: 16px;
}
.header-nav { justify-self: start; }
.header-nav ul {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.header-nav a,
.header-nav button {
  font-family: var(--sans);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 400;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 2px;
  line-height: 1.2;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav button:hover,
.header-nav a[aria-current="page"] {
  color: var(--burgundy);
}
.header-logo {
  justify-self: center;
  display: flex;
  align-items: center;
  line-height: 0;
}
.header-logo img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  width: 36px;
  height: 36px;
}
.header-ig:hover { color: var(--burgundy); }
.header-ig svg { display: block; }
.header-actions .btn {
  min-height: 54px;
  padding: 14px 22px;
}

/* Explore dropdown */
.has-sub { position: relative; }
.has-sub > button { display: inline-flex; align-items: center; gap: 4px; }
.has-sub > button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 2px;
}
.has-sub .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 0;
  z-index: 55;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 24px rgba(36, 34, 30, 0.08);
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu { display: block; }
.has-sub .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}
.has-sub .sub-menu a:hover { background: var(--blush); color: var(--burgundy-dark); }

/* Hamburger — double-line, as on her site */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px 8px;
  justify-self: end;
  position: relative;
  z-index: 70;
}
.nav-toggle .bun {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 6px auto;
  transition: transform 0.2s, opacity 0.2s;
}
.site-header.is-open .nav-toggle .bun:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.site-header.is-open .nav-toggle .bun:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* In-page subnav */
.subnav {
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: calc(var(--preview-h) + var(--header-h));
  z-index: 40;
  height: var(--subnav-h);
}
.subnav-inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}
.subnav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}
.subnav a {
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  font-weight: 400;
}
.subnav a:hover { color: var(--burgundy); }
.subnav .btn {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ========== BUTTONS (PT Serif, uppercase, sharp) ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  padding: 16px 28px;
  min-height: 54px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1.2;
}
.btn-primary {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
  color: #fff;
}
.btn-outline,
.btn-secondary {
  background: transparent;
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.btn-outline:hover,
.btn-secondary:hover {
  background: var(--blush);
  color: var(--burgundy-dark);
  border-color: var(--burgundy);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--preview-h) - var(--header-h) - var(--subnav-h));
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 34, 30, 0.12) 0%, rgba(36, 34, 30, 0.22) 40%, rgba(36, 34, 30, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 72px));
  margin: 0 auto 72px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--rose);
  margin: 0 0 16px;
  font-family: var(--sans);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.hero-place {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
}
.hero-place .postal {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62em;
  letter-spacing: 0.12em;
  font-weight: 400;
  opacity: 0.92;
  margin-left: 0.4em;
}
.hero-price {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.hero-stats li {
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.hero-stats li:first-child { padding-left: 0; }
.hero-stats li:last-child { border-right: 0; }
.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-openhouse {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== LAYOUT ========== */
.wrap { width: min(1200px, calc(100% - 72px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 400;
  margin: 0 0 12px;
  font-family: var(--sans);
}
.section h2,
.index-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 20px;
}
.lede {
  font-size: 17px;
  line-height: 1.6;
  max-width: 720px;
  color: var(--muted);
  margin: 0 0 40px;
}
hr.rule { border: 0; border-top: 1px solid var(--line-soft); margin: 0; }

/* ========== OVERVIEW ========== */
.overview-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 72px;
  align-items: start;
}
.overview-copy p { margin: 0 0 18px; font-size: 17px; color: #3a3733; line-height: 1.6; }
.facts {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
}
.facts h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.facts dl { margin: 0; }
.facts .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.facts .row:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }

/* ========== GALLERY ========== */
.gallery-note {
  font-size: 14px;
  color: var(--muted);
  margin: -16px 0 28px;
  max-width: 760px;
  line-height: 1.6;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-grid a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}
.gallery-grid a:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(36, 34, 30, 0.72));
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-grid a:hover figcaption,
.gallery-grid a:focus-visible figcaption { opacity: 1; }
.gallery-grid a:last-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 18, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1400px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.lightbox-caption {
  color: #efe7e0;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--sans);
}
.lightbox-btn {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  width: 52px;
  height: 52px;
  line-height: 1;
}
.lightbox-close { top: 18px; right: 18px; font-size: 36px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ========== FEATURES ========== */
.feature-groups { display: grid; gap: 28px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 40px 28px;
}
.feature-card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.feature-card ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.feature-card li {
  break-inside: avoid;
  padding: 0 0 14px 18px;
  position: relative;
  font-size: 15px;
  color: #3a3733;
}
.feature-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 1px;
  background: var(--burgundy);
}
.disclaimer {
  margin: 28px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== ROOMS ========== */
.rooms-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.unit-toggle { display: flex; border: 1px solid var(--line); }
.unit-toggle button {
  background: transparent;
  border: 0;
  padding: 8px 16px;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
  min-height: 40px;
}
.unit-toggle button.is-active {
  background: var(--burgundy);
  color: #fff;
}
.rooms-table { width: 100%; border-collapse: collapse; }
.rooms-table th, .rooms-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.rooms-table th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 400;
  font-family: var(--sans);
}
.rooms-table .level-row td {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  padding-top: 32px;
  border-bottom-color: var(--burgundy);
  background: transparent;
}
.rooms-extra { margin-top: 28px; }
.rooms-extra h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.rooms-extra ul { margin: 0; padding-left: 18px; color: #3a3733; }

/* ========== MAP ========== */
.neighbourhood-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}
#map {
  height: 560px;
  width: 100%;
  border: 1px solid var(--line);
  background: #d9d2c8;
}
.amenity-list {
  max-height: 560px;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--white);
}
.amenity-list h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 20px 22px 12px;
}
.amenity-list p.tiny {
  margin: 0;
  padding: 0 22px 12px;
  font-size: 12px;
  color: var(--muted);
}
.amenity-list ul { list-style: none; margin: 0; padding: 0; }
.amenity-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  cursor: pointer;
}
.amenity-list li:hover { background: var(--blush); }
.amenity-list .kind {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.amenity-list .km { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ========== MORTGAGE ========== */
.mortgage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.calc-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 6px;
  font-weight: 400;
  font-family: var(--sans);
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  font-family: var(--sans);
}
.field input:focus, .field select:focus {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
  border-color: var(--burgundy);
}
.field .hint { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.calc-result {
  background: var(--ink);
  color: #fff;
  padding: 36px 32px;
}
.calc-result .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 8px;
  font-family: var(--sans);
}
.calc-result .payment {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 8px;
}
.calc-result .sub { margin: 0 0 28px; color: rgba(255, 255, 255, 0.75); }
.calc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.calc-stats div { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 12px; }
.calc-stats span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.calc-stats strong { font-size: 18px; font-weight: 400; font-family: var(--serif); }
.calc-disclaimer { margin-top: 24px; font-size: 12px; color: rgba(255, 255, 255, 0.7); line-height: 1.55; }

/* ========== CONTACT (light, to match the live site) ========== */
.contact {
  background: var(--paper);
  color: var(--ink);
  padding: 96px 0;
}
.contact h2 { color: var(--ink); }
.contact .lede { color: var(--muted); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}
.contact-details p { margin: 0 0 8px; }
.contact-details a { color: var(--burgundy); }
.contact-details a:hover { color: var(--burgundy-dark); }
.contact-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.contact-role {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 24px;
  font-weight: 400;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact .btn-ghost {
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.contact .btn-ghost:hover {
  background: var(--blush);
  color: var(--burgundy-dark);
  border-color: var(--burgundy);
}
.contact .co-list {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

/* ========== FOOTER (blush, matches live site) ========== */
.site-footer {
  background: var(--blush);
  color: var(--ink);
  padding: 64px 0 40px;
}
.footer-inner { width: min(1200px, calc(100% - 72px)); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 48px 40px;
  margin-bottom: 48px;
  align-items: start;
}
.footer-brand .rlp {
  width: min(240px, 100%);
  height: auto;
  margin-bottom: 16px;
}
.footer-brand p,
.footer-contact p,
.footer-links p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.footer-grid h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.footer-contact a,
.footer-links a { color: var(--ink); }
.footer-contact a:hover,
.footer-links a:hover { color: var(--burgundy); }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 8px; }
.footer-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--rose);
  padding-top: 24px;
}
.footer-legal p { margin: 0 0 10px; }
.footer-legal a { color: var(--burgundy); }

/* Property film — portrait 9:16 (Pomona delivery is vertical) */
.tour-video-wrap {
  position: relative;
  background: #1a1816;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 82vh;
  width: min(420px, 100%);
  margin: 28px auto 0;
}
.tour-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #1a1816;
}
.tour-note, .floorplan-note { max-width: 720px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.floorplan-grid a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.floorplan-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.floorplan-grid figcaption {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 14px 14px;
  color: var(--muted);
  font-family: var(--sans);
}

/* ========== FEATURED LISTINGS INDEX ========== */
.index-hero {
  background: var(--white);
  padding: 80px 0 16px;
}
.index-hero h1 {
  font-size: clamp(42px, 5.5vw, 68px);
  margin: 0 0 16px;
}
.index-hero .lede { margin-bottom: 0; max-width: 640px; }
.index-hero .wrap,
.listing-index .wrap { width: min(1400px, calc(100% - 72px)); }

.listing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  padding: 48px 0 96px;
}
.listing-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.listing-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #2c2623;
  display: block;
}
.listing-card .body {
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.listing-card .eyebrow {
  color: var(--muted);
  margin: 0 0 2px;
  letter-spacing: 0.14em;
}
.listing-card h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.listing-card .price {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  margin: 4px 0 0;
}
.listing-card .meta { color: var(--muted); font-size: 14px; margin: 0; }
.listing-card .btn { margin-top: 16px; align-self: flex-start; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .listing-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 999px) {
  .header-nav,
  .header-actions { display: none; }
  .site-header-inner {
    grid-template-columns: 1fr auto;
    width: min(1500px, calc(100% - 32px));
  }
  .header-logo { justify-self: start; }
  .header-logo img { height: 46px; }
  .nav-toggle { display: block; }
  .site-header.is-open .header-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }
  .site-header.is-open .header-nav {
    position: fixed;
    top: calc(var(--preview-h) + var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 55;
    padding: 28px 32px 120px;
    overflow: auto;
    justify-self: stretch;
    display: block;
  }
  .site-header.is-open .header-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .site-header.is-open .header-nav a,
  .site-header.is-open .header-nav button {
    font-size: 22px;
    font-family: var(--serif);
    letter-spacing: -0.02em;
    padding: 10px 0;
  }
  .site-header.is-open .has-sub .sub-menu {
    position: static;
    border: 0;
    box-shadow: none;
    padding: 4px 0 8px 12px;
    display: none;
  }
  .site-header.is-open .has-sub.is-open .sub-menu,
  .site-header.is-open .has-sub:focus-within .sub-menu { display: block; }
  .site-header.is-open .has-sub .sub-menu a {
    font-size: 17px;
    padding: 8px 0;
  }
  .site-header.is-open .header-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 56;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 16px 32px 24px;
    justify-content: flex-start;
    gap: 16px;
    justify-self: stretch;
    display: flex;
  }
  .overview-grid, .neighbourhood-grid, .mortgage-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature-card ul { columns: 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid a:nth-child(1),
  .gallery-grid a:last-child {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 3/2;
  }
  #map, .amenity-list { height: 420px; }
  .wrap, .hero-content, .footer-inner, .index-hero .wrap, .listing-index .wrap {
    width: min(1200px, calc(100% - 40px));
  }
  .hero { min-height: 640px; }
  .section { padding: 72px 0; }
  .hero-stats li { padding: 0 14px; }
  .calc-result .payment { font-size: 38px; }
  .subnav-inner { width: min(1500px, calc(100% - 24px)); gap: 12px; }
  .subnav ul { gap: 16px; }
}

@media (max-width: 860px) {
  /* Keep on-page links fully visible; Book a showing is already in the hero and contact. */
  .subnav .btn { display: none; }
  .subnav-inner { width: min(1500px, calc(100% - 24px)); }
  .subnav ul { width: 100%; padding: 4px 0; }
}
@media (max-width: 700px) {
  .listing-cards { grid-template-columns: 1fr; gap: 40px; }
  .floorplan-grid { grid-template-columns: 1fr; }
  .preview-banner {
    font-size: 10px;
    letter-spacing: 0.06em;
    padding: 0 12px;
    text-align: center;
    height: auto;
    min-height: 36px;
    line-height: 1.3;
  }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hero-stats { gap: 12px 0; }
  .hero-stats li { border: 0; padding: 0 16px 0 0; }
  .hero { min-height: 88vh; }
  .btn { padding: 14px 20px; }
  .index-hero { padding: 48px 0 8px; }
  .header-actions .btn { min-height: 48px; }
}

@media (min-width: 768px) and (max-width: 999px) {
  /* Between tablet and the collapse point, tighten nav if it is still showing.
     The nav itself collapses at 999px. */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-grid img, .btn { transition: none; }
}
