﻿/* ============================================================
   VANTERRE â€” Fine Homes & Estates
   Editorial luxury: warm ivory, ink, aged bronze.
   Display: Fraunces Â· Body: Hanken Grotesk
   ============================================================ */

:root {
  --ink: #191713;
  --ink-soft: #464034;
  --paper: #f4efe6;
  --paper-deep: #ece5d6;
  --bone: #e4dcc9;
  --bronze: #a07c46;
  --bronze-deep: #7c5e33;
  --cream: #f1ecdf;
  --night: #14120e;
  --night-soft: #1d1a14;
  --line: rgba(25, 23, 19, 0.14);
  --line-light: rgba(241, 236, 223, 0.18);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: clamp(1.25rem, 5vw, 5.5rem);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--bronze); color: var(--cream); }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 300;
  background: var(--ink); color: var(--cream);
  padding: 0.6rem 1.2rem; font-size: 0.85rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 120;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(10) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 250;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--bronze);
  pointer-events: none;
  display: none;
  opacity: 0;
  align-items: center; justify-content: center;
  transition: width 0.35s var(--ease-lux), height 0.35s var(--ease-lux),
              margin 0.35s var(--ease-lux), background-color 0.3s, opacity 0.3s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-grown {
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  background: rgba(160, 124, 70, 0.92);
}
.cursor-label {
  font-family: var(--serif); font-style: italic;
  font-size: 0.85rem; color: var(--cream);
  opacity: 0; transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor.is-grown .cursor-label { opacity: 1; }
@media (pointer: fine) {
  .js .cursor { display: flex; }
}

/* ---------- Preloader ---------- */
.preloader {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--night);
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.2rem;
}
.js .preloader { display: flex; }
.preloader-mark { overflow: hidden; display: flex; }
.pl-letter {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: 0.18em;
  color: var(--cream);
  transform: translateY(110%);
}
.pl-tag {
  font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--bronze); opacity: 0;
}

