/* ==========================================================================
   ECR Homepage - ecr-homepage.css
   Estates of Credit Ridge · Right At Home Realty, Brokerage
   ========================================================================== */

/* --------------------------------------------------------------------------
   Brand Tokens
   -------------------------------------------------------------------------- */
:root {
  --ecr-forest:    #2C3E2D;
  --ecr-stone:     #6B5B45;
  --ecr-sage:      #7D9A72;
  --ecr-cream:     #F7F3EC;
  --ecr-slate:     #4A5568;
  --ecr-rule:      #8B7355;

  --brand-gold:    #B08D2E;
  --brand-black:   #0D0D0D;

  --font-serif:    'Playfair Display', 'EB Garamond', Georgia, serif;
  --font-sans:     'Manrope', Arial, 'Trebuchet MS', sans-serif;

  --radius-sm:     4px;
  --radius-md:     8px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.10);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section[id],
main[id] {
  scroll-margin-top: 88px;
}

body {
  background-color: var(--ecr-cream);
  font-family: var(--font-sans);
  color: var(--ecr-slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
/* Photos carry intrinsic width/height attributes (no layout shift); let CSS keep them in proportion. */
:where(img.ecr-photo, img.ecr-video__poster, .ecr-expert__photo img) { height: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-140%);
  background: var(--ecr-forest);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: transform 180ms;
}

.skip-link:focus {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7f6418;
  display: block;
  margin-bottom: 12px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--ecr-forest);
  line-height: 1.2;
}

.section-dek {
  max-width: 560px;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ecr-slate);
  line-height: 1.7;
}

.section-link {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ecr-sage);
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 200ms;
}
.section-link:hover { opacity: 0.8; }

.btn-primary {
  background-color: var(--ecr-sage);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(44,62,45,0.12);
  transition: opacity 200ms, transform 200ms, box-shadow 200ms;
  display: inline-block;
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(44,62,45,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--ecr-forest);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ecr-forest);
  cursor: pointer;
  transition: opacity 200ms, transform 200ms, background-color 200ms;
  display: inline-block;
}
.btn-outline:hover {
  opacity: 1;
  transform: translateY(-1px);
  background: rgba(44,62,45,0.06);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 3px;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Section 1 - Navigation
   -------------------------------------------------------------------------- */
.ecr-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(139,115,85,0.30);
  height: 60px;
  transition: box-shadow 200ms;
}
.ecr-nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

/* Push nav below WordPress admin bar when logged in */
html.admin-bar .ecr-nav { top: 46px; }
@media screen and (min-width: 783px) {
  html.admin-bar .ecr-nav { top: 32px; }
}

.ecr-nav__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.ecr-nav__wordmark { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }

.ecr-nav__wordmark-main {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: var(--ecr-forest);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.ecr-nav__wordmark-sub {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
}

.ecr-nav__links { display: none; gap: 28px; margin-left: auto; }

.ecr-nav__links a {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ecr-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 2px;
  transition: color 200ms;
}
.ecr-nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--ecr-sage);
  transform: scaleX(0);
  transition: transform 200ms;
}
.ecr-nav__links a:hover { color: var(--ecr-forest); }
.ecr-nav__links a:hover::after { transform: scaleX(1); }

.ecr-nav__cta { display: none; margin-left: 28px; }
.ecr-nav__cta a {
  background: var(--ecr-sage);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: opacity 200ms;
}
.ecr-nav__cta a:hover { opacity: 0.85; }

.ecr-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.ecr-nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ecr-forest);
  border-radius: 2px;
  transition: all 200ms;
}

.ecr-nav__mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid rgba(139,115,85,0.15);
  padding: 16px 20px 24px;
}
.ecr-nav__mobile a {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ecr-slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(139,115,85,0.12);
  display: block;
}
.ecr-nav__mobile a:hover { color: var(--ecr-forest); }
.ecr-nav__mobile .ecr-nav__mobile-cta {
  margin-top: 16px;
  background: var(--ecr-sage);
  color: #fff;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-sm);
  border-bottom: none;
  padding: 12px;
}
.ecr-nav.nav-open .ecr-nav__mobile { display: flex; }

@media (min-width: 769px) {
  .ecr-nav { height: 72px; }
  .ecr-nav__links { display: flex; }
  .ecr-nav__cta { display: block; }
  .ecr-nav__hamburger { display: none; }
  .ecr-nav__mobile { display: none !important; }
}

/* --------------------------------------------------------------------------
   Section 2 - Hero
   -------------------------------------------------------------------------- */
.ecr-hero {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 88vh;
}

.ecr-hero__left {
  background: var(--ecr-cream);
  padding: 60px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.ecr-hero__headline {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--ecr-forest);
  line-height: 1.15;
  margin-bottom: 20px;
}

.ecr-hero__subline {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ecr-slate);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 28px;
}

.ecr-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ecr-hero__stat-rule {
  border: none;
  border-top: 1px solid rgba(139,115,85,0.25);
  margin-bottom: 24px;
}

.ecr-hero__stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ecr-hero__stat { flex: 1; min-width: 100px; padding-right: 16px; }

.ecr-hero__stat-value {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ecr-forest);
  line-height: 1.1;
  display: block;
}

.ecr-hero__stat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ecr-stone);
  display: block;
  margin-top: 2px;
}

.ecr-hero__stat-note {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--ecr-sage);
  display: block;
  margin-top: 1px;
}

.ecr-hero__source {
  font-family: var(--font-sans);
  font-size: 9px;
  color: rgba(107,91,69,0.55);
  line-height: 1.5;
  margin-bottom: 32px;
}

/* Scroll cue */
.ecr-hero__scroll-cue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(107,91,69,0.50);
  cursor: default;
  user-select: none;
}
.ecr-hero__scroll-cue .material-symbols-outlined {
  font-size: 20px;
  color: var(--ecr-stone);
  animation: cue-drift 1.8s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes cue-drift {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* Hero right panel */
.ecr-hero__right {
  background-color: var(--ecr-forest);
  background-image:
    repeating-linear-gradient(45deg, rgba(125,154,114,0.06) 0px, rgba(125,154,114,0.06) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(-45deg, rgba(176,141,46,0.04) 0px, rgba(176,141,46,0.04) 1px, transparent 1px, transparent 40px);
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ecr-hero__watermark {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-sans);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.30);
}

/* Last sold card */
.ecr-hero__last-sold {
  margin: auto 32px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  max-width: 320px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.20);
}
.ecr-hero__last-sold-badge {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-gold);
  display: block;
  margin-bottom: 8px;
}
.ecr-hero__last-sold-price {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.1;
  margin-bottom: 4px;
}
.ecr-hero__last-sold-street {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  display: block;
  margin-bottom: 10px;
}
.ecr-hero__last-sold-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.ecr-hero__last-sold-meta span {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(255,255,255,0.55);
}
.ecr-hero__last-sold-meta .dot { color: rgba(255,255,255,0.25); }
.ecr-hero__last-sold-meta .highlight { color: var(--ecr-sage); font-weight: 700; }

.ecr-hero__last-sold-type {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(255,255,255,0.40);
  display: block;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Street pills panel */
.ecr-hero__streets {
  padding: 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.ecr-hero__streets-heading {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}
.ecr-hero__pills { display: flex; flex-wrap: wrap; gap: 6px; }

.ecr-pill {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(255,255,255,0.60);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 4px 10px;
  border-radius: 3px;
  position: relative;
  cursor: default;
  transition: background 150ms;
}
.ecr-pill--gold {
  color: var(--brand-gold);
  background: rgba(176,141,46,0.07);
  border-color: rgba(176,141,46,0.30);
  cursor: pointer;
}
.ecr-pill--gold:hover { background: rgba(176,141,46,0.14); }

/* Pill tooltip */
.ecr-pill__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms;
  z-index: 10;
}
.ecr-pill__tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--brand-black);
}
.ecr-pill--gold:hover .ecr-pill__tooltip { opacity: 1; }

@media (min-width: 769px) {
  .ecr-hero { margin-top: 72px; grid-template-columns: 1fr 1fr; }
  .ecr-hero__left { padding: 80px 60px 60px; }
  .ecr-hero__headline { font-size: 50px; }
  .ecr-hero__right { min-height: auto; }
}

/* --------------------------------------------------------------------------
   Homepage Reimagination - Atlas Hero
   -------------------------------------------------------------------------- */
.ecr-hero--atlas {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(212,180,95,0.16), transparent 28%),
    linear-gradient(110deg, #f6f0e7 0%, #efe7da 46%, #233526 46%, #233526 100%);
}

.ecr-hero--atlas .ecr-hero__left {
  background:
    linear-gradient(90deg, rgba(246,240,231,0.98), rgba(246,240,231,0.90)),
    radial-gradient(circle at 18% 16%, rgba(176,141,46,0.20), transparent 34%);
  padding-top: clamp(72px, 8vw, 128px);
  padding-bottom: clamp(52px, 7vw, 96px);
}

.ecr-hero--atlas .eyebrow {
  color: #9a741e;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.ecr-hero--atlas .ecr-hero__headline {
  max-width: 780px;
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 650;
  line-height: 0.96;
  color: #263b2a;
  margin-bottom: 24px;
  text-wrap: balance;
}

.ecr-hero--atlas .ecr-hero__subline {
  max-width: 660px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.75;
  color: #405067;
  margin-bottom: 32px;
}

.ecr-hero--atlas .ecr-hero__ctas {
  margin-bottom: 34px;
}

.ecr-hero--atlas .btn-primary,
.ecr-hero--atlas .btn-outline {
  min-height: 48px;
  border-radius: 3px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1), background-color 220ms;
}

.ecr-hero--atlas .btn-primary {
  background: #263b2a;
  color: #f9f4ea;
  box-shadow: 0 18px 40px rgba(38,59,42,0.20);
}

.ecr-hero--atlas .btn-outline {
  color: #263b2a;
  border-color: #263b2a;
}

.ecr-hero--atlas .btn-primary:hover,
.ecr-hero--atlas .btn-outline:hover {
  transform: translateY(-2px);
}

.ecr-hero--atlas .ecr-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  background: rgba(38,59,42,0.14);
  border: 1px solid rgba(38,59,42,0.14);
  margin-bottom: 22px;
}

.ecr-hero--atlas .ecr-hero__stat {
  min-width: 0;
  padding: 18px 18px 16px;
  background: rgba(249,244,234,0.74);
}

.ecr-hero--atlas .ecr-hero__stat-value {
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 650;
  color: #263b2a;
}

.ecr-hero--atlas .ecr-hero__stat-label,
.ecr-hero--atlas .ecr-hero__stat-note {
  font-family: 'Manrope', Arial, sans-serif;
}

.ecr-hero--atlas .ecr-hero__stat-label {
  color: #5a4931;
}

.ecr-hero--atlas .ecr-hero__stat-note {
  color: #6f8b62;
}

.ecr-hero__routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-bottom: 28px;
}

.ecr-hero__routes a {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(38,59,42,0.18);
  background: rgba(249,244,234,0.56);
  color: #263b2a;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background-color 200ms, transform 200ms, border-color 200ms;
}

.ecr-hero__routes a:hover {
  transform: translateY(-2px);
  background: rgba(212,180,95,0.18);
  border-color: rgba(154,116,30,0.38);
}

.ecr-hero__routes .material-symbols-outlined {
  color: #9a741e;
}

.ecr-hero--atlas .ecr-hero__right {
  min-height: 620px;
  padding: clamp(16px, 2.4vw, 40px);
  justify-content: center;
  background:
    radial-gradient(circle at 68% 18%, rgba(159,181,141,0.20), transparent 28%),
    radial-gradient(circle at 22% 78%, rgba(212,180,95,0.18), transparent 30%),
    linear-gradient(135deg, #233526 0%, #16251d 100%);
}

.ecr-atlas {
  position: relative;
  width: min(100%, 1020px);
  margin: 0 auto;
  padding: clamp(8px, 1.2vw, 14px);
  border: 1px solid rgba(241,230,211,0.18);
  background:
    linear-gradient(180deg, rgba(241,230,211,0.08), rgba(241,230,211,0.035)),
    repeating-linear-gradient(90deg, rgba(241,230,211,0.045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(241,230,211,0.035) 0 1px, transparent 1px 72px);
  box-shadow: 0 34px 90px rgba(7,16,10,0.38);
  opacity: 0;
  transform: translate3d(var(--atlas-x, 0), var(--atlas-y, 0), 0) scale(0.97);
  transition: opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

.ecr-atlas.is-ready {
  opacity: 1;
  transform: translate3d(var(--atlas-x, 0), var(--atlas-y, 0), 0) scale(1);
}

.ecr-atlas::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212,180,95,0.18);
  pointer-events: none;
}

.ecr-atlas__header,
.ecr-atlas__legend {
  position: relative;
  z-index: 2;
}

.ecr-atlas__header {
  position: absolute;
  top: clamp(22px, 2.5vw, 34px);
  left: clamp(22px, 2.5vw, 34px);
  right: clamp(22px, 2.5vw, 34px);
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0;
  pointer-events: none;
}

.ecr-atlas__header > div {
  max-width: min(580px, calc(100% - 76px));
  padding: 14px 16px 16px;
  border: 1px solid rgba(212,180,95,0.24);
  background: rgba(22,37,29,0.82);
  box-shadow: 0 16px 40px rgba(7,16,10,0.22);
}

.ecr-atlas__kicker {
  display: block;
  margin-bottom: 7px;
  font-family: 'Manrope', Arial, sans-serif;
  color: #d4b45f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ecr-atlas__header h2 {
  max-width: 520px;
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  color: #f1e6d3;
}

.ecr-atlas__status {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,180,95,0.45);
  color: #d4b45f;
  font-family: 'Manrope', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(22,37,29,0.72);
}

