:root {
  --forest: #1f3a2e;
  --forest-2: #2c5241;
  --sand: #e9dcc0;
  --sand-2: #f6f1e6;
  --ink: #1d2320;
  --muted: #5b655f;
  --line: #ddd5c3;
  --accent: #b5652b;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--sand-2);
  line-height: 1.6;
}
a { color: var(--forest-2); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; color: var(--forest); margin: 0 0 .5rem; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; max-width: 18ch; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* header + nav */
.site-header { background: var(--forest); color: var(--sand); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0 .4rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.brand-mark { width: 40px; height: 28px; fill: var(--sand); flex: none; }
.brand strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.2rem; font-weight: 600; letter-spacing: .01em; }
.brand small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); opacity: .85; }
.header-phone { color: var(--sand); text-decoration: none; font-weight: 600; white-space: nowrap; }
.site-nav { display: flex; gap: .25rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  color: var(--sand); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: .45rem .8rem; border-radius: 999px; white-space: nowrap;
}
.site-nav a:hover { background: rgba(255,255,255,.08); }
.site-nav a[aria-current="page"] { background: var(--sand); color: var(--forest); }

/* hero */
.hero { position: relative; background: linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 100%); color: var(--sand); padding: 4rem 0 6rem; overflow: hidden; }
.hero .lede { font-size: 1.1rem; max-width: 60ch; color: #f1ead9; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: .4rem; }
.hero .kicker { color: var(--sand); opacity: .85; }
.hero-ridge { position: absolute; bottom: -1px; left: 0; width: 100%; height: 80px; fill: var(--sand-2); }

/* sections */
.section { padding: 2.5rem 0; }
.cols-2, .cols-3, .cols-4 { display: grid; gap: 1rem; }
@media (min-width: 720px) {
  .cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card p:last-child { margin-bottom: 0; }
.link-card { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .15s; }
.link-card:hover { border-color: var(--forest-2); transform: translateY(-2px); }
.more { font-weight: 600; color: var(--forest-2); display: inline-block; margin-top: .8rem; }

.feature {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  background: var(--sand); border-radius: var(--radius); padding: 1.6rem; margin: 1.5rem 0;
}
.feature > div { flex: 1 1 320px; }
.feature p { margin: 0; }

.about-josh { display: grid; gap: 2rem; }
@media (min-width: 820px) { .about-josh { grid-template-columns: 2fr 1fr; align-items: start; } }
.facts { list-style: none; margin: 0; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.facts li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts strong { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* buttons */
.btn {
  display: inline-block; background: var(--forest); color: #fff; text-decoration: none; font-weight: 600;
  padding: .8rem 1.2rem; border-radius: 10px; border: 2px solid var(--forest);
}
.btn:hover { background: var(--forest-2); border-color: var(--forest-2); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }

/* lots */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
td:nth-child(4) { font-variant-numeric: tabular-nums; font-weight: 600; }
.status { display: inline-block; font-size: .78rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.status-available { background: #dcefe3; color: #1e5b3a; }
.status-under { background: #f6e3c8; color: #8a4b12; }
.lot-card h3 { font-size: 1.6rem; }
.note { color: var(--muted); font-size: .92rem; margin-top: 1rem; }

/* contact */
.contact-cta { background: var(--forest); color: var(--sand); padding: 3rem 0; margin-top: 1.5rem; }
.contact-cta h2 { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-cta .btn { background: var(--sand); color: var(--forest); border-color: var(--sand); }
.contact-cta .btn-ghost { background: transparent; color: var(--sand); }
.contact-cta .btn-ghost:hover { background: var(--sand); color: var(--forest); }

/* footer */
.site-footer { background: #142820; color: #cfc6b1; padding: 2rem 0; font-size: .9rem; }
.site-footer a { color: var(--sand); }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; gap: 1.2rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr 2fr; } }
.fine { font-size: .8rem; opacity: .8; }

@media (max-width: 520px) {
  .header-phone { font-size: .9rem; }
  .brand small { display: none; }
  .hero { padding: 2.5rem 0 5rem; }
  .btn { width: 100%; text-align: center; }
}

/* listings */
.listing-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.listing-card { padding: 0; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.listing-card:hover { border-color: var(--forest-2); transform: translateY(-2px); }
.listing-photo { aspect-ratio: 3 / 2; background: var(--sand); }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.no-photo { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: .9rem;
  background: repeating-linear-gradient(135deg, var(--sand) 0 14px, #efe5cf 14px 28px); }
.no-photo.big { aspect-ratio: 3 / 2; border-radius: var(--radius); }
.listing-body { padding: 1rem 1.1rem 1.2rem; }
.listing-body p { margin: 0 0 .35rem; }
.price { font-family: Fraunces, Georgia, serif; font-size: 1.5rem; font-weight: 600; color: var(--forest); }
.addr { font-weight: 600; line-height: 1.35; }
.addr span { font-weight: 400; color: var(--muted); }
.facts-line, .facts { color: var(--ink); }
.listing-body .facts { font-size: .92rem; }
.mls { font-size: .8rem; color: var(--muted); }
.mls-note { font-size: .78rem; }

.crumb a { text-decoration: none; font-weight: 600; }
.detail-title { color: var(--forest); font-size: clamp(1.6rem, 4vw, 2.4rem); max-width: none; margin-bottom: .2rem; }
.detail-city { color: var(--muted); margin-bottom: 1.5rem; }
.detail-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 2fr 1fr; align-items: start; } .detail-grid aside { position: sticky; top: 120px; } }
.gallery { display: grid; gap: .5rem; grid-template-columns: repeat(3, 1fr); margin-bottom: 1.5rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; display: block; }
.gallery .hero-photo { grid-column: 1 / -1; border-radius: var(--radius); }
.cta-stack { display: grid; gap: .6rem; margin-top: 1rem; }
.cta-stack .btn { text-align: center; }

/* privacy + terms */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
