/*
Theme Name: Home Source Colorado
Theme URI: https://homesourcecolorado.com
Author: Home Source Colorado
Author URI: https://homesourcecolorado.com
Description: New construction and pre-construction homes across Colorado — communities, floor plans, and homebuilder resources.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: home-source-colorado
Tags: real-estate, new-construction, colorado, homebuilder, communities
*/

/* =============================================
   DESIGN TOKENS — Colorado Mountain Editorial
   ============================================= */
:root {
  /* Palette */
  --parchment:     #F5F0E6;
  --parchment-mid: #EDE5D4;
  --parchment-deep:#E0D5BE;
  --cream:         #FAF6EE;
  --spruce:        #2B4A3E;
  --spruce-mid:    #345A4C;
  --spruce-light:  #4F7E6B;
  --spruce-pale:   #E6EDE8;
  --copper:        #B85C3C;
  --copper-light:  #D47550;
  --copper-pale:   #F5E3DA;
  --slate:         #4A6680;
  --slate-light:   #6A86A0;
  --slate-pale:    #E8EEF3;
  --pine:          #6B8268;
  --pine-pale:     #EEF2ED;
  --ochre:         #C48A3B;
  --ochre-pale:    #F6EAD1;
  --ink:           #1F1F1A;
  --ink-mid:       #3A3A33;
  --ink-light:     #6A6860;
  --stone:         #8F8A7E;
  --stone-light:   #BDB8A8;
  --border:        #D8D0BE;
  --border-light:  #E8E0CE;
  --white:         #FFFFFF;

  /* Typography */
  --font-display: 'Libre Caslon Text', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;
  --font-ui:      'Inter', sans-serif;
  --font-accent:  'Libre Caslon Text', Georgia, serif;

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  all 0.3s var(--ease);
  --fast:        all 0.16s ease;

  /* Layout */
  --max-w:     1380px;
  --gutter:    clamp(1.25rem, 5vw, 5rem);
  --radius:    4px;
  --radius-lg: 10px;
  --radius-xl: 20px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--parchment);
  color: var(--ink-mid);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { color: var(--spruce); text-decoration: none; transition: var(--fast); }
a:hover { color: var(--spruce-mid); }
ul, ol { list-style: none; }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2.2rem); }
h4 { font-size: 1.2rem; font-weight: 500; }

.display-italic { font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 0.75rem;
}
.eyebrow--spruce { color: var(--spruce); }
.eyebrow--slate  { color: var(--slate); }
.eyebrow--stone  { color: var(--stone); }
.eyebrow--white  { color: rgba(255,255,255,0.65); }
.eyebrow--ochre  { color: var(--ochre); }

