﻿:root {
  --forest: #1f4b3f;
  --leaf: #2f7a63;
  --sun: #f3b66b;
  --clay: #d86b5b;
  --cream: #f7f1e8;
  --mist: #e7f1ec;
  --ink: #1b1a17;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(22, 35, 28, 0.18);
  --radius: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', sans-serif;
  background: linear-gradient(180deg, #f7f1e8 0%, #eef4f0 40%, #ffffff 100%);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

.dc-demo-return {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font: 14px/1.4 Arial, sans-serif;
}

.dc-demo-return a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

.demo-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(31, 75, 63, 0.1);
  color: var(--forest);
  font-size: 0.92rem;
  border: 1px solid rgba(31, 75, 63, 0.14);
}

.demo-alert.is-success {
  background: rgba(47, 122, 99, 0.14);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(47, 122, 99, 0.12), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(243, 182, 107, 0.2), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(216, 107, 91, 0.16), transparent 45%);
  z-index: -1;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 18px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 241, 232, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 75, 63, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--forest);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--leaf);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--leaf), var(--forest));
  color: var(--white);
  box-shadow: 0 12px 25px rgba(31, 75, 63, 0.25);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--forest);
  border-color: rgba(31, 75, 63, 0.2);
}

.btn.small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn.block {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  padding: 90px 0 110px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 50, 42, 0.9), rgba(25, 72, 60, 0.75)),
    url('images/hero.jpg') center/cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(243, 182, 107, 0.4), transparent 50%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy {
  animation: fadeUp 0.9s ease-out;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 3vw + 1.5rem, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.lead {
  font-size: 1.05rem;
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 26px 0 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.stat {
  background: rgba(255, 255, 255, 0.15);
  padding: 14px 18px;
  border-radius: 16px;
  min-width: 140px;
}

.stat-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.donation-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: floatIn 1s ease-out 0.2s both;
}

.card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--forest);
}

.card-copy {
  margin-bottom: 18px;
}

.meter-track {
  height: 10px;
  background: #e2e8e4;
  border-radius: 999px;
  overflow: hidden;
}

.meter-bar {
  width: var(--progress);
  height: 100%;
  background: linear-gradient(90deg, var(--sun), var(--clay));
}

.meter-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-top: 8px;
  color: #4b5c55;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.quick-amounts button {
  border: 1px solid rgba(31, 75, 63, 0.2);
  background: #f7f4ef;
  border-radius: 12px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
}

.quick-amounts button:hover {
  border-color: var(--leaf);
}

.small-note {
  font-size: 0.85rem;
  color: #6c7470;
  margin-top: 12px;
}

.trust {
  padding: 30px 0;
  background: rgba(255, 255, 255, 0.6);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trust-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-logos span {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(31, 75, 63, 0.1);
}

.section {
  padding: 80px 0;
}

.section .eyebrow {
  color: var(--leaf);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  color: var(--forest);
  margin-bottom: 12px;
}

.section-head p {
  color: #4b5c55;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(23, 43, 34, 0.1);
}

.info-card h3 {
  margin-bottom: 10px;
  font-family: 'Fraunces', serif;
  color: var(--forest);
}

.split {
  background: #f3f6f1;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.split-copy h2 {
  font-family: 'Fraunces', serif;
  color: var(--forest);
  margin-bottom: 12px;
}

.impact-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.impact-list h4 {
  color: var(--leaf);
  margin-bottom: 6px;
}

.split-image {
  position: relative;
}

.image-card {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 240px;
}

.image-card .eyebrow {
  color: var(--leaf);
  margin-bottom: 8px;
}

.highlight {
  background: linear-gradient(120deg, rgba(47, 122, 99, 0.12), rgba(243, 182, 107, 0.18));
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.action-list {
  display: grid;
  gap: 18px;
}

.action-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 10px 18px rgba(23, 43, 34, 0.08);
}

.action-card a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(23, 43, 34, 0.08);
}

.event-date {
  background: var(--forest);
  color: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  text-align: center;
  min-width: 62px;
}

.event-date span {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.event-date small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-link {
  color: var(--leaf);
  text-decoration: none;
  font-weight: 600;
}

.donate {
  background: #fef8f1;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: start;
}

.donate-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
  color: #4b5c55;
}

.donate-list li::before {
  content: "+ ";
  color: var(--leaf);
  font-weight: 700;
}

.donate-form {
  background: #ffffff;
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.donate-form label {
  font-weight: 600;
  color: var(--forest);
}

.donate-form input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d9dedb;
  font-size: 1rem;
}

.amount-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.amount-row button {
  border: 1px solid #d2d8d5;
  background: #f7f4ef;
  padding: 10px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.amount-row button:hover {
  border-color: var(--leaf);
}

.newsletter {
  background: #1f4b3f;
  color: #ffffff;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.newsletter .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px;
  border-radius: 999px;
  border: none;
}

.newsletter .btn.ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.site-footer {
  background: #122a24;
  color: #d7e0db;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}

.site-footer h3 {
  font-family: 'Fraunces', serif;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d7e0db;
  text-decoration: none;
}

.footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: #b9c4be;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 120px;
  }

  .image-card {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .event-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .event-link {
    justify-self: start;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
