/* =========================================================
   ZENDKO — Editorial Design System
   Palette: Cream + Soft Sage
   Type: Cormorant Garamond (display) + Manrope (text)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,400&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  /* Palette — Cream + Sage */
  --bg: #F5F0E1;              /* primary cream — warm, soft, slightly golden */
  --bg-alt: #EAE3D0;          /* deeper cream for alternating sections */
  --bg-sage: #D8DDC9;          /* very soft sage tint, used sparingly for accent backgrounds */
  --bg-dark: #2F3D32;          /* deep forest sage — replaces near-black for the dark band */
  --ink: #28332B;              /* warm dark forest — primary text */
  --ink-soft: #5C6759;         /* muted warm gray-green */
  --ink-mute: #8B947F;         /* light sage-gray for kickers and meta */
  --rule: rgba(40, 51, 43, 0.12);
  --rule-strong: rgba(40, 51, 43, 0.22);
  --accent: #6B7E5C;           /* mid sage — used for buttons hover, links */
  --accent-soft: #A8B498;      /* soft sage for highlights */
  --on-dark: #F5F0E1;          /* cream on dark sage */
  --on-dark-soft: #C8CFB8;     /* soft sage on dark for paragraphs */
  --on-dark-mute: #8B947F;     /* muted sage on dark */
  --on-dark-accent: #C8D9A6;   /* highlight on dark — use for highlighted stat */

  /* Type */
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Layout */
  --max: 1280px;
  --gutter: 32px;
  --section-y: 120px;
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-y: 72px;
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Typography */
.serif { font-family: var(--serif); font-weight: 400; }
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.kicker-light { color: var(--on-dark-mute); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(46px, 6.5vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; }
h4 { font-size: 22px; line-height: 1.2; }

p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
p.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink); max-width: 60ch; }

em { font-family: var(--serif); font-style: italic; font-weight: 400; }

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

.section { padding: var(--section-y) 0; }
.section-tight { padding: 80px 0; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 0.5px solid var(--rule);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 11px 22px;
  border-radius: 100px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--on-dark);
}
.btn-primary:hover { background: var(--accent); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }
.btn-ghost { padding: 8px 0; font-size: 13px; color: var(--ink-soft); border-bottom: 0.5px solid var(--rule); border-radius: 0; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
}

@media (max-width: 880px) {
  .nav-links, .nav .btn-outline { display: none; }
  .mobile-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px var(--gutter);
    gap: 20px;
    border-bottom: 0.5px solid var(--rule);
  }
}

/* =========================================================
   HERO (Homepage)
   ========================================================= */
.hero {
  padding: 80px 0 0;
}
.hero-text { max-width: 780px; margin-bottom: 56px; }
.hero h1 { margin: 28px 0 28px; }
.hero p.lede { margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  overflow: hidden;
  border-radius: 4px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C9BFA8 0%, #8B7E6A 100%);
  color: var(--on-dark);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 0.5px solid var(--rule);
}
.hero-meta-item .label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.hero-meta-item .value { font-family: var(--serif); font-size: 18px; color: var(--ink); }

@media (max-width: 768px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* =========================================================
   STORY / EDITORIAL TWO-COLUMN
   ========================================================= */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.editorial .kicker { margin-bottom: 16px; }
.editorial p { margin-bottom: 18px; }
.editorial p:last-child { margin-bottom: 0; }
.editorial h2 { margin-bottom: 0; }

@media (max-width: 880px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   FEATURED PROJECT (large card)
   ========================================================= */
.featured-project {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.featured-project .image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #B5A98E 0%, #6B5D45 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.featured-project .image img { width: 100%; height: 100%; object-fit: cover; }

.featured-project .content .kicker { margin-bottom: 16px; }
.featured-project .content h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 20px; }
.featured-project .content p { margin-bottom: 28px; max-width: 50ch; }

.specs-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 32px;
  margin: 28px 0 36px;
  padding: 24px 0;
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  justify-content: start;
}
.spec .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.spec .value { font-family: var(--serif); font-size: 22px; color: var(--ink); }

@media (max-width: 880px) {
  .featured-project { grid-template-columns: 1fr; gap: 32px; }
  .specs-row { grid-template-columns: repeat(2, auto); gap: 20px; }
}

/* =========================================================
   PROJECT GRID
   ========================================================= */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 48px;
  gap: 24px;
}
.section-head .kicker { margin-bottom: 12px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.project-card .image {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-alt);
}
.project-card .image > div, .project-card .image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .image > div, .project-card:hover .image img {
  transform: scale(1.04);
}
.project-card h3 { font-size: 22px; margin-bottom: 6px; }
.project-card .meta { font-size: 13px; color: var(--ink-mute); letter-spacing: 0.04em; }

@media (max-width: 880px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   STATS / DARK BAND
   ========================================================= */
.dark-band {
  background: var(--bg-dark);
  color: var(--on-dark);
}
.dark-band h2, .dark-band h3 { color: var(--on-dark); }
.dark-band p { color: var(--on-dark-soft); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 72px;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--on-dark);
  margin-bottom: 12px;
}
.stat .num small { font-size: 0.45em; color: var(--on-dark-mute); margin-left: 4px; }
.stat .desc { font-size: 14px; color: var(--on-dark-soft); line-height: 1.5; max-width: 28ch; }