.ecr-atlas__map {
  position: relative;
  aspect-ratio: 1.42 / 1;
  min-height: clamp(520px, 52vw, 720px);
  overflow: hidden;
  border: 1px solid rgba(241,230,211,0.16);
  background:
    radial-gradient(circle at 35% 36%, rgba(159,181,141,0.14), transparent 28%),
    rgba(9,22,14,0.22);
}

.ecr-atlas__mapbox,
.ecr-atlas__mapbox .mapboxgl-canvas-container,
.ecr-atlas__mapbox .mapboxgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ecr-atlas__mapbox .mapboxgl-ctrl-logo,
.ecr-atlas__mapbox .mapboxgl-ctrl-bottom-left,
.ecr-atlas__mapbox .mapboxgl-ctrl-bottom-right {
  opacity: 0.68;
}

.ecr-atlas__mapbox .mapboxgl-popup {
  z-index: 8;
}

.ecr-atlas__mapbox .ecr-neighbourhood-map__missing {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: rgba(241,230,211,0.78);
  background: rgba(22,37,29,0.78);
  font-family: 'Manrope', Arial, sans-serif;
  text-align: center;
}

.ecr-atlas__legend {
  position: absolute;
  left: clamp(22px, 2.5vw, 34px);
  right: clamp(22px, 2.5vw, 34px);
  bottom: clamp(22px, 2.5vw, 34px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: calc(100% - clamp(44px, 5vw, 68px));
  padding: 10px 12px;
  border: 1px solid rgba(241,230,211,0.14);
  background: rgba(22,37,29,0.78);
  color: rgba(241,230,211,0.66);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ecr-atlas__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ecr-atlas__listing-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d4b45f;
  box-shadow: 0 0 0 4px rgba(212,180,95,0.18);
}

@media (min-width: 769px) {
  .ecr-hero--atlas {
    grid-template-columns: minmax(0, 0.82fr) minmax(620px, 1.18fr);
    min-height: calc(100vh - 72px);
  }
}

@media (max-width: 980px) {
  .ecr-hero--atlas .ecr-hero__headline {
    font-size: clamp(42px, 9vw, 72px);
  }

  .ecr-hero--atlas .ecr-hero__right {
    min-height: auto;
  }

  .ecr-atlas {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ecr-hero--atlas .ecr-hero__left {
    padding: 54px 20px 40px;
  }

  .ecr-hero--atlas .ecr-hero__headline {
    font-size: clamp(38px, 12vw, 54px);
  }

  .ecr-hero--atlas .ecr-hero__stats,
  .ecr-hero__routes {
    grid-template-columns: 1fr;
  }

  .ecr-hero__routes a {
    min-height: 52px;
  }

  .ecr-hero--atlas .ecr-hero__right {
    padding: 20px;
  }

  .ecr-atlas__header {
    align-items: flex-start;
  }

  .ecr-atlas__header > div {
    max-width: calc(100% - 56px);
    padding: 12px 13px;
  }

  .ecr-atlas__status {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }

  .ecr-atlas__map {
    min-height: 430px;
  }

  .ecr-atlas__legend {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecr-atlas,
  .ecr-atlas.is-ready,
  .ecr-hero__routes a,
  .ecr-hero--atlas .btn-primary,
  .ecr-hero--atlas .btn-outline {
    transition: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Full Map Hero
   -------------------------------------------------------------------------- */
.ecr-hero--map {
  margin-top: 60px;
  display: block;
  min-height: auto;
  overflow: hidden;
  background: #17251d;
}

.ecr-map-hero {
  position: relative;
  min-height: calc(100vh - 60px);
  background:
    radial-gradient(circle at 18% 18%, rgba(212,180,95,0.16), transparent 28%),
    linear-gradient(135deg, #203426 0%, #101b15 100%);
  overflow: hidden;
}

.ecr-map-hero .ecr-map-hero__map,
.ecr-map-hero .ecr-map-hero__map .mapboxgl-canvas-container,
.ecr-map-hero .ecr-map-hero__map .mapboxgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ecr-map-hero__map .mapboxgl-ctrl-logo,
.ecr-map-hero__map .mapboxgl-ctrl-bottom-left,
.ecr-map-hero__map .mapboxgl-ctrl-bottom-right {
  opacity: 0.68;
}

.ecr-map-hero__map .ecr-neighbourhood-map__missing {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: rgba(241,230,211,0.82);
  background: rgba(22,37,29,0.86);
  font-family: 'Manrope', Arial, sans-serif;
  text-align: center;
}

.ecr-map-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,27,21,0.92) 0%, rgba(16,27,21,0.76) 27%, rgba(16,27,21,0.18) 57%, rgba(16,27,21,0.10) 100%),
    linear-gradient(0deg, rgba(16,27,21,0.78) 0%, transparent 24%, transparent 72%, rgba(16,27,21,0.34) 100%);
}

.ecr-map-hero__content {
  position: absolute;
  left: clamp(20px, 5vw, 76px);
  top: clamp(72px, 11vh, 124px);
  /* Above the sibling map overlays (tools/legend/scroll-cue at z-index 2) so the
     search dropdown — trapped in this element's stacking context — can paint
     over them instead of bleeding through. */
  z-index: 6;
  max-width: min(520px, 40vw);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(241,230,211,0.10);
  border-top: 2px solid #d4b45f;
  background: rgba(14,24,18,0.90);
  box-shadow: 0 40px 100px rgba(7,16,10,0.40);
}

.ecr-map-hero__content .eyebrow {
  color: #c9a84c;
  letter-spacing: 0.22em;
  margin-bottom: 0;
}

.ecr-map-hero__content .eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(212,180,95,0.48);
  margin: 14px 0 16px;
}

.ecr-map-hero__content h1 {
  margin: 0 0 18px;
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 3.6vw, 68px);
  font-weight: 650;
  line-height: 0.96;
  color: #f4ead8;
  text-wrap: balance;
}

.ecr-map-hero__content p {
  max-width: 440px;
  margin: 0 0 28px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 0.92vw, 15px);
  line-height: 1.72;
  color: rgba(248,239,224,0.64);
}

.ecr-map-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ecr-map-hero__actions .btn-primary,
.ecr-map-hero__actions .btn-outline {
  min-height: 44px;
  border-radius: 2px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
}

.ecr-map-hero__actions .btn-primary {
  background: #eee0c8;
  color: #111e15;
  box-shadow: 0 8px 24px rgba(7,16,10,0.28);
  transition: background 180ms, transform 180ms, box-shadow 180ms;
}

.ecr-map-hero__actions .btn-primary:hover {
  background: #f4ead8;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(7,16,10,0.34);
}

.ecr-map-hero__actions .btn-outline {
  color: rgba(248,239,224,0.82);
  border: 1px solid rgba(248,239,224,0.28);
  background: transparent;
  transition: background 180ms, border-color 180ms;
}

.ecr-map-hero__actions .btn-outline:hover {
  background: rgba(248,239,224,0.07);
  border-color: rgba(248,239,224,0.50);
}

/* --------------------------------------------------------------------------
   Hero search bar
   -------------------------------------------------------------------------- */
.ecr-hero-search {
  position: relative;
  margin: 0 0 26px;
}

.ecr-hero-search__wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,180,95,0.38);
  border-radius: 4px;
  transition: border-color 180ms, background 180ms;
}

.ecr-hero-search__wrap:focus-within {
  border-color: rgba(212,180,95,0.72);
  background: rgba(255,255,255,0.12);
}

.ecr-hero-search__icon {
  flex-shrink: 0;
  padding: 0 0 0 14px;
  font-size: 20px;
  color: rgba(212,180,95,0.70);
  pointer-events: none;
}

.ecr-hero-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 0 10px 0 12px;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #f4ead8;
  caret-color: #d4b45f;
}

.ecr-hero-search__input::placeholder {
  color: rgba(244,234,216,0.42);
}

.ecr-hero-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* The global a/button/input:focus-visible rule paints a 2px outline that
   would float a redundant box around this input on focus. The wrap's
   :focus-within border already provides the visible focus cue, so suppress
   the outline here (higher specificity than the global focus-visible rule). */
.ecr-hero-search__input:focus,
.ecr-hero-search__input:focus-visible {
  outline: none;
}

.ecr-hero-search__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(212,180,95,0.16);
  border: none;
  border-left: 1px solid rgba(212,180,95,0.22);
  border-radius: 0 3px 3px 0;
  color: #d4b45f;
  cursor: pointer;
  transition: background 160ms;
}

.ecr-hero-search__btn:hover {
  background: rgba(212,180,95,0.28);
}

.ecr-hero-search__btn .material-symbols-outlined {
  font-size: 20px;
}

/* Dropdown */
.ecr-hero-search__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(12,21,16,0.99);
  border: 1px solid rgba(212,180,95,0.28);
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  /* Cap height on short/mobile viewports so it scrolls internally instead of
     spilling over the hero CTAs and map overlays below. */
  max-height: min(60vh, 432px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ecr-hero-search__dropdown[hidden] { display: none; }

.ecr-hero-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 120ms;
}

.ecr-hero-search__item:last-child { border-bottom: none; }

.ecr-hero-search__item:hover,
.ecr-hero-search__item[aria-selected="true"] {
  background: rgba(212,180,95,0.10);
}

.ecr-hero-search__item-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: rgba(212,180,95,0.60);
}

.ecr-hero-search__item-text {
  flex: 1 1 auto;
  min-width: 0;
}

.ecr-hero-search__item-label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #f4ead8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecr-hero-search__item-sub {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  color: rgba(244,234,216,0.46);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecr-hero-search__item-badge {
  flex-shrink: 0;
  margin-left: auto;
  align-self: center;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4b45f;
  background: rgba(212,180,95,0.14);
  border-radius: 2px;
  padding: 2px 6px;
  white-space: nowrap;
}

.ecr-hero-search__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  color: rgba(244,234,216,0.40);
  border-top: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background 120ms;
}

.ecr-hero-search__footer:hover {
  background: rgba(212,180,95,0.07);
}

.ecr-hero-search__footer .material-symbols-outlined {
  font-size: 15px;
  color: rgba(212,180,95,0.50);
}

.ecr-map-hero__tools,
.ecr-map-hero__legend,
.ecr-map-hero__scroll-cue {
  position: absolute;
  z-index: 2;
  font-family: 'Manrope', Arial, sans-serif;
}

.ecr-map-hero__tools {
  right: clamp(18px, 3vw, 48px);
  top: clamp(84px, 11vh, 128px);
  display: grid;
  gap: 8px;
}

.ecr-map-hero__tools a {
  width: 126px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(241,230,211,0.18);
  background: rgba(20,33,25,0.78);
  color: #f8efe0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 200ms cubic-bezier(.22,1,.36,1), background-color 200ms, border-color 200ms;
}

.ecr-map-hero__tools a:hover {
  transform: translateX(-2px);
  background: rgba(32,52,38,0.92);
  border-color: rgba(212,180,95,0.46);
}

.ecr-map-hero__tools .material-symbols-outlined {
  color: #d4b45f;
}

