/* ═══════════════════════════════════════════════════════════
   THE SMITH DOBROWSKY TEAM — Design System Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --navy:       #1B2A4A;
  --navy-dark:  #111D33;
  --gold:       #9a9080;
  --gold-dark:  #7a7268;
  --cream:      #F7F5F1;
  --pearl:      #E8E4DC;
  --charcoal:   #2C2C2C;
  --warm-gray:  #8A8678;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: var(--font-serif);
  --font-body: var(--font-sans);
  --serif: var(--font-serif);
  --sans: var(--font-sans);

  --type-display: clamp(3.3rem, 4.8vw, 5.65rem);
  --type-h1: clamp(3.2rem, 4.4vw, 5.2rem);
  --type-h2: clamp(2.45rem, 3.65vw, 4.55rem);
  --type-h3: clamp(1.5rem, 2vw, 2.2rem);
  --type-body: clamp(0.98rem, 1.02vw, 1.08rem);
  --type-small: clamp(0.88rem, 0.92vw, 0.96rem);
  --type-small-body: clamp(0.88rem, 0.92vw, 0.96rem);
  --type-meta: clamp(0.625rem, 0.72vw, 0.69rem);
  --type-caption: 0.68rem;
  --type-cta: 0.68rem;

  --leading-display: 0.94;
  --leading-heading: 1.0;
  --leading-h3: 1.16;
  --leading-body: 1.76;
  --leading-small: 1.62;
  --leading-meta: 1.45;

  --tracking-eyebrow: 0.24em;
  --tracking-meta: 0.13em;
  --tracking-cta: 0.14em;
  --tracking-action: 0.045em;
  --weight-heading: 500;
  --weight-body: 300;
  --weight-eyebrow: 600;
  --weight-meta: 500;
  --weight-cta: 600;

  --eyebrow-size: var(--type-meta);
  --eyebrow-tracking: var(--tracking-eyebrow);
  --eyebrow-weight: var(--weight-eyebrow);
  --heading-line-height: var(--leading-heading);
  --body-size: var(--type-body);
  --body-line-height: var(--leading-body);
  --meta-size: var(--type-meta);
  --meta-tracking: var(--tracking-meta);
  --cta-size: var(--type-cta);
  --cta-tracking: var(--tracking-cta);
  --action-tracking: var(--tracking-action);
  --caption-size: var(--type-caption);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;
  --section-pad-y: clamp(80px, 9vw, 132px);
  --section-pad-x: clamp(22px, 5vw, 72px);

  --text-light-primary: #0b1626;
  --text-light-secondary: rgba(11,22,38,0.70);
  --text-light-muted: rgba(11,22,38,0.54);
  --text-dark-primary: rgba(250,248,244,0.95);
  --text-dark-secondary: rgba(250,248,244,0.72);
  --text-dark-muted: rgba(238,235,228,0.62);
  --text-primary: var(--text-light-primary);
  --text-secondary: var(--text-light-secondary);
  --text-muted: var(--text-light-muted);
  --text-subtle: rgba(11,22,38,0.30);
  --text-inverse: var(--text-dark-primary);
  --text-inverse-secondary: var(--text-dark-secondary);
  --text-inverse-muted: var(--text-dark-muted);
  --border-soft: rgba(11,22,38,0.10);
  --border-medium: rgba(11,22,38,0.22);
  --border-inverse-soft: rgba(238,235,228,0.12);
  --border-inverse-medium: rgba(238,235,228,0.28);
  --surface-light: #faf8f4;
  --surface-warm: #eae6df;
  --surface-dark: #080d16;
  --surface-ink: #05090f;

  --shadow-card:  0 2px 12px rgba(27,42,74,0.08);
  --shadow-hover: 0 4px 24px rgba(27,42,74,0.14);
  --shadow-float: 0 8px 40px rgba(27,42,74,0.22);

  --radius: 0;
  --unit: 4px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: #fff;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

p,
li,
input,
textarea,
select,
button {
  font-family: var(--font-sans);
}

p {
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.editorial-eyebrow,
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--type-meta);
  font-weight: var(--weight-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.editorial-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0 0 clamp(16px, 1.8vw, 24px);
}

.editorial-heading em {
  font-style: italic;
  font-weight: 400;
  display: block;
  margin-top: 0.04em;
  color: var(--text-muted);
}

.editorial-body {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  font-weight: var(--weight-body);
}

.editorial-cta {
  font-family: var(--font-sans);
  font-size: var(--type-cta);
  font-weight: var(--weight-cta);
  letter-spacing: var(--tracking-action);
  text-transform: none;
}

.meta-label {
  font-family: var(--font-sans);
  font-size: var(--type-meta);
  font-weight: var(--weight-meta);
  letter-spacing: var(--tracking-meta);
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════════════════ */
.announce-bar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(180,168,150,0.15);
  padding: 7px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.announce-bar__copy {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.06em;
}
.announce-bar__copy sup { font-size: 8px; }
.announce-bar__phone {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  background: #080B0F;
  color: #f4f1ea;
  border-top: 1px solid rgba(15, 18, 20, 0.06);
  padding: 0;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 72px);
  gap: 24px;
}