/* Editorial rule */
.rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--copper);
  margin: 1rem 0;
}
.rule--center { margin-left: auto; margin-right: auto; }
.rule--spruce { background: var(--spruce); }
.rule--white  { background: rgba(255,255,255,0.35); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.section     { padding: clamp(4rem, 8vw, 8rem) 0; }
.section--sm { padding: clamp(2.5rem, 5vw, 5rem) 0; }
.section--xs { padding: clamp(1.5rem, 3vw, 3rem) 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.82rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-spruce {
  background: var(--spruce);
  color: var(--white);
  border-color: var(--spruce);
}
.btn-spruce:hover {
  background: var(--spruce-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,74,62,0.3);
}
.btn-copper {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}
.btn-copper:hover {
  background: var(--copper-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184,92,60,0.3);
}
.btn-outline-spruce {
  background: transparent;
  color: var(--spruce);
  border-color: var(--spruce);
}
.btn-outline-spruce:hover {
  background: var(--spruce);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-copper {
  background: transparent;
  color: var(--copper);
  border-color: var(--copper);
}
.btn-outline-copper:hover {
  background: var(--copper);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
.btn-parchment {
  background: var(--parchment);
  color: var(--spruce);
  border-color: var(--parchment);
}
.btn-parchment:hover {
  background: var(--white);
  color: var(--spruce-mid);
  transform: translateY(-2px);
}
.btn-lg  { padding: 0.95rem 2.1rem; font-size: 0.82rem; }
.btn-sm  { padding: 0.5rem 1.1rem; font-size: 0.68rem; }
.btn-arrow::after { content: ' →'; display: inline-block; transition: transform 0.18s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* =============================================
   IMAGE PLACEHOLDERS — Mountain themed
   ============================================= */
.img-ph {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--parchment-mid) 0%, var(--parchment-deep) 100%);
  position: relative;
  overflow: hidden;
}
/* Topographic lines watermark */
.img-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(37deg, transparent 0, transparent 22px, rgba(43,74,62,0.04) 22px, rgba(43,74,62,0.04) 23px),
    repeating-linear-gradient(-37deg, transparent 0, transparent 28px, rgba(184,92,60,0.03) 28px, rgba(184,92,60,0.03) 29px);
}
.img-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 55% at 70% 30%, rgba(43,74,62,0.06) 0%, transparent 60%);
}
.img-ph-txt {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0.55;
  z-index: 1;
  text-align: center;
  padding: 1rem;
  line-height: 2;
}
.img-ph--spruce { background: linear-gradient(135deg, #1F3A2E 0%, #142820 100%); }
.img-ph--spruce .img-ph-txt { color: rgba(255,255,255,0.3); }
.img-ph--spruce::before {
  background-image:
    repeating-linear-gradient(37deg, transparent 0, transparent 22px, rgba(255,255,255,0.05) 22px, rgba(255,255,255,0.05) 23px),
    repeating-linear-gradient(-37deg, transparent 0, transparent 28px, rgba(184,92,60,0.06) 28px, rgba(184,92,60,0.06) 29px);
}
.img-ph--dark { background: linear-gradient(135deg, var(--ink) 0%, #0f0f0c 100%); }
.img-ph--dark .img-ph-txt { color: rgba(255,255,255,0.24); }

/* =============================================
   HEADER
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--parchment);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(245,240,230,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(31,31,26,0.07);
}

/* Topographic accent bar */
.header-topo {
  height: 3px;
  background: linear-gradient(to right, var(--spruce) 0%, var(--copper) 50%, var(--slate) 100%);
}

/* Top info bar */
.header-topbar {
  background: var(--spruce);
  padding: 0.4rem 0;
}
.header-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
}
.header-topbar a { color: rgba(255,255,255,0.92); }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.logo-mark {
  width: 46px; height: 46px;
  background: var(--spruce);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  transition: var(--transition);
  position: relative;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  pointer-events: none;
}
.site-logo:hover .logo-mark { background: var(--spruce-mid); }
.logo-text {}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.05;
  display: block;
}
.logo-name em { font-style: italic; color: var(--copper); }
.logo-tagline {
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-top: 3px;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.18s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--copper);
  transition: width 0.22s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--copper); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--spruce);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  transform: translateX(-100%);
  transition: transform 0.42s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--parchment);
  font-style: italic;
}
.mobile-nav a:hover { color: var(--copper-light); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: clamp(3rem, 6vw, 6rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(31,31,26,0.2) 0%, rgba(31,31,26,0.55) 60%, rgba(31,31,26,0.9) 100%);
  z-index: 1;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img .img-ph { height: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 380px;
  gap: 4rem;
  align-items: flex-end;
}

.hero-left {}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper-light);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
.hero-eyebrow-text {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  color: var(--white);
  line-height: 1.04;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
}
.hero-title em { font-style: italic; color: var(--copper-light); }

.hero-sub {
  font-family: var(--font-ui);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero right panel - Find Your Home */
.hero-right {}
.hero-finder {
  background: rgba(245,240,230,0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.finder-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--spruce);
  margin-bottom: 0.3rem;
}
.finder-sub {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem;
}
.finder-field { margin-bottom: 1rem; }
.finder-field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 0.35rem;
}
.finder-field select,
.finder-field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.finder-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232B4A3E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.3rem;
}
.finder-field select:focus,
.finder-field input:focus { border-color: var(--spruce); box-shadow: 0 0 0 3px rgba(43,74,62,0.1); }

/* =============================================
   STATS STRIP — Editorial
   ============================================= */
.stats-strip {
  background: var(--spruce);
  border-top: 3px solid var(--copper);
  position: relative;
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat-cell {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-cell:last-child { border-right: none; }
.stat-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--copper-light);
  line-height: 1;
  margin-bottom: 0.35rem;
  display: block;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}

/* =============================================
   COMMUNITY CARDS
   ============================================= */
.community-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.community-card:hover {
  box-shadow: 0 14px 40px rgba(31,31,26,0.1);
  transform: translateY(-5px);
  border-color: transparent;
}
.community-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--parchment-mid);
  position: relative;
  flex-shrink: 0;
}
.community-card__img .img-ph { transition: transform 0.55s var(--ease); }
.community-card:hover .community-card__img .img-ph { transform: scale(1.05); }

