/* =========================================================
   Vantage Property Group — Editorial Luxury Real Estate
   Token system + component styles
   ========================================================= */

:root {
  /* Color */
  --cream:        #F7F2E9;
  --stone:        #E7DCC9;
  --stone-line:   #D8C9AE;
  --terracotta:   #B56A42;
  --terracotta-dk:#9A5636;
  --forest:       #1F3327;
  --forest-dk:    #14221A;
  --forest-mid:   #294737;
  --ink:          #211D17;
  --ink-soft:     #5B5348;
  --gold:         #A6873F;
  --white:        #FFFFFF;

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-width: 1240px;
  --gutter: 24px;
  --radius-sm: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2rem, 3.2vw, 2.85rem); }
h2.light { color: var(--white); }
h3 { font-size: 1.3rem; }

p { margin: 0; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--forest);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

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

/* =========================================================
   Eyebrow / section heads
   ========================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-dk);
  margin: 0 0 12px;
}
.eyebrow-light { color: var(--stone); }

.section { padding: 88px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--stone-line);
}
.section-head > div:first-child { max-width: 560px; }
.section-intro {
  max-width: 380px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn-primary:hover { background: var(--terracotta-dk); border-color: var(--terracotta-dk); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-large { padding: 16px 32px; font-size: 0.98rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--cream);
  border-bottom: 1px solid var(--stone-line);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  flex-shrink: 0;
}
.wordmark-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest);
}
.wordmark-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-dk);
  margin-top: 2px;
}

.primary-nav ul {
  display: flex;
  gap: 32px;
}
.primary-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--terracotta);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--stone-line);
  border-radius: var(--radius-sm);
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--stone-line);
  background: var(--cream);
  padding: 8px var(--gutter) 28px;
}
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  border-bottom: 1px solid var(--stone-line);
  color: var(--ink);
}
.mobile-menu-cta { margin-top: 20px; width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,34,26,0.35) 0%, rgba(20,34,26,0.35) 40%, rgba(20,34,26,0.92) 100%);
}
.hero-scrim-strong {
  background: linear-gradient(180deg, rgba(20,34,26,0.55) 0%, rgba(20,34,26,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
  width: 100%;
  color: var(--white);
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  max-width: 15ch;
  margin: 10px 0 22px;
}
.hero-lede {
  max-width: 46ch;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.86);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-search {
  display: flex;
  max-width: 560px;
  background: rgba(247,242,233,0.96);
  border-radius: var(--radius-sm);
  padding: 6px;
  gap: 6px;
}
.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--ink);
}
.hero-search input:focus { outline: none; }
.hero-search input::placeholder { color: var(--ink-soft); }

.hero-search-message {
  max-width: 560px;
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(247,242,233,0.96);
  color: var(--ink);
  border-left: 3px solid var(--terracotta);
  font-size: 0.92rem;
}

/* =========================================================
   Filter bar
   ========================================================= */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: transparent;
  border: 1px solid var(--stone-line);
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.filter-select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-select-wrap label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.filter-select-wrap select {
  border: 1px solid var(--stone-line);
  background: var(--white);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.88rem;
}

.filter-result-count {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 4px 0 28px;
}

.filter-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--ink-soft);
  border: 1px dashed var(--stone-line);
}
.filter-empty a { color: var(--terracotta-dk); text-decoration: underline; }

/* =========================================================
   Property cards
   ========================================================= */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.property-card {
  display: flex;
  flex-direction: column;
}
.property-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone);
  margin-bottom: 18px;
}
.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.property-card-media:hover img { transform: scale(1.045); }

.property-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.property-tag-muted {
  background: rgba(33,29,23,0.78);
}

.property-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.property-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
}
.property-neighborhood {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.property-card h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.property-card h3 a:hover { color: var(--terracotta-dk); }
.property-specs {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.property-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.property-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta-dk);
  align-self: flex-start;
}
.property-link:hover { text-decoration: underline; }

.property-card[hidden] { display: none; }

/* =========================================================
   Market snapshot
   ========================================================= */