.footer__brand {
  margin-bottom: 0;
  flex-shrink: 0;
}

.footer__logo-img {
  height: 38px;
  width: auto;
  display: block;
  opacity: 0.88;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav-link {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__nav-link:hover {
  color: rgba(244, 241, 234, 0.88);
}

.footer__nav-link:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.5);
  outline-offset: 4px;
  border-radius: 1px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.footer__contact-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.56);
}

.footer__contact-phone {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 234, 0.80);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__contact-phone:hover {
  color: #f4f1ea;
}

.footer__contact-phone:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.5);
  outline-offset: 4px;
  border-radius: 1px;
}

.footer__instagram {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(244, 241, 234, 0.60);
  text-decoration: none;
  margin-top: 10px;
  transition: color 0.2s ease;
}

.footer__instagram:hover,
.footer__instagram:focus-visible {
  color: rgba(244, 241, 234, 0.72);
}

.footer__instagram:focus-visible {
  outline: 1px solid rgba(244, 241, 234, 0.5);
  outline-offset: 4px;
  border-radius: 1px;
}

.footer__brokerage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px clamp(24px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brokerage-affiliation {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.footer__cb-logo {
  width: clamp(132px, 13vw, 154px);
  height: clamp(11.5px, 1.14vw, 13.5px);
  object-fit: contain;
  opacity: 0.34;
  flex-shrink: 0;
  display: block;
}

.footer__brokerage-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-sans);
  line-height: 1.35;
  color: rgba(244, 241, 234, 0.52);
  min-width: 0;
}

.footer__brokerage-name {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 234, 0.62);
}

.footer__brokerage-address {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(244, 241, 234, 0.52);
}

.footer__legal-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__legal {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: rgba(244, 241, 234, 0.60);
  text-transform: none;
}

.footer__legal-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 241, 234, 0.18);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__legal-link:hover {
  color: rgba(244, 241, 234, 0.60);
  border-color: rgba(244, 241, 234, 0.36);
}