.ecr-map-hero__legend {
  left: clamp(20px, 5vw, 76px);
  bottom: clamp(38px, 6vh, 72px);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: min(720px, calc(100% - 40px));
  padding: 11px 13px;
  border: 1px solid rgba(241,230,211,0.16);
  background: rgba(20,33,25,0.78);
  color: rgba(248,239,224,0.72);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ecr-map-hero__legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ecr-map-hero__scroll-cue {
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(38px, 6vh, 72px);
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(248,239,224,0.58);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.ecr-map-hero__scroll-cue .material-symbols-outlined {
  color: #d4b45f;
  animation: cue-drift 1.8s cubic-bezier(.22,1,.36,1) infinite;
}

@media (min-width: 769px) {
  .ecr-hero--map {
    margin-top: 72px;
  }

  .ecr-map-hero {
    min-height: calc(100vh - 72px);
  }
}

@media (max-width: 920px) {
  .ecr-map-hero {
    min-height: 920px;
  }

  .ecr-map-hero__shade {
    background:
      linear-gradient(180deg, rgba(16,27,21,0.90) 0%, rgba(16,27,21,0.70) 34%, rgba(16,27,21,0.18) 62%, rgba(16,27,21,0.78) 100%);
  }

  .ecr-map-hero__content {
    max-width: calc(100% - 40px);
    top: 84px; /* clear the fixed mobile header (~60px) so the H1 isn't clipped */
  }

  .ecr-map-hero__tools {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 124px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ecr-map-hero__tools a {
    width: auto;
    justify-content: center;
  }

  .ecr-map-hero__legend {
    left: 20px;
    right: 20px;
    bottom: 56px;
    max-width: none;
  }

  .ecr-map-hero__scroll-cue {
    display: none;
  }
}

@media (max-width: 560px) {
  .ecr-map-hero {
    min-height: 840px;
  }

  .ecr-map-hero__content {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .ecr-map-hero__content h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .ecr-map-hero__tools {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
  }

  .ecr-map-hero__tools a {
    min-height: 44px;
  }

  .ecr-map-hero__legend {
    left: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecr-map-hero__tools a,
  .ecr-map-hero__scroll-cue .material-symbols-outlined {
    transition: none;
    animation: none;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Section 3 - Street Name Marquee
   -------------------------------------------------------------------------- */
.ecr-marquee {
  background: var(--ecr-forest);
  border-top: 3px solid var(--brand-gold);
  padding: 14px 0;
  overflow: hidden;
  cursor: default;
}
.ecr-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.ecr-marquee__track:hover { animation-play-state: paused; }
.ecr-marquee__track:focus-within { animation-play-state: paused; }

.ecr-marquee__content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-right: 48px;
}
.ecr-marquee__content a {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,0.50);
  padding: 5px 2px;
  transition: color 160ms;
}
.ecr-marquee__content a:hover,
.ecr-marquee__content a:focus-visible { color: #f4ead8; }
.ecr-marquee__dot { color: var(--brand-gold); margin: 0 12px; font-size: 12px; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ecr-marquee {
    overflow-x: auto;
  }

  .ecr-marquee__track {
    animation: none;
  }

  .ecr-marquee__content[aria-hidden="true"] {
    display: none;
  }
}

/* Market Pulse styling lives in the "Market Pulse — dark statement band"
   block further down (live inventory + recent market). */

/* --------------------------------------------------------------------------
   Section 5 - Featured Listings
   -------------------------------------------------------------------------- */
.ecr-listings { background: var(--ecr-cream); padding: 72px 20px; }
.ecr-listings__inner { max-width: 1200px; margin: 0 auto; }

.ecr-listings__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ecr-carousel__controls {
  display: none;
  align-items: center;
  gap: 8px;
}

.ecr-carousel__button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(139,115,85,0.22);
  background: rgba(255,255,255,0.70);
  color: var(--ecr-forest);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms, border-color 180ms, background-color 180ms;
}

.ecr-carousel__button:hover {
  transform: translateY(-1px);
  border-color: var(--ecr-sage);
  background: #fff;
}

.ecr-carousel__button .material-symbols-outlined { font-size: 20px; }

.ecr-listings__carousel {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 0 20px 6px;
}

.ecr-listings__carousel::-webkit-scrollbar { display: none; }

.ecr-listings__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 86%);
  gap: 22px;
  align-items: stretch;
}

.ecr-v1-listing-panel {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: stretch;
}

.ecr-v1-listing-panel__main,
.ecr-v1-listing-panel__note {
  background: #fff;
  border: 1px solid rgba(31, 55, 48, 0.12);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(31, 55, 48, 0.08);
}

.ecr-v1-listing-panel__main > .material-symbols-outlined {
  color: var(--ecr-forest);
  font-size: 34px;
}

.ecr-v1-listing-panel h3,
.ecr-v1-listing-panel h4 {
  color: var(--ecr-forest);
  margin: 10px 0;
}

.ecr-v1-listing-panel p {
  color: var(--ecr-slate);
  line-height: 1.65;
}

.ecr-v1-listing-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ecr-form-notice {
  border-radius: 8px;
  font-size: 0.92rem;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.ecr-form-notice--success {
  background: rgba(50, 105, 80, 0.12);
  color: var(--ecr-forest);
}

.ecr-form-notice--error {
  background: rgba(130, 43, 43, 0.12);
  color: #812b2b;
}

.ecr-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139,115,85,0.12);
  overflow: hidden;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
  cursor: pointer;
  scroll-snap-align: start;
  min-height: 100%;
}
.ecr-card--active:hover {
  transform: translateY(-4px);
  border-color: var(--ecr-sage);
  box-shadow: 0 18px 40px rgba(44,62,45,0.12);
}
.ecr-card--sold { cursor: default; }
.ecr-card--sold-member { cursor: pointer; }
.ecr-card__link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.ecr-card__image {
  height: 196px;
  background:
    linear-gradient(135deg, rgba(44,62,45,0.95) 0%, rgba(58,82,64,0.96) 58%, rgba(44,62,45,0.98) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.ecr-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(125,154,114,0.06) 0px, rgba(125,154,114,0.06) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(-45deg, rgba(176,141,46,0.04) 0px, rgba(176,141,46,0.04) 1px, transparent 1px, transparent 40px);
  z-index: 0;
}
.ecr-card__image::before {
  content: '';
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  height: 68px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,0.08) 18% 19%, transparent 19% 42%, rgba(255,255,255,0.08) 42% 43%, transparent 43% 70%, rgba(255,255,255,0.08) 70% 71%, transparent 71%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  clip-path: polygon(0 28%, 50% 0, 100% 28%, 100% 100%, 0 100%);
  z-index: 1;
}
.ecr-card__image-placeholder {
  font-family: var(--font-serif);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(13,13,13,0.10);
  backdrop-filter: blur(2px);
}
.ecr-card__image-placeholder .material-symbols-outlined {
  font-size: 24px;
  color: rgba(255,255,255,0.42);
  font-style: normal;
}
.ecr-card__image--sold {
  background: #1e2a1f;
  flex-direction: column;
  gap: 8px;
}
.ecr-card__image--sold::before { display: none; }
.ecr-card__image--photo {
  background-position: center;
  background-size: cover;
}
.ecr-card__image--photo::before,
.ecr-card__image--photo::after { display: none; }
.ecr-card__lock-icon { font-size: 28px; color: rgba(255,255,255,0.25); position: relative; z-index: 1; }
.ecr-card__private-label {
  font-family: var(--font-sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.30);
  position: relative;
  z-index: 1;
}

.ecr-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}
.ecr-card__badge--new  { background: var(--ecr-sage); }
.ecr-card__badge--open { background: var(--brand-gold); }
.ecr-card__badge--sold { background: var(--ecr-stone); }
.ecr-card__badge--feature { background: var(--ecr-forest); }
.ecr-card__badge--alert { background: var(--ecr-rule); }

.ecr-card__body { padding: 20px; }
.ecr-card__price { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--ecr-forest); margin-bottom: 4px; }
.ecr-card__price small { font: 600 11px/1 var(--font-sans); color: var(--ecr-stone); }
.ecr-card__address { font-family: var(--font-sans); font-size: 13px; color: var(--ecr-stone); margin-bottom: 12px; }
.ecr-card__brokerage {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(107,91,69,0.62);
  line-height: 1.4;
  margin-bottom: 12px;
}

.ecr-card__specs { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.ecr-card__spec { display: flex; align-items: center; gap: 4px; font-family: var(--font-sans); font-size: 11px; color: var(--ecr-slate); }
.ecr-card__spec .material-symbols-outlined { font-size: 15px; color: var(--ecr-stone); }

.ecr-card__rule { border: none; border-top: 1px solid rgba(139,115,85,0.13); margin-bottom: 14px; }

.ecr-card__footer { display: flex; align-items: center; justify-content: space-between; }
.ecr-card__type { font-family: var(--font-sans); font-size: 10px; color: var(--ecr-stone); text-transform: uppercase; letter-spacing: 0.06em; }
.ecr-card__cta { font-family: var(--font-sans); font-size: 11px; color: var(--ecr-sage); font-weight: 700; }

.ecr-card__brokerage { font-family: var(--font-sans); font-size: 12px; color: var(--ecr-slate); margin-top: 6px; }

.ecr-card__redact { height: 14px; background: rgba(139,115,85,0.12); border-radius: 3px; margin-bottom: 8px; }
.ecr-card__redact--short { width: 60%; }

.ecr-card__private-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(139,115,85,0.13);
  margin-top: 14px;
}
.ecr-card__private-note .material-symbols-outlined { font-size: 14px; color: var(--ecr-stone); flex-shrink: 0; margin-top: 1px; }
.ecr-card__private-text { font-family: var(--font-sans); font-size: 11px; color: var(--ecr-stone); line-height: 1.5; }

.ecr-card--sold-gated .ecr-card__body {
  position: relative;
  min-height: 178px;
}
.ecr-card--sold-gated .ecr-card__redact {
  filter: blur(3px);
}
.ecr-card__gate-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.ecr-card__gate-actions a {
  flex: 1 1 auto;
  border: 1px solid rgba(44,62,45,0.22);
  border-radius: 4px;
  color: var(--ecr-forest);
  font: 700 10px/1 var(--font-sans);
  letter-spacing: 0.05em;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.ecr-card__gate-actions a:last-child {
  background: var(--ecr-forest);
  color: #fff;
}

/* Blurred photo teaser — sold/leased cards for logged-out visitors */
.ecr-card__image--blurred { overflow: hidden; }
.ecr-card__blur-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);
  transform: scale(1.12);
  z-index: 0;
}
.ecr-card__blur-gate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(18, 28, 19, 0.52);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
  gap: 8px;
}
.ecr-card__blur-gate .material-symbols-outlined {
  font-size: 28px;
  color: rgba(255,255,255,0.80);
}
/* .ecr-card__badge is already z-index:2 — sits above the blur gate */
.ecr-listings__sold-note {
  margin-top: 24px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(139,115,85,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}
.ecr-listings__sold-note > .material-symbols-outlined {
  color: var(--brand-gold);
}
.ecr-listings__sold-note p {
  flex: 1;
  margin: 0;
  color: var(--ecr-slate);
  font: 12px/1.55 var(--font-sans);
}
.ecr-listings__sold-note strong { color: var(--ecr-forest); }

.ecr-carousel__hint {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(107,91,69,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (min-width: 769px) {
  .ecr-listings { padding: 72px 52px; }
  .ecr-carousel__controls { display: flex; }
  .ecr-listings__carousel {
    margin: 0;
    padding: 0 0 12px;
    overflow-x: auto;
    cursor: grab;
  }
  .ecr-listings__carousel:active { cursor: grabbing; }
  .ecr-listings__grid {
    grid-auto-columns: calc((100% - 44px) / 3);
  }
  .ecr-carousel__hint { display: none; }
}

@media (max-width: 420px) {
  .ecr-listings__grid { grid-auto-columns: minmax(260px, 90%); }
  .ecr-v1-listing-panel { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ecr-v1-listing-panel { grid-template-columns: 1fr; }
  .ecr-listings__sold-note { align-items: flex-start; flex-wrap: wrap; }
  .ecr-listings__sold-note .ecr-btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Section 6 - Neighbourhood Story
   -------------------------------------------------------------------------- */
.ecr-neighbourhood { background: #fff; padding: 88px 20px; }
.ecr-neighbourhood__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.ecr-neighbourhood__image {
  height: 320px;
  border-radius: var(--radius-md);
  background-color: var(--ecr-forest);
  background-image:
    repeating-linear-gradient(45deg, rgba(125,154,114,0.06) 0px, rgba(125,154,114,0.06) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(-45deg, rgba(176,141,46,0.04) 0px, rgba(176,141,46,0.04) 1px, transparent 1px, transparent 40px);
  position: relative;
  overflow: hidden;
}
.ecr-neighbourhood__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 18px;
  background: linear-gradient(to top, rgba(44,62,45,0.90) 0%, transparent 100%);
}
.ecr-neighbourhood__caption-name { font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,0.80); text-transform: uppercase; letter-spacing: 0.10em; display: block; }
.ecr-neighbourhood__caption-note { font-family: var(--font-serif); font-size: 11px; color: rgba(255,255,255,0.50); font-style: italic; display: block; margin-top: 3px; }

.ecr-neighbourhood__headline { font-family: var(--font-serif); font-size: 28px; font-weight: 400; color: var(--ecr-forest); line-height: 1.2; margin-bottom: 20px; }
.ecr-neighbourhood__body { font-family: var(--font-sans); font-size: 14px; color: var(--ecr-slate); line-height: 1.75; margin-bottom: 28px; }

.ecr-neighbourhood__data-label { font-family: var(--font-sans); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ecr-stone); margin-bottom: 12px; }

.ecr-neighbourhood__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ecr-neighbourhood__stat { background: var(--ecr-cream); border: 1px solid rgba(139,115,85,0.15); border-radius: var(--radius-sm); padding: 12px 14px; }
.ecr-neighbourhood__stat-value { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ecr-forest); display: block; }
.ecr-neighbourhood__stat-label { font-family: var(--font-sans); font-size: 10px; color: var(--ecr-stone); display: block; margin-top: 2px; }

.ecr-neighbourhood__data-source { font-family: var(--font-sans); font-size: 10px; color: rgba(107,91,69,0.60); font-style: italic; line-height: 1.5; margin-bottom: 24px; }

.ecr-neighbourhood__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ecr-lifestyle-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ecr-cream);
  border: 1px solid rgba(139,115,85,0.20);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ecr-forest);
}
.ecr-lifestyle-pill .material-symbols-outlined { font-size: 16px; color: var(--ecr-sage); }

.ecr-neighbourhood__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ecr-sage);
  transition: opacity 200ms;
}
.ecr-neighbourhood__cta .material-symbols-outlined { font-size: 16px; }
.ecr-neighbourhood__cta:hover { opacity: 0.8; }

@media (min-width: 769px) {
  .ecr-neighbourhood { padding: 88px 52px; }
  .ecr-neighbourhood__inner { grid-template-columns: 1fr 1fr; gap: 72px; }
  .ecr-neighbourhood__image { height: 460px; }
  .ecr-neighbourhood__headline { font-size: 34px; }
}

/* --------------------------------------------------------------------------
   Section 7 - Schools Spotlight
   -------------------------------------------------------------------------- */
.ecr-schools { background: var(--ecr-cream); padding: 72px 20px; }
.ecr-schools__inner { max-width: 1200px; margin: 0 auto; }

.ecr-schools__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.ecr-school-card {
  background: #fff;
  border: 1px solid rgba(139,115,85,0.12);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ecr-school-card:hover,
.ecr-school-card:focus-visible {
  border-color: rgba(176,141,46,0.45);
  box-shadow: 0 14px 30px rgba(44,62,45,0.1);
  transform: translateY(-1px);
}

.ecr-school-card__icon {
  font-size: 24px;
  color: var(--ecr-sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.ecr-school-card__name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ecr-forest);
  margin-bottom: 4px;
}

.ecr-school-card__meta {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--ecr-stone);
  line-height: 1.5;
}

