:root {
  --green-900: #1f3d2b;
  --green-700: #2f5d3a;
  --green-500: #4c7c4a;
  --green-100: #eaf3e8;
  --cream: #fbf8f1;
  --ink: #26301f;
  --muted: #5b6555;
  --border: #dbe3d5;
  --radius: 10px;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

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

img { max-width: 100%; display: block; border-radius: var(--radius); }

h1, h2, h3 { color: var(--green-900); line-height: 1.2; font-family: var(--font-heading); }
h1 { font-size: clamp(1.9rem, 3vw + 1rem, 2.8rem); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.4rem, 2vw + 1rem, 1.9rem); margin-top: 2.5rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Garden Plan: each section is a title (h2), subtitle (h3), description, then graphic */
.garden-plan h2 {
  margin-bottom: .25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.garden-plan h2 + h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-500);
}
.garden-plan p > img {
  margin: 1.25rem 0 .5rem;
  border: 1px solid var(--border);
}
.garden-plan p > em {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Header */
.site-header {
  background: var(--green-900);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  text-decoration: none;
}
.brand img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.brand:hover { color: var(--green-100); }
.site-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-nav a {
  color: #e8f0e4;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}
.site-nav a:hover { color: #fff; text-decoration: underline; }

/* Hero */
.hero {
  background: var(--green-100);
  border-bottom: 1px solid var(--border);
}
.hero .wrap {
  padding: 56px 20px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
}
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-heading);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--green-900); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--green-900);
  border: 2px solid var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.2rem; }

/* Sections */
section.block {
  padding: 48px 0;
}
section.block.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin-top: 0; }
.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { color: var(--green-900); }

.callout {
  background: var(--green-100);
  border-left: 4px solid var(--green-700);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.photo-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 1.5rem 0;
}
.photo-grid figure { margin: 0; }
.photo-grid figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

/* About: team photo and board cards */
.about-page p > img {
  float: right;
  width: 50%;
  height: auto;
  margin: .35rem 0 1rem 1.75rem;
}
.board-grid {
  list-style: none;
  margin: 3rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
  clear: both;
}
.board-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}
.board-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
}
.board-card h3 { margin: 14px 12px 2px; font-size: 1.1rem; }
.board-card p { margin: 0 12px 16px; color: var(--muted); }
@media (max-width: 760px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .about-page p > img { float: none; width: 100%; margin: 1rem 0; }
}

/* Get Involved: latest Instagram posts (loaded from the Behold feed) */
.insta-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.5rem 0;
}
.insta-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
}
.insta-card:hover { border-color: var(--green-500); }
.insta-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
}
.insta-card p {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 760px) {
  .insta-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* Forms */
form.stacked-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-top: 1.5rem;
}
form.stacked-form label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 4px;
}
form.stacked-form input,
form.stacked-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 180px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--green-500);
}
.newsletter-form button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  background: var(--green-500);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.newsletter-form button:hover { background: var(--green-100); color: var(--green-900); }
.form-note {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-700);
}
.newsletter-note {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #cfe3c9;
}

/* Footer */
.site-footer {
  background: var(--green-900);
  color: #dce6d8;
  padding: 40px 0 16px;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 24px;
}
.site-footer h3 { color: #fff; margin-top: 0; }
.site-footer a { color: #cfe3c9; }
.site-footer a:hover { color: #fff; }
.fine-print {
  font-size: 0.8rem;
  color: #9db496;
  border-top: 1px solid #33513a;
  padding-top: 14px;
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
}
