@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --green: #1a6b35;
  --green-dark: #0e3d1e;
  --green-light: #2d8a48;
  --green-pale: #e8f4ec;
  --cream: #faf8f3;
  --text: #1c1c1c;
  --text-muted: #5a5a5a;
  --border: #d0d8d2;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.7;
}

/* NAV */
nav {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--green);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  display: block;
  padding: 0 1rem;
  height: 64px;
  line-height: 64px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li:hover > a,
.nav-links > li:hover > button {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.dropdown {
  position: absolute;
  top: 64px;
  left: 0;
  background: var(--green-dark);
  border: 1px solid var(--green);
  border-top: 2px solid var(--green-light);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
.nav-links > li:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: rgba(255,255,255,0.08); color: var(--white); }

.donate-btn {
  display: inline-flex !important;
  align-items: center;
  background: var(--green-light) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  height: auto !important;
  line-height: 1.4 !important;
  border-radius: 2px;
  margin-left: 0.5rem;
  transition: background 0.2s !important;
}
.donate-btn:hover { background: #3da058 !important; }

.hamburger { display: none; }

/* HERO */
.hero {
  position: relative;
  height: 75vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,35,15,0.82) 40%, rgba(10,35,15,0.3));
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 620px;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--green-light);
  color: var(--white);
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #3da058; }
.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 0.8rem 2rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* SECTIONS */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--green-dark);
}
h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.bg-white { background: var(--white); }
.bg-green { background: var(--green-dark); color: var(--white); }
.bg-green h2, .bg-green h3 { color: var(--white); }
.bg-green p { color: rgba(255,255,255,0.8); }
.bg-pale { background: var(--green-pale); }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(26,107,53,0.1); }

/* IMAGES - never let an image overflow its container */
img { max-width: 100%; height: auto; }

/* SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split img { width: 100%; height: 420px; object-fit: cover; border-radius: 4px; }

/* DIVIDER */
.divider { width: 48px; height: 3px; background: var(--green); margin-bottom: 2rem; }

/* STATS */
.stat-row { display: flex; gap: 3rem; flex-wrap: wrap; margin-top: 2rem; }
.stat { text-align: center; }
.stat-num {
  font-family: 'EB Garamond', serif;
  font-size: 3rem;
  font-weight: 500;
  color: var(--green-light);
  line-height: 1;
  display: block;
}
.stat-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* PAGE HEADER */
.page-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}
.page-header h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}
.page-header p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 1rem auto 0; }

/* TEAM */
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; object-position: top;
  margin: 0 auto 1rem;
  border: 3px solid var(--green-pale);
  display: block;
}
.team-initials {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--green-pale); border: 3px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'EB Garamond', serif; font-size: 2rem; color: var(--green);
  margin: 0 auto 1rem;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.team-card .role { font-size: 0.85rem; color: var(--green); font-weight: 500; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.88rem; line-height: 1.5; }
.team-card a { color: var(--green); font-size: 0.82rem; text-decoration: none; }
.team-card a:hover { text-decoration: underline; }

/* CTA BANNER */
.hyena-talk-cta {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  padding: 1.25rem 1.75rem;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}
.hyena-talk-cta p { color: var(--green-dark); font-weight: 500; margin: 0; }

/* FOOTER */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand img { height: 48px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split img { height: 280px; }
}
@media (max-width: 680px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: stretch;
    border-top: 2px solid var(--green);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .nav-links > li > button { height: auto; line-height: 1.4; padding: 0.85rem 1.25rem; }
  .dropdown { position: static; border: none; border-top: 1px solid rgba(255,255,255,0.1); opacity: 1; pointer-events: auto; transform: none; display: none; }
  .nav-links > li.open .dropdown { display: block; }
  .footer-inner { grid-template-columns: 1fr; }
  .stat-row { justify-content: center; }
}