/* ---------- Eyebrows, labels ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 1.8rem;
}
.eyebrow-light { color: var(--bronze); }
.eyebrow-center { justify-content: center; }
.eyebrow-num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 0.95rem; letter-spacing: 0;
  color: inherit; opacity: 0.75;
}
.eyebrow-rule {
  display: inline-block; width: 3rem; height: 1px;
  background: currentColor; opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.1rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: 100px;
  overflow: hidden;
  transition: color 0.4s var(--ease-lux), border-color 0.4s, background-color 0.4s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bronze);
  border-radius: inherit;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.5s var(--ease-lux);
  z-index: -1;
}
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn-solid { background: var(--ink); color: var(--cream); z-index: 1; }
.btn-solid:hover { color: var(--cream); }
.btn-outline {
  border: 1px solid var(--line); color: var(--ink); z-index: 1;
}
.btn-outline:hover { color: var(--cream); border-color: var(--bronze); }
.btn-ghost {
  padding-left: 0; padding-right: 0;
  color: var(--cream); border-radius: 0;
  border-bottom: 1px solid rgba(241, 236, 223, 0.4);
}
.btn-ghost::after { display: none; }
.btn-ghost:hover { border-bottom-color: var(--bronze); color: var(--bronze); }
.btn-bronze { background: var(--bronze-deep); }
.btn-bronze::after { background: var(--ink); }
.btn-arrow { font-size: 1rem; transition: transform 0.4s var(--ease-lux); }
.btn:hover .btn-arrow, .text-link:hover .btn-arrow { transform: translateX(6px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze-deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  transition: color 0.3s, border-color 0.3s;
}
.text-link:hover { color: var(--ink); border-color: var(--bronze); }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 170;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--pad-x);
  transition: background-color 0.5s, padding 0.5s, box-shadow 0.5s;
}
.site-nav.is-scrolled {
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.85rem; padding-bottom: 0.85rem;
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.25rem; letter-spacing: 0.22em;
  color: var(--cream);
  transition: color 0.5s;
}
.nav-brand-dot { color: var(--bronze); }
.site-nav.is-scrolled .nav-brand { color: var(--ink); }
.nav-links { display: flex; gap: 2.4rem; }
.nav-links a {
  position: relative;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
  padding: 0.3rem 0;
  transition: color 0.5s;
}
.site-nav.is-scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.4s var(--ease-lux);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav-cta-wrap { display: flex; align-items: center; gap: 1.2rem; }
.btn-nav {
  padding: 0.7rem 1.5rem;
  border-color: rgba(241, 236, 223, 0.4); color: var(--cream);
}
.site-nav.is-scrolled .btn-nav { border-color: var(--line); color: var(--ink); }
.site-nav.is-scrolled .btn-nav:hover { color: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 0.6rem 0.2rem;
}

/* While the menu is open, the nav floats over the dark overlay */
body.menu-open .site-nav,
body.menu-open .site-nav.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
body.menu-open .site-nav .nav-brand { color: var(--cream); }
body.menu-open .site-nav .nav-links a { color: var(--cream); }
body.menu-open .site-nav .btn-nav { border-color: rgba(241, 236, 223, 0.4); color: var(--cream); }
body.menu-open .nav-toggle span { background: var(--cream); }
.nav-toggle span {
  display: block; width: 28px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease-lux), background-color 0.4s;
}
.site-nav.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.is-open span { background: var(--cream); }
.nav-toggle.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 160;
  background: var(--night);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: var(--pad-x);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-lux), visibility 0s 0.7s;
}
.menu-overlay.is-open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path 0.7s var(--ease-lux), visibility 0s 0s;
}
.menu-links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu-links a {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  color: var(--cream);
  display: flex; align-items: baseline; gap: 1.1rem;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s var(--ease-lux), transform 0.6s var(--ease-lux), color 0.3s;
}
.menu-overlay.is-open .menu-links a { opacity: 1; transform: translateY(0); }
.menu-links a:nth-child(1) { transition-delay: 0.18s; }
.menu-links a:nth-child(2) { transition-delay: 0.26s; }
.menu-links a:nth-child(3) { transition-delay: 0.34s; }
.menu-links a:nth-child(4) { transition-delay: 0.42s; }
.menu-links a:nth-child(5) { transition-delay: 0.5s; }
.menu-links a:hover { color: var(--bronze); }
.menu-links em {
  font-family: var(--sans); font-style: normal;
  font-size: 0.75rem; letter-spacing: 0.3em;
  color: var(--bronze);
}
.menu-foot {
  position: absolute; bottom: 2.2rem;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(241, 236, 223, 0.45);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  color: var(--cream);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 18, 14, 0.42) 0%, rgba(20, 18, 14, 0.08) 38%, rgba(20, 18, 14, 0.62) 100%),
    linear-gradient(75deg, rgba(20, 18, 14, 0.5) 0%, rgba(20, 18, 14, 0) 55%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--pad-x);
  margin-bottom: clamp(4rem, 9vh, 7rem);
  max-width: 1200px;
}
.hero-eyebrow { color: var(--cream); opacity: 0.92; }
.hero-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.1rem, 9.2vw, 8.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}
.hero-title em, .section-title em, .statement-text em {
  font-style: italic; font-weight: 300; color: var(--bronze);
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-inner { display: inline-block; will-change: transform; }
.hero-sub {
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: rgba(241, 236, 223, 0.88);
  margin-bottom: 2.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.hero-foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--pad-x) 2rem;
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(241, 236, 223, 0.65);
}
.hero-scroll { display: flex; align-items: center; gap: 0.9rem; }
.hero-scroll-line {
  display: inline-block; width: 1px; height: 3rem;
  background: linear-gradient(to bottom, transparent, var(--cream));
  animation: scroll-pulse 2.2s var(--ease-lux) infinite;
  transform-origin: top center;
}
@keyframes scroll-pulse {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(0.5rem); opacity: 0; }
}