.market-snapshot {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.market-media {
  position: absolute;
  inset: 0;
}
.market-media img { width: 100%; height: 100%; object-fit: cover; }
.market-content {
  position: relative;
  z-index: 1;
  padding: 96px var(--gutter);
  color: var(--white);
  max-width: var(--max-width);
}
.market-disclaimer {
  max-width: 46ch;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  margin: 18px 0 48px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 36px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

/* =========================================================
   Neighborhoods
   ========================================================= */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.neighborhood-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 18px;
}
.neighborhood-media img { width: 100%; height: 100%; object-fit: cover; }
.neighborhood-card h3 { margin-bottom: 10px; }
.neighborhood-card p { color: var(--ink-soft); font-size: 0.9rem; }

/* =========================================================
   Why Vantage
   ========================================================= */
.why-vantage { background: var(--stone); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.why-item {
  border-top: 2px solid var(--forest);
  padding-top: 22px;
}
.why-item h3 { margin-bottom: 12px; }
.why-item p { color: var(--ink-soft); font-size: 0.94rem; }

/* =========================================================
   Agents
   ========================================================= */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.agent-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 20px;
}
.agent-media img { width: 100%; height: 100%; object-fit: cover; }
.agent-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta-dk);
  margin: 4px 0 12px;
}
.agent-bio { color: var(--ink-soft); font-size: 0.92rem; }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials { background: var(--cream); }
.testimonial-carousel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-track {
  position: relative;
  min-height: 220px;
}
.testimonial-slide {
  margin: 0;
  display: none;
  animation: fade-in 0.4s var(--ease);
}
.testimonial-slide.is-active { display: block; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 22px;
}
.testimonial-attribution {
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.testimonial-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--stone-line);
  background: transparent;
  font-size: 1.4rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.testimonial-arrow:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.testimonial-dots {
  display: flex;
  gap: 8px;
}
.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stone-line);
  border: none;
  padding: 0;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.testimonial-dots button.is-active {
  background: var(--terracotta);
  transform: scale(1.3);
}

/* =========================================================
   Pull quote
   ========================================================= */
.pull-quote {
  background: var(--forest);
  padding: 96px 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.28;
  color: var(--stone);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.pull-quote-mark {
  color: var(--terracotta);
  font-size: 1.3em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 4px;
}

/* =========================================================
   Calculator
   ========================================================= */
.calculator-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--stone-line);
}
.calculator-form {
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  background: var(--white);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--stone-line);
  padding: 4px 14px;
  background: var(--cream);
}
.field-input:focus-within { border-color: var(--forest); }
.field-input input, .field-input select {
  border: none;
  background: transparent;
  padding: 12px 4px;
  width: 100%;
  font-size: 1rem;
  color: var(--ink);
}
.field-input input:focus, .field-input select:focus { outline: none; }
.field-prefix, .field-suffix { color: var(--ink-soft); font-size: 0.95rem; }
.field-input-split input { text-align: left; }

.calculator-result {
  background: var(--forest);
  color: var(--white);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}
.calc-result-figure {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 10px;
}
.calc-result-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
  max-width: 38ch;
}
.calc-breakdown {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 20px;
  margin: 0;
}
.calc-breakdown dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone);
  margin-bottom: 4px;
}
.calc-breakdown dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: var(--ink);
  padding: 96px 0;
}
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-band-inner h2 { max-width: 12ch; margin: 8px 0 14px; }
.cta-band-copy {
  max-width: 42ch;
  color: rgba(255,255,255,0.78);
}
.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--forest-dk);
  color: rgba(255,255,255,0.82);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.wordmark-footer .wordmark-mark { color: var(--white); }
.wordmark-footer .wordmark-sub { color: var(--stone); }
.footer-brand p {
  margin: 18px 0 22px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.68);
  max-width: 32ch;
}
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.social-icons a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.social-icons svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  color: var(--white);
}

.footer-links h3, .footer-office h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-office a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  transition: color 0.18s var(--ease);
}
.footer-links a:hover, .footer-office a:hover { color: var(--white); }
.footer-office address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
}

.footer-legal {
  padding: 32px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fair-housing {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 780px;
}
.fair-housing-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--stone);
  stroke-width: 1.5;
  margin-top: 2px;
}
.fair-housing p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.legal-fine-print {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  max-width: 900px;
}

/* =========================================================
   Mobile sticky CTA
   ========================================================= */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 400;
  background: var(--cream);
  border-top: 1px solid var(--stone-line);
  padding: 12px var(--gutter);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
.mobile-sticky-cta .btn { width: 100%; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1279px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .neighborhood-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .section { padding: 68px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-panel { grid-template-columns: 1fr; }
  .calculator-form { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .header-inner { padding: 14px var(--gutter); }
  .wordmark-mark { font-size: 1.25rem; }

  .hero { min-height: 92vh; }
  .hero-content { padding-bottom: 96px; }
  .hero-search { flex-direction: column; background: transparent; padding: 0; gap: 10px; }
  .hero-search input {
    background: rgba(247,242,233,0.96);
    padding: 14px 16px;
  }
  .hero-search button { width: 100%; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-intro { max-width: none; }

  .property-grid { grid-template-columns: 1fr; }
  .neighborhood-grid { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 44px; }

  .calculator-form { grid-template-columns: 1fr; padding: 28px; }
  .calculator-result { padding: 28px; }

  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 72px; }

  .filter-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 639px) {
  .hero-content h1 { max-width: none; }
  .cta-band-actions { flex-direction: column; width: 100%; }
  .cta-band-actions .btn { width: 100%; }
  .calc-breakdown { flex-direction: column; gap: 16px; }
}
