:root {
  --paper: #fbf6ec;
  --paper-deep: #f4ebd9;
  --ink: #3b2233;
  --ink-soft: #5e4256;
  --marigold: #f2b705;
  --clay: #a8482a;
  --rose: #e8a0b4;
  --leaf: #5b7b5a;
  --line: rgba(59, 34, 51, 0.16);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Karla", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .4 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.3;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.1;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin-block: 0;
}

.wrap {
  margin: 0 auto;
  max-width: 1180px;
  padding-inline: clamp(20px, 4vw, 48px);
}

.skip-link {
  background: var(--marigold);
  border: 2px solid var(--ink);
  border-radius: 10px;
  font-weight: 800;
  left: 18px;
  padding: 10px 16px;
  position: fixed;
  top: 12px;
  transform: translateY(-170%);
  z-index: 2000;
}

.skip-link:focus {
  transform: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  border-radius: 5px;
  outline: 3px solid var(--clay);
  outline-offset: 4px;
}

.topstrip {
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
}

.topstrip .wrap {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 38px;
}

.topstrip a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.topstrip .contacts {
  display: flex;
  gap: 18px;
}

.site-header {
  backdrop-filter: blur(11px);
  background: rgba(251, 246, 236, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-row {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  flex: none;
}

.brand img {
  height: 58px;
  width: auto;
}

.main-nav > ul {
  align-items: center;
  display: flex;
  gap: clamp(13px, 1.7vw, 25px);
  list-style: none;
  padding: 0;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav a {
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
  padding-block: 8px;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: var(--marigold);
}

.main-nav .has-submenu > a::after {
  content: " ▾";
  font-size: 11px;
  opacity: 0.6;
}

.main-nav .submenu {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 7px 0 var(--marigold);
  display: block;
  left: -15px;
  list-style: none;
  min-width: 240px;
  opacity: 0;
  padding: 10px;
  position: absolute;
  top: calc(100% + 9px);
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  visibility: hidden;
  z-index: 120;
}

.main-nav .has-submenu::before {
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
}

.main-nav .has-submenu:hover .submenu,
.main-nav .has-submenu:focus-within .submenu {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.main-nav .submenu a {
  border: 0;
  border-radius: 10px;
  display: block;
  font-size: 14.5px;
  padding: 9px 13px;
}

.main-nav .submenu a:hover,
.main-nav .submenu a:focus-visible {
  background: var(--paper-deep);
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: none;
  font-size: 29px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.button {
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  line-height: 1.2;
  padding: 12px 23px;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.button:hover {
  box-shadow: 4px 5px 0 var(--marigold);
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-gold {
  background: var(--marigold);
  color: var(--ink);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-small {
  font-size: 14px;
  padding: 9px 18px;
}

.crumbs {
  color: var(--ink-soft);
  font-size: 14px;
  padding-top: 22px;
}

.crumbs a {
  text-underline-offset: 3px;
}

.page-hero {
  overflow: hidden;
  padding: clamp(54px, 8vw, 105px) 0 clamp(52px, 7vw, 88px);
  position: relative;
}

.page-hero::after {
  background: radial-gradient(circle, rgba(242, 183, 5, 0.48) 0 28%, transparent 70%);
  border-radius: 50%;
  content: "";
  height: 520px;
  position: absolute;
  right: -150px;
  top: -190px;
  width: 520px;
  z-index: -1;
}

.eyebrow {
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.17em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(43px, 6.5vw, 78px);
  font-weight: 560;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.page-hero .lede {
  color: var(--ink-soft);
  font-size: clamp(18px, 2.3vw, 22px);
  margin-top: 22px;
  max-width: 66ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 31px;
}

.section {
  padding-block: clamp(58px, 8vw, 98px);
}

.section-tight {
  padding-block: clamp(42px, 6vw, 68px);
}

.section-alt {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

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

.section-heading {
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 740px;
}

.section-heading h2 {
  font-size: clamp(31px, 4.5vw, 52px);
  font-weight: 560;
  letter-spacing: -0.015em;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 18px;
  margin-top: 14px;
}

.section-dark .section-heading p {
  color: rgba(251, 246, 236, 0.78);
}

.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

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

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

.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: clamp(23px, 3vw, 36px);
}

.card h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.card h3 {
  font-size: clamp(22px, 2.4vw, 29px);
}

.card h3 .small {
  display: block;
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.card p {
  color: var(--ink-soft);
}

.profile-card {
  overflow: hidden;
  padding: 0;
}

.profile-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  padding: clamp(23px, 3vw, 36px);
}

.profile-photo {
  aspect-ratio: 456 / 512;
  border-bottom: 2px solid var(--ink);
  object-fit: cover;
  width: 100%;
}

.story-body {
  margin-top: clamp(34px, 5vw, 58px);
  max-width: 880px;
}

.story-body > * + * {
  margin-top: 18px;
}

.story-body h3 {
  color: var(--marigold);
  font-size: clamp(25px, 3.2vw, 36px);
  margin-top: clamp(36px, 5vw, 54px);
}

.story-body p {
  color: rgba(251, 246, 236, 0.86);
  font-size: clamp(17px, 2vw, 19px);
}

.blog-card {
  overflow: hidden;
  padding: 0;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  border-bottom: 2px solid var(--ink);
  object-fit: cover;
  width: 100%;
}

.blog-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.5vw, 30px);
}

.blog-card-content h2 {
  font-size: clamp(22px, 2.3vw, 29px);
}

.video-card {
  overflow: hidden;
  padding: 0;
}

.support-video {
  aspect-ratio: 16 / 9;
  background: #161016;
  border-bottom: 2px solid var(--ink);
  display: block;
  object-fit: contain;
  width: 100%;
}

.video-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.5vw, 30px);
}

.blog-meta {
  color: var(--clay);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.partner-card {
  overflow: hidden;
  padding: 0;
}

.partner-logo-link {
  align-items: center;
  background: #fff;
  border-bottom: 2px solid var(--ink);
  display: flex;
  min-height: 170px;
  padding: 24px;
}

.partner-logo {
  display: block;
  height: 100px;
  margin: auto;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.partner-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.5vw, 30px);
}

.grant-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  max-width: 900px;
}

.grant-card .partner-logo-link {
  border-bottom: 0;
  border-right: 2px solid var(--ink);
}

@media (max-width: 680px) {
  .grant-card {
    grid-template-columns: 1fr;
  }

  .grant-card .partner-logo-link {
    border-bottom: 2px solid var(--ink);
    border-right: 0;
  }
}

.card ul {
  color: var(--ink-soft);
  padding-left: 20px;
}

.card li + li {
  margin-top: 6px;
}

.card .button,
.card .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.card-shadow-gold {
  box-shadow: 7px 8px 0 var(--marigold);
}

.card-shadow-rose {
  box-shadow: 7px 8px 0 var(--rose);
}

.card-shadow-clay {
  box-shadow: 7px 8px 0 var(--clay);
}

.card-shadow-leaf {
  box-shadow: 7px 8px 0 var(--leaf);
}

.text-link {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.split {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 72px);
  grid-template-columns: 1.05fr 0.95fr;
}

.split-copy > * + * {
  margin-top: 17px;
}

.split-copy h2 {
  font-size: clamp(31px, 4.5vw, 52px);
}

.split-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.split-copy p,
.split-copy li {
  color: var(--ink-soft);
}

.section-dark .split-copy p,
.section-dark .split-copy li {
  color: rgba(251, 246, 236, 0.86);
}

.split-copy ul {
  padding-left: 22px;
}

.split-copy li + li {
  margin-top: 7px;
}

.wide-copy {
  max-width: 900px;
}

.library-heading {
  margin-top: clamp(52px, 7vw, 84px);
}

.library-heading h3 {
  font-size: clamp(29px, 4vw, 44px);
}

.library-book .text-link {
  margin-top: auto;
}

.library-note {
  margin-top: clamp(28px, 4vw, 42px);
  max-width: 900px;
}

.split-media img {
  border: 2px solid var(--ink);
  border-radius: 23px;
  box-shadow: 9px 10px 0 var(--marigold);
  width: 100%;
}

.notice {
  background: rgba(242, 183, 5, 0.13);
  border-left: 5px solid var(--marigold);
  padding: 15px 18px;
}

.notice strong {
  display: block;
}

.notice p + p {
  margin-top: 8px;
}

.notice-dark {
  background: rgba(251, 246, 236, 0.09);
  border-left-color: var(--rose);
  color: var(--paper);
}

.section-dark .notice-dark p {
  color: rgba(251, 246, 236, 0.9);
}

.notice-dark strong {
  color: var(--marigold);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
  padding: 0;
}

.pill-list li {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 13px;
}

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

.stat {
  background: var(--paper-deep);
  padding: clamp(24px, 3vw, 38px);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(37px, 4.7vw, 56px);
  line-height: 1;
}

.stat span {
  color: var(--ink-soft);
  display: block;
  font-size: 14.5px;
  margin-top: 10px;
}

.resource-groups {
  display: grid;
  gap: 22px;
}

.resource-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(21px, 3vw, 31px);
}

.resource-group h2,
.resource-group h3 {
  font-size: clamp(22px, 2.7vw, 30px);
}

.resource-links {
  display: grid;
  gap: 9px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin-top: 17px;
  padding: 0;
}

.resource-links a {
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.resource-feature {
  margin-bottom: 30px;
}

.resource-pending {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  gap: 8px;
}

.resource-status {
  background: #f1e7df;
  border-radius: 999px;
  color: var(--plum);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.045em;
  padding: 4px 8px;
  text-transform: uppercase;
}

.quote {
  border-left: 5px solid var(--marigold);
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 28px);
  font-style: italic;
  padding-left: 20px;
}

.quote cite {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  margin-top: 12px;
}

.faq {
  border-bottom: 1px solid var(--line);
  padding-block: 17px;
}

.faq:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 650;
}

.faq p {
  color: var(--ink-soft);
  margin-top: 12px;
  max-width: 72ch;
}

.next-step {
  background: var(--marigold);
  border: 2px solid var(--ink);
  border-radius: 25px;
  box-shadow: 9px 10px 0 var(--ink);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  padding: clamp(29px, 5vw, 55px);
}

.next-step h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.next-step p {
  margin-top: 11px;
  max-width: 63ch;
}

.next-step .hero-actions {
  align-items: center;
  margin-top: 0;
}

.page-nav {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.page-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding-block: 14px;
  padding-left: 0;
}

.page-nav a {
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 27px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.35fr repeat(3, 1fr);
}

.footer-brand img {
  background: var(--paper);
  border-radius: 18px;
  filter: none;
  height: 142px;
  object-fit: contain;
  object-position: left;
  padding: 10px;
  width: 142px;
}

.footer-brand p {
  color: rgba(251, 246, 236, 0.72);
  font-size: 14.5px;
  margin-top: 17px;
  max-width: 40ch;
}

.site-footer h2 {
  color: var(--marigold);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 17px;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.site-footer a {
  color: rgba(251, 246, 236, 0.82);
  font-size: 14.5px;
  text-underline-offset: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(251, 246, 236, 0.18);
  color: rgba(251, 246, 236, 0.66);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 15px;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 21px;
}

@media (max-width: 1240px) {
  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    left: 0;
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    padding: 18px 24px 25px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav > ul {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 10px 5px;
  }

  .main-nav .has-submenu > a::after {
    content: "";
  }

  .main-nav .submenu {
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
    opacity: 1;
    padding: 0 0 6px 17px;
    position: static;
    transform: none;
    visibility: visible;
  }

  .main-nav .submenu a {
    color: var(--ink-soft);
    font-size: 14px;
    padding: 6px 5px;
  }

  .nav-actions .button {
    display: none;
  }
}

@media (max-width: 850px) {
  .grid-2,
  .grid-3,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .split-media {
    max-width: 560px;
  }

  .next-step {
    grid-template-columns: 1fr;
  }

  .next-step .hero-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    gap: 33px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16.5px;
  }

  .topstrip .charity-number {
    display: none;
  }

  .topstrip .contacts a:first-child {
    display: none;
  }

  .brand img {
    height: 49px;
  }

  .nav-row {
    min-height: 75px;
  }

  .page-hero h1 {
    font-size: clamp(39px, 13vw, 60px);
  }

  .stats,
  .resource-links {
    grid-template-columns: 1fr;
  }

  .button {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
