/* Green Grove — 3926 Coho Circle
   Palette and type carried over from the print flyers so the site and the
   PDFs read as one piece. */

:root {
  --cream:      #f7f3eb;
  --cream-warm: #ece9dd;
  --panel:      #e8eadf;
  --green-dark: #244c31;
  --green:      #285335;
  --green-mid:  #3e6c45;
  --green-pale: #a8c8a8;
  --gold:       #f4d9a4;
  --ink:        #343d34;
  --ink-soft:   #5d6657;
  --rule:       #c9c6b9;
  --rule-soft:  #ddd8ca;

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --measure: 34rem;   /* comfortable reading column */
  --wide: 68rem;      /* page max width */
  --gutter: clamp(1.15rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }
a:hover { color: var(--green-mid); }

.skip {
  position: absolute; left: -9999px;
  background: var(--green-dark); color: #fff;
  padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

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

/* ---------- shared layout ---------- */

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }

section { scroll-margin-top: 4.5rem; }

h1, h2, h3, .display {
  font-family: var(--serif);
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .5rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); margin-top: 0; }
h3 { font-size: 1.2rem; color: var(--green); }

p { margin: 0 0 1rem; max-width: var(--measure); }
.lede { font-size: 1.2rem; line-height: 1.5; color: #2c352c; }

.eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin: 0 0 .55rem;
}
.eyebrow.on-dark { color: var(--gold); }

/* ---------- header / nav ---------- */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 235, .95);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
.masthead .wrap {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  min-height: 3.5rem;
}
.brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--green-dark);
  text-decoration: none;
  line-height: 1.15;
  margin-right: auto;
}
.brand span { display: block; font-family: var(--sans); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-mid); }
.nav { display: flex; gap: clamp(.6rem, 2vw, 1.35rem); flex-wrap: wrap; align-items: center; }
/* On phones the five links do not fit beside the brand. They used to sit in a
   horizontal scroller with the scrollbar hidden, which silently cut off
   "Questions" and "Visit" — the two pages a buyer most needs. Give the nav its
   own full-width row underneath the brand instead, and let it wrap again if
   even that is too narrow, so every link is always visible. */
@media (max-width: 34rem) {
  .masthead .wrap {
    flex-wrap: wrap; gap: .3rem .75rem;
    min-height: 0; padding-top: .5rem; padding-bottom: .5rem;
  }
  .brand { font-size: .9rem; white-space: nowrap; margin-right: 0; }
  .brand span { font-size: .6rem; letter-spacing: .08em; }
  .nav { flex-basis: 100%; flex-wrap: wrap; gap: .3rem .85rem; }
  /* two nav rows are unavoidable at 320px, so keep them tight: this header is
     sticky and every pixel here is taken off the top of a phone screen. */
  .nav a { font-size: .82rem; white-space: nowrap; line-height: 1.25; padding: .15rem 0; }
  /* ...and once it needs two rows it is too tall to camp on a phone screen,
     so let it scroll away here. It is fully visible at the top of the page. */
  .masthead { position: static; }
  /* the 4.5rem offset only exists to clear the sticky header; without it an
     anchor jump would land with a dead band above the heading. */
  section { scroll-margin-top: 1rem; }
}
.nav a {
  font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink);
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--green-pale); }
.nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }

/* ---------- hero ---------- */

.hero { position: relative; background: var(--green-dark); }
.hero img {
  width: 100%;
  height: clamp(20rem, 58vh, 34rem);
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,42,26,.82) 0%, rgba(20,42,26,.62) 42%, rgba(20,42,26,.18) 75%);
  display: flex; align-items: center;
}
@media (max-width: 52rem) {
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(20,42,26,.58) 0%, rgba(20,42,26,.78) 55%, rgba(20,42,26,.88) 100%);
  }
  .hero img { height: clamp(24rem, 72vh, 32rem); }
}
.hero-overlay .wrap { width: 100%; }
/* The <br>s set the three lines. No width cap and no re-balancing here, or the
   longest statement ("Share a community.", 18 chars) breaks across two lines. */
.hero h1 { color: #fffaf0; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(1.2rem, calc(7.4vw - 3px), 3rem);
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
  max-width: none; text-wrap: nowrap; }
.hero p { color: #f1ede2; max-width: 32rem; font-size: clamp(1rem, 1.9vw, 1.15rem);
  text-shadow: 0 1px 10px rgba(0,0,0,.5); margin-top: 1rem; }

