:root {
  color-scheme: light;
  --ink: #10110c;
  --ink-soft: #35372a;
  --muted: #726f5e;
  --paper: #f8f3e6;
  --paper-deep: #ece1c9;
  --white: #fffaf0;
  --gold: #f3c532;
  --gold-soft: #ffe59a;
  --gold-dark: #a97708;
  --olive: #5b6338;
  --olive-mid: #404926;
  --olive-dark: #202515;
  --field: #2f371f;
  --field-light: #73804a;
  --border: rgba(17, 16, 13, 0.14);
  --shadow: 0 24px 70px rgba(17, 16, 13, 0.16);
  --font-body: "Rubik", Arial, sans-serif;
  --font-display: "Rubik", Arial, sans-serif;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    repeating-linear-gradient(135deg, rgba(64, 73, 38, 0.04) 0 16px, transparent 16px 38px),
    linear-gradient(rgba(17, 16, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 13, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  background: rgba(248, 245, 236, 0.86);
  border-bottom: 1px solid rgba(17, 16, 13, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px 15px 15px 5px;
  background: linear-gradient(135deg, var(--ink), var(--olive-dark));
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(243, 197, 50, 0.24);
}

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

.brand strong {
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
}

.brand small {
  margin-block-start: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

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

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(243, 197, 50, 0.24);
}

.button-primary:hover {
  background: #ffd95f;
}

.button-secondary {
  border-color: rgba(255, 253, 247, 0.32);
  background: rgba(255, 250, 240, 0.1);
  color: var(--white);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.button-ghost {
  border-color: rgba(255, 253, 247, 0.26);
  background: transparent;
  color: var(--white);
}

.button-line {
  border-color: rgba(16, 17, 12, 0.18);
  background: rgba(255, 250, 240, 0.68);
  color: var(--ink);
}

.button-line:hover {
  border-color: var(--olive);
  background: var(--white);
}

.button-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

.button-wide {
  width: 100%;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-light {
  background: var(--paper);
}

.section-olive {
  background:
    linear-gradient(135deg, rgba(243, 197, 50, 0.08), transparent 35%),
    var(--olive-dark);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100svh - var(--header-height) - 72px);
  display: grid;
  align-items: end;
  padding: 24px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(17, 16, 13, 0.82), rgba(17, 16, 13, 0.24) 56%, rgba(17, 16, 13, 0.7)),
    linear-gradient(90deg, rgba(243, 197, 50, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(64, 73, 38, 0.58), transparent 48%);
}

.hero-bg-word {
  position: absolute;
  inset-block-start: 30px;
  inset-inline-start: -18px;
  z-index: 1;
  color: rgba(255, 253, 247, 0.035);
  font-family: var(--font-display);
  font-size: clamp(110px, 34vw, 420px);
  font-weight: 900;
  line-height: 0.75;
  pointer-events: none;
}

.hero-grid {
  position: static;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block-start: 8px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.section-kicker {
  color: var(--gold-dark);
}

.section-dark .section-kicker,
.section-olive .section-kicker {
  color: var(--gold);
}

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

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.98;
}

h1 {
  max-width: min(100%, 11.5ch);
  font-size: clamp(44px, 12vw, 118px);
}

h2 {
  font-size: clamp(34px, 10vw, 72px);
}

h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.mission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mission-tags li {
  padding: 7px 11px;
  border: 1px solid rgba(243, 197, 50, 0.34);
  border-radius: 999px;
  background: rgba(32, 37, 21, 0.58);
  color: rgba(255, 250, 240, 0.9);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.hero-quote {
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 253, 247, 0.22);
}

.hero-quote blockquote {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(25px, 6.6vw, 44px);
  font-weight: 900;
  line-height: 1.08;
}

.hero-quote figcaption {
  margin-block-start: 10px;
  color: rgba(255, 253, 247, 0.72);
  font-size: 17px;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-block-start: 26px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  border-radius: 0;
  isolation: isolate;
}

.hero-media::before {
  display: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 54% top;
  border-radius: 0;
  box-shadow: none;
}

.intro-strip {
  padding: 18px 0;
  background:
    linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold)),
    var(--gold);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.42);
}

.intro-grid {
  display: grid;
  gap: 12px;
}

.intro-stat {
  display: grid;
  grid-template-columns: minmax(82px, auto) 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 16, 13, 0.18);
}

.intro-stat:last-child {
  border-bottom: 0;
}

.intro-stat span {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  color: var(--field);
}

