/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Pulled from logo */
  --green-dark:   #2a5c2e;
  --green-mid:    #3d7a42;
  --green-light:  #5a9e5f;
  --blue-dna:     #1b6aaa;
  --brown-root:   #5c3d1e;
  --brown-light:  #8b6340;

  --color-bg:        #ffffff;
  --color-bg-alt:    #f7f9f7;
  --color-bg-dark:   #1a2e1c;
  --color-text:      #1c2b1d;
  --color-muted:     #5a6b5b;
  --color-border:    #dde8dd;
  --color-donate-bg: #1b3a4b;

  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --transition: 0.2s ease;

  --container: 1120px;
  --pad:        1.25rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--green-mid); }

ul { list-style: none; }

/* ===========================
   UTILITIES
   =========================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: 5.5rem; }
.section--alt { background: var(--color-bg-alt); }

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0.6rem;
}

.section__lead {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}
.btn--primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn--ghost:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn--donate {
  background: var(--color-donate-bg);
  color: #fff;
  border-color: var(--color-donate-bg);
  width: 100%;
  text-align: center;
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
}
.btn--donate:hover {
  background: #264d60;
  border-color: #264d60;
  color: #fff;
}

/* ===========================
   HEADER / NAV
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.65rem;
}

.nav__logo img {
  height: 42px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  align-items: center;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}
.nav__links a:hover { color: var(--green-dark); }

.nav__donate {
  background: var(--green-dark);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav__donate:hover {
  background: var(--green-mid) !important;
  color: #fff !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-text);
  margin-left: auto;
}

.nav__mobile {
  display: none;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 1rem var(--pad);
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 0.75rem; }
.nav__mobile a { font-weight: 500; font-size: 1rem; color: var(--color-text); }
.nav__mobile.open { display: block; }

/* ===========================
   HERO
   =========================== */
.hero {
  /* Warm parchment — multiply blend mode works perfectly on this */
  background: #f2f4ee;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* The tree — absolutely positioned, intentionally massive, bleeds off all edges */
.hero__tree {
  position: absolute;
  /* Anchor the roots near the bottom-right, canopy bleeds off the top */
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  height: 124vh;
  width: auto;
  /* multiply: white background becomes invisible, tree colors stay vivid */
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  /* Very subtle warm tint to integrate with the parchment background */
  filter: saturate(1.08) brightness(0.97);
  /* Fade out at the bottom and right edges — no hard cutoff */
  mask-image: linear-gradient(
    to bottom,
    black 55%,
    rgba(0,0,0,0.6) 78%,
    transparent 96%
  ),
  linear-gradient(
    to left,
    black 60%,
    rgba(0,0,0,0.4) 88%,
    transparent 100%
  );
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 55%,
    rgba(0,0,0,0.6) 78%,
    transparent 96%
  ),
  linear-gradient(
    to left,
    black 60%,
    rgba(0,0,0,0.4) 88%,
    transparent 100%
  );
  -webkit-mask-composite: source-in;
}

/* Gradient veil — glows from left, fading to transparent.
   Keeps the text area legible without hiding the tree overlap entirely. */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      #f2f4ee 28%,
      rgba(242,244,238,0.82) 48%,
      rgba(242,244,238,0.28) 65%,
      transparent 80%
    );
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 8rem;
}

.hero__text {
  max-width: 560px;
}

/* Thin green rule above eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--green-dark);
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 5.8vw, 5.4rem);
  font-weight: 700;
  line-height: 1.02;
  color: #0e1e10;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--green-dark);
}

/* Short accent rule under headline */
.hero__rule {
  width: 52px;
  height: 3px;
  background: linear-gradient(to right, var(--green-dark), var(--blue-dna));
  border: none;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: #3d4f3e;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn--hero-primary {
  background: var(--green-dark);
  color: #fff;
  border: 2px solid var(--green-dark);
  box-shadow: 0 4px 20px rgba(42,92,46,0.25);
}
.btn--hero-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: #fff;
  box-shadow: 0 6px 28px rgba(42,92,46,0.32);
}