/* ---------- Search bar ---------- */
.search-wrap {
  position: relative; z-index: 5;
  padding: 0 var(--pad-x);
  margin-top: clamp(-3.4rem, -4vw, -2.4rem);
}
.search-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(25, 23, 19, 0.35);
  padding: 1.4rem clamp(1.4rem, 3vw, 2.4rem);
  max-width: 1200px;
  margin: 0 auto;
}
.search-field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.search-field label {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bronze-deep);
}
.search-field select {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: none; border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a07c46' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.2rem center;
  transition: border-color 0.3s;
}
.search-field select:hover, .search-field select:focus { border-color: var(--bronze); outline: none; }
.search-btn { justify-self: end; white-space: nowrap; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: clamp(2.6rem, 5vw, 4rem) 0 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-run 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  color: var(--ink-soft);
  opacity: 0.5;
  white-space: nowrap;
  padding-right: 0.5rem;
}
@keyframes marquee-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections shared ---------- */
section { position: relative; }
.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head-center { text-align: center; }
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-note {
  margin-top: 1.4rem;
  max-width: 26rem;
  font-size: 0.95rem; font-weight: 300;
  color: var(--ink-soft);
}

/* ---------- Statement ---------- */
.statement { padding: clamp(5rem, 10vw, 9rem) var(--pad-x); }
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.statement-text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 2.6rem;
}
.statement-text .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.statement-text .wi { display: inline-block; }
.statement-media { position: relative; min-height: 480px; }
.statement-img {
  position: absolute;
  overflow: hidden;
  border-radius: 4px;
}
.statement-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.statement-img-a { width: 72%; aspect-ratio: 3 / 4; top: 0; right: 0; z-index: 1; }
.statement-img-b { width: 48%; aspect-ratio: 4 / 5; bottom: 0; left: 0; z-index: 2; box-shadow: 0 40px 70px -35px rgba(25, 23, 19, 0.5); }

/* ---------- Collection ---------- */
.collection {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  background: var(--paper-deep);
}
.collection .section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end; gap: 2rem;
  max-width: 1400px; margin-left: auto; margin-right: auto;
}
.collection .eyebrow { grid-column: 1 / -1; }
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 2.8rem);
  max-width: 1400px; margin: 0 auto;
}
.property-wide { grid-column: 1 / -1; }
.property-link { display: block; }
.property-media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  background: var(--bone);
}
.property-wide .property-media { aspect-ratio: 21 / 10; }
.property-media img {
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
  transition: transform 1.1s var(--ease-lux);
}
.property:hover .property-media img { transform: scale(1.055); }
.property-tag {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  background: var(--cream); color: var(--ink);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
}
.property-tag-dark { background: var(--ink); color: var(--cream); }
.property-info { padding: 1.4rem 0.2rem 0; }
.property-name-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem;
}
.property-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.property:hover .property-name { color: var(--bronze-deep); }
.property-price {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--bronze-deep);
  white-space: nowrap;
}
.property-loc {
  font-size: 0.88rem; font-weight: 300;
  color: var(--ink-soft);
  margin: 0.3rem 0 0.9rem;
}
.property-specs {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0;
  list-style: none;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.property-specs li { display: flex; align-items: center; }
.property-specs li + li::before {
  content: ""; display: inline-block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--bronze); margin: 0 0.9rem;
}
.collection-foot {
  display: flex; justify-content: center;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

/* ---------- Territories ---------- */
.territories {
  position: relative;
  background: var(--night);
  color: var(--cream);
  overflow: hidden;
}
.territories-bg { position: absolute; inset: 0; }
.territory-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease-lux), transform 1.4s var(--ease-lux);
}
.territory-img.is-active { opacity: 0.62; transform: scale(1); }
.territories-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 18, 14, 0.95) 22%, rgba(20, 18, 14, 0.68) 58%, rgba(20, 18, 14, 0.28) 100%);
}
.territories-content {
  position: relative; z-index: 2;
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: 1400px; margin: 0 auto;
}
.territory-list { list-style: none; max-width: 760px; }
.territory-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  width: 100%;
  text-align: left;
  padding: clamp(1.3rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid var(--line-light);
  color: rgba(241, 236, 223, 0.55);
  transition: color 0.4s, padding-left 0.5s var(--ease-lux);
}
.territory-list li:first-child .territory-item { border-top: 1px solid var(--line-light); }
.territory-item:hover, .territory-item.is-active { color: var(--cream); padding-left: 1rem; }
.territory-num {
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem; color: var(--bronze);
}
.territory-name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  line-height: 1.1;
}
.territory-meta {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(241, 236, 223, 0.5);
  white-space: nowrap;
  transition: color 0.4s;
}
.territory-item:hover .territory-meta, .territory-item.is-active .territory-meta { color: var(--bronze); }

