:root {
  color-scheme: light;
  --ink: #2b1d15;
  --muted: #6f5a49;
  --paper: #fff8ee;
  --surface: #ffffff;
  --teal: #078676;
  --teal-dark: #00685c;
  --gold: #9b6100;
  --gold-soft: #f7d58e;
  --line: rgba(43, 29, 21, 0.12);
  --shadow: 0 24px 70px rgba(66, 38, 12, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(247, 213, 142, 0.5), transparent 34rem),
    linear-gradient(180deg, #fffdfa 0%, var(--paper) 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100dvh;
  overflow: hidden;
}

.isolate {
  isolation: isolate;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header nav a {
  border-radius: 999px;
  padding: 10px 12px;
}

.site-header nav a:hover {
  background: rgba(7, 134, 118, 0.08);
  color: var(--teal-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: 52px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0 84px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.eyebrow {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

h1 {
  max-width: 11ch;
  color: #3a2114;
  font-size: clamp(4.6rem, 12vw, 8.7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.84;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-weight: 720;
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.hero-lede {
  max-width: 33ch;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 1rem;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button:focus-visible,
.detail-row button:focus-visible {
  outline: 3px solid rgba(7, 134, 118, 0.35);
  outline-offset: 3px;
}

.button-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 14px 34px rgba(7, 134, 118, 0.25);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  background: rgba(155, 97, 0, 0.09);
  color: #614112;
}

.hero-art {
  position: relative;
}

.hero-art::before {
  position: absolute;
  inset: 24px -18px -18px 34px;
  z-index: -1;
  border-radius: 34px;
  background: var(--gold-soft);
  content: "";
}

.hero-art img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(43, 29, 21, 0.08);
  outline-offset: -1px;
}

.section {
  padding: 82px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: start;
}

.mission-section {
  background: #ffffff;
}

.prose {
  display: grid;
  gap: 22px;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.prose blockquote {
  border-left: 5px solid var(--gold-soft);
  padding-left: 18px;
  color: var(--ink);
  font-size: 1.34rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
}

.impact-section {
  background: var(--teal);
  color: white;
}

.impact-section .eyebrow {
  color: #bdece3;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 38px;
}

.section-heading h2 {
  color: white;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.impact-card {
  display: grid;
  min-height: 235px;
  align-content: start;
  gap: 18px;
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.impact-card span {
  color: #bdece3;
  font-size: 0.86rem;
  font-weight: 800;
}

.impact-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.donate-section {
  background:
    linear-gradient(90deg, rgba(155, 97, 0, 0.1), transparent),
    var(--paper);
}

.donate-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 30px;
  align-items: stretch;
  border-radius: 30px;
  padding: 32px;
  background: white;
  box-shadow: var(--shadow);
}

.donate-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}

.donate-copy p:not(.eyebrow) {
  max-width: 45ch;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.donation-details {
  display: grid;
  gap: 12px;
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
  border-radius: 18px;
  padding: 18px;
  background: #fbf0dc;
  box-shadow: inset 0 0 0 1px rgba(155, 97, 0, 0.14);
}

.detail-row span {
  grid-column: 1 / -1;
  color: #7d520d;
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
}

.detail-row button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 900px) {
  .hero,
  .two-column,
  .donate-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    padding: 32px 0 64px;
  }

  .hero-art {
    order: -1;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: clamp(4rem, 21vw, 6.6rem);
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-lede,
  .prose,
  .donate-copy p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .hero-art::before {
    inset: 14px -8px -10px 18px;
    border-radius: 24px;
  }

  .hero-art img,
  .donate-panel {
    border-radius: 24px;
  }

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

  .impact-card {
    min-height: auto;
  }

  .donate-panel {
    padding: 20px;
  }

  .detail-row {
    grid-template-columns: 1fr;
  }

  .detail-row button {
    width: 100%;
  }

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