.btn--hero-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn--hero-ghost:hover {
  background: var(--green-dark);
  color: #fff;
}

.hero__note {
  font-size: 0.76rem;
  color: #7a8f7b;
  letter-spacing: 0.04em;
}

/* Animated scroll chevron — bottom center */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: clamp(2rem, 8vw, 7rem);
  width: 30px;
  height: 30px;
  color: rgba(42,92,46,0.4);
  animation: bob 2.4s ease-in-out infinite;
  transition: color var(--transition);
  z-index: 3;
}
.hero__scroll:hover { color: var(--green-dark); }
.hero__scroll svg { width: 100%; height: 100%; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ===========================
   MISSION
   =========================== */
.mission__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.mission-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.mission-card:hover {
  box-shadow: 0 8px 32px rgba(42,92,46,0.08);
  border-color: var(--green-light);
}

.mission-card__icon {
  width: 44px;
  height: 44px;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.mission-card__icon svg { width: 100%; height: 100%; }

.mission-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.mission-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ===========================
   PROCESS
   =========================== */
.process {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
  counter-reset: none;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.process__step {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  position: relative;
}

.process__step:last-child { padding-bottom: 0; }

.process__num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.process__body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  padding-top: 0.9rem;
  color: var(--color-text);
}

.process__body p {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* ===========================
   LAW ENFORCEMENT
   =========================== */
.section--le .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.le__badge {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.le__intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.le__intro p {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
}

.le__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.le__list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.le__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 700;
}

.le__form-wrap {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.le__form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.form__note {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.form__privacy {
  font-size: 0.82rem;
  color: var(--color-muted);
  font-style: italic;
  margin-bottom: 1rem;
}

/* ===========================
   FORMS (SHARED)
   =========================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group label span {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.6rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(61,122,66,0.12);
}

/* ===========================
   DONATE
   =========================== */
.section--donate {
  background: linear-gradient(160deg, #1a2e1c 0%, #1b3a4b 100%);
  color: #fff;
}

.donate__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.donate__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.donate__text p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.donate__list {
  margin: 0.25rem 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.donate__list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
}

.donate__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green-light);
}

.donate__nonprofit-note {
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.5) !important;
  font-style: italic;
}

.donate__card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
}

.donate__card__label {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.donate__card__sub {
  font-size: 0.9rem !important;
  color: rgba(255,255,255,0.65) !important;
  margin-bottom: 1.5rem !important;
}

.donate__card__alt {
  margin-top: 1rem;
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.55) !important;
  margin-bottom: 0 !important;
}

.donate__card__alt a {
  color: var(--green-light);
  text-decoration: underline;
}

/* ===========================
   ABOUT
   =========================== */
.about__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.about__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about__text p {
  color: var(--color-muted);
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
}

.about__text p:last-child { margin-bottom: 0; }

.about__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}

/* ===========================
   CONTACT
   =========================== */
.contact__inner {
  max-width: 680px;
  margin-inline: auto;
}

.contact__inner .section__title { text-align: left; }
.contact__inner .section__lead { text-align: left; margin-inline: 0; }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem 2rem;
}

.footer__logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  line-height: 1.6;
}

.footer__nav h4,
.footer__legal h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.85rem;
}

.footer__nav ul,
.footer__legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav a,
.footer__legal a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__nav a:hover,
.footer__legal a:hover {
  color: #fff;
}

.ein {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.25rem;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .section--le .container,
  .donate__inner,
  .about__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero__tree {
    height: 80vh;
    right: -10%;
    top: auto;
    bottom: -5%;
    transform: none;
  }
  .hero__veil {
    background: linear-gradient(
      to bottom,
      #f2f4ee 30%,
      rgba(242,244,238,0.88) 55%,
      rgba(242,244,238,0.5) 75%,
      transparent 100%
    );
  }
}

@media (max-width: 680px) {
  .hero__tree {
    height: 60vh;
    right: -15%;
    bottom: 0;
  }
  .hero__text { max-width: 100%; }
  .hero__sub { max-width: 100%; }
  .hero__scroll { display: none; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section { padding-block: 4rem; }

  .process::before { display: none; }
}