/* ---------- Story ---------- */
.story { padding: clamp(5rem, 10vw, 9rem) var(--pad-x); }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.story-media { position: relative; }
.story-portrait {
  position: relative; z-index: 2;
  overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 5;
}
.story-portrait img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.story-frame {
  position: absolute; z-index: 1;
  inset: 2rem -2rem -2rem 2rem;
  border: 1px solid var(--bronze);
  border-radius: 4px;
  opacity: 0.55;
}
.story-copy .section-title { margin-bottom: 2rem; }
.story-text {
  max-width: 36rem;
  font-size: 1rem; font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.story-text em { font-family: var(--serif); font-style: italic; color: var(--bronze-deep); }
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin: 2.6rem 0 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; justify-content: flex-end; }
.stat dt {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 0.5rem;
}
.stat dd {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
}
.story-sign {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 2rem; color: var(--ink);
}
.story-sign-role {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* ---------- Voices ---------- */
.voices {
  padding: clamp(5rem, 10vw, 8rem) var(--pad-x) clamp(6rem, 11vw, 10rem);
  background: var(--paper-deep);
  text-align: center;
}
.voices-slider { position: relative; max-width: 860px; margin: 0 auto; }
.quote-mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.6;
  color: var(--bronze);
  opacity: 0.5;
  margin-bottom: 1.6rem;
}
.quotes { position: relative; min-height: 16rem; }
.quote {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
}
.quote.is-active { opacity: 1; visibility: visible; }
.quote p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.4;
  margin-bottom: 2rem;
}
.quote footer { display: flex; flex-direction: column; gap: 0.2rem; }
.quote cite {
  font-style: normal; font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.quote footer span {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze-deep);
}
.voices-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1.8rem;
  margin-top: 2.4rem;
}
.voices-btn {
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.05rem;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease-lux);
}
.voices-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: scale(1.06); }
.voices-count {
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem; color: var(--ink-soft);
  min-width: 4.4rem;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--night);
  color: var(--cream);
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 7vw, 7rem);
  max-width: 1400px; margin: 0 auto;
}
.contact-text {
  max-width: 28rem;
  font-weight: 300;
  color: rgba(241, 236, 223, 0.78);
  margin-bottom: 2.4rem;
}
.contact-img {
  overflow: hidden; border-radius: 4px;
  aspect-ratio: 16 / 10;
  margin-bottom: 2.4rem;
}
.contact-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.contact-details { font-style: normal; display: flex; flex-direction: column; gap: 0.5rem; }
.contact-line {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.contact-line:hover { color: var(--bronze); border-color: var(--bronze); }
.contact-line-muted {
  font-family: var(--sans);
  font-size: 0.85rem; font-weight: 300;
  color: rgba(241, 236, 223, 0.55);
  margin-top: 0.4rem;
}

.contact-form {
  background: var(--night-soft);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: clamp(1.8rem, 4vw, 3rem);
  align-self: start;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.6rem; }
.form-field label {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bronze);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 300;
  color: var(--cream);
  background: transparent;
  border: none; border-bottom: 1px solid var(--line-light);
  padding: 0.5rem 0;
  border-radius: 0;
  transition: border-color 0.3s;
}
.form-field select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a07c46' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.2rem center;
}
.form-field select option { color: var(--ink); background: var(--cream); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input::placeholder, .form-field textarea::placeholder {
  color: rgba(241, 236, 223, 0.32);
  font-style: italic;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--bronze);
}
.form-submit { width: 100%; justify-content: center; color: var(--cream); }
.form-note {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(241, 236, 223, 0.4);
}
.form-success {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem;
  color: var(--bronze);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: var(--cream);
  padding: 0 var(--pad-x) 2.4rem;
  border-top: 1px solid var(--line-light);
  overflow: hidden;
}
.footer-wordmark {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(4rem, 14.5vw, 14rem);
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.1;
  margin: 0.2em 0 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 236, 223, 0.22);
  user-select: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line-light);
  max-width: 1400px; margin: 0 auto;
}
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-heading {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.5rem;
}
.footer-col a, .footer-col p {
  font-size: 0.92rem; font-weight: 300;
  color: rgba(241, 236, 223, 0.75);
  width: fit-content;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--bronze); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.74rem; font-weight: 300;
  color: rgba(241, 236, 223, 0.42);
  max-width: 1400px; margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .statement-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .statement-media { min-height: 420px; max-width: 560px; }
  .story-grid { gap: 4rem; }
  .story-media { max-width: 480px; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-btn { justify-self: stretch; justify-content: center; grid-column: 1 / -1; }
  .property-grid { grid-template-columns: 1fr 1fr; }
  .property-wide { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .btn-nav { display: none; }
  .hero-veil {
    background:
      linear-gradient(to bottom, rgba(20, 18, 14, 0.5) 0%, rgba(20, 18, 14, 0.32) 38%, rgba(20, 18, 14, 0.8) 100%),
      linear-gradient(75deg, rgba(20, 18, 14, 0.45) 0%, rgba(20, 18, 14, 0) 60%);
  }
  .hero-foot { justify-content: center; }
  .hero-locations { display: none; }
  .hero-content { margin-bottom: 2.4rem; }
  .hero-title { font-size: clamp(2.9rem, 11.5vw, 3.7rem); margin-bottom: 1.3rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .search-wrap { margin-top: -1.6rem; }
  .search-bar { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.5rem 1.4rem; }
  .property-grid { grid-template-columns: 1fr; }
  .property-wide .property-media { aspect-ratio: 4 / 5; }
  .collection .section-head { grid-template-columns: 1fr; align-items: start; }
  .statement-media { min-height: 0; height: 420px; }
  .story-frame { inset: 1.2rem -0.9rem -1.2rem 1.2rem; }
  .story-stats { grid-template-columns: repeat(3, auto); gap: 1.6rem; }
  .quotes { min-height: 22rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; justify-content: start; }
  .footer-base { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .grain, .cursor { display: none !important; }
  .marquee-track { animation: none; }
}

/* ============================================================
   EICHORN OVERRIDES â€” brand logo, marble crest, listing tags
   ============================================================ */

/* Nav wordmark image: white logo over hero, inverted to black once scrolled */
.nav-brand-logo {
  display: block;
  height: clamp(30px, 3.2vw, 38px);
  width: auto;
  transition: filter 0.5s;
}
.site-nav.is-scrolled .nav-brand-logo { filter: invert(1); }
body.menu-open .site-nav .nav-brand-logo { filter: none; }

/* Meet Ben â€” black marble crest panel with the team wordmark */
.story-crest { background: var(--night); }
.story-crest .story-marble {
  position: absolute; inset: 0;
  width: 100%; height: 115%;
  object-fit: cover;
  opacity: 0.9;
}
.story-crest .story-crest-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%; height: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.55));
}
.story-crest::after {
  content: "EST Â· TORONTO Â· 4,500 HOMES";
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
}

