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

:root {
  --cedar-dark:  #1e1009;
  --cedar:       #4a2c17;
  --cedar-mid:   #6b4228;
  --rust:        #a8774b;
  --rust-dark:   #8a5e35;
  --stone:       #8b7355;
  --stone-light: #b09a80;
  --sage:        #6e7d62;
  --sage-light:  #9aab8c;
  --sky:         #7a9db5;
  --sand:        #e2d0b8;
  --cream:       #f7f3ec;
  --cream-dark:  #ece4d6;
  --white:       #ffffff;
  --text:        #1c1008;
  --text-muted:  #7a6b59;
  --border:      #ddd3c3;
  --shadow:      0 4px 24px rgba(30, 16, 9, 0.08);
  --shadow-lg:   0 12px 48px rgba(30, 16, 9, 0.14);
  --radius:      10px;
  --nav-h:       76px;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-nav:     'Playfair Display', 'Georgia', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utilities ─────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.mt { margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-light {
  background: var(--white);
  color: var(--cedar);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--sand);
  border-color: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.btn-cedar {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.btn-cedar:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 119, 75, 0.35);
}

.btn-stone {
  background: transparent;
  color: var(--cedar);
  border-color: var(--stone-light);
}

.btn-stone:hover {
  border-color: var(--cedar);
  background: rgba(74, 44, 23, 0.04);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.78rem;
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(18, 10, 4, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.nav-logo-img {
  height: 68px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 3px;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
  background: var(--rust) !important;
  color: var(--white) !important;
  border-radius: 3px;
}

.nav-cta:hover {
  background: var(--rust-dark) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.40) 0%,
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    url('images/backgroundimage.webp') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 80px) 32px 120px;
  position: relative;
  overflow: hidden;
}

.hero-overlay { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.8;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  font-weight: 600;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-logo {
  width: clamp(200px, 38vw, 360px);
  margin: 0 auto 52px;
  filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.45));
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(18, 10, 4, 0.7);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 40px;
}

.hero-stat {
  text-align: center;
  padding: 0 48px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: 104px 0; }
.section-dark  { background: var(--cedar-dark); }
.section-muted { background: var(--cream-dark); }

.section-header { margin-bottom: 64px; }
.section-header.centered { text-align: center; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
  display: block;
}