.ecr-school-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ecr-school-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
}
.ecr-school-tag--public { background: rgba(125,154,114,0.15); color: #4a7a40; }
.ecr-school-tag--catholic { background: rgba(176,141,46,0.12); color: #8a6a1a; }
.ecr-school-tag--secondary { background: rgba(44,62,45,0.10); color: var(--ecr-forest); }
.ecr-school-tag--elementary { background: rgba(107,91,69,0.10); color: var(--ecr-stone); }
.ecr-school-tag--location { background: rgba(176,141,46,0.10); color: #7a611b; }

.ecr-schools__source {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(107,91,69,0.55);
  font-style: italic;
}

@media (min-width: 769px) {
  .ecr-schools { padding: 72px 52px; }
  .ecr-schools__grid { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Section 8 - Homeowner Intelligence
   -------------------------------------------------------------------------- */
.ecr-seller { background: var(--ecr-forest); border-top: 3px solid var(--brand-gold); padding: 72px 20px; }
.ecr-seller__inner { max-width: 1200px; margin: 0 auto; }

.ecr-seller__header { text-align: center; margin-bottom: 48px; }
.ecr-seller__eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.40);
  display: block;
  margin-bottom: 12px;
}
.ecr-seller__headline { font-family: var(--font-serif); font-size: 30px; font-weight: 400; color: #fff; }

.ecr-seller__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.ecr-seller__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  text-align: center;
}
.ecr-seller__card-icon { font-size: 32px; color: var(--ecr-sage); display: block; margin-bottom: 16px; }
.ecr-seller__card-headline { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: #fff; margin-bottom: 12px; }
.ecr-seller__card-body { font-family: var(--font-sans); font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 24px; }

.ecr-seller__form { display: flex; flex-direction: column; gap: 10px; }
.ecr-seller__form input {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 11px 16px;
  width: 100%;
  outline: none;
}
.ecr-seller__form input::placeholder { color: rgba(255,255,255,0.40); }
.ecr-seller__form button {
  background: var(--ecr-sage);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 200ms;
}
.ecr-seller__form button:hover { opacity: 0.85; }
.ecr-alert-account-note {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.45);
  font: 500 10px/1.5 var(--font-sans);
}

@media (min-width: 769px) {
  .ecr-seller { padding: 72px 52px; }
  .ecr-seller__cards { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Section 9 - Expert (Harpreet Sandhu)
   -------------------------------------------------------------------------- */
.ecr-expert { background: #fff; padding: 88px 20px; }
.ecr-expert__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.ecr-expert__photo-wrap { display: flex; justify-content: center; }

.ecr-expert__photo {
  width: 280px;
  height: 340px;
  border-radius: var(--radius-md);
  background-color: var(--ecr-forest);
  background-image:
    repeating-linear-gradient(45deg, rgba(125,154,114,0.08) 0px, rgba(125,154,114,0.08) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(-45deg, rgba(176,141,46,0.05) 0px, rgba(176,141,46,0.05) 1px, transparent 1px, transparent 40px);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.ecr-expert__photo-initials {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ecr-expert__initials-text {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  line-height: 1;
}

.ecr-expert__photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 14px;
  background: linear-gradient(to top, rgba(44,62,45,0.92) 0%, transparent 100%);
  text-align: center;
}

.ecr-expert__photo-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  display: block;
}

.ecr-expert__photo-title {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  display: block;
  margin-top: 3px;
}

.ecr-expert__headline {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--ecr-forest);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ecr-expert__body {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ecr-slate);
  line-height: 1.8;
  margin-bottom: 28px;
}

.ecr-expert__body strong {
  color: var(--ecr-forest);
  font-weight: 700;
}

.ecr-expert__credentials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.ecr-expert__credential {
  background: var(--ecr-cream);
  border: 1px solid rgba(139,115,85,0.15);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.ecr-expert__credential-value {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ecr-forest);
  display: block;
  line-height: 1;
}

.ecr-expert__credential-label {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--ecr-stone);
  display: block;
  margin-top: 4px;
  line-height: 1.3;
}

.ecr-expert__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

@media (min-width: 769px) {
  .ecr-expert { padding: 88px 52px; }
  .ecr-expert__inner { grid-template-columns: auto 1fr; gap: 72px; }
  .ecr-expert__photo-wrap { justify-content: flex-start; }
  .ecr-expert__headline { font-size: 34px; }
}

/* --------------------------------------------------------------------------
   Section 10 - Testimonials
   -------------------------------------------------------------------------- */
.ecr-testimonials { background: var(--ecr-cream); padding: 80px 20px; }
.ecr-testimonials__inner { max-width: 1200px; margin: 0 auto; }

.ecr-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 36px;
}

.ecr-testimonial {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid rgba(139,115,85,0.12);
  position: relative;
}

.ecr-testimonial__quote-mark {
  font-size: 40px;
  color: rgba(125,154,114,0.20);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.ecr-testimonial__text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ecr-forest);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.ecr-testimonial__rule {
  border: none;
  border-top: 1px solid rgba(139,115,85,0.13);
  margin-bottom: 16px;
}

.ecr-testimonial__author {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--ecr-forest);
  display: block;
}

.ecr-testimonial__meta {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--ecr-stone);
  display: block;
  margin-top: 2px;
}

.ecr-testimonial__tag {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
}
.ecr-testimonial__tag--buyer { background: rgba(125,154,114,0.15); color: #4a7a40; }
.ecr-testimonial__tag--seller { background: rgba(176,141,46,0.12); color: #8a6a1a; }

@media (min-width: 769px) {
  .ecr-testimonials { padding: 80px 52px; }
  .ecr-testimonials__grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Section 11 - Lead Capture
   -------------------------------------------------------------------------- */
.ecr-lead {
  background: var(--ecr-forest);
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid rgba(176,141,46,0.20);
}
.ecr-lead__inner { max-width: 1200px; margin: 0 auto; }

.ecr-lead__eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.40);
  display: block;
  margin-bottom: 12px;
}
.ecr-lead__headline { font-family: var(--font-serif); font-size: 36px; font-weight: 400; color: #fff; margin-bottom: 16px; }
.ecr-lead__subline {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 36px;
}

.ecr-lead__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 16px;
}
.ecr-lead__form input {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 13px 16px;
  width: 100%;
  outline: none;
}
.ecr-lead__form input::placeholder { color: rgba(255,255,255,0.40); }
.ecr-lead__form button {
  background: var(--ecr-sage);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 200ms;
}
.ecr-lead__form button:hover { opacity: 0.85; }
.ecr-lead__form button:disabled,
.ecr-seller__form button:disabled { cursor: wait; opacity: 0.72; }
.ecr-lead__trust { font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,0.35); }

@media (min-width: 769px) {
  .ecr-lead__headline { font-size: 40px; }
  .ecr-lead__form { flex-direction: row; }
  .ecr-lead__form input { flex: 1; }
  .ecr-lead__form button { white-space: nowrap; }
}

/* --------------------------------------------------------------------------
   Section 12 - Market Insights
   -------------------------------------------------------------------------- */
.ecr-insights { background: var(--ecr-cream); padding: 80px 20px; }
.ecr-insights__inner { max-width: 1200px; margin: 0 auto; }

.ecr-insights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 36px;
}

.ecr-insight-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(139,115,85,0.12);
  transition: transform 200ms;
  cursor: pointer;
}
.ecr-insight-card:hover { transform: translateY(-3px); }

.ecr-insight-card__tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 3px 8px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 14px;
}
.ecr-insight-card__tag--market      { background: rgba(44,62,45,0.10); color: var(--ecr-forest); }
.ecr-insight-card__tag--buyer       { background: rgba(125,154,114,0.15); color: #4a7a40; }
.ecr-insight-card__tag--neighbourhood { background: rgba(176,141,46,0.12); color: #8a6a1a; }

.ecr-insight-card__title { font-family: var(--font-serif); font-size: 17px; font-weight: 500; color: var(--ecr-forest); line-height: 1.3; margin-bottom: 8px; }
.ecr-insight-card__meta { font-family: var(--font-sans); font-size: 10px; color: var(--ecr-stone); margin-bottom: 12px; }
.ecr-insight-card__excerpt { font-family: var(--font-sans); font-size: 12px; color: var(--ecr-slate); line-height: 1.7; margin-bottom: 16px; }
.ecr-insight-card__link { font-family: var(--font-sans); font-size: 11px; color: var(--ecr-sage); font-weight: 700; }

@media (min-width: 769px) {
  .ecr-insights { padding: 80px 52px; }
  .ecr-insights__grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Section 13 - FAQ
   -------------------------------------------------------------------------- */
.ecr-faq { background: #fff; padding: 80px 20px; }
.ecr-faq__inner { max-width: 760px; margin: 0 auto; }

.ecr-faq__list { margin-top: 36px; }

.ecr-faq__item {
  border-bottom: 1px solid rgba(139,115,85,0.15);
}

.ecr-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ecr-forest);
  line-height: 1.3;
  transition: color 200ms;
}
.ecr-faq__question:hover { color: var(--ecr-sage); }

.ecr-faq__icon {
  font-size: 20px;
  color: var(--ecr-stone);
  flex-shrink: 0;
  transition: transform 200ms;
}

.ecr-faq__item.open .ecr-faq__icon { transform: rotate(45deg); color: var(--ecr-sage); }
.ecr-faq__item.open .ecr-faq__question { color: var(--ecr-forest); }

.ecr-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 320ms cubic-bezier(.22,1,.36,1);
}

.ecr-faq__item.open .ecr-faq__answer { grid-template-rows: 1fr; }

.ecr-faq__answer-inner {
  min-height: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ecr-slate);
  line-height: 1.8;
  padding-bottom: 20px;
}

.ecr-faq__answer-inner strong { color: var(--ecr-forest); }

.ecr-faq__source {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(107,91,69,0.55);
  font-style: italic;
  margin-top: 8px;
  display: block;
}

@media (min-width: 769px) {
  .ecr-faq { padding: 80px 52px; }
}

.ecr-vow-inline-note { max-width: 620px; margin: 14px auto 0; color: rgba(44,62,45,0.72); font-size: 11px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Sticky Strip
   -------------------------------------------------------------------------- */
.ecr-sticky-strip {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--ecr-forest);
  border-top: 2px solid var(--brand-gold);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 300ms ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.20);
}
.ecr-sticky-strip.visible { transform: translateY(0); }
.ecr-sticky-strip.dismissed { display: none; }

.ecr-sticky-strip__text {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ecr-sticky-strip__text strong { color: #fff; }
.ecr-sticky-strip__dot { color: var(--brand-gold); }

.ecr-sticky-strip__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.ecr-sticky-strip__cta {
  background: var(--ecr-sage);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: opacity 200ms;
  white-space: nowrap;
}
.ecr-sticky-strip__cta:hover { opacity: 0.85; }

.ecr-sticky-strip__dismiss {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.40);
  font-size: 20px;
  line-height: 1;
  padding: 2px;
  transition: color 200ms;
}
.ecr-sticky-strip__dismiss:hover { color: #fff; }

@media (max-width: 640px) {
  .ecr-sticky-strip {
    padding: 8px 12px;
    align-items: flex-start;
  }

  .ecr-sticky-strip__text {
    font-size: 11px;
    line-height: 1.45;
    flex: 1 1 190px;
  }

  .ecr-sticky-strip__actions {
    gap: 6px;
  }

  .ecr-sticky-strip__cta {
    font-size: 10px;
    padding: 7px 12px;
  }
}

/* ==========================================================================
   5-Year Market Story - ecr-market-story
   ========================================================================== */

.ecr-market-story {
  background: var(--ecr-forest);
  color: var(--ecr-cream);
  padding: 80px 24px;
}

.ecr-market-story__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.ecr-market-story .section-header {
  margin-bottom: 48px;
}

.ecr-market-story .eyebrow {
  color: var(--brand-gold);
}

.ecr-market-story .section-title {
  color: var(--ecr-cream);
}

.ecr-market-story .section-dek {
  color: rgba(247,243,236,0.72);
}

.ecr-market-story .section-link {
  color: var(--brand-gold);
  white-space: nowrap;
}

/* Year grid */
.ecr-year-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.ecr-year-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(176,141,46,0.25);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ecr-year-card--hot {
  background: rgba(176,141,46,0.12);
  border-color: var(--brand-gold);
}

.ecr-year-card--peak {
  background: rgba(176,141,46,0.18);
  border-color: var(--brand-gold);
  border-width: 2px;
}

.ecr-year-card--current {
  background: rgba(125,154,114,0.15);
  border-color: var(--ecr-sage);
}

.ecr-year-card__badge {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 4px;
}

.ecr-year-card--current .ecr-year-card__badge {
  color: var(--ecr-sage);
}

.ecr-year-card__year {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247,243,236,0.55);
}

.ecr-year-card__price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ecr-cream);
  line-height: 1.1;
  margin: 4px 0 2px;
}

.ecr-year-card--peak .ecr-year-card__price {
  color: var(--brand-gold);
}

.ecr-year-card__label {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(247,243,236,0.55);
  margin-bottom: 12px;
}

.ecr-year-card__stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid rgba(247,243,236,0.12);
  padding-top: 10px;
  margin-top: auto;
}

.ecr-year-card__stats span {
  font-family: var(--font-sans);
  font-size: 10px;
  color: rgba(247,243,236,0.65);
}

/* Market insights strip */
.ecr-market-story__insights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(247,243,236,0.12);
  border: 1px solid rgba(247,243,236,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}

.ecr-market-insight {
  background: rgba(255,255,255,0.04);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ecr-market-insight__value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-gold);
  line-height: 1;
}

.ecr-market-insight__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--ecr-cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.ecr-market-insight__note {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(247,243,236,0.55);
  line-height: 1.4;
}

/* Source */
.ecr-market-story__source {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(247,243,236,0.45);
  line-height: 1.6;
  border-top: 1px solid rgba(247,243,236,0.1);
  padding-top: 20px;
}

.ecr-market-story__source a {
  color: var(--brand-gold);
}