.pull-quote {
  max-width: 720px;
  padding-top: 56px;
  border-top: 0.5px solid rgba(247, 244, 238, 0.15);
}
.pull-quote .kicker { margin-bottom: 20px; }
.pull-quote .q {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.4;
  color: var(--on-dark);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 300;
}
.pull-quote .attr {
  font-size: 13px;
  color: var(--on-dark-mute);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .stats { grid-template-columns: 1fr; gap: 36px; margin-bottom: 48px; }
}

/* =========================================================
   REALTOR CTA
   ========================================================= */
.realtor-band {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.realtor-band .image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #C9BFA8 0%, #8B7E6A 100%);
  border-radius: 4px;
}
.realtor-band .content h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }

@media (max-width: 880px) {
  .realtor-band { grid-template-columns: 1fr; gap: 32px; }
  .realtor-band .image { aspect-ratio: 16 / 9; }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--bg);
  border-top: 0.5px solid var(--rule);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid .col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 16px; font-weight: 500; }
.footer-grid .col ul { list-style: none; }
.footer-grid .col li { margin-bottom: 10px; font-size: 14px; color: var(--ink-soft); }
.footer-grid .col li a:hover { color: var(--ink); }
.footer-grid .col p { font-size: 14px; max-width: 320px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 0.5px solid var(--rule);
  font-size: 12px;
  color: var(--ink-mute);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: start; }
}

/* =========================================================
   PROJECT DETAIL PAGE (Willow Run)
   ========================================================= */
.detail-hero {
  padding: 64px 0 32px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 32px;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 8px; }

.detail-title-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.detail-title-row h1 { font-size: clamp(48px, 7vw, 88px); }
.detail-title-row .kicker { margin-bottom: 16px; }
.detail-title-row .meta-stack { text-align: right; }

@media (max-width: 768px) {
  .detail-title-row { grid-template-columns: 1fr; gap: 24px; }
  .detail-title-row .meta-stack { text-align: left; }
}

.detail-hero-image {
  aspect-ratio: 21 / 9;
  background: linear-gradient(135deg, #B5A98E 0%, #6B5D45 100%);
  border-radius: 4px;
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .detail-hero-image { aspect-ratio: 4 / 3; }
}

/* Lots grid */
.lots-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}
.lots-table th, .lots-table td {
  text-align: left;
  padding: 18px 16px;
  border-bottom: 0.5px solid var(--rule);
  font-size: 14px;
}
.lots-table th {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  border-bottom: 0.5px solid var(--rule-strong);
}
.lots-table td.lot-num { font-family: var(--serif); font-size: 18px; }
.lots-table td.price { font-family: var(--serif); font-size: 18px; }
.lots-table .status {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status.available { background: rgba(99, 153, 34, 0.12); color: #3B6D11; }
.status.reserved { background: rgba(186, 117, 23, 0.12); color: #854F0B; }
.status.sold { background: rgba(140, 134, 128, 0.18); color: var(--ink-soft); }

/* Specs accordion-style */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--rule);
}
.spec-group {
  padding: 32px 0;
  border-bottom: 0.5px solid var(--rule);
  padding-right: 32px;
}
.spec-group:nth-child(2n) { padding-left: 32px; padding-right: 0; border-left: 0.5px solid var(--rule); }
.spec-group h4 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 16px;
}
.spec-group ul { list-style: none; }
.spec-group li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 6px 0;
  line-height: 1.5;
  position: relative;
  padding-left: 16px;
}
.spec-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-mute);
}

@media (max-width: 768px) {
  .specs-grid { grid-template-columns: 1fr; }
  .spec-group { padding: 24px 0 !important; border-left: none !important; }
}

/* Location callouts */
.location-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.location-point {
  padding: 24px;
  background: var(--bg-alt);
  border-radius: 4px;
}
.location-point .num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 8px;
}
.location-point .desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 768px) {
  .location-points { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.form-band {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.form-band .info p { margin-bottom: 18px; }
.form-band .info .contact-item {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 0.5px solid var(--rule);
}
.form-band .info .contact-item .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }
.form-band .info .contact-item .val { font-family: var(--serif); font-size: 20px; }

form .field { margin-bottom: 24px; }
form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
  font-weight: 500;
}
form input, form select, form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid var(--rule-strong);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
form input:focus, form select:focus, form textarea:focus {
  border-bottom-color: var(--ink);
}
form textarea { resize: vertical; min-height: 80px; }

form button[type="submit"] {
  margin-top: 8px;
}

@media (max-width: 880px) {
  .form-band { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
  padding: 80px 0 56px;
  max-width: 880px;
}
.about-hero h1 { margin: 24px 0; }
.about-hero p.lede { font-size: clamp(18px, 1.6vw, 22px); }

.about-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: 56px 0;
  border-top: 0.5px solid var(--rule);
  align-items: start;
}
.about-section h2 { font-size: clamp(28px, 3vw, 40px); }
.about-section p { margin-bottom: 18px; }

@media (max-width: 880px) {
  .about-section { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: fadeUp 0.8s ease-out backwards;
}
.reveal-1 { animation-delay: 0.1s; }
.reveal-2 { animation-delay: 0.25s; }
.reveal-3 { animation-delay: 0.4s; }
.reveal-4 { animation-delay: 0.55s; }

/* Image placeholder treatment */
.placeholder-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.7);
  z-index: 1;
}
