:root {
  --ink: #17221f;
  --muted: #5b6762;
  --paper: #fffdf8;
  --soft: #f4efe5;
  --sage: #55766b;
  --teal: #0f7b74;
  --gold: #c28b2c;
  --rose: #b85c58;
  --line: rgba(23, 34, 31, 0.13);
  --shadow: 0 24px 70px rgba(24, 49, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-family: Lora, serif;
  font-size: 1.45rem;
  font-weight: 600;
}

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

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal);
  background: rgba(15, 123, 116, 0.09);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  width: min(1140px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 70px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 56px;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.photo-card {
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

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

.photo-card-main {
  width: 82%;
  height: 520px;
}

.photo-card-small {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 44%;
  height: 250px;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Lora, Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.hero-lede {
  max-width: 570px;
  color: var(--muted);
  font-size: 1.22rem;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.primary:hover {
  background: #0a635e;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.principles {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 62px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  border-top: 1px solid var(--line);
}

.principles div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.principles span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--sage);
  font-weight: 800;
  font-size: 0.86rem;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 62px;
}

.rich-text p {
  color: var(--muted);
  font-size: 1.05rem;
}

.quote-band {
  padding: 72px 18px;
  color: #fff;
  background:
    linear-gradient(rgba(15, 69, 65, 0.88), rgba(15, 69, 65, 0.88)),
    url("https://images.unsplash.com/photo-1497486751825-1233686d5d80?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.quote-band blockquote {
  width: min(900px, 100%);
  margin: 0 auto;
  font-family: Lora, Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
  text-align: center;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.program-card:nth-child(2) {
  background: var(--soft);
}

.program-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gold);
  font-weight: 800;
}

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

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.impact-strip div {
  min-height: 128px;
  padding: 28px max(24px, calc((100vw - 1140px) / 2));
  border-right: 1px solid var(--line);
}

.impact-strip div:not(:first-child) {
  padding-left: 28px;
}

.impact-strip strong,
.impact-strip span {
  display: block;
}

.impact-strip strong {
  margin-bottom: 6px;
}

.impact-strip span {
  color: var(--muted);
}

.donate {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.donate-copy p {
  color: var(--muted);
}

.phone-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.donation-card {
  padding: 30px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.donation-card dl {
  margin: 0;
}

.donation-card div {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.donation-card div:first-child {
  padding-top: 0;
}

.donation-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.donation-card dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donation-card dd {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.08rem;
  font-weight: 700;
}

.copy-button {
  min-width: 68px;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.footer {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .principles,
  .split,
  .section-heading,
  .donate {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    min-height: 420px;
    order: 2;
  }

  .photo-card-main {
    height: 390px;
  }

  .photo-card-small {
    width: 50%;
    height: 190px;
  }

  .principles {
    gap: 18px;
  }

  .section {
    padding: 64px 0;
  }

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

  .impact-strip div {
    padding: 24px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .impact-strip div:not(:first-child) {
    padding-left: 16px;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand small {
    max-width: 150px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 340px;
  }

  .photo-card-main {
    width: 88%;
    height: 315px;
  }

  .photo-card-small {
    height: 150px;
  }

  .donation-card {
    padding: 22px;
  }

  .donation-card dd {
    align-items: flex-start;
    flex-direction: column;
  }
}
