:root {
  --teal: #3aa6b9;
  --teal-deep: #2997aa;
  --aqua: #e9f8f9;
  --aqua-deep: #cae6e8;
  --rust: #9b2b18;
  --ink: #0f172a;
  --slate: #454f5e;
  --night: #181823;
  --paper: #ffffff;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--aqua);
  color: var(--slate);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ul,
dl {
  margin-top: 0;
}

p:last-child,
ul:last-child,
dl:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Reem Kufi Fun", "IBM Plex Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  width: 100%;
  max-width: 980px;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  font-size: clamp(4.4rem, 9vw, 9rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4vw, 4.85rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 2.25rem);
}

button,
input,
textarea,
select {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--ink);
  color: var(--paper);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-weight: 700;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  font-family: "Reem Kufi Fun", "IBM Plex Sans", sans-serif;
  font-size: 1.1rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
}

.site-nav a:not(.nav-donate)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--teal);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-donate {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--rust);
  color: var(--paper) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  place-items: center;
  overflow: hidden;
  padding: 124px 24px 74px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image: url("../images/hero-1.png");
  background-position: center bottom;
  background-size: cover;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.26);
}

.hero__content {
  width: min(1180px, calc(100vw - 48px));
  min-width: 0;
  text-align: center;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: min(840px, 100%);
  margin: 0 auto 34px;
  color: var(--rust);
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
  font-weight: 600;
}

.hero__actions,
.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  background: var(--rust);
  color: var(--paper);
  box-shadow: 0 16px 40px rgba(155, 43, 24, 0.24);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #842312;
}

.button--ghost {
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

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

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(15, 23, 42, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero__scroll span {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.section {
  padding: clamp(74px, 9vw, 128px) 24px;
}

section[id] {
  scroll-margin-top: 88px;
}

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

.section--aqua {
  background: var(--aqua);
}

.section--ink {
  background: var(--night);
  color: rgba(255, 255, 255, 0.84);
}

.section--ink h2,
.section--ink dt {
  color: var(--paper);
}

.section--ink .eyebrow {
  color: var(--aqua-deep);
}

.section__inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
}

.intro-grid,
.founders-grid,
.impact-grid,
.values-grid {
  display: grid;
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.copy-block p {
  max-width: 640px;
  font-size: 1.08rem;
}

.feature-photo,
.founders-image {
  margin: 0;
}

.feature-photo img {
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-photo figcaption {
  margin-top: 14px;
  color: var(--rust);
  font-family: "Rosarivo", serif;
  font-size: 0.95rem;
}

.story-section {
  position: relative;
}

.story-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.story-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.story-card > div {
  padding: clamp(22px, 3vw, 34px);
}

.story-card__label {
  margin-bottom: 10px;
  color: var(--rust);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card--accent {
  background: #f7fcfc;
}

.video-panel {
  display: grid;
  align-items: center;
  gap: 38px;
  margin-top: 44px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.84);
  grid-template-columns: 0.72fr 1fr;
}

.video-panel h3 {
  color: var(--paper);
}

.video-panel .eyebrow {
  color: var(--aqua-deep);
}

.video-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.donation-band {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  padding: 80px 24px;
  background-image: url("../images/juneteenth.png");
  background-position: center;
  background-size: cover;
  color: var(--paper);
  text-align: center;
  isolation: isolate;
}

.donation-band__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(15, 23, 42, 0.66);
}

.donation-band__content {
  width: min(100%, 760px);
}

.donation-band h2 {
  color: var(--paper);
}

.donation-band .eyebrow {
  color: var(--aqua-deep);
}

.donation-band p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.movement-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movement-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.07);
}

.movement-card img {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.movement-card h3 {
  font-size: 1.5rem;
}

.movement-card p {
  margin-bottom: 18px;
}

.movement-card ul,
.values-list {
  padding: 0;
  list-style: none;
}

.movement-card li,
.values-list li {
  position: relative;
  padding-left: 22px;
}

.movement-card li + li,
.values-list li + li {
  margin-top: 8px;
}

.movement-card li::before,
.values-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.program-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
}

.program-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.program-card::after {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.44);
  content: "";
}

.program-card:hover img,
.program-card:focus-within img {
  transform: scale(1.04);
}