/* Mountain range silhouette accent */
.mountain-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35px;
  background:
    linear-gradient(to bottom, transparent, rgba(31,31,26,0.4)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 L80 45 L160 70 L240 30 L340 55 L420 20 L520 50 L620 25 L720 60 L820 35 L920 55 L1000 40 L1080 65 L1200 50 L1200 100 Z' fill='rgba(31,31,26,0.6)'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Status ribbon */
.comm-ribbon {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  z-index: 2;
}
.ribbon-now-selling   { background: var(--spruce); color: var(--white); }
.ribbon-grand-opening { background: var(--copper); color: var(--white); }
.ribbon-coming-soon   { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.ribbon-final-phase   { background: var(--ochre); color: var(--ink); }
.ribbon-sold-out      { background: var(--stone); color: var(--white); }

.comm-price-tag {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: var(--parchment);
  color: var(--spruce);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  z-index: 2;
  border: 1px solid var(--border);
}

.community-card__body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.comm-region {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.comm-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.4rem;
  transition: color 0.18s;
  line-height: 1.15;
}
.comm-name em { font-style: italic; color: var(--copper); }
.community-card:hover .comm-name { color: var(--spruce-mid); }
.comm-tagline { font-family: var(--font-body); font-size: 0.88rem; color: var(--ink-light); line-height: 1.65; margin-bottom: 1.1rem; }

.comm-specs {
  display: flex;
  gap: 1.1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.comm-spec {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.comm-spec-label { font-size: 0.62rem; color: var(--stone); font-weight: 500; }

.community-card__footer {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* =============================================
   FLOOR PLAN CARDS
   ============================================= */
.plan-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.plan-card:hover { box-shadow: 0 10px 32px rgba(31,31,26,0.08); transform: translateY(-3px); border-color: transparent; }

.plan-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--parchment-mid);
  position: relative;
}
.plan-card__img .img-ph { transition: transform 0.5s var(--ease); }
.plan-card:hover .plan-card__img .img-ph { transform: scale(1.05); }

.plan-flag {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  background: var(--copper);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem 0.55rem;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.plan-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.plan-series {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 0.3rem;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.2rem;
  transition: color 0.18s;
}
.plan-card:hover .plan-name { color: var(--spruce-mid); }
.plan-name em { font-style: italic; color: var(--copper); }

.plan-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--spruce);
  margin-bottom: 1rem;
  display: block;
}

.plan-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.plan-spec {
  text-align: center;
  padding: 0.65rem 0.3rem;
  background: var(--parchment);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.plan-spec-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--spruce);
  line-height: 1;
  display: block;
}
.plan-spec-label {
  font-family: var(--font-ui);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-top: 0.2rem;
}

.plan-highlights {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plan-footer {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

/* =============================================
   SINGLE COMMUNITY HERO
   ============================================= */
.community-hero {
  background: var(--ink);
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
}
.community-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31,31,26,0.25) 0%, rgba(31,31,26,0.7) 60%, rgba(31,31,26,0.95) 100%);
  z-index: 1;
}
.community-hero-content { position: relative; z-index: 2; }

.spec-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.spec-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 0.4rem 0.95rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.spec-pill--copper { background: rgba(184,92,60,0.25); border-color: rgba(184,92,60,0.4); }
.spec-pill--spruce { background: rgba(79,126,107,0.28); border-color: rgba(79,126,107,0.45); }

/* Info bar below hero */
.community-info-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.community-info-bar .container {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.info-cell {
  padding: 1.3rem 1.75rem;
  border-right: 1px solid var(--border-light);
  flex-shrink: 0;
  min-width: 180px;
}
.info-cell:last-child { border-right: none; }
.info-label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.3rem;
  display: block;
}
.info-val {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-mid);
}

/* =============================================
   AMENITIES GRID
   ============================================= */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.amenity-card {
  padding: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
}
.amenity-card:hover {
  box-shadow: 0 8px 24px rgba(31,31,26,0.08);
  transform: translateY(-3px);
  border-color: var(--spruce);
  background: var(--white);
}
.amenity-icon { font-size: 1.8rem; margin-bottom: 0.75rem; display: block; }
.amenity-name { font-family: var(--font-display); font-size: 1rem; font-weight: 400; color: var(--ink); margin-bottom: 0.25rem; }
.amenity-desc { font-size: 0.78rem; color: var(--stone); line-height: 1.55; margin: 0; }

/* Site plan box */
.site-plan {
  background: var(--parchment-mid);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.site-plan-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}
.site-plan-icon { font-size: 2.5rem; }
.site-plan-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* =============================================
   EDITORIAL / BLOG CARDS
   ============================================= */
.blog-section { background: var(--cream); }
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: 0 10px 32px rgba(31,31,26,0.08); transform: translateY(-4px); border-color: transparent; }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--parchment-mid); }
.blog-card__img .img-ph { transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-card__img .img-ph { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.5rem; display: block; }
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  flex: 1;
  transition: color 0.18s;
}
.blog-card:hover .blog-card__title { color: var(--spruce-mid); }
.blog-card__excerpt { font-size: 0.86rem; color: var(--ink-light); line-height: 1.65; margin-bottom: 0.9rem; }
.blog-card__meta {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--stone);
  border-top: 1px solid var(--border-light);
  padding-top: 0.7rem;
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--stone-light); }

/* =============================================
   WHY BUILD NEW SECTION
   ============================================= */