/* Responsive */
@media (max-width: 1024px) {
  .ecr-year-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .ecr-market-story {
    padding: 56px 20px;
  }

  .ecr-year-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ecr-year-card__price {
    font-size: 1.35rem;
  }

  .ecr-market-story__insights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ecr-year-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ecr-market-story__insights {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Nav dropdown (Neighbourhood submenu)
   ========================================================================== */

.ecr-nav__has-dropdown {
  position: relative;
}

.ecr-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--ecr-forest);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 180px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Invisible bridge fills the gap so hover isn't lost moving into the dropdown */
.ecr-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.ecr-nav__has-dropdown:hover .ecr-nav__dropdown,
.ecr-nav__has-dropdown:focus-within .ecr-nav__dropdown {
  display: block;
}

.ecr-nav__dropdown li a {
  display: block;
  padding: 8px 18px;
  color: var(--ecr-cream);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.15s;
}

.ecr-nav__dropdown li a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--brand-gold);
}

/* ==========================================================================
   Inner page layout (page.php)
   ========================================================================== */

.ecr-page {
  min-height: 60vh;
  padding: 60px 0 0;
  background: var(--ecr-cream, #f9f6f0);
}

.ecr-page__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.ecr-page__header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ecr-page__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ecr-forest, #2c3e2d);
  margin: 0;
}

.ecr-page__content {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
}

.ecr-page__content h2,
.ecr-page__content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ecr-forest, #2c3e2d);
  margin-top: 2em;
}

.ecr-page__content a {
  color: var(--ecr-forest, #2c3e2d);
  text-decoration: underline;
}

.ecr-page__content a:hover {
  color: var(--brand-gold, #b08d2e);
}

/* ==========================================================================
   HOMEPAGE REDESIGN — Below-Fold Sections
   Override block — all rules here win via declaration order.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global: Section Headers, Eyebrows, Titles
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #7f6418;
  display: block;
  margin-bottom: 12px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 6vh, 64px);
  flex-wrap: wrap;
}

.section-title {
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
  color: #1a2e1d;
  line-height: 1.12;
  margin: 0 0 14px;
  text-wrap: balance;
}

.section-dek {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(44,62,45,0.62);
  line-height: 1.72;
  max-width: 520px;
  margin: 0;
}

.section-link {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2c3e2d;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(44,62,45,0.28);
  transition: color 200ms, border-color 200ms;
}
.section-link:hover { color: #9a741e; border-color: rgba(154,116,30,0.48); }

/* --------------------------------------------------------------------------
   Market Pulse — dark statement band: live inventory + recent market.
   Forest-black bg, gold accents, cream numerals.
   -------------------------------------------------------------------------- */
.ecr-pulse {
  background: #0c1510;
  border-top: 1px solid rgba(212,180,95,0.18);
  border-bottom: none;
  padding: clamp(44px, 6.5vh, 76px) clamp(20px, 5vw, 76px);
}

.ecr-pulse__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header row */
.ecr-pulse__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding-bottom: clamp(22px, 3.4vh, 38px);
  margin-bottom: clamp(24px, 3.6vh, 40px);
  border-bottom: 1px solid rgba(212,180,95,0.14);
}
.ecr-pulse__eyebrow {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #d4b45f;
}
.ecr-pulse__title {
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: #f4ead8;
  line-height: 1.1;
  margin: 0;
}
.ecr-pulse__updated {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(244,234,216,0.5);
}
.ecr-pulse__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fbf73;
  box-shadow: 0 0 0 0 rgba(111,191,115,0.5);
  animation: ecr-pulse-dot 2.6s ease-out infinite;
}
@keyframes ecr-pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(111,191,115,0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(111,191,115,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,191,115,0); }
}
@media (prefers-reduced-motion: reduce) {
  .ecr-pulse__dot { animation: none; }
}

/* Two groups: live inventory (left) | recent market (right) */
.ecr-pulse__groups {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.ecr-pulse__group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.ecr-pulse__group--market {
  padding-left: clamp(28px, 4vw, 64px);
  border-left: 1px solid rgba(212,180,95,0.14);
}

.ecr-pulse__group-label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212,180,95,0.62);
}
.ecr-pulse__group--live .ecr-pulse__group-label { color: rgba(111,191,115,0.82); }

/* Stat rows */
.ecr-pulse__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.6vw, 40px);
}
.ecr-pulse__stat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.ecr-pulse__value {
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 500;
  color: #f4ead8;
  line-height: 1;
  white-space: nowrap;
}
.ecr-pulse__group--live .ecr-pulse__value { color: #fdf6e7; }
.ecr-pulse__unit {
  font-size: 0.5em;
  color: rgba(244,234,216,0.62);
  margin-left: 1px;
}
.ecr-pulse__label-text {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,234,216,0.5);
}

/* Bedroom mix pills */
.ecr-pulse__beds {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(212,180,95,0.10);
}
.ecr-pulse__beds-label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,234,216,0.36);
}
.ecr-pulse__beds-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ecr-pulse__bed {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid rgba(212,180,95,0.22);
  border-radius: 999px;
  background: rgba(212,180,95,0.05);
}
.ecr-pulse__bed-count {
  font-family: 'Literata', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: #f4ead8;
}
.ecr-pulse__bed-label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(212,180,95,0.78);
}