.page-hero { padding: clamp(2.4rem, 6vw, 4rem) 0 1.5rem; border-bottom: 2px solid var(--green); }
.page-hero .lede { max-width: 42rem; }

/* ---------- price bar ---------- */

.pricebar {
  background: var(--green-dark);
  color: #eaf1e8;
}
.pricebar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding-top: 1.05rem; padding-bottom: 1.05rem;
}
.price {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  font-weight: 700; color: #fff; line-height: 1;
}
.pricebar .addr { font-size: .95rem; line-height: 1.35; color: #cfe0cd; }
.pricebar .addr b { color: #fff; display: block; font-size: 1.02rem; }
.pricebar .spacer { margin-left: auto; }

.btn {
  display: inline-block;
  background: var(--gold); color: #2a2110;
  font-weight: 800; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .72rem 1.2rem; border-radius: .3rem; text-decoration: none;
  border: 2px solid var(--gold);
}
.btn:hover { background: #ffe9bd; border-color: #ffe9bd; color: #2a2110; }
.btn.ghost { background: transparent; color: #f4f0e6; border-color: rgba(244,240,230,.55); }
.btn.ghost:hover { background: rgba(244,240,230,.12); color: #fff; border-color: #f4f0e6; }
.btn.solid { background: var(--green); color: #fff; border-color: var(--green); }
.btn.solid:hover { background: var(--green-mid); border-color: var(--green-mid); color: #fff; }

/* ---------- generic blocks ---------- */

.band { padding: clamp(2.4rem, 6vw, 4rem) 0; }
.band + .band { border-top: 1px solid var(--rule-soft); }
.band.tint { background: var(--cream-warm); border-top: 1px solid var(--rule-soft); }
.band.dark { background: var(--green-dark); color: #e6ece4; border-top: 0; }
.band.dark h2, .band.dark h3 { color: #fff; }
.band.dark p { color: #d5e0d3; }
.band.dark a { color: var(--gold); }
/* ...but not the buttons: the generic dark-band link colour was painting gold
   text onto the gold button. Restate each button's own colour here. */
.band.dark a.btn { color: #2a2110; }
.band.dark a.btn:hover { color: #2a2110; }
.band.dark a.btn.ghost { color: #f4f0e6; }
.band.dark a.btn.ghost:hover { color: #fff; }
.band.dark a.btn.solid { color: #fff; }

/* Mid-page dark bands sit as an inset card on the cream page, so a full-bleed
   slab of --green-dark only ever means "you are at the bottom" (closing CTA +
   footer). Full-bleed mid-page, it reads as the end of the page on tall
   screens and people stop scrolling. */
.band.dark.inset { background: transparent; }
.band.dark.inset .dark-panel {
  background: var(--green-dark);
  border-radius: .6rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.split {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 52rem) { .split.text-first { grid-template-columns: 1.05fr .95fr; } }

.cols { columns: 1; }
@media (min-width: 52rem) { .cols { column-count: 2; column-gap: clamp(1.8rem, 4vw, 3rem); } }
.cols > section { break-inside: avoid; margin-bottom: 1.8rem; }

/* ---------- figures ---------- */

figure { margin: 0 0 1.35rem; }
figure img { border-radius: .35rem; box-shadow: 0 2px 14px rgba(0,0,0,.14); width: 100%; }
figcaption {
  margin-top: .45rem; font-size: .82rem; font-style: italic;
  color: var(--ink-soft); line-height: 1.35;
}

.grid-photos {
  display: grid; gap: clamp(.7rem, 2vw, 1.15rem);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.grid-photos figure { margin: 0; }
.grid-photos img { aspect-ratio: 4 / 3; object-fit: cover; }
.grid-photos img.portrait { aspect-ratio: 3 / 4; }
/* Mixed portrait/landscape sets: one aspect for all of them, so the captions
   sit on the same line instead of stepping down the row. */
.grid-photos.uniform img, .grid-photos.uniform img.portrait { aspect-ratio: 1 / 1; }

/* Full-width lead image: cap the height so a 4:3 source doesn't fill the screen. */
figure.lead img { aspect-ratio: 16 / 7; object-fit: cover; object-position: center 55%; }
@media (max-width: 52rem) { figure.lead img { aspect-ratio: 4 / 3; } }

/* ---------- fact strip ---------- */

.facts {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}
.fact {
  background: var(--panel); border-radius: .3rem;
  padding: .85rem .7rem; text-align: center;
}
.band.dark .fact { background: rgba(255,255,255,.08); }
.fact .n {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  color: var(--green); line-height: 1;
}
.band.dark .fact .n { color: var(--gold); }
.fact .l {
  margin-top: .3rem; font-size: .7rem; line-height: 1.25;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 700;
  color: var(--ink-soft);
}
.band.dark .fact .l { color: #bccdba; }

/* ---------- spec list ---------- */

.specs { list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.specs li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem .2rem; border-bottom: 1px solid var(--rule-soft);
  font-size: .95rem;
}
.specs b { color: var(--green-dark); font-weight: 700; text-align: right; }

ul.ticks { list-style: none; margin: 0 0 1rem; padding: 0; max-width: var(--measure); }
ul.ticks li { padding-left: 1.35rem; position: relative; margin-bottom: .45rem; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--green-mid);
}

/* ---------- callout / pull ---------- */

.callout {
  background: var(--panel); border-left: .3rem solid var(--green-mid);
  border-radius: .25rem; padding: 1rem 1.15rem; margin: 1.35rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--green); }
.band.dark .callout { background: rgba(255,255,255,.07); border-left-color: var(--green-pale); }

blockquote.pull {
  margin: 1.5rem 0; padding: 0 0 0 1.2rem;
  border-left: .2rem solid var(--green-pale);
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.4;
  color: var(--green-dark); font-style: italic;
}
blockquote.pull cite { display: block; margin-top: .5rem; font: 600 .82rem/1.4 var(--sans);
  font-style: normal; color: var(--ink-soft); }

.slack {
  background: #fff; border: 1px solid var(--rule-soft); border-radius: .35rem;
  padding: .9rem 1rem; margin: 1rem 0 1.35rem; max-width: var(--measure);
}
.slack .ch {
  font: 800 .82rem/1 var(--sans); letter-spacing: .05em;
  color: var(--green-mid); margin-bottom: .6rem;
}
.slack p { font-size: .95rem; margin: 0 0 .6rem; color: #454c44; }
.slack p:last-child { margin: 0; }

/* ---------- circles / cards ---------- */

.cards { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  background: var(--panel); border-radius: .35rem; padding: 1rem 1.1rem;
}
.band.dark .card { background: rgba(255,255,255,.08); }
.card h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.card p { font-size: .95rem; margin: 0; max-width: none; }
.card .abbr { font-family: var(--serif); font-size: 1.1rem; color: var(--green); font-weight: 700; }

/* ---------- FAQ ---------- */

.qa { border-top: 1px solid var(--rule-soft); max-width: 46rem; }
.qa details { border-bottom: 1px solid var(--rule-soft); }
.qa summary {
  cursor: pointer; list-style: none; padding: 1rem .2rem;
  font-family: var(--serif); font-size: 1.12rem; font-weight: 700;
  color: var(--green-dark); display: flex; gap: .8rem; align-items: baseline;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; margin-left: auto; font: 700 1.3rem/1 var(--sans); color: var(--green-mid);
}
.qa details[open] summary::after { content: "\2212"; }
.qa summary:hover { color: var(--green-mid); }
.qa .a { padding: 0 .2rem 1.1rem; }
.qa .a p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.sitefoot {
  background: var(--green-dark); color: #d3ded1;
  padding: clamp(2.2rem, 5vw, 3.2rem) 0 2rem;
}
.sitefoot .foot-grid {
  display: grid; gap: 1.8rem; grid-template-columns: 1fr;
}
@media (min-width: 46rem) { .sitefoot .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.sitefoot h2 { color: #fff; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.sitefoot h3 {
  color: var(--green-pale); font-family: var(--sans); font-size: .76rem;
  letter-spacing: .13em; text-transform: uppercase; font-weight: 800; margin-bottom: .6rem;
}
.sitefoot p { color: #cbd8c9; font-size: .95rem; }
.sitefoot a { color: #fff; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { margin-bottom: .4rem; font-size: .95rem; }
.contact-line { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.legal {
  margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.16);
  font-size: .8rem; color: #a9bda8; max-width: none;
}
.legal a { color: #cfe0cd; }

/* ---------- misc ---------- */

.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }
.note { font-size: .88rem; color: var(--ink-soft); }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
