/* ==========================================================================
   Peak City Land Trust — main stylesheet
   ========================================================================== */

:root {
  --green-900: #1e3d2b;
  --green-700: #2d5a3d;
  --green-500: #4a7c59;
  --green-100: #e4ede6;
  --clay: #b9683a;
  --clay-dark: #9a5430;
  --cream: #faf7f1;
  --paper: #ffffff;
  --ink: #26302a;
  --ink-soft: #55605a;
  --border: #e0dcd2;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, .brand-name {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--green-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.6rem; font-weight: 600; }
h2 { font-size: 1.9rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--green-700); }
a:hover { color: var(--clay-dark); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--green-900);
  color: #d9e4dc;
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.topbar a { color: #d9e4dc; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark { width: 46px; height: 46px; flex: none; }

.brand-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--green-900);
  margin: 0;
}

.brand-tag {
  display: block;
  font-family: "Public Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.site-nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--green-700); border-bottom-color: var(--green-500); }
.site-nav a.active { color: var(--green-700); border-bottom-color: var(--clay); }

.btn {
  display: inline-block;
  background: var(--clay);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  border: none;
  font-size: 0.95rem;
}

.btn:hover { background: var(--clay-dark); }

.btn-outline {
  background: transparent;
  color: var(--green-700) !important;
  border: 2px solid var(--green-700);
}

.btn-outline:hover { background: var(--green-100); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(rgba(20, 40, 28, 0.62), rgba(20, 40, 28, 0.62)),
    url("https://images.unsplash.com/photo-1625602812206-5ec545ca1231?auto=format&fit=crop&w=1800&q=70")
    center / cover no-repeat;
  padding: 6.5rem 0;
}

.hero h1 { color: #fff; max-width: 34rem; }

.hero p {
  max-width: 34rem;
  font-size: 1.15rem;
  color: #eef3ef;
}

.hero .btn { margin-right: 0.75rem; margin-top: 0.5rem; }

.hero .btn-outline { color: #fff !important; border-color: #fff; }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.15); }

/* Page hero (interior pages) */
.page-hero {
  background: var(--green-900);
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.page-hero h1 { color: #fff; margin-bottom: 0.25em; }
.page-hero p { color: #cdddd2; max-width: 40rem; margin: 0; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 3.5rem 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-green { background: var(--green-700); color: #fff; }
.section-green h2 { color: #fff; }
.section-green p { color: #dcE8df; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: 0.4rem;
}

.section-green .eyebrow { color: #e8b48f; }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; }

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

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}

.section-alt .card { background: var(--cream); }

.card h3 { margin-top: 0; }

.card .icon { font-size: 1.8rem; margin-bottom: 0.5rem; }

.photo-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 61, 43, 0.18);
}

.photo-frame img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 30%;
}

figure { margin: 0; }

figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-top: 0.5rem;
  text-align: center;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.1;
}

.stat-label { color: #dce8df; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Board page
   -------------------------------------------------------------------------- */

.board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.board-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}

.board-card h3 { margin-bottom: 0.1em; }

.board-role {
  color: var(--clay-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Coming soon
   -------------------------------------------------------------------------- */

.coming-soon {
  text-align: center;
  padding: 4.5rem 1.5rem;
  background: var(--paper);
  border: 1px dashed var(--green-500);
  border-radius: 12px;
  max-width: 44rem;
  margin: 0 auto;
}

.coming-soon .badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Timeline (news page) */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 44rem; }

.timeline li {
  position: relative;
  padding: 0 0 2rem 2rem;
  border-left: 2px solid var(--green-100);
  margin-left: 0.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--clay);
  border: 3px solid var(--cream);
}

.timeline .date {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-500);
}

.timeline h3 { margin: 0.15em 0 0.3em; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   FAQ / definition lists
   -------------------------------------------------------------------------- */

details {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

details summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--green-900);
}

details[open] summary { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--green-900);
  color: #c3d2c8;
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #c3d2c8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: #8fa697;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 820px) {
  h1 { font-size: 2rem; }
  .hero { padding: 4.5rem 0; }
  .grid-3, .grid-2, .board-grid, .stats { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-header .container { justify-content: center; }
  .site-nav { justify-content: center; }
}