/* Sold listing tag */
.property-tag-sold { background: var(--bronze-deep); color: var(--cream); }

/* Contact section â€” subtle black-marble atmosphere */
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/marble.png") center / 640px repeat;
  opacity: 0.16;
  pointer-events: none;
}
.contact-grid { position: relative; z-index: 1; }

@media (max-width: 680px) {
  .nav-brand-logo { height: 30px; }
  .story-crest::after { font-size: 0.55rem; letter-spacing: 0.26em; }
}

/* ============================================================
   LISTING PAGES â€” index of listings + single listing detail
   ============================================================ */

/* ---------- Page head (all-listings) ---------- */
.page-head {
  position: relative;
  background: var(--night);
  color: var(--cream);
  padding: clamp(9rem, 16vw, 13rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/marble.png") center / 640px repeat;
  opacity: 0.22;
  pointer-events: none;
}
.page-head > * { position: relative; z-index: 1; }
.page-head-title { max-width: 1400px; }
.page-head-note {
  margin-top: 1.6rem;
  max-width: 34rem;
  font-weight: 300;
  color: rgba(241, 236, 223, 0.72);
}
.page-head-note a {
  color: var(--bronze);
  border-bottom: 1px solid rgba(160, 124, 70, 0.4);
  transition: border-color 0.3s;
}
.page-head-note a:hover { border-color: var(--bronze); }

/* ---------- Filters ---------- */
.filter-wrap {
  position: relative; z-index: 5;
  padding: 0 var(--pad-x);
  margin-top: -1.9rem;
}
.filter-bar { grid-template-columns: repeat(4, 1fr); }
.listings-count {
  max-width: 1200px;
  margin: 1.1rem auto 0;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--bronze-deep);
}