.program-card > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
}

.program-card h3 {
  color: var(--paper);
}

.program-card p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.gallery-ribbon {
  display: grid;
  gap: 12px;
  margin-top: 38px;
  grid-template-columns: 1.2fr 0.8fr 1.1fr 0.8fr 1fr;
}

.gallery-ribbon img {
  width: 100%;
  height: 150px;
  border-radius: var(--radius);
  object-fit: cover;
}

.founders {
  overflow: hidden;
}

.founders-image {
  align-self: end;
}

.founders-image img {
  width: min(100%, 460px);
  margin: 0 auto;
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.16));
}

.mission-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fcfc;
}

.mission-grid h3 {
  color: var(--rust);
  font-size: 1.35rem;
}

.impact-grid {
  grid-template-columns: 0.72fr 1.28fr;
}

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

.stats-grid div {
  min-height: 170px;
  padding: 28px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.stats-grid dt {
  margin-bottom: 10px;
  font-family: "Reem Kufi Fun", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.55rem, 4vw, 3.35rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.stats-grid dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.45;
}

.values-grid {
  align-items: start;
}

.values-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.values-list li {
  padding: 20px 20px 20px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.values-list li::before {
  top: 29px;
  left: 20px;
  background: var(--rust);
}

.challenge-band {
  position: relative;
  padding: clamp(82px, 10vw, 144px) 24px;
  background-image: url("../images/hero-1.png");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.challenge-band::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.54);
}

.challenge-content {
  max-width: 840px;
  margin-left: max(24px, calc((100vw - var(--content)) / 2));
}

.challenge-content p {
  max-width: 720px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 500;
}

.faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fcfc;
}

summary {
  position: relative;
  padding: 22px 56px 22px 22px;
  color: var(--ink);
  font-family: "Reem Kufi Fun", "IBM Plex Sans", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  content: "";
  rotate: 45deg;
  transition: rotate 180ms ease, transform 180ms ease;
}

details[open] summary::after {
  transform: translateY(-20%);
  rotate: 225deg;
}

details p {
  padding: 0 22px 24px;
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: clamp(72px, 9vw, 116px) 24px;
  background: var(--aqua);
  text-align: center;
}

.final-cta img {
  width: 104px;
  height: 104px;
  margin-bottom: 22px;
  border-radius: 50%;
}

.final-cta h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 38px clamp(24px, 5vw, 72px);
  background: var(--night);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer strong {
  display: block;
  color: var(--paper);
  font-family: "Reem Kufi Fun", "IBM Plex Sans", sans-serif;
  font-size: 1.3rem;
}

.site-footer p {
  margin: 0;
}

address {
  display: flex;
  max-width: 620px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-style: normal;
  text-align: right;
}

address a {
  color: var(--aqua-deep);
}

@media (max-width: 1120px) {
  .movement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 18px;
    left: 18px;
    display: grid;
    visibility: hidden;
    padding: 20px;
    transform: translateY(-10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav a {
    padding: 10px 0;
  }

  .nav-donate {
    padding: 14px 18px !important;
    text-align: center;
  }

  .intro-grid,
  .founders-grid,
  .impact-grid,
  .values-grid,
  .video-panel,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .founders-image {
    order: 2;
  }

  .hero {
    min-height: 88vh;
  }

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

@media (max-width: 640px) {
  h1 {
    max-width: 300px;
    font-size: clamp(2.5rem, 10.5vw, 2.9rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding: 112px 18px 70px;
  }

  .hero__content {
    width: calc(100vw - 36px);
  }

  .hero__lead {
    max-width: 310px;
    color: #762111;
    font-size: 1rem;
  }

  .hero__actions,
  .final-cta__actions,
  .site-footer,
  address {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .final-cta form {
    width: 100%;
  }

  .hero__actions {
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
  }

  .feature-photo img,
  .story-card img {
    min-height: auto;
    height: 260px;
  }

  .program-grid,
  .movement-grid,
  .stats-grid,
  .mission-grid,
  .values-list,
  .faq-grid,
  .gallery-ribbon {
    grid-template-columns: 1fr;
  }

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

  .challenge-content {
    margin-left: auto;
  }

  address {
    text-align: left;
  }
}
