:root {
  --dark-blue: #004475;
  --grey-blue: #adc3ea;
  --bright-blue: #4e9cee;
  --mid-blue: #005cbf;
  --yellow: #f9be2a;
  --off-white: #faf9f6;
  --beige: #ede7d7;
  --grid-gap: clamp(1.25rem, 3vw, 3rem);
  --page-width: 80rem;
}

@font-face {
  font-family: "MultiFont";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/media/fonts/43d22ee88abccfc9-s.p.woff2") format("woff2");
}

@font-face {
  font-family: "MultiFont";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/media/fonts/469d455d6e979535-s.p.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  background-color: var(--off-white);
  color: var(--dark-blue);
  font-family: "MultiFont", Georgia, serif;
}

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

h1,
h2,
p,
li,
a,
dt,
dd,
address {
  color: var(--dark-blue);
}

h1 {
  margin: 0 0 0.65em;
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.08;
}

h2 {
  margin: 0 0 0.65em;
  font-size: clamp(1.7rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  margin: 1.3em 0 0.65em;
  font-size: clamp(1.3rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.3;
}

p,
li,
address {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
}

a {
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

a:focus-visible {
  border-radius: 0.15em;
  outline: 0.2rem solid white;
  outline-offset: 0.15rem;
  box-shadow: 0 0 0 0.4rem var(--dark-blue);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: var(--off-white);
  font-weight: 800;
}

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

.container {
  width: min(80%, var(--page-width));
  margin-inline: auto;
}

.container-fluid {
  width: 100%;
  padding-inline: clamp(1rem, 3vw, 3rem);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}

.site-header {
  padding-block: 2rem;
  background: var(--beige);
}

.header-layout {
  align-items: center;
  row-gap: 1.5rem;
}

.site-logo {
  grid-column: 1 / -1;
  width: min(100%, 14rem);
}

.site-logo img {
  width: 100%;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border: 0.125rem solid var(--dark-blue);
  border-radius: 2rem;
  background: transparent;
  color: var(--dark-blue);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  gap: 0.55rem;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--dark-blue);
  color: var(--off-white);
}

.nav-toggle:focus-visible {
  outline: 0.2rem solid white;
  outline-offset: 0.15rem;
  box-shadow: 0 0 0 0.4rem var(--dark-blue);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  width: 1.25rem;
  height: 0.125rem;
  background: currentColor;
}

.nav-toggle-icon {
  position: relative;
  display: block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-icon::before {
  top: -0.4rem;
}

.nav-toggle-icon::after {
  top: 0.4rem;
}

.site-nav {
  grid-column: 1 / -1;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

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

.selected {
  font-weight: bold;
  color: var(--bright-blue);
}

.donate-link {
  padding: 1rem;
  border-radius: 2rem;
  background: var(--yellow);
}

.site-nav .donate-link:hover {
  background: var(--mid-blue);
  color: var(--off-white);
}

.site-notice {
  padding-block: 0.7rem;
  background: var(--grey-blue);
}

.site-notice p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.site-main {
  padding-block: clamp(3rem, 7vw, 6rem) 0;
}

.content-section {
  align-items: center;
  row-gap: 2rem;
}

.section-copy,
.section-copy-right,
.section-visual,
.section-visual-left,
.fact-boxes {
  grid-column: 1 / -1;
}

.section-copy > :last-child,
.fact-box > :last-child {
  margin-bottom: 0;
}

.home-intro p,
.home-intro li {
  font-size: 1.3rem;
  font-weight: 400;
}

.section-copy ul {
  padding-left: 1.5em;
}

.section-copy li {
  margin-bottom: 1em;
}

.section-visual,
.section-visual-left {
  margin: 0;
}

.hero-visual img,
.work-visual img {
  width: min(100%, 32rem);
  margin-inline: auto;
  border-radius: 2rem;
}

.impact-summary {
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.impact-photo img {
  width: 100%;
  border-radius: 2rem;
}

.fact-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
}

.fact-box {
  display: flex;
  min-width: 0;
  min-height: 10rem;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  border-radius: 2rem;
  background: var(--dark-blue);
  text-align: center;
}

.fact-box dt,
.fact-box dd {
  color: var(--off-white);
}

.fact-box dt {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.fact-box dd {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  line-height: 1;
}

.testimonial {
  position: relative;
  width: min(70%, 48rem);
  margin: clamp(4rem, 8vw, 7rem) auto;
  padding: 1rem 3rem;
  border-radius: 2rem;
  background: var(--bright-blue);
  text-align: center;
}

.testimonial blockquote {
  margin: 0;
}

.testimonial p,
.testimonial figcaption {
  color: white;
  font-size: 1.3rem;
  line-height: 1.8;
}

.testimonial figcaption {
  margin-top: 0.75rem;
}

.quote-decoration {
  position: absolute;
  width: 5rem;
}

.quote-decoration-left {
  top: -2rem;
  left: -3rem;
}

.quote-decoration-right {
  right: -3rem;
  bottom: -1rem;
}

.work-section {
  margin-bottom: clamp(4rem, 9vw, 8rem);
}

.email-cta {
  position: relative;
  width: min(70%, 48rem);
  margin: 3rem auto;
  padding: 1rem 6rem 1rem 3rem;
  border-radius: 2rem;
  background: var(--yellow);
  text-align: center;
}

.email-cta p {
  margin: 0;
  font-size: 1.3rem;
}

.email-cta img {
  position: absolute;
  right: -5rem;
  bottom: -0.5rem;
  width: 10rem;
}

table {
  margin-top: 2em;
}

th {
  font-weight: 800;
  text-align: left;
}

thead tr th {
  text-align: center;
}

td {
  text-align: center;
}

td, th {
  border-right: 1px solid var(--grey-blue);
  border-bottom: 1px solid var(--grey-blue);
  padding: 0.5em;
}

tr:last-child td, tbody tr:last-child th {
  border-bottom: none;
}

td:last-child, th:last-child {
  border-right: none;
}

.site-footer {
  margin-top: 3rem;
  padding-block: 2rem;
  background: var(--dark-blue);
}

.footer-layout {
  align-items: center;
  row-gap: 1.5rem;
}

.footer-logo,
.footer-details {
  grid-column: 1 / -1;
}

.footer-logo {
  width: 8rem;
  margin-inline: auto;
}

.footer-details,
.footer-details address,
.footer-details p,
.footer-details a {
  color: var(--off-white);
}

.footer-details address {
  font-style: normal;
}

.footer-details address,
.footer-details p,
.footer-details a {
  font-size: 1rem;
  line-height: 1.4;
}

.footer-details a {
  overflow-wrap: anywhere;
}

@media (max-width: 56.99rem) {
  .site-logo {
    grid-column: 1 / span 7;
  }

  .nav-toggle:not([hidden]) {
    display: inline-flex;
    grid-column: 9 / -1;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .donate-link {
    width: auto;
  }
}

@media (max-width: 39.99rem) {
  .container {
    width: calc(100% - 2rem);
  }

  .site-header {
    padding-block: 1.5rem;
  }

  .site-logo {
    width: 11rem;
  }

  .fact-boxes {
    grid-template-columns: 1fr;
  }

  .testimonial,
  .email-cta {
    width: calc(100% - 2rem);
    padding: 1.25rem;
  }

  .testimonial p,
  .testimonial figcaption,
  .email-cta p {
    font-size: 1.1rem;
  }

  .quote-decoration {
    width: 3.5rem;
  }

  .quote-decoration-left {
    left: -0.75rem;
  }

  .quote-decoration-right {
    right: -0.75rem;
  }

  .email-cta {
    padding-bottom: 4.5rem;
  }

  .email-cta img {
    right: 0.5rem;
    width: 8rem;
  }
}

@media (min-width: 57rem) {
  .site-header {
    padding-block: 2rem;
  }

  .site-logo {
    grid-column: 1 / span 3;
  }

  .site-nav {
    grid-column: 4 / -1;
  }

  .site-nav ul {
    justify-content: flex-end;
  }

  .section-copy {
    grid-column: 1 / span 6;
  }

  .section-copy-right {
    grid-column: 7 / span 6;
  }

  .section-visual {
    grid-column: 7 / -1;
  }
  
  .section-visual-left {
    grid-column: 1 / span 6;
  }

  .fact-boxes {
    grid-column: 8 / -1;
  }

  .impact-table {
    grid-column: 1 / span 16;
  }

  .hero-visual {
    grid-row: 1;
  }

  .impact-photo {
    grid-column: 1 / span 6;
  }

  .work-visual {
    grid-row: 1;
  }

  .footer-logo {
    grid-column: 4 / span 2;
    width: 10rem;
  }

  .footer-details {
    grid-column: 7 / span 5;
  }
}

@media (min-width: 120rem) {
  body {
    font-size: 1.2rem;
  }
}

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

@media (forced-colors: active) {
  .donate-link,
  .fact-box,
  .testimonial,
  .email-cta {
    border: 1px solid CanvasText;
  }
}