/* ---------- Listings grid page ---------- */
.listings-page-grid { padding-top: clamp(2.5rem, 5vw, 4rem); background: var(--paper); }
.empty-state {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
  max-width: 32rem;
  margin: 0 auto;
}
.empty-state-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.8rem;
}
.empty-state-text {
  font-weight: 300; color: var(--ink-soft);
  margin-bottom: 2rem;
}

/* ---------- Listing hero ---------- */
.hero--listing { min-height: 92svh; }
.hero-title--listing { font-size: clamp(2.5rem, 6.4vw, 5.6rem); }
.hero-crumb {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--cream);
  letter-spacing: 0.22em;
  border-bottom: 1px solid rgba(241, 236, 223, 0.35);
  padding-bottom: 0.2rem;
  transition: color 0.3s, border-color 0.3s;
}
.hero-crumb:hover { color: var(--bronze); border-color: var(--bronze); }
.hero-tag {
  display: inline-block;
  margin-left: 1.4rem;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  background: var(--cream); color: var(--ink);
  padding: 0.45rem 0.95rem;
  border-radius: 100px;
}
.hero-price {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: var(--bronze);
  margin-top: 1.2rem;
}

/* ---------- Facts bar ---------- */
.facts-bar { grid-template-columns: repeat(6, 1fr); margin-bottom: 0; }
.fact { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.fact dt {
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bronze-deep);
}
.fact dd {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink);
}

/* ---------- Listing description + features ---------- */
.listing-about .statement-grid { align-items: start; }
.listing-desc { margin-bottom: 2.2rem; }
.listing-desc .story-text { max-width: 34rem; }
.listing-features {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.feature-list { list-style: none; }
.feature-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.6rem;
  font-size: 0.95rem; font-weight: 300;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0.2rem; top: 1.45rem;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--bronze);
}

/* ---------- Gallery ---------- */
.gallery { padding: 0 var(--pad-x) clamp(5rem, 9vw, 8rem); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: clamp(220px, 24vw, 330px);
  gap: clamp(1rem, 2vw, 1.8rem);
  max-width: 1400px; margin: 0 auto;
}
.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  background: var(--bone);
}
.gallery-item-main { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- Area band ---------- */
.area-band {
  position: relative;
  background: var(--night);
  color: var(--cream);
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad-x);
  overflow: hidden;
}
.area-band::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/marble.png") center / 640px repeat;
  opacity: 0.2;
  pointer-events: none;
}
.area-band-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center; }
.area-band-inner .eyebrow { justify-content: center; }
.area-text {
  margin: 1.6rem auto 2.4rem;
  max-width: 38rem;
  font-weight: 300;
  font-size: 1.05rem;
  color: rgba(241, 236, 223, 0.8);
}

/* ---------- Similar listings ---------- */
.collection-similar { background: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .facts-bar { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; }
  .listing-about .statement-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .filter-wrap { margin-top: -1.2rem; }
  .filter-bar { grid-template-columns: 1fr; gap: 1.2rem; }
  .facts-bar { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: clamp(220px, 56vw, 300px); }
  .gallery-item-main { grid-row: auto; }
  .hero-tag { margin-left: 0.9rem; }
  .hero--listing { min-height: 86svh; }
}