.intro-stat p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.story,
.doing,
.gallery {
  padding: 76px 0;
}

.story-grid {
  display: grid;
  gap: 28px;
}

.story-text p,
.promise p,
.vision-copy p,
.support-copy p {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.story-photo {
  margin: 0;
}

.story-photo img,
.vision-photo img,
.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.story-photo img {
  max-height: 680px;
  object-position: center 30%;
  box-shadow: var(--shadow);
}

.cta-band {
  padding: 26px 0;
  position: relative;
  overflow: clip;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(91, 99, 56, 0.12), transparent),
    repeating-linear-gradient(90deg, rgba(16, 17, 12, 0.05) 0 1px, transparent 1px 28px);
}

.cta-band-inner {
  position: relative;
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(16, 17, 12, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.cta-band-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.cta-band-actions {
  display: grid;
  gap: 10px;
}

.cta-band-dark {
  background: var(--field);
  color: var(--white);
}

.cta-band-dark::before {
  background:
    linear-gradient(90deg, rgba(243, 197, 50, 0.12), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 250, 240, 0.045) 0 1px, transparent 1px 24px);
}

.cta-band-dark .cta-band-inner {
  border-color: rgba(255, 250, 240, 0.16);
  background: rgba(16, 17, 12, 0.28);
}

.cta-band-dark .cta-band-inner p {
  color: rgba(255, 250, 240, 0.9);
}

.promise {
  padding: 82px 0;
  position: relative;
  overflow: clip;
}

.promise::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--olive), var(--gold));
}

.promise-inner {
  max-width: 840px;
}

.promise-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.promise h2 {
  font-size: clamp(34px, 9vw, 78px);
}

.promise p {
  color: rgba(255, 253, 247, 0.78);
}

.memory-stamp {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(243, 197, 50, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.1), rgba(255, 250, 240, 0.035)),
    rgba(32, 37, 21, 0.52);
  width: 100%;
  max-width: 320px;
  justify-self: center;
}

.memory-stamp picture {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  max-width: 260px;
  margin-inline: auto;
}

.memory-stamp img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.94;
  filter: sepia(0.18) contrast(1.08) saturate(0.88);
}

.memory-stamp figcaption {
  display: grid;
  gap: 4px;
  margin-block-start: 14px;
  color: rgba(255, 250, 240, 0.82);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.memory-stamp figcaption strong {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.section-heading {
  max-width: 780px;
  margin-block-end: 30px;
}

.impact-layout {
  display: grid;
  gap: 12px;
}

.impact-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.82), rgba(248, 243, 230, 0.7)),
    rgba(255, 253, 247, 0.72);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.impact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 99, 56, 0.26);
  box-shadow: 0 18px 46px rgba(16, 17, 12, 0.08);
}

.impact-card-large {
  background:
    linear-gradient(135deg, rgba(243, 197, 50, 0.14), transparent 38%),
    var(--ink);
  color: var(--white);
}

.impact-number {
  display: block;
  margin-block-end: 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 900;
  line-height: 0.88;
}

.impact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-block-end: 22px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.impact-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.impact-card-large p {
  color: rgba(255, 253, 247, 0.78);
}

.vision {
  padding: 74px 0;
  overflow: clip;
}

.vision-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.vision-copy p {
  color: rgba(255, 253, 247, 0.78);
}

.vision-photo {
  margin: 0;
  position: relative;
}

.vision-photo::before {
  content: "";
  position: absolute;
  inset: -12px 14px 18px -12px;
  z-index: 0;
  border: 1px solid rgba(240, 194, 58, 0.42);
  border-radius: 8px;
}

.vision-photo picture {
  position: relative;
  z-index: 1;
}

.vision-photo img {
  max-height: 670px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.media-mosaic {
  display: grid;
  grid-auto-flow: dense;
  gap: 12px;
}

.media-tile {
  height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-deep);
  position: relative;
}

.media-tile picture {
  display: block;
  height: 100%;
}

.media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 17, 12, 0.22));
  opacity: 0;
  transition: opacity 220ms ease;
}

.media-tile.tall {
  height: 520px;
}

.media-tile.wide {
  height: 320px;
}

.video-row {
  display: grid;
  gap: 12px;
  margin-block-start: 14px;
}

.video-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(16, 17, 12, 0.12);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: cover;
}

