:root {
  --bg: #f7fbf7;
  --surface: #ffffff;
  --surface-muted: #edf7f1;
  --primary: #047857;
  --primary-dark: #064e3b;
  --accent: #d99a2b;
  --ink: #10231d;
  --muted: #5b6a64;
  --line: rgba(6, 78, 59, 0.16);
  --shadow: 0 18px 50px rgba(16, 35, 29, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--primary-dark);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 251, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-menu a {
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 750;
}

.site-menu a:hover,
.site-menu a:focus,
.site-menu a.active {
  color: var(--primary-dark);
  background: var(--surface-muted);
  outline: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--primary-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 36px;
  align-items: center;
}

.hero-media {
  min-height: 560px;
  background: var(--surface-muted);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-content {
  padding: 24px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: var(--primary-dark);
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-lead,
.body-copy,
.donate-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--primary);
  font-weight: 850;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.secondary {
  background: var(--surface);
  color: var(--primary-dark);
}

.quick-facts,
.section,
.page-hero,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.page-hero {
  padding: 82px 0 56px;
}

.page-hero h1 {
  max-width: 930px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.14rem;
}

.page-hero-media {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 36px;
  align-items: center;
}

.page-hero-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 76px;
  background: var(--line);
  border: 1px solid var(--line);
}

.quick-facts article {
  padding: 22px;
  background: var(--surface);
}

.quick-facts span,
.contact-card span,
.detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quick-facts strong,
.contact-card strong {
  display: block;
  margin-top: 6px;
  color: var(--primary-dark);
  font-size: 1.08rem;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.work-grid,
.contact-grid,
.page-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.work-card,
.contact-card,
.page-card {
  min-height: 220px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-card span {
  color: var(--accent);
  font-weight: 900;
}

.page-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.page-card:hover,
.page-card:focus {
  border-color: var(--primary);
  outline: 0;
}

.work-card .number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.work-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.proof-band,
.donate-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 36px;
  align-items: start;
}

.proof-copy {
  padding: 34px;
  background: var(--surface-muted);
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.detail-list div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-list dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 750;
}

.document-preview {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.document-preview img {
  width: 100%;
}

.document-preview figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.donate-section {
  align-items: center;
}

.page-donate {
  padding-top: 82px;
}

.donation-notes {
  margin-top: 24px;
  padding: 18px;
  background: var(--surface-muted);
  border-left: 4px solid var(--accent);
}

.donation-notes p {
  margin: 0;
}

.donation-notes p + p {
  margin-top: 8px;
}

.qr-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-panel img {
  width: min(100%, 420px);
  margin: 0 auto;
}

.qr-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.contact-section {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
}

.contact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.contact-card {
  min-height: 136px;
}

.contact-card:hover,
.contact-card:focus {
  border-color: var(--primary);
  outline: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: flex;
  }

  .hero,
  .split,
  .proof-band,
  .donate-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .quick-facts,
  .work-grid,
  .contact-grid,
  .page-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-hero-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .quick-facts,
  .section,
  .page-hero,
  .site-footer,
  .hero {
    width: min(100% - 24px, var(--max));
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .quick-facts,
  .work-grid,
  .contact-grid,
  .page-card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .quick-facts {
    margin-bottom: 52px;
  }

  .proof-copy {
    padding: 22px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