/* ============================================================
   JOURNAL â€” blog index + single article
   ============================================================ */

/* ---------- Category chips ---------- */
.blog-filter-wrap { padding: clamp(2rem, 4vw, 3rem) var(--pad-x) 0; }
.chip-row {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  max-width: 1400px; margin: 0 auto;
}
.chip {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.chip:hover { border-color: var(--bronze); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Featured article ---------- */
.blog-featured { padding: clamp(2.4rem, 5vw, 4rem) var(--pad-x) 0; }
.post-feature { max-width: 1400px; margin: 0 auto; }
.post-feature-link {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  gap: clamp(1.6rem, 4vw, 3.5rem);
}
.post-feature-media {
  position: relative; overflow: hidden;
  border-radius: 4px; background: var(--bone);
  aspect-ratio: 4 / 3;
}
.post-feature-media img,
.post-card-media img {
  width: 100%; height: 115%;
  object-fit: cover; will-change: transform;
  transition: transform 1.1s var(--ease-lux);
}
.post-feature:hover .post-feature-media img,
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-feature-body { display: flex; flex-direction: column; justify-content: center; }
.post-tag {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  background: var(--cream); color: var(--ink);
  padding: 0.45rem 0.9rem; border-radius: 100px;
}
.post-meta {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 1rem;
}
.post-meta span { color: var(--ink); }
.post-feature-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  transition: color 0.3s;
}
.post-feature:hover .post-feature-title { color: var(--bronze-deep); }
.post-excerpt {
  font-size: 1rem; font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
  max-width: 38rem;
}
.post-feature-body .text-link { align-self: flex-start; }

/* ---------- Article grid ---------- */
.blog-index { padding: clamp(3rem, 6vw, 5rem) var(--pad-x) clamp(4rem, 8vw, 7rem); }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.8rem, 3vw, 3rem);
  max-width: 1400px; margin: 0 auto;
}
.post-card-media {
  position: relative; overflow: hidden;
  border-radius: 4px; background: var(--bone);
  aspect-ratio: 3 / 2;
  margin-bottom: 1.4rem;
}
.post-card-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
  transition: color 0.3s;
}
.post-card:hover .post-card-title { color: var(--bronze-deep); }
.post-card .post-excerpt { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Newsletter CTA on blog index ---------- */
.blog-cta-grid { align-items: center; }
.blog-cta-form { align-self: center; width: 100%; }

/* ---------- Reading progress ---------- */
.read-progress {
  position: fixed; top: 0; left: 0; z-index: 180;
  height: 3px; width: 100%;
  background: var(--bronze);
  transform: scaleX(0); transform-origin: left center;
  will-change: transform;
}

/* ---------- Single article ---------- */
.article {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8rem, 14vw, 11rem) var(--pad-x) 0;
}
.article-head { max-width: 820px; margin: 0 auto clamp(2.4rem, 5vw, 3.5rem); text-align: center; }
.article-crumbs { justify-content: center; }
.article-cat {
  display: inline-block; margin-left: 1.2rem;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  padding: 0.4rem 0.9rem; border-radius: 100px;
}
.article-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 2rem;
}
.article-byline {
  display: inline-flex; align-items: center; gap: 0.9rem;
  text-align: left;
}
.byline-avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bronze-deep); color: var(--cream);
  font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.04em;
}
.byline-name {
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.byline-meta {
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze-deep);
}
.article-hero {
  overflow: hidden; border-radius: 6px;
  aspect-ratio: 16 / 9; background: var(--bone);
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}
.article-hero img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }

