:root {
  --ink: #1f2521;
  --forest: #123d32;
  --leaf: #1f7a5d;
  --sky: #3f7fa6;
  --paper: #f7f5ef;
  --white: #ffffff;
  --clay: #c65b42;
  --gold: #f2b84b;
  --line: rgba(31, 37, 33, 0.16);
  --shadow: 0 22px 60px rgba(20, 28, 24, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 245, 239, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(31, 37, 33, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  opacity: 0.76;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 61, 50, 0.9) 0%, rgba(18, 61, 50, 0.7) 36%, rgba(18, 61, 50, 0.28) 72%, rgba(18, 61, 50, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding-top: 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 710px;
  font-size: 64px;
  font-weight: 900;
}

h2 {
  font-size: 42px;
  font-weight: 870;
}

h3 {
  font-size: 22px;
  font-weight: 860;
}

.hero-tagline {
  margin: 28px 0 0;
  color: #fff4cf;
  font-size: 31px;
  font-weight: 850;
  line-height: 1.25;
}

.hero-copy {
  max-width: 630px;
  margin: 28px 0 0;
  font-size: 20px;
}

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

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

.button.primary {
  background: var(--gold);
  color: #251b07;
}

.button.primary:hover {
  background: #ffca67;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

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

.trust-strip div {
  min-height: 122px;
  padding: 30px 34px;
  background: var(--white);
}

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

.trust-strip strong {
  color: var(--forest);
  font-size: 24px;
  line-height: 1.15;
}

.trust-strip span {
  margin-top: 8px;
  color: rgba(31, 37, 33, 0.74);
  font-size: 15px;
}

.section {
  padding: 96px max(24px, calc((100vw - 1180px) / 2));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 64px;
  align-items: center;
  background: var(--paper);
}

.section-copy p,
.section-heading p,
.partner-copy p,
.donate-copy p,
.image-story p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(31, 37, 33, 0.78);
  font-size: 18px;
}

.photo-panel {
  margin: 0;
}

.photo-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-panel figcaption {
  margin-top: 12px;
  color: rgba(31, 37, 33, 0.66);
  font-size: 14px;
}

.statement-band {
  background: var(--forest);
  color: var(--white);
}

.statement {
  max-width: 1000px;
}

.statement p {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.25;
}

.program-section {
  background: #ffffff;
}

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

.program-grid,
.giving-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.program-card,
.giving-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
}

.program-card {
  min-height: 306px;
}

.step {
  display: block;
  margin-bottom: 28px;
  color: var(--sky);
  font-size: 15px;
  font-weight: 900;
}

.program-card p,
.giving-card p {
  margin: 18px 0 0;
  color: rgba(31, 37, 33, 0.76);
}

.partner-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 52px;
  align-items: center;
  background: #eef6f1;
}

.partner-copy a {
  color: var(--leaf);
  font-weight: 800;
}

.tax-box {
  border: 1px solid rgba(18, 61, 50, 0.2);
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  padding: 32px;
}

.tax-box span {
  display: block;
  color: #bfe3d2;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.tax-box strong {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 54px;
  line-height: 1;
}

.tax-box p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.image-story {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  background: var(--paper);
}

.image-story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.corporate-section {
  background: #1f2521;
  color: var(--white);
}

.corporate-section .section-heading p,
.corporate-section .note {
  color: rgba(255, 255, 255, 0.76);
}

.corporate-section .eyebrow {
  color: var(--gold);
}

.giving-card {
  background: #fbfaf5;
  color: var(--ink);
}

.giving-card.featured {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(242, 184, 75, 0.35);
}

.amount {
  color: var(--clay);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.note {
  max-width: 820px;
  margin: 26px 0 0;
}

.donate-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1fr);
  gap: 58px;
  align-items: start;
  background: #fffdf7;
}

.impact-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.impact-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(31, 37, 33, 0.8);
}

.impact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
}

.direct-link {
  color: var(--leaf);
  font-weight: 900;
  word-break: break-word;
}

.pledge-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 18px 45px rgba(31, 37, 33, 0.1);
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(31, 37, 33, 0.24);
  border-radius: 8px;
  background: #fbfaf5;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(63, 127, 166, 0.26);
  border-color: var(--sky);
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 24px;
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  background: var(--forest);
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: #fff4cf;
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.media-note {
  font-size: 13px;
}

@media (max-width: 960px) {
  .site-header {
    padding: 14px 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 18px 45px rgba(31, 37, 33, 0.18);
  }

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

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 720px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-tagline {
    font-size: 27px;
  }

  .trust-strip,
  .program-grid,
  .giving-grid,
  .split-section,
  .partner-band,
  .image-story,
  .donate-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .split-section,
  .partner-band,
  .image-story,
  .donate-section {
    gap: 36px;
  }

  .tax-box {
    max-width: 420px;
  }

  .statement p {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 11px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 12px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(18, 61, 50, 0.94), rgba(18, 61, 50, 0.76)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.08));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 84px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-tagline {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .trust-strip div {
    min-height: 0;
    padding: 24px;
  }

  .program-card,
  .giving-card,
  .pledge-form {
    padding: 24px;
  }

  .pledge-form {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }

  .statement p {
    font-size: 28px;
  }
}