@media (max-width: 768px) {
  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px clamp(20px, 5vw, 40px) 24px;
    gap: 24px;
  }

  .footer__nav {
    justify-content: flex-start;
    gap: 14px 22px;
  }

  .footer__contact {
    align-items: flex-start;
  }

  .footer__legal-bar {
    align-items: flex-start;
    gap: 8px;
    justify-content: flex-start;
  }

  .footer__brokerage-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 17px clamp(20px, 5vw, 40px);
  }

  .footer__cb-logo {
    width: 142px;
    height: 12.5px;
  }

  .footer__brokerage-affiliation {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .footer__brokerage-copy {
    gap: 4px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM HERO REFINEMENT
   ═══════════════════════════════════════════════════════════ */
.announce-bar {
  padding: 8px 60px;
  background: #0d1729;
}
.announce-bar__copy {
  color: rgba(255,255,255,0.34);
  letter-spacing: 0.08em;
}
.announce-bar__phone {
  color: rgba(180,168,150,0.9);
  letter-spacing: 0.08em;
}


/* ═══════════════════════════════════════════════════════════
   PROOF BAR
   ═══════════════════════════════════════════════════════════ */
.proof-bar {
  background: #fff;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--pearl);
  padding: 56px 60px;
}
.proof-bar__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-bar__stat {
  padding: 0 44px;
  text-align: center;
}
.proof-bar__stat:not(:last-child) { border-right: 1px solid var(--pearl); }
.proof-bar__rule { width: 28px; height: 2px; background: var(--gold); margin: 0 auto 18px; }
.proof-bar__number {
  font-size: 58px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proof-bar__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 12px;
  letter-spacing: 0.03em;
}
.proof-bar__sub {
  font-size: 12px;
  color: var(--warm-gray);
  margin-top: 5px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS — shared
   ═══════════════════════════════════════════════════════════ */
.section { padding: 80px 60px; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); }
.section--white { background: #fff; }
.section--border-top { border-top: 1px solid var(--pearl); }

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
/* On light-background sections, darken eyebrow for contrast (WCAG AA) */
.section--white .section-eyebrow,
.section--cream .section-eyebrow {
  color: #706860;
}
.section-heading {
  font-size: clamp(2.25rem, 4vw, 4.65rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
}
.section-heading em {
  font-style: italic;
  font-weight: 400;
}
.section-heading--white { color: #fff; }

/* ═══════════════════════════════════════════════════════════
   LISTING CARD
   ═══════════════════════════════════════════════════════════ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.listing-card {
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 200ms, transform 200ms;
  cursor: pointer;
}
.listing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.listing-card__img {
  height: 200px;
  background: var(--pearl);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.listing-card__body { padding: 20px 22px; }
.listing-card__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.listing-card__address {
  font-size: 14px;
  color: var(--charcoal);
  margin-top: 4px;
}
.listing-card__city {
  font-size: 13px;
  color: var(--warm-gray);
}
.listing-card__divider {
  height: 1px;
  background: var(--pearl);
  margin: 14px 0;
}
.listing-card__details {
  font-size: 13px;
  color: var(--warm-gray);
  display: flex;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(27,42,74,0.06);
}
.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 20px;
}
.testimonial-card__divider {
  height: 1px;
  background: var(--pearl);
  margin-bottom: 16px;
}
.testimonial-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-card__location {
  font-size: 12px;
  color: var(--warm-gray);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   COMMUNITIES
   ═══════════════════════════════════════════════════════════ */
.communities-list {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.community-pill {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pearl);
  border: 1px solid rgba(180,168,150,0.3);
  padding: 10px 24px;
  transition: background 200ms, color 200ms;
}
.community-pill:hover {
  background: rgba(180,168,150,0.15);
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════════ */
.cta-band {
  padding: 72px 60px;
  background: var(--cream);
  text-align: center;
  border-top: 1px solid var(--pearl);
}
.cta-band__heading {
  font-size: 44px;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 16px;
}
.cta-band__sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--warm-gray);
  margin: 0 0 36px;
}
.btn-navy {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--navy);
  padding: 16px 40px;
  transition: background 200ms;
}
.btn-navy:hover { background: var(--navy-dark); }

/* ═══════════════════════════════════════════════════════════
   CLOSING CTA — editorial split layout
   ═══════════════════════════════════════════════════════════ */

.closing-cta {
  background: var(--cream);
  border-top: 0;
  padding: clamp(150px, 10vw, 180px) 0;
}

.closing-cta__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.closing-cta__inner--minimal {
  display: block;
}

.closing-cta__eyebrow {
  color: var(--text-muted);
  margin: 0 0 clamp(32px, 3vw, 40px);
}

.closing-cta__eyebrow::before {
  content: '';
  display: block;
  width: clamp(56px, 5vw, 72px);
  height: 1px;
  background: rgba(15,18,20,0.08);
  margin-bottom: clamp(34px, 3vw, 42px);
}

.closing-cta__heading {
  color: var(--text-primary);
  margin: 0;
  max-width: 720px;
}

.closing-cta__minimal-link {
  color: inherit;
  text-decoration: none;
}

.closing-cta__minimal-link:hover,
.closing-cta__minimal-link:focus-visible {
  color: inherit;
}

.closing-cta__minimal-link:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 8px;
}

.closing-cta__body {
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.78;
  color: rgba(11,22,38,0.78);
  max-width: 520px;
  margin: 0 0 clamp(30px, 3.2vw, 44px);
}

.closing-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.22s ease, color 0.22s ease;
}

.closing-cta__link:hover {
  color: var(--text-primary);
  border-color: rgba(11,22,38,0.36);
}

.closing-cta__link span {
  display: inline-block;
  transition: transform 0.22s ease;
}

.closing-cta__link:hover span {
  transform: translateX(4px);
}

.closing-cta__link:focus-visible {
  color: var(--navy);
  border-color: var(--navy);
  outline: 2px solid var(--navy);
  outline-offset: 5px;
  border-radius: 1px;
}

.closing-cta__trust {
  font-family: var(--font-sans);
  font-size: var(--type-meta);
  font-weight: 400;
  line-height: var(--leading-meta);
  color: rgba(11,22,38,0.58);
  margin: clamp(54px, 5vw, 72px) 0 0;
  max-width: 320px;
}

.closing-cta__signature {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(11,22,38,0.58);
  letter-spacing: 0.015em;
  margin: 10px 0 0;
  max-width: 320px;
  opacity: 0.62;
}

.closing-cta__signature span {
  display: block;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .closing-cta {
    padding: clamp(110px, 14vw, 140px) 0;
  }
  .closing-cta__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .closing-cta__body,
  .closing-cta__trust {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .closing-cta {
    padding: clamp(84px, 22vw, 110px) 0;
  }

  .closing-cta__inner {
    gap: 34px;
  }

  .closing-cta__heading {
    font-size: clamp(2.12rem, 10vw, 3.05rem);
  }

  .closing-cta__trust,
  .closing-cta__signature {
    max-width: 320px;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ═══════════════════════════════════════════════════════════ */
.page-header {
  background: var(--navy);
  padding: 60px 60px 48px;
}
.page-header__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.page-header__h1 {
  font-size: 80px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.page-header__h1 em { font-weight: 400; }

/* ═══════════════════════════════════════════════════════════
   LISTINGS PAGE
   ═══════════════════════════════════════════════════════════ */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--pearl);
  padding: 0 60px;
  display: flex;
  align-items: center;
}
.filter-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-gray);
  padding: 18px 24px;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.02em;
  transition: color 200ms, border-color 200ms;
}
.filter-btn:hover { color: var(--navy); }
.filter-btn.is-active {
  color: var(--navy);
  font-weight: 600;
  border-bottom-color: var(--navy);
}
.filter-bar__count {
  margin-left: auto;
  font-size: 13px;
  color: var(--warm-gray);
  padding: 18px 0;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */
.about-intro {
  padding: 72px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.about-intro__h2 {
  font-size: 38px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 24px;
  line-height: 1.2;
}
.about-intro__p {
  font-size: 17px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.65;
  margin: 0 0 16px;
}
.about-intro__p2 {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.65;
  margin: 0 0 32px;
}
.about-intro__stats { display: flex; gap: 48px; }
.about-intro__stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.about-intro__stat-label {
  font-size: 12px;
  color: var(--warm-gray);
  margin-top: 4px;
}
.about-intro__photo {
  background: var(--pearl);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.about-intro__photo-label {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* Commitments cards */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.commitment-card {
  background: #fff;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(27,42,74,0.06);
}
.commitment-card__rule { width: 32px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.commitment-card__h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 14px;
}
.commitment-card__p {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* Pull quote */
.pull-quote {
  padding: 72px 60px;
  background: var(--navy);
  text-align: center;
}
.pull-quote__text {
  font-family: var(--font-serif);
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  color: #fff;
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.4;
}
.pull-quote__rule { width: 48px; height: 2px; background: var(--gold); margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */
.contact-body {
  padding: 72px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1280px;
}
.contact-form-wrap {
  background: #fff;
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.contact-form-wrap__h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 28px;
}
.form-row { display: flex; flex-direction: column; gap: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  font-size: 12px;
  font-weight: 400;
  color: var(--warm-gray);
  display: block;
  margin-bottom: 6px;
}
input, select, textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
  background: #fff;
  border: 1.5px solid var(--pearl);
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: border-color 200ms;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B2A4A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea { height: 100px; resize: none; }
.btn-gold {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-dark);
  background: var(--gold);
  padding: 13px;
  width: 100%;
  transition: background 200ms;
}
.btn-gold:hover { background: var(--gold-dark); }

/* Contact info */
.contact-info__h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 32px;
}
.contact-info__intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.65;
  margin: 0 0 40px;
}
.contact-detail {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--pearl);
}
.contact-detail__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-detail__value {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
}
.contact-detail__sub {
  font-size: 13px;
  color: var(--warm-gray);
  margin-top: 2px;
}
.contact-quote-box {
  background: var(--navy);
  padding: 24px 28px;
}
.contact-quote-box__text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 10px;
}
.contact-quote-box__attr {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Success state */
.success-wrap {
  background: var(--cream);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-card {
  background: #fff;
  padding: 60px 56px;
  box-shadow: var(--shadow-card);
  text-align: center;
  max-width: 480px;
}
.success-card__rule { width: 48px; height: 2px; background: var(--gold); margin: 0 auto 28px; }
.success-card__h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 16px;
}
.success-card__p {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.65;
  margin: 0 0 32px;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL-REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════ */
@keyframes sd-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sd-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes sd-slide-in-right {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Hero entry animations */
.sd-overline  { animation: sd-fade-in  0.55s ease 0.10s both; }
.sd-h1        { animation: sd-fade-up  0.75s cubic-bezier(0.22,1,0.36,1) 0.22s both; }
.sd-sub       { animation: sd-fade-up  0.65s ease 0.40s both; }
.sd-form      { animation: sd-fade-up  0.60s ease 0.55s both; }
.sd-ctas      { animation: sd-fade-up  0.55s ease 0.70s both; }
.sd-visual    { animation: sd-slide-in-right 0.90s cubic-bezier(0.22,1,0.36,1) 0.18s both; }

/* Scroll-reveal (added via JS IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .announce-bar { padding: 7px 24px; }


  .proof-bar { padding: 48px 24px; }
  .proof-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .proof-bar__stat:nth-child(2) { border-right: none; }
  .proof-bar__stat:nth-child(1),
  .proof-bar__stat:nth-child(2) { border-bottom: 1px solid var(--pearl); padding-bottom: 40px; margin-bottom: 12px; }

  .section { padding: 56px 24px; }
  .page-header { padding: 48px 24px 36px; }
  .page-header__h1 { font-size: 56px; }

  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { padding: 0 24px; overflow-x: auto; }

  .about-intro { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; }
  .about-intro__photo { height: 280px; }
  .commitments-grid { grid-template-columns: 1fr; }

  .contact-body { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .footer { padding: 40px 24px 24px; }
  .footer__top { flex-direction: column; gap: 36px; }
  .footer__cols { gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .proof-bar__stat { padding: 28px 16px; }
  .listings-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .pull-quote__text { font-size: 26px; }
  .cta-band__heading { font-size: 32px; }
}


/* overflow-x: clip prevents horizontal bleed without creating a scroll
   container — overflow: hidden on body would break position: sticky. */
html,
body {
  overflow-x: clip;
}

.sd-overline,
.sd-h1,
.sd-sub,
.sd-form,
.sd-ctas,
.sd-visual {
  animation: none;
}



@media (max-width: 960px) {
  .announce-bar { padding: 7px 24px; }
}

@media (max-width: 600px) {
  .announce-bar {
    justify-content: flex-start;
    padding: 7px 18px;
  }
  .announce-bar__copy { display: none; }
  .announce-bar__phone {
    display: block;
    font-size: 10px;
    white-space: nowrap;
  }

}





/* Keep the post-hero proof bar from clipping on small screens */
@media (max-width: 600px) {
  .proof-bar {
    padding: 42px 20px;
  }
  .proof-bar__grid {
    grid-template-columns: 1fr;
  }
  .proof-bar__stat {
    padding: 26px 0;
    border-right: none !important;
    border-bottom: 1px solid var(--pearl);
  }
  .proof-bar__stat:first-child {
    padding-top: 0;
  }
  .proof-bar__stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .proof-bar__number {
    font-size: 48px;
  }
}


/* ═══════════════════════════════════════════════════════════
   Homepage-specific styles live in css/home.css
   (body.home-page rules extracted in Phase 3A)
   ═══════════════════════════════════════════════════════════ */