.section-eyebrow.light { color: var(--stone-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
}

.section-header.centered .section-sub { margin: 0 auto; }
.section-sub.light { color: rgba(255, 255, 255, 0.58); }

.body-lg {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 18px;
}

.body-text {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Story Section ─────────────────────────────────────────────── */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-text {
  display: flex;
  flex-direction: column;
}

.story-text .section-title { margin-bottom: 24px; }

.story-pull {
  margin-bottom: 32px;
  padding: 28px 32px;
  border-left: 3px solid var(--cedar);
  background: var(--cream-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cedar);
  line-height: 1.6;
  font-weight: 400;
}

.story-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Intro Block ───────────────────────────────────────────────── */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-text .body-lg { margin-top: 20px; }

.intro-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.story-intro { max-width: 820px; }

/* ── Our Family ─────────────────────────────────────────────────── */
.family-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 430px;
  margin: 0 auto 52px;
}

.family-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.family-story {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.family-story p {
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Community Section (kept for backward compat) ──────────────── */
.community-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.community-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.community-text .section-title { margin-bottom: 24px; }

.community-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.callout {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.callout-icon {
  font-size: 1.1rem;
  color: var(--cedar);
  opacity: 0.4;
  margin-bottom: 12px;
  line-height: 1;
}

.callout-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.callout-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Amenities ─────────────────────────────────────────────────── */
.amenity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.amenity-grid-single {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.amenity-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.amenity-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.amenity-pool   { background: linear-gradient(135deg, #0d2030 0%, #1a3a50 50%, #0d2030 100%); }
.amenity-trails { background: linear-gradient(135deg, #0e1a0a 0%, #1a2e12 50%, #0e1a0a 100%); }

.amenity-visual svg { width: 100%; max-width: 200px; height: auto; }

.amenity-body {
  padding: 32px;
}

.amenity-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.amenity-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.75;
  margin-bottom: 20px;
}

.amenity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.amenity-list li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.amenity-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--stone-light);
  font-size: 0.75rem;
}

/* ── Tract Summary Bar ─────────────────────────────────────────── */
.tract-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--cedar-dark);
  border-radius: var(--radius);
  padding: 28px 40px;
  margin-bottom: 32px;
}

.tract-summary-stat {
  text-align: center;
  padding: 0 48px;
}

.ts-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}

.ts-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.tract-summary-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ── Tract Map ─────────────────────────────────────────────────── */
.tract-map-wrap {
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tract-map {
  display: block;
  width: 100%;
  height: 520px;
  border: none;
}

@media (max-width: 768px) {
  .tract-map-wrap {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }
  .tract-map { height: 50vh; }
}

/* ── Tract Pricing Table ───────────────────────────────────────── */
.tract-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.tract-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 580px;
}

.tract-table thead tr {
  background: var(--cedar-dark);
}

.tract-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-light);
  white-space: nowrap;
}

.tract-table thead th:last-child,
.tract-table thead th:nth-child(4) { text-align: right; }

.tract-table thead th[data-sort] {
  cursor: pointer;
  user-select: none;
  transition: color 0.12s;
}
.tract-table thead th[data-sort]:hover { color: #fff; }
.tract-table thead th[data-sort]::after {
  content: ' ↕';
  opacity: 0.3;
  font-size: 0.85em;
}
.tract-table thead th[data-sort][data-dir="asc"]::after  { content: ' ↑'; opacity: 0.9; }
.tract-table thead th[data-sort][data-dir="desc"]::after { content: ' ↓'; opacity: 0.9; }
.tract-table thead th.th-sort-active { color: var(--sand, #e8d5b0); }

.tract-table tbody tr {
  border-top: 1px solid var(--border);
  background: var(--white);
  transition: background 0.12s;
}

.tract-table tbody tr:nth-child(even) { background: var(--cream); }
.tract-table tbody tr:hover { background: #f0e8dc; }

.tract-table td {
  padding: 13px 20px;
  color: var(--text-muted);
  vertical-align: middle;
}

.tract-table td:first-child { padding-left: 20px; }

.t-num {
  font-weight: 700;
  color: var(--rust) !important;
  font-size: 0.85rem;
  width: 52px;
}

.t-price {
  font-weight: 700;
  color: var(--text) !important;
  text-align: right;
  white-space: nowrap;
  font-size: 0.95rem;
}

.t-ppa {
  text-align: right;
  white-space: nowrap;
  color: var(--stone) !important;
  font-size: 0.85rem;
}

.t-featured .t-price { color: var(--rust) !important; }

.plans-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* ── Ranch Section Extras ──────────────────────────────────────── */
.ranch-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cedar);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 20px;
}

.section-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto;
}

/* ── HOA Sub-eyebrow (below title) ─────────────────────────────── */
.hoa-sub-eyebrow {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ── Location ──────────────────────────────────────────────────── */
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.location-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location-distances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.distance-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.distance-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rust);
  line-height: 1.1;
}

.distance-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.region-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.region-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.region-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.region-desc:last-child { margin-bottom: 0; }

/* ── Contact ───────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--sand);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 16px 24px;
  border: 1px solid rgba(226, 208, 184, 0.2);
  border-radius: 6px;
  transition: all 0.2s;
  width: fit-content;
}

.contact-link:hover {
  border-color: rgba(226, 208, 184, 0.55);
  background: rgba(226, 208, 184, 0.06);
  transform: translateY(-1px);
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-card-body {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
  line-height: 1.6;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.contact-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.contact-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--stone-light);
  font-size: 0.8rem;
}

.contact-response {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Turnstile CAPTCHA ─────────────────────────────────────────── */
.turnstile-wrap {
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.turnstile-error {
  font-size: 0.82rem;
  color: #f87171;
  margin-top: 6px;
  min-height: 1.2em;
}

/* ── Contact Form & Call Section ───────────────────────────────── */
.contact-call-heading {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-top: 36px;
  margin-bottom: 4px;
}

.contact-person {
  font-weight: 600;
  color: var(--white);
  margin-right: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-input::placeholder { color: rgba(255, 255, 255, 0.25); }

.form-input:focus {
  border-color: rgba(168, 119, 75, 0.6);
  background: rgba(255, 255, 255, 0.07);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-submit {
  margin-top: 4px;
  padding: 14px 28px;
  background: var(--rust);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.contact-submit:hover:not(:disabled) {
  background: var(--rust-dark);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form-success {
  font-size: 1rem;
  color: var(--sand);
  text-align: center;
  padding: 40px 20px;
}

/* ── HOA Teaser ────────────────────────────────────────────────── */
.hoa-teaser-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 40px;
  max-width: 480px;
}

.hoa-teaser-stat {
  text-align: center;
  padding: 0 40px;
}

.hoa-teaser-val {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--sand);
  line-height: 1.1;
}

.hoa-teaser-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 5px;
}

.hoa-teaser-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.hoa-teaser-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background: #100805;
  text-align: center;
  padding: 56px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.footer-sub {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.18);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tract-summary { padding: 24px 20px; }
  .tract-summary-stat { padding: 0 28px; }
}

/* ── Status Badges ─────────────────────────────────────────────── */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-available {
  background: rgba(110, 125, 98, 0.12);
  color: var(--sage);
  border: 1px solid rgba(110, 125, 98, 0.28);
}

.status-pending {
  background: rgba(168, 119, 75, 0.12);
  color: var(--rust);
  border: 1px solid rgba(168, 119, 75, 0.28);
}

.status-sold {
  background: rgba(139, 115, 85, 0.1);
  color: var(--stone);
  border: 1px solid var(--border);
}

.tract-table tbody tr.t-sold { opacity: 0.52; }
.tract-table tbody tr.t-sold:hover { opacity: 0.7; cursor: default; }
.tract-table tbody tr.t-sold .t-price { text-decoration: line-through; color: var(--stone) !important; }
.tract-table tbody tr.t-pending .t-price { color: var(--rust) !important; }

.tract-loading-cell,
.tract-error-cell {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

/* ── Clickable Tract Rows ───────────────────────────────────────── */
.tract-row { cursor: pointer; }
.tract-row:hover td { background: rgba(168, 119, 75, 0.08) !important; }
.tract-row .t-ppa::after {
  content: ' →';
  opacity: 0;
  transition: opacity 0.15s;
  color: var(--rust);
}
.tract-row:hover .t-ppa::after { opacity: 1; }

@media (max-width: 900px) {
  .intro-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }


  .story-layout,
  .community-layout,
  .location-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .location-map-wrap {
    min-height: 320px;
  }

  .hero-stats {
    padding: 20px 24px;
  }

  .hero-stat { padding: 0 28px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(16, 8, 5, 0.97);
    flex-direction: column;
    padding: 16px 24px 28px;
    gap: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 0.88rem; }

  .community-callouts {
    grid-template-columns: 1fr;
  }

  .tract-summary {
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px;
  }

  .tract-summary-divider { display: none; }
  .tract-summary-stat { padding: 8px 20px; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-stat-divider { display: none; }
  .hero-stat { padding: 8px 20px; }

  .location-distances {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 300px; }

  .tract-table { min-width: 0; font-size: 0.85rem; }
  .tract-table thead th:last-child,
  .tract-table td:last-child { display: none; }
  .tract-table thead th,
  .tract-table td { padding: 10px 10px; }
}

.form-success-msg {
  color: #a8d5a2;
  font-size: 1.05rem;
  text-align: center;
  padding: 32px 0;
}
