:root {
  --green-900: #081c15;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-300: #95d5b2;
  --green-100: #d8f3dc;
  --cream: #fefae0;
  --text: #1a1a1a;
  --muted: #5c6670;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(8, 28, 21, 0.12);
  --radius: 14px;
  --max: 1120px;
  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-900);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 250, 224, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand span {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--green-900);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-800);
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--green-600);
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 21, 0.15) 0%, rgba(8, 28, 21, 0.82) 100%);
}

.hero-content {
  position: relative;
  padding: 4rem 0 3rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero p {
  max-width: 58ch;
  font-size: 1.08rem;
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green-500);
  color: var(--green-900);
}

.btn-primary:hover {
  background: var(--green-300);
  color: var(--green-900);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

section {
  padding: 4rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--green-900);
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  color: var(--green-800);
}

.card p,
.card li {
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.stat {
  background: var(--green-100);
  border: 1px solid rgba(45, 106, 79, 0.15);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat-wide {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .stat-wide {
    grid-column: span 2;
  }
}

.stat dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-700);
  margin-bottom: 0.25rem;
}

.stat dd {
  margin: 0;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.45;
}

.stat dd a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.stat dd a:hover,
.stat dd a:focus-visible {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.doc-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.doc-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  background: #eee;
  cursor: zoom-in;
}

.doc-card .doc-body {
  padding: 1rem 1.1rem 1.2rem;
}

.doc-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--green-900);
}

.doc-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-box {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  font-family: var(--font-serif);
  margin-top: 0;
}

.contact-box a {
  color: var(--green-100);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-list li:last-child {
  border-bottom: none;
}

.site-footer {
  position: relative;
  background: linear-gradient(180deg, #0a2219 0%, var(--green-900) 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 0 0 1.75rem;
  font-size: 0.92rem;
}

.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--green-300), var(--green-600));
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 1fr;
  gap: 2.5rem 2rem;
  padding: 3rem 0 2.25rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.footer-logo:hover {
  transform: scale(1.04);
}

.footer-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.footer-org-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.footer-tagline {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(82, 183, 136, 0.15);
  border: 1px solid rgba(149, 213, 178, 0.35);
  color: var(--green-300);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(149, 213, 178, 0.2);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.65rem;
}

.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
}

.footer-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(82, 183, 136, 0.12);
  color: var(--green-300);
}

.footer-icon svg {
  display: block;
}

.footer-text {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  font-size: 0.88rem;
}

.footer-meta {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer a {
  color: var(--green-300);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-links a {
  display: inline-block;
  padding: 0.15rem 0;
}

.footer-links a::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--green-500);
  font-weight: 700;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-disclaimer {
  margin: 0;
  flex: 1 1 420px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 1.25rem;
    align-items: start;
  }

  .footer-logo {
    grid-row: 1 / 4;
    margin-bottom: 0;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 2.25rem;
  }

  .footer-brand {
    display: block;
  }

  .footer-logo {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-copy {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 0.5rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--green-800);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav a.active {
  color: var(--green-600);
  text-decoration: underline;
}

.page-hero {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--white);
  padding: 3rem 0 2.5rem;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  max-width: 58ch;
  opacity: 0.92;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.activity-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(8, 28, 21, 0.88));
  color: var(--white);
  font-size: 0.9rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.1rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.blog-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--green-900);
}

.blog-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  flex: 1;
}

.read-more {
  font-weight: 700;
  text-decoration: none;
}

.article-content {
  max-width: 720px;
}

.article-content h2 {
  font-family: var(--font-serif);
  color: var(--green-900);
  margin: 2rem 0 0.75rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
}

.article-featured {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.article-featured img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--green-900);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(45, 106, 79, 0.25);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary {
  border: none;
  cursor: pointer;
}

.breadcrumb {
  font-size: 0.88rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a {
  color: var(--green-100);
}

.alt-bg {
  background: var(--green-100);
}

.note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 21, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 200;
}

.modal.open {
  display: flex;
}

.modal img {
  max-height: 90vh;
  max-width: min(95vw, 900px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--white);
  border: none;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  cursor: pointer;
}