.why-build-section { background: var(--parchment); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--spruce);
}
.why-card:nth-child(2)::before { background: var(--copper); }
.why-card:nth-child(3)::before { background: var(--slate); }
.why-card:nth-child(4)::before { background: var(--pine); }
.why-card:nth-child(5)::before { background: var(--ochre); }
.why-card:nth-child(6)::before { background: var(--spruce); }
.why-card:hover { box-shadow: 0 10px 32px rgba(31,31,26,0.08); transform: translateY(-3px); border-color: transparent; }
.why-icon {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
  display: block;
}
.why-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.why-desc { font-size: 0.87rem; color: var(--ink-light); line-height: 1.68; margin: 0; }

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-section { background: var(--spruce); color: var(--parchment); position: relative; overflow: hidden; }
.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(30deg, transparent 0, transparent 50px, rgba(255,255,255,0.02) 50px, rgba(255,255,255,0.02) 51px);
}
.process-section .container { position: relative; z-index: 1; }
.process-section h2 { color: var(--parchment); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 3rem;
}
.process-step {
  padding: 2rem 1.5rem;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.process-step:last-child { border-right: none; }
.process-step::after {
  content: '→';
  position: absolute;
  right: -0.6rem; top: 50%;
  transform: translateY(-50%);
  color: var(--copper);
  font-size: 1rem;
  font-weight: 700;
  z-index: 2;
  background: var(--spruce);
  padding: 0 4px;
}
.process-step:last-child::after { display: none; }
.ps-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  color: var(--copper-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
.ps-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.ps-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   REGION FILTER BAR
   ============================================= */
.region-filter {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.region-filter .container {
  display: flex;
  gap: 0.55rem;
  white-space: nowrap;
}
.region-pill {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  color: var(--ink-light);
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--fast);
}
.region-pill.active { background: var(--spruce); color: var(--white); border-color: var(--spruce); }
.region-pill:hover:not(.active) { border-color: var(--spruce); color: var(--spruce); }

/* =============================================
   PAGE HERO (interior)
   ============================================= */
.page-hero {
  background: var(--spruce);
  padding: clamp(6rem, 12vw, 11rem) 0 clamp(2.5rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
  color: var(--parchment);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(30deg, transparent 0, transparent 45px, rgba(255,255,255,0.03) 45px, rgba(255,255,255,0.03) 46px);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--copper) 0%, var(--copper-light) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.65); max-width: 620px; font-size: 1.02rem; margin: 0; }
.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  display: block;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--copper-light); }
.breadcrumb span { margin: 0 0.45rem; opacity: 0.3; }

/* =============================================
   ABOUT / TEAM
   ============================================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.team-card:hover { box-shadow: 0 8px 24px rgba(31,31,26,0.08); transform: translateY(-3px); border-color: transparent; }
.team-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--parchment-deep);
}
.team-card-img .img-ph { transition: transform 0.5s var(--ease); }
.team-card:hover .team-card-img .img-ph { transform: scale(1.05); }
.team-card-body { padding: 1.5rem; }
.team-card-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; color: var(--ink); margin-bottom: 0.15rem; }
.team-card-name em { font-style: italic; color: var(--copper); }
.team-card-role {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 0.75rem;
}
.team-card-bio { font-size: 0.85rem; color: var(--ink-light); line-height: 1.65; margin: 0; }

/* =============================================
   CONTACT FORM
   ============================================= */
.inquiry-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(31,31,26,0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--parchment);
  color: var(--ink);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--spruce);
  box-shadow: 0 0 0 3px rgba(43,74,62,0.1);
  background: var(--white);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232B4A3E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: var(--parchment);
  padding-right: 2.5rem;
}
.form-success {
  background: var(--spruce-pale);
  border: 1.5px solid var(--spruce);
  color: var(--spruce-mid);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: var(--ink); padding: 5rem 0 0; position: relative; }
#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--spruce) 0%, var(--copper) 50%, var(--slate) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-name { color: rgba(255,255,255,0.9); }
.footer-brand .logo-name em { color: var(--copper-light); }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.32); }
.footer-brand p { font-size: 0.87rem; color: rgba(255,255,255,0.42); line-height: 1.75; margin-top: 1rem; max-width: 300px; }
.footer-col h5 {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.87rem; color: rgba(255,255,255,0.42); transition: color 0.18s; }
.footer-col a:hover { color: var(--copper-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.24); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.24); }
.footer-bottom a:hover { color: var(--copper-light); }
.footer-disc { font-size: 0.64rem; color: rgba(255,255,255,0.2); }

/* =============================================
   ANIMATIONS & HELPERS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .stats-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .stat-cell:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .amenities-grid, .why-grid, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-strip-inner { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .plan-specs { grid-template-columns: repeat(2, 1fr); }
}
