:root {
  color-scheme: light;
  --page-pad: clamp(20px, 6vw, 96px);
  --ink: #1d120c;
  --ink-soft: #3f2a20;
  --sand: #fdf4e7;
  --clay: #c86b3c;
  --sun: #f6b062;
  --amber: #f0743e;
  --olive: #304132;
  --stone: #f1e5d4;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(33, 22, 14, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(246, 176, 98, 0.25), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(240, 116, 62, 0.2), transparent 45%),
    var(--sand);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.2rem;
}

.logo {
  font-family: "Marcellus", serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  margin-left: auto;
}

.nav .btn.ghost {
  margin-left: 0.5rem;
}

.hero {
  position: relative;
  color: #fffaf4;
  overflow: hidden;
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: 90vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-bottom: 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(20, 11, 6, 0.6), rgba(20, 11, 6, 0.15)),
    url("https://images.pexels.com/photos/3423917/pexels-photo-3423917.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(240, 116, 62, 0.6), transparent 55%),
    linear-gradient(120deg, rgba(29, 18, 12, 0.9), rgba(29, 18, 12, 0.2));
  z-index: 1;
}

.hero-body {
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.hero-content {
  width: 100%;
  max-width: clamp(520px, 52vw, 720px);
  padding: 0;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Marcellus", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  margin: 0 0 1.2rem;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(20, 11, 6, 0.2);
}

.btn.primary {
  background: linear-gradient(135deg, var(--amber), var(--sun));
  color: var(--ink);
}

.btn.soft {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fffaf4;
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fffaf4;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

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

.stat {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(4px);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.hero-credit {
  padding-bottom: 2.5rem;
  font-size: 0.8rem;
  opacity: 0.75;
}

main {
  padding: 4rem var(--page-pad) 5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

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

.mission-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.signature {
  margin-top: 1.5rem;
  font-family: "Marcellus", serif;
  color: var(--clay);
}

.mission-grid {
  display: grid;
  gap: 1.5rem;
}

.mission-item {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(200, 107, 60, 0.2);
}

.section-head {
  max-width: 600px;
}

.section-head p {
  color: var(--ink-soft);
}

.programs .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(35, 20, 12, 0.12);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(246, 176, 98, 0.2), transparent 60%);
  opacity: 0.9;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.regions {
  background: linear-gradient(135deg, rgba(246, 176, 98, 0.18), rgba(200, 107, 60, 0.08));
  padding: 2.5rem;
  border-radius: 30px;
}

.country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.chip {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(200, 107, 60, 0.2);
  font-weight: 600;
}

.impact-panel {
  background: linear-gradient(130deg, rgba(48, 65, 50, 0.96), rgba(19, 26, 20, 0.9));
  color: #fef5e9;
  padding: 3rem;
  border-radius: 32px;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.impact-list {
  display: grid;
  gap: 0.8rem;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sun);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form input {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(63, 42, 32, 0.2);
  font-size: 0.95rem;
}

.contact-aside {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 22px;
}

.contact-aside .small {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.footer {
  padding: 2.5rem var(--page-pad) 3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    order: 3;
    margin-left: 0;
  }

  .hero-body {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

  .hero-shell {
    min-height: 80vh;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 0.8rem;
    font-size: 0.85rem;
  }

  .hero-credit {
    padding-bottom: 2rem;
  }

  .impact-panel {
    padding: 2rem;
  }
}
