:root {
  --red: #a62a20;
  --red-dark: #6f1c17;
  --gold: #eab525;
  --earth: #5a2b18;
  --ink: #231b17;
  --muted: #6f655f;
  --cream: #fff9ef;
  --paper: #ffffff;
  --sage: #3c6b55;
  --teal: #0b7a82;
  --shadow: 0 22px 70px rgba(43, 25, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(31, 20, 14, 0.82), rgba(31, 20, 14, 0));
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(82px, 10vw, 126px);
  min-width: 82px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 32px);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header nav a {
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1e1814;
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 19, 12, 0.84) 0%, rgba(37, 19, 12, 0.54) 38%, rgba(37, 19, 12, 0.08) 78%),
    linear-gradient(0deg, rgba(31, 20, 14, 0.76) 0%, rgba(31, 20, 14, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 58px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.8rem, 9vw, 7.4rem);
}

h2 {
  color: var(--red-dark);
  font-size: clamp(2rem, 4vw, 4.2rem);
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 680px;
  margin-top: 20px;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

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

.button {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.button-primary {
  background: var(--gold);
  color: #2c1b05;
  box-shadow: 0 16px 38px rgba(234, 181, 37, 0.28);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button-tertiary {
  border: 1px solid rgba(111, 28, 23, 0.28);
  color: var(--red-dark);
  background: #fff;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.story-copy p,
.give-copy p,
.footer-main p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p:not(.eyebrow) {
  max-width: 740px;
  margin-top: 24px;
}

.intro-panel {
  border-left: 5px solid var(--gold);
  padding: 28px 0 28px 30px;
  color: var(--earth);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(90, 43, 24, 0.18);
  border-block: 1px solid rgba(90, 43, 24, 0.18);
}

.impact-strip div {
  min-height: 170px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px;
  background: #fffdf8;
  text-align: center;
}

.impact-strip strong {
  color: var(--red);
  font-family: "Inter", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
}

.impact-strip span {
  max-width: 260px;
  color: var(--earth);
  font-weight: 700;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.story-image {
  min-height: 540px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

.story-copy p {
  margin-top: 22px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: clamp(210px, 28vw, 410px);
  gap: 10px;
  padding: 10px;
  background: var(--ink);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery img:first-child,
.gallery img:nth-child(3) {
  grid-row: span 2;
}

.gallery img:nth-child(4) {
  object-position: 50% 30%;
}

.give {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
}

.give-copy p {
  max-width: 760px;
  margin-top: 22px;
}

.give-actions {
  justify-content: flex-end;
}

.site-footer {
  background: #241813;
  color: #fff;
  padding: 54px clamp(18px, 4vw, 56px) 28px;
}

.footer-main,
.footer-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.footer-logo {
  width: 168px;
  margin-bottom: 18px;
}

.footer-main p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 14px;
}

.charity-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: #fff;
  font-weight: 700;
  text-decoration-color: rgba(234, 181, 37, 0.7);
  text-underline-offset: 4px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  padding: 18px;
  overflow-y: auto;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 14, 10, 0.72);
  backdrop-filter: blur(8px);
}

.donate-modal {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(111, 28, 23, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.donate-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.donate-summary {
  padding: clamp(28px, 5vw, 52px);
  background: #261a14;
  color: #fff;
}

.donate-summary h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.donate-summary > p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.receipt-preview {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  padding: 22px;
  border: 1px solid rgba(234, 181, 37, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.receipt-preview span,
.receipt-preview small {
  color: rgba(255, 255, 255, 0.72);
}

.receipt-preview strong {
  color: var(--gold);
  font-size: 1.35rem;
}

.donate-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 52px);
}

.donate-form label {
  display: grid;
  gap: 8px;
  color: var(--earth);
  font-weight: 800;
}

.donate-form input,
.donate-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(90, 43, 24, 0.22);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.stripe-placeholder {
  padding: 18px;
  border: 1px solid rgba(11, 122, 130, 0.24);
  border-radius: 8px;
  background: rgba(11, 122, 130, 0.08);
}

.stripe-placeholder strong {
  color: var(--teal);
}

.stripe-placeholder p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

body.modal-open {
  overflow: hidden;
}

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

  .site-header nav {
    gap: 12px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 92vh;
  }

  h1,
  h2 {
    line-height: 1;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(31, 20, 14, 0.88) 0%, rgba(31, 20, 14, 0.34) 74%),
      linear-gradient(90deg, rgba(37, 19, 12, 0.6), rgba(37, 19, 12, 0.08));
  }

  .hero-content {
    padding-bottom: 46px;
  }

  .intro,
  .story,
  .give {
    grid-template-columns: 1fr;
  }

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

  .impact-strip div {
    min-height: 138px;
  }

  .story-image,
  .story-image img {
    min-height: 360px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .gallery img:first-child,
  .gallery img:nth-child(3) {
    grid-row: auto;
  }

  .give-actions {
    justify-content: flex-start;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .donate-layout {
    grid-template-columns: 1fr;
  }
}

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

  .brand {
    width: 72px;
    min-width: 72px;
  }

  .site-header nav {
    display: none;
  }

  h1 {
    max-width: 320px;
    font-size: clamp(2.85rem, 13vw, 3.75rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-copy {
    max-width: 320px;
    font-size: 1rem;
  }

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

  .button {
    width: 100%;
  }

  .intro-panel {
    padding-left: 22px;
  }

  .footer-legal {
    align-items: flex-start;
  }

  .charity-mark {
    width: 48px;
    height: 48px;
  }

  .modal {
    padding: 10px;
  }

  .donate-modal {
    max-height: calc(100vh - 20px);
  }
}