.video-card p {
  margin: 0;
  padding: 12px 14px 14px;
  color: rgba(255, 253, 247, 0.78);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.media-tile img,
.video-card video {
  transition: transform 700ms ease;
}

.media-tile:hover img,
.video-card:hover video {
  transform: scale(1.035);
}

.media-tile:hover::after {
  opacity: 1;
}

.support {
  padding: 78px 0 86px;
}

.support-grid {
  display: grid;
  gap: 24px;
}

.support-copy p {
  color: rgba(255, 253, 247, 0.78);
}

.support-panel {
  padding: 24px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.08);
}

.support-panel h3 {
  font-size: 25px;
}

.support-panel p {
  margin: 12px 0 22px;
  color: rgba(255, 253, 247, 0.76);
  font-size: 17px;
}

.support-panel .button + .button {
  margin-block-start: 10px;
}

body.is-donation-ready [data-donation-pending] {
  display: none;
}

.mobile-cta {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 12;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(17, 16, 13, 0.1);
  border-radius: 8px;
  background: rgba(248, 245, 236, 0.92);
  box-shadow: 0 18px 48px rgba(17, 16, 13, 0.18);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 22px));
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

body.show-mobile-cta .mobile-cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-cta .button {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 15px;
}

.mobile-cta .button-secondary {
  border-color: rgba(17, 16, 13, 0.14);
  background: var(--ink);
  color: var(--white);
}

.site-footer {
  padding: 28px 0 88px;
  background: #0b0b09;
  color: rgba(255, 253, 247, 0.72);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  gap: 6px;
}

.footer-inner p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 620px) {
  .shell {
    width: min(1120px, calc(100% - 48px));
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .cta-band-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 22px 24px;
  }

  .cta-band-actions {
    grid-template-columns: repeat(2, auto);
    justify-content: end;
  }

  .intro-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-stat {
    grid-template-columns: 1fr;
    align-content: start;
    border-bottom: 0;
    border-inline-start: 1px solid rgba(17, 16, 13, 0.18);
    padding-inline-start: 18px;
  }

  .intro-stat:last-child {
    border-inline-start: 0;
  }

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

  .media-tile.tall {
    grid-row: span 2;
  }

  .media-tile.wide {
    grid-column: span 2;
  }
}

@media (min-width: 820px) {
  .desktop-nav {
    display: flex;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 118px);
    padding: 36px 0 28px;
    align-items: center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(243, 197, 50, 0.1), transparent 28%),
      linear-gradient(135deg, rgba(64, 73, 38, 0.46), transparent 46%);
    opacity: 0.82;
  }

  .hero-grid {
    position: relative;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.82fr);
    display: grid;
    align-items: center;
    gap: 28px;
  }

  .hero-copy {
    padding-block-start: 0;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(68px, 8.2vw, 98px);
  }

  .hero-text {
    font-size: 18px;
    line-height: 1.65;
  }

  .hero-media {
    position: relative;
    inset: auto;
    min-height: 420px;
    border-radius: 8px;
  }

  .hero-media::before {
    content: "";
    display: block;
    position: absolute;
    inset: 16px -10px -10px 20px;
    z-index: -1;
    border: 1px solid rgba(240, 194, 58, 0.58);
    border-radius: 8px;
  }

  .hero-media img {
    height: min(60vh, 560px);
    min-height: 400px;
    object-position: center top;
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .story,
  .doing,
  .gallery {
    padding: 112px 0;
  }

  .story-grid {
    grid-template-columns: 110px minmax(0, 1fr) minmax(320px, 0.62fr);
    align-items: start;
    gap: 34px;
  }

  .story-grid .section-kicker {
    writing-mode: vertical-rl;
    margin: 0;
    justify-self: start;
  }

  .impact-layout {
    grid-template-columns: repeat(4, 1fr);
  }

  .promise-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 46px;
  }

  .impact-card-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .vision {
    padding: 108px 0;
  }

  .vision-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.76fr);
    gap: 54px;
  }

  .media-mosaic {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
  }

  .media-tile.tall {
    grid-row: span 2;
  }

  .media-tile.wide {
    grid-column: span 2;
  }

  .video-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .support {
    padding: 112px 0;
  }

  .support-grid {
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: 56px;
  }

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-block-end: 30px;
  }
}

@media (min-width: 1040px) {
  .hero-text,
  .story-text p,
  .promise p,
  .vision-copy p,
  .support-copy p {
    font-size: 20px;
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(1120px, calc(100% - 24px));
  }

  .brand small {
    display: none;
  }

  .button {
    padding-inline: 14px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-quote blockquote {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