/* Empty state */
.ecr-pulse__empty {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ecr-pulse__empty p {
  margin: 0;
  font-family: 'Literata', Georgia, serif;
  font-size: 17px;
  color: rgba(244,234,216,0.82);
}
.ecr-pulse__empty a {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d4b45f;
  text-decoration: none;
}
.ecr-pulse__empty a:hover { color: #e8cf85; }

@media (max-width: 980px) {
  .ecr-pulse__groups { grid-template-columns: 1fr; gap: clamp(28px, 5vh, 40px); }
  .ecr-pulse__group--market {
    padding-left: 0;
    border-left: none;
    padding-top: clamp(28px, 5vh, 40px);
    border-top: 1px solid rgba(212,180,95,0.14);
  }
}

@media (max-width: 560px) {
  .ecr-pulse { padding: 32px 20px; }
  .ecr-pulse__head { margin-bottom: 24px; padding-bottom: 20px; }
  .ecr-pulse__updated { margin-left: 0; width: 100%; }
  .ecr-pulse__stats { gap: 18px 26px; }
  .ecr-pulse__value { font-size: clamp(28px, 11vw, 40px); }
}

/* --------------------------------------------------------------------------
   5-Year Market Story — warm cream bg, clean panel cards
   -------------------------------------------------------------------------- */
.ecr-market-story {
  background: #f5f0e8;
  color: #1a2e1d;
  padding: clamp(72px, 10vh, 104px) clamp(20px, 5vw, 76px);
}

.ecr-market-story .section-title { color: #1a2e1d; }
.ecr-market-story .eyebrow { color: #7f6418; }
.ecr-market-story .section-dek { color: rgba(44,62,45,0.62); }
.ecr-market-story .section-link { color: #2c3e2d; border-color: rgba(44,62,45,0.28); }

.ecr-year-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(44,62,45,0.12);
  overflow: hidden;
  margin-bottom: 2px;
  border-radius: 0;
}

.ecr-year-card {
  background: #fff;
  border: none;
  border-right: 1px solid rgba(44,62,45,0.10);
  border-radius: 0;
  padding: clamp(18px, 2vw, 26px) clamp(12px, 1.4vw, 18px);
  gap: 0;
  transition: background 180ms;
}
.ecr-year-card:hover { background: #fdf9f4; }
.ecr-year-card:last-child { border-right: none; }

.ecr-year-card--hot {
  background: #fffbf2;
  border-top: 3px solid #b08d2e;
}
.ecr-year-card--peak {
  background: #f2f7f0;
  border-top: 3px solid #2c3e2d;
  border-width: 1px;
  border-top-width: 3px;
}
.ecr-year-card--current {
  background: #fff;
  border-top: 3px solid #6b9460;
}

.ecr-year-card__badge {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(44,62,45,0.50);
  margin-bottom: 8px;
  display: block;
}
.ecr-year-card--hot .ecr-year-card__badge { color: #8a6220; }
.ecr-year-card--peak .ecr-year-card__badge { color: #2c3e2d; }
.ecr-year-card--current .ecr-year-card__badge { color: #4a7a40; }

.ecr-year-card__year {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(44,62,45,0.38);
  display: block;
  margin-bottom: 6px;
}

.ecr-year-card__price {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 650;
  color: #1a2e1d;
  line-height: 1;
  margin: 0 0 4px;
}
.ecr-year-card--peak .ecr-year-card__price { color: #1a2e1d; }

.ecr-year-card__label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  color: rgba(44,62,45,0.48);
  margin-bottom: 14px;
  line-height: 1.4;
  display: block;
}

.ecr-year-card__stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid rgba(44,62,45,0.08);
  padding-top: 10px;
  margin-top: auto;
}
.ecr-year-card__stats span {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  color: rgba(44,62,45,0.52);
}

/* Insight strip */
.ecr-market-story__insights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(44,62,45,0.12);
  border-top: none;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: 0;
  background: none;
}

.ecr-market-insight {
  background: #fff;
  padding: clamp(20px, 2.2vw, 30px) clamp(14px, 1.6vw, 22px);
  gap: 6px;
  border-right: 1px solid rgba(44,62,45,0.10);
}
.ecr-market-insight:last-child { border-right: none; }

.ecr-market-insight__value {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 650;
  color: #1a2e1d;
  line-height: 1;
}

.ecr-market-insight__label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(44,62,45,0.72);
  margin-top: 2px;
}

.ecr-market-insight__note {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  color: rgba(44,62,45,0.44);
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .ecr-year-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ecr-market-story { padding: 56px 20px; }
  .ecr-year-grid { grid-template-columns: repeat(2, 1fr); }
  .ecr-market-story__insights { grid-template-columns: repeat(2, 1fr); }
  .ecr-market-insight { border-bottom: 1px solid rgba(44,62,45,0.10); }
}

/* --------------------------------------------------------------------------
   Listing Alerts — dark statement section
   -------------------------------------------------------------------------- */
.ecr-listings {
  background: #101b15;
  padding: clamp(64px, 9vh, 96px) clamp(20px, 5vw, 76px);
  border-top: 1px solid rgba(212,180,95,0.15);
}

.ecr-listings .section-header { margin-bottom: 40px; }
.ecr-listings .eyebrow { color: #d4b45f; }
.ecr-listings .section-title { color: #f4ead8; }
.ecr-listings .section-dek { color: rgba(244,234,216,0.52); }
.ecr-listings .section-link { color: rgba(212,180,95,0.80); border-color: rgba(212,180,95,0.28); }
.ecr-listings .section-link:hover { color: #d4b45f; border-color: rgba(212,180,95,0.60); }

.ecr-v1-listing-panel {
  grid-template-columns: 1fr;
  border: 1px solid rgba(212,180,95,0.16);
  gap: 0;
}

.ecr-v1-listing-panel__main {
  background: rgba(255,255,255,0.04);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(28px, 3.5vw, 48px);
}

.ecr-v1-listing-panel__main > .material-symbols-outlined {
  color: rgba(212,180,95,0.60);
  font-size: 28px;
  display: block;
  margin-bottom: 16px;
}

.ecr-v1-listing-panel h3 {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  color: #f4ead8;
  line-height: 1.18;
  margin-bottom: 14px;
}

.ecr-v1-listing-panel p {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  color: rgba(244,234,216,0.56);
  line-height: 1.72;
  max-width: 560px;
}

.ecr-vow-inline-note {
  font-size: 10px;
  color: rgba(244,234,216,0.30);
  line-height: 1.6;
  max-width: 560px;
  margin: 12px 0 0;
}

.ecr-v1-listing-panel__actions {
  margin-top: 28px;
  gap: 12px;
}

.ecr-btn--forest {
  background: #eee0c8;
  color: #111e15;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 13px 26px;
  border-radius: 2px;
  transition: background 180ms;
  display: inline-block;
}
.ecr-btn--forest:hover { background: #f4ead8; }

.ecr-btn--outline-forest {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  padding: 12px 26px;
  border-radius: 2px;
  border: 1px solid rgba(244,234,216,0.28);
  color: rgba(244,234,216,0.76);
  background: transparent;
  transition: background 180ms, border-color 180ms;
  display: inline-block;
}
.ecr-btn--outline-forest:hover { background: rgba(244,234,216,0.06); border-color: rgba(244,234,216,0.48); }

/* --------------------------------------------------------------------------
   Neighbourhood — full-bleed image left, generous right content
   -------------------------------------------------------------------------- */
.ecr-neighbourhood {
  background: #fff;
  padding: 0;
}

.ecr-neighbourhood__inner {
  max-width: none;
  gap: 0;
  align-items: stretch;
}

.ecr-neighbourhood__image {
  border-radius: 0;
  height: 380px;
  background-color: #1a2e1d;
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(212,180,95,0.14), transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(125,154,114,0.16), transparent 50%),
    repeating-linear-gradient(45deg, rgba(125,154,114,0.05) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(-45deg, rgba(212,180,95,0.03) 0 1px, transparent 1px 52px),
    linear-gradient(160deg, #1e3326 0%, #0f1c14 100%);
}

.ecr-neighbourhood__caption { padding: 28px 24px 22px; }
.ecr-neighbourhood__caption-name {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(244,234,216,0.60);
}
.ecr-neighbourhood__caption-note {
  font-family: 'Literata', Georgia, serif;
  font-size: 12px;
  color: rgba(244,234,216,0.36);
  font-style: italic;
  margin-top: 4px;
}

.ecr-neighbourhood__content {
  padding: clamp(48px, 7vh, 88px) clamp(24px, 5vw, 72px);
}

.ecr-neighbourhood__headline {
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 500;
  color: #1a2e1d;
  line-height: 1.14;
  margin-bottom: 20px;
}

.ecr-neighbourhood__body {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(44,62,45,0.65);
  line-height: 1.78;
  margin-bottom: 32px;
  max-width: 520px;
}

.ecr-neighbourhood__data-label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #9a741e;
  margin-bottom: 10px;
}

.ecr-neighbourhood__stats {
  display: flex;
  gap: 0;
  border: 1px solid rgba(44,62,45,0.10);
  margin-bottom: 10px;
}
.ecr-neighbourhood__stat {
  flex: 1;
  background: #fafaf8;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(44,62,45,0.08);
  padding: 14px 14px;
}
.ecr-neighbourhood__stat:last-child { border-right: none; }
.ecr-neighbourhood__stat-value {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 650;
  color: #1a2e1d;
}
.ecr-neighbourhood__stat-label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  color: rgba(44,62,45,0.50);
  margin-top: 3px;
  line-height: 1.4;
}

.ecr-neighbourhood__data-source {
  font-size: 9px;
  color: rgba(44,62,45,0.38);
  margin-bottom: 28px;
}

/* Replace lifestyle pills with a clean link list */
.ecr-neighbourhood__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ecr-lifestyle-pill {
  background: #f5f0e8;
  border: 1px solid rgba(44,62,45,0.10);
  border-radius: 2px;
  padding: 5px 12px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(44,62,45,0.70);
  gap: 5px;
}
.ecr-lifestyle-pill .material-symbols-outlined { font-size: 14px; color: #9a741e; }

.ecr-neighbourhood__cta {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2c3e2d;
  border-bottom: 1px solid rgba(44,62,45,0.28);
  padding-bottom: 2px;
  gap: 8px;
  transition: color 200ms, border-color 200ms;
}
.ecr-neighbourhood__cta:hover { color: #9a741e; border-color: rgba(154,116,30,0.48); opacity: 1; }
.ecr-neighbourhood__cta .material-symbols-outlined { font-size: 14px; }

@media (min-width: 769px) {
  .ecr-neighbourhood { padding: 0; }
  .ecr-neighbourhood__inner { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .ecr-neighbourhood__image { height: auto; min-height: 560px; }
}

/* --------------------------------------------------------------------------
   Schools — cleaner cards, Literata school name
   -------------------------------------------------------------------------- */
.ecr-schools { background: #fafaf7; padding: clamp(64px, 9vh, 88px) clamp(20px, 5vw, 76px); }

.ecr-school-card {
  background: #fff;
  border: 1px solid rgba(44,62,45,0.10);
  border-radius: 0;
  padding: 22px 22px;
  gap: 0;
  flex-direction: column;
}
.ecr-school-card__icon { display: none; }
.ecr-school-card__name {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  color: #1a2e1d;
  margin-bottom: 6px;
  line-height: 1.2;
}
.ecr-school-card__meta {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  color: rgba(44,62,45,0.54);
  line-height: 1.55;
  margin-bottom: 12px;
}
.ecr-school-card:hover {
  border-color: rgba(154,116,30,0.40);
  transform: none;
  box-shadow: inset 0 0 0 1px rgba(154,116,30,0.24);
}

/* --------------------------------------------------------------------------
   Homeowner Intelligence — left-align, better form
   -------------------------------------------------------------------------- */
.ecr-seller { padding: clamp(64px, 9vh, 96px) clamp(20px, 5vw, 76px); }

.ecr-seller__header { text-align: left; margin-bottom: 40px; }
.ecr-seller__eyebrow { font-family: 'Manrope', Arial, sans-serif; font-size: 9px; letter-spacing: 0.22em; color: rgba(212,180,95,0.60); }
.ecr-seller__headline {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 500;
  color: #f4ead8;
  line-height: 1.14;
}

.ecr-seller__cards { border: 1px solid rgba(212,180,95,0.14); border-radius: 0; gap: 0; max-width: 1000px; overflow: hidden; }
.ecr-seller__card {
  background: rgba(255,255,255,0.04);
  border: none;
  border-right: 1px solid rgba(212,180,95,0.12);
  border-radius: 0;
  padding: clamp(28px, 3.5vw, 44px);
  text-align: left;
}
.ecr-seller__card:last-child { border-right: none; }
.ecr-seller__card-icon { display: none; }
.ecr-seller__card-headline {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  color: #f4ead8;
  line-height: 1.2;
  margin-bottom: 12px;
}
.ecr-seller__card-body { font-family: 'Manrope', Arial, sans-serif; }

.ecr-seller__form { display: flex; gap: 8px; }
.ecr-seller__form input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,180,95,0.20);
  border-radius: 2px;
  flex: 1;
}
.ecr-seller__form input:focus { border-color: rgba(212,180,95,0.50); outline: none; }
.ecr-seller__form button {
  background: #eee0c8;
  color: #111e15;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.ecr-seller__form button:hover { background: #f4ead8; opacity: 1; }

/* --------------------------------------------------------------------------
   Expert — large monogram, horizontal credentials
   -------------------------------------------------------------------------- */
.ecr-expert {
  background: #f5f0e8;
  padding: clamp(80px, 11vh, 112px) clamp(20px, 5vw, 76px);
}

.ecr-expert__photo {
  width: 300px;
  height: 420px;
  border-radius: 0;
  background-color: #101b15;
  background-image:
    radial-gradient(ellipse at 30% 25%, rgba(212,180,95,0.14), transparent 52%),
    repeating-linear-gradient(45deg, rgba(125,154,114,0.04) 0 1px, transparent 1px 52px);
}

.ecr-expert__photo picture,
.ecr-expert__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.ecr-expert__initials-text {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(96px, 10vw, 160px);
  font-weight: 650;
  color: rgba(212,180,95,0.14);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ecr-expert__photo-name {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(244,234,216,0.86);
}

.ecr-expert__photo-title {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  color: #e2c77e;
  letter-spacing: 0.10em;
  line-height: 1.45;
  margin-top: 4px;
}

/* Keep the caption backdrop dark behind both caption lines (AA contrast). */
.ecr-expert__photo-caption {
  background: linear-gradient(to top, rgba(44,62,45,0.94) 0%, rgba(44,62,45,0.86) 60%, rgba(44,62,45,0) 100%);
}

.ecr-expert__headline {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 500;
  color: #1a2e1d;
  line-height: 1.16;
  margin-bottom: 20px;
}

.ecr-expert__body {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 14px;
  color: rgba(44,62,45,0.65);
  line-height: 1.80;
  max-width: 580px;
  margin-bottom: 20px;
}
.ecr-expert__body strong { color: #1a2e1d; }

.ecr-expert__credentials {
  display: flex;
  gap: 0;
  border: 1px solid rgba(44,62,45,0.12);
  overflow: hidden;
  margin-bottom: 32px;
}
.ecr-expert__credential {
  flex: 1;
  background: #fff;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(44,62,45,0.10);
  padding: 16px 18px;
  text-align: left;
}
.ecr-expert__credential:last-child { border-right: none; }
.ecr-expert__credential-value {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 650;
  color: #1a2e1d;
}
.ecr-expert__credential-label {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  color: rgba(44,62,45,0.50);
  margin-top: 4px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (min-width: 769px) {
  .ecr-expert__inner { grid-template-columns: auto 1fr; gap: 64px; }
  .ecr-expert__photo-wrap { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   Testimonials — editorial stacked, no cards
   -------------------------------------------------------------------------- */
.ecr-testimonials {
  background: #fff;
  padding: clamp(80px, 11vh, 112px) clamp(20px, 5vw, 76px);
}

.ecr-testimonials .section-title { color: #1a2e1d; }

.ecr-testimonials__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  border: 1px solid rgba(44,62,45,0.10);
  overflow: hidden;
}

.ecr-testimonial {
  background: #fff;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(44,62,45,0.08);
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ecr-testimonial:last-child { border-bottom: none; }
.ecr-testimonial:hover { background: #fafaf8; }

.ecr-testimonial__tag {
  position: static;
  align-self: flex-start;
  margin-bottom: 16px;
}

.ecr-testimonial__quote-mark { display: none; }

.ecr-testimonial__text {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 400;
  font-style: italic;
  color: #1a2e1d;
  line-height: 1.58;
  margin-bottom: 20px;
}

.ecr-testimonial__rule { display: none; }

.ecr-testimonial__author {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #2c3e2d;
  margin-bottom: 2px;
}

.ecr-testimonial__meta {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  color: rgba(44,62,45,0.44);
}

@media (min-width: 769px) {
  .ecr-testimonials__grid { flex-direction: row; }
  .ecr-testimonial { border-bottom: none; border-right: 1px solid rgba(44,62,45,0.08); flex: 1; }
  .ecr-testimonial:last-child { border-right: none; }
}

/* --------------------------------------------------------------------------
   Lead Capture — very dark, large type
   -------------------------------------------------------------------------- */
.ecr-lead {
  background: #0c1510;
  padding: clamp(80px, 11vh, 112px) clamp(20px, 5vw, 76px);
  border-top: 1px solid rgba(212,180,95,0.16);
}

.ecr-lead__eyebrow { letter-spacing: 0.24em; }

.ecr-lead__headline {
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.2vw, 68px);
  font-weight: 500;
  color: #f4ead8;
  line-height: 1.06;
  margin-bottom: 18px;
}

.ecr-lead__subline {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(244,234,216,0.48);
  line-height: 1.72;
  max-width: 480px;
  margin-bottom: 40px;
}

.ecr-lead__form {
  max-width: 560px;
  gap: 8px;
}

.ecr-lead__form input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,180,95,0.20);
  border-radius: 2px;
  padding: 14px 18px;
  font-family: 'Manrope', Arial, sans-serif;
}
.ecr-lead__form input:focus { border-color: rgba(212,180,95,0.48); outline: none; }

.ecr-lead__form button {
  background: #eee0c8;
  color: #111e15;
  border-radius: 2px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 28px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background 180ms;
}
.ecr-lead__form button:hover { background: #f4ead8; opacity: 1; }

.ecr-lead__trust { color: rgba(244,234,216,0.28); font-size: 10px; }

/* --------------------------------------------------------------------------
   Market Insights — editorial, clean borders
   -------------------------------------------------------------------------- */
.ecr-insights {
  background: #faf7f2;
  padding: clamp(64px, 9vh, 88px) clamp(20px, 5vw, 76px);
}

.ecr-insights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid rgba(44,62,45,0.10);
  overflow: hidden;
}

.ecr-insight-card {
  background: #fff;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(44,62,45,0.08);
  padding: clamp(24px, 3vw, 36px);
}
.ecr-insight-card:last-child { border-bottom: none; }
.ecr-insight-card:hover { background: #fafaf8; transform: none; }

.ecr-insight-card__title {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  color: #1a2e1d;
  line-height: 1.26;
  margin-bottom: 10px;
}

.ecr-insight-card__meta {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  color: rgba(44,62,45,0.44);
  margin-bottom: 12px;
}

.ecr-insight-card__excerpt {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  color: rgba(44,62,45,0.58);
  line-height: 1.72;
  margin-bottom: 18px;
}

.ecr-insight-card__link {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2c3e2d;
  border-bottom: 1px solid rgba(44,62,45,0.22);
  padding-bottom: 1px;
  display: inline-block;
}

@media (min-width: 769px) {
  .ecr-insights { padding: clamp(64px, 9vh, 88px) clamp(20px, 5vw, 76px); }
  .ecr-insights__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ecr-insight-card { border-bottom: none; border-right: 1px solid rgba(44,62,45,0.08); }
  .ecr-insight-card:last-child { border-right: none; }
}

/* --------------------------------------------------------------------------
   FAQ — larger type, cleaner
   -------------------------------------------------------------------------- */
.ecr-faq {
  background: #faf7f2;
  padding: clamp(64px, 9vh, 88px) clamp(20px, 5vw, 76px);
  border-top: 1px solid rgba(44,62,45,0.08);
}

.ecr-faq__question {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  color: #1a2e1d;
  padding: 22px 0;
}
.ecr-faq__question:hover { color: #2c3e2d; }
.ecr-faq__item { border-bottom: 1px solid rgba(44,62,45,0.10); }
.ecr-faq__answer-inner { font-family: 'Manrope', Arial, sans-serif; color: rgba(44,62,45,0.66); font-size: 14px; }
.ecr-faq__answer-inner strong { color: #1a2e1d; }

/* ==========================================================================
   NAV · FOOTER · STICKY STRIP REDESIGN
   ========================================================================== */

/* --------------------------------------------------------------------------
   Navigation — warm cream, Literata wordmark, dark forest CTA
   -------------------------------------------------------------------------- */
.ecr-nav {
  background: #faf8f4;
  border-bottom: 1px solid rgba(212,180,95,0.20);
  height: 62px;
}

.ecr-nav.scrolled {
  box-shadow: 0 1px 0 rgba(212,180,95,0.18), 0 4px 24px rgba(26,46,29,0.07);
}

.ecr-nav__inner {
  padding: 0 clamp(20px, 4vw, 64px);
}

/* Wordmark — Literata serif, not all-caps */
.ecr-nav__wordmark {
  gap: 3px;
  text-decoration: none;
}

.ecr-nav__wordmark-main {
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: #1a2e1d;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1;
}

.ecr-nav__wordmark-sub {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  color: #7f6418;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1;
}

/* Nav links — darker, tighter, more authoritative */
.ecr-nav__links {
  gap: 32px;
}

.ecr-nav__links a {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: rgba(26,46,29,0.58);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 180ms;
}

.ecr-nav__links a::after {
  background: #d4b45f;
  height: 1px;
}

.ecr-nav__links a:hover {
  color: #1a2e1d;
}

/* CTA — dark forest rectangle, cream text, matches hero buttons */
.ecr-nav__cta a {
  background: #1a2e1d;
  color: #f4ead8;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 10px 20px;
  border-radius: 2px;
  transition: background 180ms;
}
.ecr-nav__cta a:hover {
  background: #2c4a30;
  opacity: 1;
}

/* Hamburger bars — darker */
.ecr-nav__hamburger span {
  background: #1a2e1d;
}

/* Mobile nav */
.ecr-nav__mobile {
  background: #faf8f4;
  border-top: 1px solid rgba(212,180,95,0.16);
}

.ecr-nav__mobile a {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #1a2e1d;
  letter-spacing: 0.08em;
}

.ecr-nav__mobile .ecr-nav__mobile-cta {
  background: #1a2e1d;
  color: #f4ead8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-radius: 2px;
  border-bottom: none;
  text-transform: uppercase;
}

/* Dropdown */
.ecr-nav__dropdown {
  background: #1a2e1d;
  border: 1px solid rgba(212,180,95,0.18);
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

.ecr-nav__dropdown li a {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(244,234,216,0.72);
  padding: 10px 18px;
}

.ecr-nav__dropdown li a:hover {
  background: rgba(212,180,95,0.10);
  color: #d4b45f;
}

@media (min-width: 769px) {
  .ecr-nav { height: 72px; }
}

/* ==========================================================================
   SITE WAYFINDING
   Homes and streets are primary destinations; deep pages keep local context.
   ========================================================================== */

:root { --ecr-site-nav-height: 62px; }

.ecr-nav__links > li > a.is-current {
  color: #1a2e1d;
}

.ecr-nav__links > li > a.is-current::after {
  transform: scaleX(1);
}

.ecr-nav__mobile-section {
  display: grid;
}

.ecr-nav__mobile-label {
  color: rgba(26,46,29,0.48);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 18px 0 5px;
  text-transform: uppercase;
}

.ecr-nav__mobile-section:first-child .ecr-nav__mobile-label {
  padding-top: 2px;
}

.ecr-nav__mobile a.is-current {
  color: #1a2e1d;
  font-weight: 800;
}

.ecr-nav__mobile a.is-current::before {
  background: #d4b45f;
  content: '';
  display: inline-block;
  height: 6px;
  margin: 0 9px 1px 0;
  width: 6px;
}

.ecr-wayfinder {
  background: rgba(250,248,244,0.97);
  border-bottom: 1px solid rgba(26,46,29,0.12);
  box-shadow: 0 8px 22px rgba(26,46,29,0.05);
  position: sticky;
  top: var(--ecr-site-nav-height);
  z-index: 900;
}

.ecr-wayfinder__inner {
  align-items: center;
  display: flex;
  gap: 16px;
  margin: 0 auto;
  max-width: 1380px;
  min-height: 50px;
  overflow: hidden;
  padding: 0 clamp(20px, 4vw, 64px);
}

.ecr-wayfinder a {
  color: rgba(26,46,29,0.65);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms;
  white-space: nowrap;
}

.ecr-wayfinder a:hover {
  color: #1a2e1d;
}

.ecr-wayfinder__back {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.ecr-wayfinder__back .material-symbols-outlined {
  font-size: 16px;
}

.ecr-wayfinder__divider {
  align-self: stretch;
  background: rgba(26,46,29,0.12);
  flex: 0 0 1px;
}

.ecr-wayfinder__title {
  color: #1a2e1d;
  flex: 0 1 auto;
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecr-wayfinder__links {
  align-items: stretch;
  display: flex;
  gap: 24px;
  margin-left: auto;
}

/* Contextual home and street links on deep pages */
.ecr-link-network {
  background: #faf8f4;
  border-bottom: 1px solid rgba(26,46,29,0.1);
}

.ecr-link-network__inner {
  display: grid;
  gap: clamp(24px, 4vw, 60px);
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr);
  margin: 0 auto;
  max-width: 1280px;
  padding: 34px clamp(20px, 4vw, 48px) 38px;
}

.ecr-link-network__head > span {
  color: #9a741e;
  display: block;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ecr-link-network__head h2 {
  color: #1a2e1d;
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.28;
  margin: 0;
}

.ecr-link-network__groups {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecr-link-network__group h3 {
  color: rgba(26,46,29,0.5);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

.ecr-link-network__links {
  border-top: 1px solid rgba(26,46,29,0.12);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecr-link-network__links a {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 9px 10px 9px 0;
  transition: background 150ms, color 150ms;
}

.ecr-link-network__links a:nth-child(even) {
  padding-left: 12px;
}

.ecr-link-network__links a:nth-child(n + 3) {
  border-top: 1px solid rgba(26,46,29,0.08);
}

.ecr-link-network__links a:hover,
.ecr-link-network__links a:focus-visible {
  background: rgba(212,180,95,0.07);
}

.ecr-link-network__links strong {
  color: #1a2e1d;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ecr-link-network__links span {
  color: rgba(26,46,29,0.48);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.admin-bar .ecr-wayfinder {
  top: calc(var(--ecr-site-nav-height) + 46px);
}

@media screen and (min-width: 783px) {
  html.admin-bar .ecr-wayfinder {
    top: calc(var(--ecr-site-nav-height) + 32px);
  }
}

@media (min-width: 769px) {
  :root { --ecr-site-nav-height: 72px; }
  .ecr-nav__links { gap: clamp(18px, 2vw, 30px); }
}

@media (max-width: 1080px) {
  .ecr-nav__links,
  .ecr-nav__cta {
    display: none;
  }

  .ecr-nav__hamburger {
    display: flex;
  }

  .ecr-nav.nav-open .ecr-nav__mobile {
    display: flex !important;
  }

  .ecr-nav__mobile {
    max-height: calc(100vh - var(--ecr-site-nav-height));
    overflow-y: auto;
    padding-top: 12px;
  }

  .ecr-nav__mobile a {
    padding: 9px 0;
  }

  .ecr-wayfinder__inner {
    gap: 12px;
    min-height: 48px;
    overflow-x: auto;
    padding: 0 16px;
    scrollbar-width: none;
  }

  .ecr-wayfinder__inner::-webkit-scrollbar {
    display: none;
  }

  .ecr-wayfinder__title {
    max-width: 42vw;
  }

  .ecr-wayfinder__links {
    gap: 18px;
  }

  .ecr-link-network__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ecr-link-network__groups {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ — two-column: sticky heading left, accordion right
   ========================================================================== */

.ecr-faq {
  background: #faf7f2;
  padding: clamp(72px, 9vh, 96px) clamp(20px, 5vw, 76px);
  border-top: 1px solid rgba(44,62,45,0.08);
}

.ecr-faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 860px) {
  .ecr-faq__inner {
    grid-template-columns: 5fr 8fr;
    gap: clamp(48px, 6vw, 96px);
  }
  .ecr-faq__inner > div:first-child {
    position: sticky;
    top: 80px;
  }
  .ecr-faq__inner > div:first-child .section-title {
    font-size: clamp(22px, 2vw, 30px);
    margin-top: 10px;
    line-height: 1.22;
  }
  .ecr-faq__list { margin-top: 0; }
}

.ecr-faq__question {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 500;
  color: #1a2e1d;
  padding: 20px 0;
  line-height: 1.35;
}
.ecr-faq__question:hover { color: #2c3e2d; }
.ecr-faq__item { border-top: 1px solid rgba(44,62,45,0.10); border-bottom: none; }
.ecr-faq__item:last-child { border-bottom: 1px solid rgba(44,62,45,0.10); }
.ecr-faq__answer-inner {
  font-family: 'Manrope', Arial, sans-serif;
  color: rgba(44,62,45,0.62);
  font-size: 13.5px;
  line-height: 1.7;
  padding-bottom: 20px;
}
.ecr-faq__answer-inner strong { color: #1a2e1d; }

/* --------------------------------------------------------------------------
   Sticky Strip — refined, no bell icon, cream CTA
   -------------------------------------------------------------------------- */
.ecr-sticky-strip {
  background: #0e1912;
  border-top: 1px solid rgba(212,180,95,0.24);
  padding: 12px clamp(16px, 3vw, 48px);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.22);
}

.ecr-sticky-strip__text {
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 12px;
  color: rgba(244,234,216,0.60);
  gap: 10px;
}

.ecr-sticky-strip__text .material-symbols-outlined {
  color: rgba(212,180,95,0.60);
  font-size: 14px;
}

.ecr-sticky-strip__text strong {
  font-family: 'Literata', Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: #f4ead8;
  letter-spacing: 0;
}

.ecr-sticky-strip__dot { color: rgba(212,180,95,0.40); }

/* CTA — cream on dark, consistent with hero/lead */
.ecr-sticky-strip__cta {
  background: #eee0c8;
  color: #111e15;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 9px 18px;
  border-radius: 2px;
  transition: background 180ms;
  white-space: nowrap;
}
.ecr-sticky-strip__cta:hover { background: #f4ead8; opacity: 1; }

/* Dismiss */
.ecr-sticky-strip__dismiss {
  color: rgba(244,234,216,0.28);
  transition: color 180ms;
}
.ecr-sticky-strip__dismiss:hover { color: rgba(244,234,216,0.70); }

/* Street page: crawlable index of every home profile on the street. */
.ecr-street-homes-index {
  background: #faf8f4;
  border-top: 1px solid rgba(26,46,29,0.1);
}
.ecr-street-homes-index__inner {
  margin: 0 auto;
  max-width: 1280px;
  padding: 22px clamp(20px, 4vw, 48px);
}
.ecr-street-homes-index summary {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}
.ecr-street-homes-index summary::-webkit-details-marker { display: none; }
.ecr-street-homes-index__eyebrow {
  color: #9a741e;
  font: 800 9px/1 'Manrope', Arial, sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.ecr-street-homes-index__title {
  color: #1a2e1d;
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(16px, 1.6vw, 21px);
}
.ecr-street-homes-index__title::after {
  content: ' +';
  color: #9a741e;
}
.ecr-street-homes-index details[open] .ecr-street-homes-index__title::after { content: ' –'; }
.ecr-street-homes-index__list {
  columns: 4 180px;
  column-gap: 24px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.ecr-street-homes-index__list li {
  break-inside: avoid;
  padding: 3px 0;
}
.ecr-street-homes-index__list a {
  color: #1a2e1d;
  font: 500 13px/1.4 'Manrope', Arial, sans-serif;
  text-decoration: none;
}
.ecr-street-homes-index__list a:hover,
.ecr-street-homes-index__list a:focus-visible {
  color: #9a741e;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Neighbourhood panel photo / video, homepage parks strip
   -------------------------------------------------------------------------- */
.ecr-neighbourhood__photo,
.ecr-neighbourhood__video,
.ecr-neighbourhood__video .ecr-video__frame,
.ecr-neighbourhood__video .ecr-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}
.ecr-video.ecr-neighbourhood__video { background: transparent; }
.ecr-neighbourhood__caption { z-index: 1; }

.ecr-home-parks { background: #f5f0e8; padding: clamp(64px, 9vh, 88px) clamp(20px, 5vw, 76px); }
.ecr-home-parks__inner { max-width: 1200px; margin: 0 auto; }
.ecr-home-parks .section-header { margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Map positioning baseline
   The full map stylesheet loads without blocking first paint. Until it
   arrives, these rules keep the map's internal layers (canvas, controls,
   markers, popups, gesture hints) stacked inside the map box instead of
   flowing below it, so nothing shifts when the stylesheet applies.
   :where() keeps specificity at zero: component rules and the full map
   stylesheet always take precedence.
   -------------------------------------------------------------------------- */
:where(.mapboxgl-map) {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
:where(.mapboxgl-canvas) { position: absolute; left: 0; top: 0; }
:where(.mapboxgl-ctrl-top-left, .mapboxgl-ctrl-top-right, .mapboxgl-ctrl-bottom-left, .mapboxgl-ctrl-bottom-right) {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
:where(.mapboxgl-ctrl-top-left) { top: 0; left: 0; }
:where(.mapboxgl-ctrl-top-right) { top: 0; right: 0; }
:where(.mapboxgl-ctrl-bottom-left) { bottom: 0; left: 0; }
:where(.mapboxgl-ctrl-bottom-right) { bottom: 0; right: 0; }
:where(.mapboxgl-ctrl) { pointer-events: auto; }
:where(.mapboxgl-ctrl-attrib-button) { display: none; }
:where(.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner) { display: none; }
:where(.mapboxgl-ctrl-logo) { display: block; width: 88px; height: 23px; overflow: hidden; }
:where(.mapboxgl-marker, .mapboxgl-popup) {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}
:where(.mapboxgl-popup) { display: flex; pointer-events: none; }
:where(.mapboxgl-scroll-zoom-blocker, .mapboxgl-touch-pan-blocker) {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Legibility and contrast (WCAG AA)
   Readable sizes and AA contrast for the site header, footer, alert strip,
   homepage sections, contact page and 404.
   ========================================================================== */

/* Header */
.ecr-nav__wordmark-sub { font-size: 10px; letter-spacing: 0.14em; }
.ecr-nav__links a { font-size: 12px; color: rgba(26,46,29,0.82); }
.ecr-nav__cta a { font-size: 11px; padding: 12px 20px; }
.ecr-nav__dropdown li a { font-size: 11px; color: rgba(244,234,216,0.86); }
.ecr-nav__mobile a { font-size: 13px; }
.ecr-nav__mobile .ecr-nav__mobile-cta { font-size: 12px; }
.ecr-nav__mobile-label { font-size: 11px; color: rgba(26,46,29,0.7); }
@media (max-width: 768px) {
  .ecr-nav .ecr-nav__wordmark-sub { font-size: 9px; letter-spacing: 0.1em; }
}

/* Keyboard focus on dark-background email fields */
.ecr-footer__form input:focus-visible,
.ecr-lead__form input:focus-visible,
.ecr-seller__form input:focus-visible {
  outline: 2px solid #d4b45f;
  outline-offset: 2px;
}

/* Listing alert strip */
.ecr-sticky-strip__text { font-size: 13px; color: rgba(244,234,216,0.74); }
.ecr-sticky-strip__cta { font-size: 11px; }
.ecr-sticky-strip__dismiss { color: rgba(244,234,216,0.7); }

/* Homepage: shared section pieces */
.home main .eyebrow { font-size: 11px; }
.home main .section-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
}
.ecr-market-story .section-dek,
.ecr-schools .section-dek,
.ecr-home-parks .section-dek { font-size: 14px; color: #4f5b50; }

/* Map hero */
.ecr-map-hero__legend span { font-size: 11px; }
.ecr-map-hero__scroll-cue { font-size: 11px; color: rgba(248,239,224,0.78); }
.ecr-marquee__content a { font-size: 11px; color: rgba(255,255,255,0.74); }

/* Market pulse */
.ecr-pulse__group-label,
.ecr-pulse__label-text,
.ecr-pulse__bed-label { font-size: 11px; }
.ecr-pulse__group-label { color: rgba(212,180,95,0.88); }
.ecr-pulse__updated { font-size: 12px; }
.ecr-pulse__beds-label { font-size: 11px; color: rgba(244,234,216,0.68); }

/* Five-year market story */
.ecr-year-card__year { font-size: 11px; color: #5d685e; }
.ecr-year-card__label,
.ecr-year-card__stats span { font-size: 11px; color: #5d685e; }
.ecr-year-card__badge { font-size: 10px; }
.ecr-market-insight__label { font-size: 11px; }
.ecr-market-insight__note { font-size: 12px; color: #5d685e; }

/* Listing carousel */
.ecr-card__badge--new { background: #4f6b46; }
.ecr-card__cta { color: #4a6a40; }
.ecr-card__private-label { color: rgba(255,255,255,0.82); }
.ecr-carousel__hint { font-size: 12px; color: rgba(244,234,216,0.7); }
.ecr-listings__sold-note { background: #f7f3ec; }
.ecr-vow-inline-note { font-size: 11px; color: rgba(244,234,216,0.7); }

/* Neighbourhood story */
.ecr-neighbourhood__body { font-size: 14px; color: #4f5b50; }
.ecr-neighbourhood__data-label { font-size: 10px; color: #7f6418; }
.ecr-neighbourhood__stat-label,
.ecr-neighbourhood__data-source { font-size: 11px; color: #5d685e; }
.ecr-lifestyle-pill { font-size: 12px; color: #3d4f3e; }
.ecr-neighbourhood__cta { min-height: 44px; }

/* Schools, testimonials and insight tags share the pill colours */
.ecr-school-card__meta { font-size: 12px; color: #5d685e; }
.ecr-school-tag,
.ecr-testimonial__tag,
.ecr-insight-card__tag { font-size: 10px; }
.ecr-school-tag--public,
.ecr-testimonial__tag--buyer,
.ecr-insight-card__tag--buyer { color: #3f6a36; }
.ecr-school-tag--catholic,
.ecr-testimonial__tag--seller,
.ecr-insight-card__tag--neighbourhood { color: #7a5c12; }
.ecr-schools__source { font-size: 12px; color: #5d685e; }
.ecr-home-parks .ecr-photo-card__cta { color: #7f6418; }

/* Homeowner tools */
.ecr-seller__eyebrow { font-size: 11px; color: rgba(212,180,95,0.92); }
.ecr-alert-account-note { font-size: 12px; color: rgba(255,255,255,0.74); }

/* About Harpreet band */
.ecr-expert__body { font-size: 15px; color: #3f4b40; }
.ecr-expert__credential-label { font-size: 11px; color: #5d685e; }
.ecr-expert .btn-primary { background: #4f6b46; }

/* Testimonials */
.ecr-testimonial__meta { font-size: 11px; color: #5d685e; }
.ecr-testimonials__source {
  margin: 24px 0 0;
  text-align: center;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 13px;
  color: #4f5b50;
}
.ecr-testimonials__source a {
  color: #1a2e1d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Listing alerts band */
.ecr-lead__eyebrow { font-size: 11px; color: rgba(255,255,255,0.74); }
.ecr-lead__subline { font-size: 14px; color: rgba(244,234,216,0.8); }
.ecr-lead__trust { font-size: 12px; color: rgba(244,234,216,0.68); }

/* Market insights */
.ecr-insight-card__excerpt { font-size: 14px; color: #4f5b50; }
.ecr-insight-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
}

/* FAQ */
.ecr-faq__answer-inner { font-size: 14px; color: #3f4b40; }
.ecr-faq__answer-inner a { color: #1a2e1d; text-decoration: underline; text-underline-offset: 3px; }

.ecr-404 .ecr-btn--gold { color: #1a1409; }

/* 404 */
.ecr-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}
.ecr-404__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #1a2e1d;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Nav: Contact CTA (desktop) and mobile contact block (Oct 2026)
   ========================================================================== */
@media (min-width: 1081px) {
  .ecr-nav__cta {
    align-items: center;
    display: flex;
    gap: 10px;
  }
}

.ecr-nav__cta a.ecr-nav__contact {
  background: transparent;
  border: 1px solid rgba(176, 141, 46, 0.7);
  color: #1a2e1d;
}

.ecr-nav__cta a.ecr-nav__contact:hover,
.ecr-nav__cta a.ecr-nav__contact[aria-current="page"] {
  background: #f1e7d2;
  color: #1a2e1d;
}

.ecr-nav__mobile-contact {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.ecr-nav__mobile .ecr-nav__mobile-contact a {
  align-items: center;
  border: 1px solid rgba(176, 141, 46, 0.7);
  border-radius: 2px;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.1em;
  min-height: 48px;
  padding: 10px 8px;
  text-align: center;
  text-transform: uppercase;
}

.ecr-nav__mobile .ecr-nav__mobile-contact a.ecr-nav__mobile-contact-main {
  background: #d4b45f;
  border-color: #d4b45f;
  color: #1a1409;
}

.ecr-nav__mobile .ecr-nav__mobile-contact a.ecr-nav__mobile-contact-alt {
  color: #1a2e1d;
}

/* ==========================================================================
   Footer (Oct 2026 redesign): brand + three short link groups + alerts,
   a compact all-streets row, one brokerage identification, legal bar.
   Groups collapse into accordions on phones (footer.php inline script).
   ========================================================================== */
.ecr-footer {
  background: #0e1912;
  border-top: 1px solid rgba(212,180,95,0.22);
  color: rgba(244,234,216,0.78);
  font-family: 'Manrope', Arial, sans-serif;
  padding: clamp(36px, 5vw, 56px) clamp(16px, 5vw, 72px) 0;
}
body.ecr-strip-visible .ecr-footer {
  padding-bottom: calc(var(--ecr-sticky-strip-height, 68px) + 16px);
}

.ecr-footer__main,
.ecr-footer__streets,
.ecr-footer__bottom,
.ecr-footer__legal-bar {
  margin: 0 auto;
  max-width: 1280px;
}

.ecr-footer__main {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 20px;
}

.ecr-footer__brand { order: -2; margin-bottom: 24px; }
.ecr-footer__stay { order: -1; margin-bottom: 20px; }

.ecr-footer__wordmark-main {
  color: #f4ead8;
  display: inline-block;
  font-family: 'Literata', 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
}
.ecr-footer__tagline {
  color: rgba(244,234,216,0.72);
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0 14px;
  max-width: 38ch;
}
.ecr-footer__identity {
  color: rgba(244,234,216,0.78);
  display: grid;
  font-size: 12.5px;
  font-style: normal;
  gap: 2px;
  line-height: 1.6;
}
.ecr-footer__identity strong { color: #f4ead8; font-weight: 700; }
.ecr-footer__identity .ecr-footer__brokerage { color: #d4b45f; font-weight: 700; }
.ecr-footer__identity a,
.ecr-footer__more a,
.ecr-footer__social a {
  color: rgba(244,234,216,0.82);
  text-decoration: none;
}
.ecr-footer__identity a:hover,
.ecr-footer__more a:hover,
.ecr-footer__social a:hover,
.ecr-footer__identity a:focus-visible,
.ecr-footer__more a:focus-visible,
.ecr-footer__social a:focus-visible {
  color: #d4b45f;
  text-decoration: underline;
}
.ecr-footer__social {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
  gap: 4px 14px;
  margin-top: 14px;
}
.ecr-footer__more {
  color: rgba(244,234,216,0.66);
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.ecr-footer__col-title {
  color: #d4b45f;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.ecr-footer summary.ecr-footer__col-title { cursor: default; list-style: none; }
.ecr-footer summary.ecr-footer__col-title::-webkit-details-marker { display: none; }

.ecr-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ecr-footer__links a {
  color: rgba(244,234,216,0.8);
  font-size: 13.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 150ms;
}
.ecr-footer__links a:hover,
.ecr-footer__links a:focus-visible { color: #f4ead8; text-decoration: underline; text-underline-offset: 3px; }
.ecr-footer__sublabel {
  color: rgba(244,234,216,0.6);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 6px;
  text-transform: uppercase;
}
.ecr-footer__facets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ecr-footer__links .ecr-footer__facets a {
  border: 1px solid rgba(212,180,95,0.32);
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
}
.ecr-footer__links .ecr-footer__facets a:hover { border-color: #d4b45f; text-decoration: none; }

.ecr-footer__stay-body {
  color: rgba(244,234,216,0.72);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.ecr-footer__form { display: flex; gap: 8px; }
.ecr-footer__form input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,180,95,0.3);
  border-radius: 2px;
  color: #f4ead8;
  flex: 1;
  font: 400 13px 'Manrope', Arial, sans-serif;
  min-height: 44px;
  min-width: 0;
  padding: 10px 12px;
}
.ecr-footer__form input::placeholder { color: rgba(244,234,216,0.55); }
.ecr-footer__form button {
  background: #eee0c8;
  border: 0;
  border-radius: 2px;
  color: #111e15;
  cursor: pointer;
  font: 800 11px 'Manrope', Arial, sans-serif;
  letter-spacing: 0.12em;
  min-height: 44px;
  padding: 10px 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.ecr-footer__form button:hover { background: #f4ead8; }
.ecr-footer__alert-note { color: rgba(244,234,216,0.66); font-size: 12px; margin: 8px 0 0; }

/* All streets: one compact wrapped row instead of a tall scrolling column */
.ecr-footer__streets {
  border-top: 1px solid rgba(244,234,216,0.1);
  padding: 18px 0 20px;
}
.ecr-footer__street-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.ecr-footer__street-list a {
  align-items: center;
  color: rgba(244,234,216,0.68);
  display: inline-flex;
  font-size: 12.5px;
  gap: 5px;
  line-height: 1.6;
  text-decoration: none;
}
.ecr-footer__street-list a:hover,
.ecr-footer__street-list a:focus-visible { color: #f4ead8; text-decoration: underline; }
.ecr-footer__street-list a.has-active { color: rgba(244,234,216,0.92); font-weight: 700; }
.ecr-footer__street-list b {
  background: rgba(212,180,95,0.16);
  border: 1px solid rgba(212,180,95,0.35);
  border-radius: 999px;
  color: #d4b45f;
  font-size: 10.5px;
  line-height: 1;
  padding: 2px 6px;
}
.ecr-footer__street-list a.ecr-footer__street-all { color: #d4b45f; font-weight: 700; }

.ecr-footer__bottom {
  border-top: 1px solid rgba(244,234,216,0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
}
.ecr-footer__bottom-left,
.ecr-footer__bottom-right {
  color: rgba(244,234,216,0.66);
  font-size: 11.5px;
  line-height: 1.6;
}
.ecr-footer__legal-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 0 0 22px;
}
.ecr-footer__legal-bar a {
  color: rgba(244,234,216,0.7);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
}
.ecr-footer__legal-bar a:hover,
.ecr-footer__legal-bar a:focus-visible { color: #f4ead8; text-decoration: underline; }

/* Phones: accordions with 48px headers */
@media (max-width: 768px) {
  .ecr-footer__group,
  .ecr-footer__streets {
    border-top: 1px solid rgba(244,234,216,0.1);
  }
  .ecr-footer__main > .ecr-footer__group:last-of-type { border-bottom: 1px solid rgba(244,234,216,0.1); }
  .ecr-footer summary.ecr-footer__col-title {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    margin: 0;
    min-height: 48px;
  }
  .ecr-footer summary.ecr-footer__col-title::after {
    content: "+";
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
  }
  .ecr-footer details[open] > summary.ecr-footer__col-title::after { content: "\2212"; }
  .ecr-footer__group .ecr-footer__links { padding: 0 0 14px; gap: 0; }
  .ecr-footer__group .ecr-footer__facets { gap: 8px; padding: 4px 0 6px; }
  .ecr-footer__streets { padding: 0; }
  .ecr-footer__street-list { display: grid; gap: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 14px; }
  .ecr-footer__street-list a { min-height: 40px; }
  .ecr-footer__streets + .ecr-footer__bottom { border-top-color: rgba(244,234,216,0.1); }
  .ecr-footer__main { padding-bottom: 0; }
  .ecr-footer__social a,
  .ecr-footer__more a { display: inline-block; padding: 6px 0; }
}

@media (min-width: 769px) {
  .ecr-footer__main {
    column-gap: 40px;
    grid-template-areas:
      "brand brand stay"
      "homes hood about";
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }
  .ecr-footer__brand { grid-area: brand; margin: 0; }
  .ecr-footer__stay { grid-area: stay; margin: 0; }
  .ecr-footer__main > details:nth-of-type(1) { grid-area: homes; }
  .ecr-footer__main > details:nth-of-type(2) { grid-area: hood; }
  .ecr-footer__main > details:nth-of-type(3) { grid-area: about; }
  .ecr-footer__streets > summary { pointer-events: none; }
  .ecr-footer__main summary { pointer-events: none; }
  .ecr-footer__bottom { align-items: flex-start; flex-direction: row; justify-content: space-between; gap: 32px; }
  .ecr-footer__bottom-right { max-width: 640px; text-align: right; }
}

@media (min-width: 1100px) {
  .ecr-footer__main {
    grid-template-areas: "brand homes hood about stay";
    grid-template-columns: minmax(240px, 1.35fr) minmax(150px, 0.9fr) minmax(150px, 0.85fr) minmax(130px, 0.75fr) minmax(240px, 1.15fr);
  }
}
