@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   DESIGN TOKENS — mirrors intended theme.json
   ============================================ */
:root {
  /* brand */
  --green-light: #6ccf77;
  --green: #40b24e;
  --green-dark: #2f8a3b;
  --green-deep: #236e2f;
  /* AA-safe on white, used for text/links/primary buttons */
  --pink-light: #d98fbc;
  --pink: #c569a4;
  --pink-dark: #a04f87;
  --orange-light: #f5a15f;
  --orange: #ef8332;
  --orange-dark: #d96f1f;
  --yellow-light: #f6e08c;
  --yellow: #f1d260;
  --yellow-dark: #c9ad4f;
  --warning: #de350b;
  --success: #26cd41;
  --black: #000000;
  --white: #ffffff;
  --n50: #fdfdfd;
  --n100: #f5f5f5;
  --n300: #bdbdbd;
  --n500: #7a7a7a;
  --n700: #4a4a4a;
  --n900: #242424;
  --surface: #f5f5f5;

  /* type */
  --font-display: "Protest Riot", sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* scale */
--step-h1: clamp(2.75rem, 4vw + 1rem, 4rem);
--step-h2: clamp(2.25rem, 3vw + 1rem, 3rem);
--step-h3: clamp(1.75rem, 2vw + 1rem, 2.25rem);
--step-h4: 1.375rem;
--step-h5: 1.125rem;
--step-h6: 1rem;

--step-large: 1.125rem;
--step-normal: 1rem;
--step-small: 0.875rem;
--step-xsmall: 0.75rem;


  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --container: 1200px;

  --shadow-card: 0 6px 24px rgba(36, 36, 36, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--n900);
  background: var(--white);
  font-size: var(--step-normal);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pink-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--n900);
}

h1 {
  font-size: calc(var(--step-h1) * 0.9);
}

h2 {
  font-size: calc(var(--step-h2) * 0.9);
}

h3 {
  font-size: calc(var(--step-h3) * 0.9);
}

h4 {
  font-size: calc(var(--step-h4) * 0.95);
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--n900);
  color: var(--white);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top .2s ease, color .2s ease;
}

.skip-link:hover
{
  color: var(--orange);
}

.skip-link:focus {
  top: 1rem;
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Buttons ============ */
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--step-normal);
  letter-spacing: .02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-secondary:hover {
  background: var(--green-light);
  color: var(--n900);
}

.btn-donate {
  background: var(--orange);
  color: var(--black);
}

.btn-donate:hover {
  background: var(--orange-dark);
  color: var(--black);
}

.footer-donate .btn-donate:hover {
  color: var(--black);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--n900);
  border-color: rgba(36, 36, 36, 0.16);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--n900);
}

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--n100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--n900);
}

.brand-mark {
  width: auto;
  height: 42px;
  flex: none;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .01em;
  color: var(--n900);
}

.primary-nav {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hub-link {
  display: none;
  font-weight: 700;
  font-size: var(--step-normal);
  color: var(--black);
  text-decoration: none;
  border-left: 1px solid var(--n300);
  padding-left: .9rem;
  margin-left: .2rem;
}

.hub-link:hover {
  color: var(--green-deep);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--n100);
  border: none;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

@media (min-width:960px) {
  .primary-nav {
    display: block;
  }

  .menu-toggle,
  .hub-link+.menu-toggle {
    display: none;
  }

  .hub-link {
    display: inline-block;
  }

  .nav-list {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    align-items: center;
  }

  .nav-list>li {
    position: relative;
  }

  .nav-top-link {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--step-normal);
    color: var(--n900);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem .1rem;
    position: relative;
  }

  .nav-top-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
  }

  .nav-top-link:hover::after,
  .nav-top-link:focus-visible::after,
  li.has-dropdown:hover>.nav-top-link::after,
  li.has-dropdown:focus-within>.nav-top-link::after {
    transform: scaleX(1);
  }

  .nav-top-link:hover,
  .nav-top-link:focus-visible {
    color: var(--green-deep);
  }

  .caret {
    width: 10px;
    height: 10px;
    transition: transform .18s ease;
  }

  li.has-dropdown:hover .caret,
  li.has-dropdown:focus-within .caret,
  li.has-dropdown.force-open .caret {
    transform: rotate(180deg);
  }

  li.has-dropdown.force-open > .nav-top-link::after {
    transform: scaleX(1);
  }

  .dropdown {
    list-style: none;
    margin: 0;
    padding: .6rem;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--n100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }

  li.has-dropdown:hover .dropdown,
  li.has-dropdown:focus-within .dropdown,
  li.has-dropdown.force-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown a {
    display: block;
    padding: .6rem .75rem;
    border-radius: 6px;
    color: var(--n900);
    text-decoration: none;
    font-size: var(--step-normal);
    font-weight: 600;
  }

  .dropdown a:hover,
  .dropdown a:focus-visible {
    background: var(--n100);
    color: var(--green-deep);
  }
}

/* mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--white);
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--n100);
}

.mobile-close {
  width: 44px;
  height: 44px;
  border: none;
  background: var(--n100);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.5rem 3rem;
}

.mobile-item {
  border-bottom: 2px solid var(--orange);
}

.mobile-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--n900);
  padding: 1rem 0;
  cursor: pointer;
}

.mobile-top .caret {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
  flex: none;
}

.mobile-item.open .caret {
  transform: rotate(180deg);
}

.mobile-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 1rem 0;
  display: none;
}

.mobile-item.open .mobile-sub {
  display: block;
}

.mobile-sub a {
  display: block;
  padding: .55rem 0;
  color: var(--n700);
  text-decoration: none;
  font-weight: 600;
}

.mobile-sub a:hover {
  color: var(--green-deep);
}

.mobile-item>a.mobile-top {
  text-decoration: none;
}

.mobile-hub .mobile-top {
  color: var(--green-deep);
  font-weight: 700;
}

.mobile-donate {
  margin-top: 1.5rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hub-title {
  margin-bottom: .35rem;
}

.hub-copy {
  margin: 0;
  max-width: 52ch;
  color: var(--n800);
}

.footer-address {
  color: var(--n300);
}

.footer-donate-copy {
  margin-top: .5rem;
}

@media (min-width:960px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-light) 100%);
  color: var(--white);
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem 5rem;
  align-items: center;
}

@media (min-width:900px) {
  .hero-inner {
    grid-template-columns: 1.1fr .9fr;
    padding-block: 5.5rem 6.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  font-weight: 800;
  font-size: var(--step-normal);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: .6rem;
}

.hero .lede {
  font-size: var(--step-large);
  max-width: 46ch;
  color: rgba(255, 255, 255, .95);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .hero-ctas {
    justify-content: center;
  }
}

.hero-stats {
  display: flex;
  gap: 1.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.stat span {
  font-size: var(--step-normal);
  color: rgba(255, 255, 255, .85);
}

.hero-badge {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  animation: spin 40s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge {
    animation: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* diagonal cut into next section */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* ============ Section basics ============ */
.section {
  padding-block: 4.5rem;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

 .kicker {
  display: block;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin-bottom: .5rem;
}

/* ============ Mission strip ============ */
.mission-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width:800px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.mission-art {
  background: var(--yellow-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* ============ Program cards ============ */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
}

.program-card {
  background: var(--white);
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .18s ease, box-shadow .18s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(36, 36, 36, .12);
}

.program-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.program-icon svg {
  width: 26px;
  height: 26px;
}

.program-card a {
  font-weight: 800;
  font-size: var(--step-normal);
}

.icon-1 {
  background: var(--green-dark);
}

.icon-2 {
  background: var(--orange);
}

.icon-3 {
  background: var(--pink);
}

.icon-4 {
  background: var(--yellow-dark);
}

.icon-5 {
  background: var(--green);
}

/* ============ Donate band ============ */
.donate-band {
  background: var(--pink-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width:800px) {
  .donate-band {
    grid-template-columns: 1.3fr .7fr;
    padding: 3.5rem;
  }
}

.donate-band h2 {
  color: var(--white);
}

.donate-band p {
  color: white;
  max-width: 50ch;
}

.donate-band .stripe {
  position: absolute;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(245, 161, 95, .95) 0 12px, rgba(255, 255, 255, .08) 12px 28px);
  mix-blend-mode: screen;
}

.donate-actions {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width:800px) {
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.faq-item {
  border: 1px solid var(--n100);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--green-deep);
  border-radius: 2px;
}

.faq-item summary .plus::before {
  width: 100%;
  height: 3px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-item summary .plus::after {
  width: 3px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  transition: transform .15s ease;
}

.faq-item[open] summary .plus::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--n700);
}

/* ============ Partner / Hub ============ */
.hub-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  background: var(--orange);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
}

.hub-strip .btn-secondary {
  background: var(--white);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--n900);
  color: var(--n100);
}

.footer-top {
  padding-block: 3.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
}

@media (max-width:860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-row {
    justify-content: center;
  }

  .footer-donate {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: auto;
  height: 120px;
  object-fit: contain;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
}

.site-footer p {
  color: var(--n300);
  font-size: var(--step-normal);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--step-normal);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.footer-col a {
  color: var(--n100);
  text-decoration: none;
  font-size: var(--step-normal);
  font-weight: 600;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-donate .btn-donate {
  margin-bottom: 1rem;
  color: var(--black);
}

.social-row {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-row a:hover {
  background: var(--green);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.legal-links a {
  color: var(--n300);
  font-size: var(--step-normal);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--white);
}

.copyright {
  color: var(--n500);
  font-size: var(--step-normal);
  margin: 0;
}