:root {
  --bg: #f4efe6;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: #fffaf1;
  --text: #1d2a23;
  --muted: #526055;
  --line: rgba(29, 42, 35, 0.12);
  --accent: #db6f2e;
  --accent-dark: #b7531b;
  --forest: #2f6b4f;
  --shadow: 0 24px 50px rgba(43, 54, 45, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(219, 111, 46, 0.18), transparent 28%),
    radial-gradient(circle at right 20%, rgba(47, 107, 79, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  margin-bottom: 32px;
  padding: 14px 18px;
  background: rgba(255, 250, 241, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(30, 43, 35, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--forest));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
}

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

.section {
  margin-bottom: 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  min-height: 70vh;
}

.hero-copy,
.hero-panel,
.mission-card,
.program-card,
.impact-card,
.contact-card,
.highlights article {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.panel-label {
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.96;
  margin-bottom: 18px;
}

.hero-text,
.mission-card p,
.program-card p,
.impact-card p,
.contact-card p,
.highlights p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.hero-panel {
  padding: 24px;
  display: grid;
  grid-template-rows: 1.1fr 1fr;
  gap: 18px;
  background:
    linear-gradient(160deg, rgba(47, 107, 79, 0.92), rgba(33, 58, 46, 0.92)),
    var(--surface);
  color: #eff7f1;
}

.hero-panel .panel-label,
.hero-panel .panel-copy {
  color: rgba(239, 247, 241, 0.84);
}

.panel-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-number {
  margin: 0 0 12px;
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
}

.panel-grid,
.program-grid,
.impact-grid,
.highlights {
  display: grid;
  gap: 18px;
}

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

.accent-card {
  background: rgba(219, 111, 46, 0.2);
}

.highlights {
  grid-template-columns: repeat(3, 1fr);
}

.highlights article,
.program-card,
.impact-card {
  padding: 28px;
}

.highlights h2,
.program-card h3 {
  margin-bottom: 12px;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.section-heading {
  max-width: 620px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  margin-bottom: 0;
}

.mission-card {
  padding: 34px;
}

.program-grid,
.impact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.impact-card {
  min-height: 220px;
}

.impact-number {
  display: inline-block;
  margin-bottom: 16px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--accent-dark);
}

.contact-card {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.site-footer {
  margin-top: 40px;
  padding: 24px 8px 8px;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .section-grid,
  .contact-card,
  .program-grid,
  .impact-grid,
  .highlights {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 36px 28px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 16px;
  }

  .site-header {
    position: static;
    border-radius: 28px;
  }

  .site-nav {
    gap: 14px;
  }

  .hero-copy,
  .hero-panel,
  .mission-card,
  .contact-card,
  .highlights article,
  .program-card,
  .impact-card {
    padding: 24px;
  }

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