:root {
  --bg: #fbfaf5;
  --bg-alt: #eef3ea;
  --text: #1d2b24;
  --muted: #5b6b62;
  --green: #2f6b4f;
  --green-dark: #1f4a37;
  --sage: #7fb685;
  --border: #dfe6da;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem;
  color: var(--green); text-decoration: none;
}
.logo-mark { width: 32px; height: 32px; color: var(--green); }
.nav nav a { margin-left: 24px; color: var(--muted); text-decoration: none; font-weight: 500; }
.nav nav a:hover { color: var(--green); }

/* Hero */
.hero {
  padding: 80px 0 72px;
  background: radial-gradient(ellipse at 80% 20%, #e3eedd 0%, transparent 60%), var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; }
.eyebrow {
  margin: 0 0 12px; color: var(--green); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; font-size: .8rem;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin: 0 0 20px; color: var(--green-dark); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero-art { width: 100%; max-width: 420px; justify-self: center; }

.button {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 600;
  transition: background .15s, transform .15s;
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button.light { background: #fff; color: var(--green-dark); }
.button.light:hover { background: var(--bg-alt); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0 0 16px; color: var(--green-dark); }
.section-lead { color: var(--muted); margin: 0; }

.mission { text-align: center; }
.mission > p { max-width: 680px; margin: 0 auto; font-size: 1.15rem; color: var(--muted); }
.pillars {
  display: grid; gap: 24px; margin-top: 48px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pillar { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px 24px; }
.pillar-icon { font-size: 2rem; }
.pillar h3 { margin: 12px 0 6px; font-size: 1.25rem; color: var(--green-dark); }
.pillar p { margin: 0; color: var(--muted); }

/* Logo wall */
.logo-wall {
  display: grid; gap: 20px; margin-top: 32px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.brand {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 24px 20px; text-decoration: none; color: inherit; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.brand:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31, 74, 55, .12); border-color: var(--sage); }
.brand-logo { display: flex; align-items: center; justify-content: center; height: 80px; width: 100%; }
.brand-logo img { max-width: 100%; max-height: 80px; object-fit: contain; border-radius: 12px; }
.brand-name { font-weight: 600; color: var(--green-dark); }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--green-dark); line-height: 1.2; }
.wordmark small { display: block; font-family: var(--sans); font-weight: 500; font-size: .75rem; color: var(--muted); }
.brand-tag { font-size: .9rem; color: var(--muted); }

.past-title { margin: 64px 0 0; font-size: 1.3rem; color: var(--muted); }
.logo-wall.small { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-top: 20px; }
.logo-wall.small .brand { padding: 16px; filter: grayscale(1); opacity: .8; }
.logo-wall.small .brand-logo { height: 56px; }
.logo-wall.small .brand-logo img { max-height: 56px; }
.logo-wall.small .wordmark { font-size: 1rem; }

/* Contact */
.contact { background: var(--green-dark); color: #e6efe2; text-align: center; }
.contact h2 { color: #fff; }
.contact p { margin: 0 0 28px; font-size: 1.1rem; }

.site-footer { padding: 28px 0; color: var(--muted); font-size: .9rem; text-align: center; }

@media (max-width: 760px) {
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-art { max-width: 260px; order: -1; }
  .section { padding: 64px 0; }
  .nav nav { white-space: nowrap; }
  .nav nav a { margin-left: 12px; font-size: .85rem; }
  .logo { font-size: 1.15rem; }
  .logo-mark { width: 26px; height: 26px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-wall.small { grid-template-columns: repeat(2, 1fr); }
  .brand { padding: 18px 12px; }
  .wordmark { font-size: 1.1rem; }
}

.logo-wall.past { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }

/* Resources page */
.page-head { padding: 72px 0 8px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 12px; color: var(--green-dark); }
.brand-logo.dark { background: var(--green-dark); border-radius: 12px; padding: 14px; }
.brand-logo.dark img { max-height: 52px; border-radius: 0; }
.nav nav a[aria-current] { color: var(--green); }

@media (max-width: 760px) {
  .nav { height: auto; flex-direction: column; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
  .nav nav a { margin: 0 8px; }
}

.logo-mark { width: 56px; height: 56px; }
