/* Planted Promise — static site styles
   Palette: canopy #1F3D2E, moss #5C7A52, bark #4A3728, clearing #F5F1E6, gold #C08A3E
   Type: 'Fraunces' (display, serif) + 'Source Sans 3' (body, sans) */

:root {
  --canopy: #1f3d2e;
  --canopy-dark: #14291d;
  --moss: #5c7a52;
  --bark: #4a3728;
  --clearing: #f5f1e6;
  --clearing-dim: #ece5d4;
  --gold: #c08a3e;
  --ink: #26241d;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--clearing);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--canopy-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }

a {
  color: var(--canopy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
a:hover { color: var(--gold); }

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

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--canopy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header / nav */
header.site-header {
  background: var(--canopy-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
}
.brand:hover { color: var(--gold); }
.brand-mark {
  height: 34px;
  width: auto;
  display: block;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: #eee7d6;
  text-decoration: none;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  height: 62vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,41,29,0.25) 0%, rgba(20,41,29,0.85) 100%);
}
.hero-content {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
}
.hero-content .wrap { max-width: 760px; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero h1 { color: #fff; }

.page-hero {
  background: var(--canopy-dark);
  color: #fff;
  padding: 3.5rem 0 2.5rem;
}
.page-hero h1 { color: #fff; margin-bottom: 0.4rem; }
.page-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--canopy-dark);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: transparent; color: #fff; }
.btn.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn.btn-outline:hover { background: #fff; color: var(--canopy-dark); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Sections */
section { padding: 3.5rem 0; }
section.tight { padding: 2.25rem 0; }
.section-alt { background: var(--clearing-dim); }
.section-dark { background: var(--canopy-dark); color: #f2ede0; }
.section-dark h2, .section-dark h3 { color: #fff; }

.lede {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--canopy-dark);
  max-width: 760px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--clearing-dim);
  border-radius: 10px;
  padding: 1.75rem;
}
.card h3 { margin-bottom: 0.5rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-member img {
  border-radius: 10px;
  aspect-ratio: 4/5;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.team-member .role {
  color: var(--moss);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Signup / donate blocks */
.callout {
  background: var(--canopy);
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.callout h3 { color: #fff; margin: 0; }
.callout form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.callout input[type="email"] {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: none;
  min-width: 240px;
  font-size: 1rem;
}

/* Blog list */
.post-list {
  display: grid;
  gap: 2rem;
}
.post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  align-items: start;
  border-bottom: 1px solid var(--clearing-dim);
  padding-bottom: 2rem;
}
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; }
}
.post-card img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }
.post-date { color: var(--moss); font-size: 0.9rem; font-weight: 600; }
.post-card h2 { font-size: 1.5rem; margin: 0.2rem 0 0.5rem; }

article.post-body {
  max-width: 700px;
}
article.post-body img {
  border-radius: 8px;
  margin: 1.5rem 0;
}
.poem {
  font-family: 'Fraunces', serif;
  font-style: italic;
  line-height: 1.8;
  color: var(--canopy-dark);
}
.poem p { margin: 0 0 1.5em; }
.tk-note {
  background: #fff8e6;
  border: 1px dashed var(--gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--bark);
  margin: 1.5rem 0;
}
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.media-caption {
  margin: -1rem 0 1.5rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--moss);
}

/* Footer */
footer.site-footer {
  background: var(--canopy-dark);
  color: #cfd8ca;
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
footer.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.footer-brand img {
  height: 30px;
  width: auto;
}
.footer-brand h4 { margin-bottom: 0; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 0.4rem; }
footer.site-footer a { color: #cfd8ca; text-decoration: none; }
footer.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #9fac96;
}