/* ---------- Article body (centered measure) ---------- */
.article-body { max-width: 680px; margin: 0 auto; }
.article-body > * { margin-bottom: 1.5rem; }
.article-body p {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.75; font-weight: 300;
  color: var(--ink);
}
.article-body h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2; letter-spacing: -0.01em;
  margin-top: 3rem; margin-bottom: 1.1rem;
}
.article-body blockquote {
  margin: 2.6rem 0;
  padding: 0.4rem 0 0.4rem 1.8rem;
  border-left: 2px solid var(--bronze);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.35; color: var(--ink);
}
.article-body ul { list-style: none; padding: 0; }
.article-body li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.7rem;
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  font-weight: 300; color: var(--ink-soft);
}
.article-body li::before {
  content: ""; position: absolute; left: 0.1rem; top: 1.15rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--bronze);
}

/* ---------- Sign-off ---------- */
.article-signoff {
  max-width: 680px; margin: clamp(3rem, 6vw, 5rem) auto 0;
  text-align: center;
}
.signoff-rule {
  width: 60px; height: 1px; background: var(--bronze);
  margin: 0 auto 2rem;
}
.signoff-text {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4; color: var(--ink);
  margin-bottom: 2rem;
}
.signoff-actions {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  justify-content: center; align-items: center;
}
.signoff-actions .btn-ghost { color: var(--bronze-deep); border-bottom-color: var(--line); }
.signoff-actions .btn-ghost:hover { color: var(--ink); border-bottom-color: var(--bronze); }

.blog-related { padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); margin-top: clamp(4rem, 8vw, 6rem); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-feature-link { grid-template-columns: 1fr; }
  .post-feature-media { aspect-ratio: 16 / 9; }
  .post-feature-body { padding-top: 0.4rem; }
}
@media (max-width: 680px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-cat { display: block; margin: 1rem auto 0; width: fit-content; }
  .article-crumbs { flex-direction: column; gap: 0.4rem; }
}

/* ============================================================
   WORDPRESS — render the_content() + pagination on brand
   ============================================================ */

/* Listing description (the editor content on a listing) reads like .story-text */
.listing-desc p {
  max-width: 34rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.listing-desc p em { font-family: var(--serif); font-style: italic; color: var(--bronze-deep); }

/* Pagination (listings archive + journal archives) */
.pagination-row { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pagination-row .nav-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
}
.pagination-row .page-numbers {
  display: grid; place-items: center;
  min-width: 46px; height: 46px; padding: 0 0.5rem;
  border: 1px solid var(--line); border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.pagination-row a.page-numbers:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pagination-row .page-numbers.current { background: var(--bronze-deep); color: var(--cream); border-color: var(--bronze-deep); }
.pagination-row .page-numbers.dots { border: none; }

/* the_content() base rhythm for pages/articles already covered by .article-body;
   add light support for common WP blocks inside articles. */
.article-body img { border-radius: 4px; }
.article-body figure { margin: 2rem 0; }
.article-body a { color: var(--bronze-deep); border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.article-body a:hover { border-color: var(--bronze); }
.article-body h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-top: 2rem; margin-bottom: 0.8rem;
}
.aligncenter { margin-left: auto; margin-right: auto; }

/* ============================================================
   MOBILE OPTIMIZATION PASS
   ============================================================ */
@media (max-width: 680px) {
  /* Tighter vertical rhythm so there's less endless scrolling */
  .statement, .collection, .story, .voices,
  .contact, .territories-content {
    padding-top: clamp(3.75rem, 9vw, 5rem);
    padding-bottom: clamp(3.75rem, 9vw, 5rem);
  }

  /* Display type sized for small screens */
  .section-title { font-size: clamp(2.05rem, 9vw, 2.7rem); }
  .statement-text { font-size: clamp(1.5rem, 6.2vw, 2rem); line-height: 1.32; }

  /* Neighbourhoods: stack the name + meta and shrink the name so the
     "from $1.1M · N sold" line is never cut off the side of the screen */
  .territory-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 1rem;
    row-gap: 0.35rem;
  }
  .territory-name {
    flex: 1 1 auto;
    font-size: clamp(1.55rem, 7.2vw, 2.1rem);
    line-height: 1.12;
  }
  .territory-meta {
    flex: 1 1 100%;
    white-space: normal;
  }

  /* Testimonials: adapt height instead of leaving a tall fixed gap */
  .quotes { min-height: 20rem; }
}
