/* ===========================
   Core design tokens
   =========================== */
:root {
  color-scheme: light;
  --grassroots-green: #80bd48;
  --renewal-teal:     #51a192;
  --meadow:           #d7e4a0;
  --crayola-orange:   #f27d42;
  --slate-grey:       #6c757d;
  --french-grey:      #adb5db;

  --brand:        var(--grassroots-green);
  --brand-600:    #68a036;
  --accent:       var(--renewal-teal);
  --ink:          #111a0d;
  --surface:      #ffffff;
  --surface-2:    #f3f7ec;
  --white:        #fafcf7;
  --border:       rgba(128,189,72,0.14);
  --text:         #111a0d;
  --text-muted:   #5a6654;
  --on-brand:     #ffffff;

  --radius:          14px;
  --radius-lg:       24px;
  --container-max:   1120px;
  --nav-height:      66px;
}

@supports (color: color-mix(in srgb, white, black)) {
  :root { --brand-600: color-mix(in srgb, var(--brand) 85%, #000 15%); }
}

/* ===========================
   Reset & base
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Gill Sans Nova', 'Gill Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
}

p  { font-size: 0.9375rem; line-height: 1.7; margin: 0 0 0.75rem; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Nunito', 'Gill Sans Nova', 'Gill Sans', sans-serif;
  font-weight: 900;
  line-height: 1.12;
}

/* ===========================
   Navigation
   =========================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(250,252,247,0.90);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-nav--scrolled {
  box-shadow: 0 2px 16px rgba(17,26,13,0.08);
}
.site-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav__brand { flex-shrink: 0; display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; }

.site-nav__links {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.site-nav__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.site-nav__link:hover { color: var(--ink); text-decoration: none; }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link.active,
.site-nav__link--active {
  color: var(--brand);
}
.site-nav__link.active::after,
.site-nav__link--active::after {
  transform: scaleX(1);
}
.site-nav__link--drop { border-radius: 8px; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(17,26,13,0.12);
  padding: 6px;
  z-index: 300;
}
.nav-dropdown__menu--right { left: auto; right: 0; }
.nav-dropdown.open .nav-dropdown__menu { display: block; }
.nav-dropdown__item {
  display: block;
  width: 100%;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background .1s, color .1s;
}
.nav-dropdown__item:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-dropdown__item--danger { color: #e53e3e; }
.nav-dropdown__divider { height: 1px; background: var(--border); margin: 4px 0; }
.nav-dropdown__text { padding: 8px 14px; font-size: 13px; color: var(--text-muted); }

/* Hamburger */
.nav-toggle {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border: 0; background: transparent; border-radius: 8px;
  color: var(--ink); box-shadow: none; cursor: pointer;
  display: none;
  z-index: 1031;
}
.hamburger-bars,
.hamburger-bars::before,
.hamburger-bars::after {
  content: ""; display: block;
  width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  position: relative;
}
.hamburger-bars::before { position: absolute; top: -6px; left: 0; }
.hamburger-bars::after  { position: absolute; top:  6px; left: 0; }
.nav-toggle.open .hamburger-bars { background: transparent; }
.nav-toggle.open .hamburger-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .hamburger-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Buttons in nav */
.btn-outline-ink {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 24px;
  border: 1.5px solid var(--ink);
  background: none;
  font-size: 14px; font-weight: 800;
  color: var(--ink); font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.btn-outline-ink:hover { background: rgba(17,26,13,0.06); text-decoration: none; color: var(--ink); }

.btn-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  line-height: 1;
  border-radius: 24px;
  border: none;
  background: var(--brand);
  font-size: 14px; font-weight: 800;
  color: #fff; font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(128,189,72,0.35);
  transition: background .15s;
}
.btn-brand-pill:hover { background: var(--brand-600); text-decoration: none; color: #fff; }

/* Desktop: collapse wrapper is always visible */
.site-nav__collapse {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile nav */
/* Mobile-header: hidden on desktop */
.site-nav__mobile-header { display: none; }
.nav-menu-label { display: none; }

@media (max-width: 991.98px) {
  .nav-toggle { display: inline-grid; margin-left: auto; }
  .site-nav__inner { flex-wrap: wrap; }

  .site-nav__collapse {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    inset: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-y: auto;
    background: #fff;
    padding: 0 clamp(1.5rem, 6vw, 2.5rem) calc(1.5rem + env(safe-area-inset-bottom));
    z-index: 1020;
    gap: 0;
    /* Slide in from right */
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.28s ease,
                visibility 0s linear 0.28s;
  }
  .site-nav__collapse.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.28s ease,
                visibility 0s linear 0s;
  }

  .nav-toggle.open {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 46px;
    height: 46px;
    border: 2px solid #1457b8;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    z-index: 1031;
  }

  .nav-toggle.open .hamburger-bars::before,
  .nav-toggle.open .hamburger-bars::after {
    width: 24px;
    height: 2px;
  }

  /* Hide the logo/MENU header — links start right at the top */
  .site-nav__mobile-header {
    display: none !important;
  }
  .nav-menu-label { display: none !important; }

  .site-nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    padding-top: calc(56px + env(safe-area-inset-top));
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav__link {
    text-align: left;
    width: 100%;
    min-height: 32px;
    padding: 0.25rem 0.9rem;
    border-radius: 0 0 8px 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-muted);
  }
  .site-nav__link::after {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0;
  }
  .site-nav__link.active,
  .site-nav__link--active {
    color: var(--brand);
  }
  .site-nav__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown .site-nav__link {
    justify-content: flex-start;
  }
  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0.5rem 0 0 0.9rem;
    display: none;
  }
  .nav-dropdown__item {
    min-height: 36px;
    padding: 0.4rem 0;
    border-radius: 0;
    font-size: 14px;
  }
  .nav-dropdown.open .nav-dropdown__menu { display: block; }
}

@media (min-width: 992px) {
  .site-nav__mobile-header,
  .site-nav__collapse > .site-nav__mobile-header,
  .nav-menu-label {
    display: none !important;
  }

  .nav-toggle {
    display: none !important;
  }

  .site-nav__collapse {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--surface-2);
  color: var(--text-muted);
}
.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 1.5rem 2.25rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 767.98px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479.98px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer__tagline { font-size: 13px; line-height: 1.7; margin-top: 1rem; max-width: 260px; }
.site-footer__location { font-size: 12px; margin-top: 0.75rem; color: var(--meadow); font-weight: 700; }
.site-footer__col-title {
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 0.875rem;
}
.site-footer__link {
  display: block; font-size: 13px; margin-bottom: 0.5rem;
  color: var(--text-muted); text-decoration: none;
}
.site-footer__link:hover { color: var(--ink); text-decoration: none; }
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-footer__socials { display: flex; gap: 0.625rem; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(128,189,72,0.10);
  border: 1px solid rgba(128,189,72,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .15s;
}
.social-btn:hover { background: var(--crayola-orange); border-color: var(--crayola-orange); color: #fff; text-decoration: none; }

/* ===========================
   Utility colour helpers
   =========================== */
.bg-brand   { background: var(--brand)          !important; color: #fff !important; }
.bg-meadow  { background: var(--meadow)         !important; color: #111 !important; }
.bg-teal    { background: var(--renewal-teal)   !important; color: #fff !important; }
.bg-green   { background: var(--grassroots-green)!important; color: #fff !important; }
.bg-surface { background: var(--surface)        !important; }
.bg-surface-2{ background: var(--surface-2)     !important; }
.bg-ink     { background: var(--ink)            !important; color: #fff !important; }
.text-brand { color: var(--brand)   !important; }
.text-accent{ color: var(--renewal-teal) !important; }
.text-muted { color: var(--text-muted)   !important; }
.text-meadow{ color: var(--meadow)  !important; }
.text-ink   { color: var(--ink)     !important; }

/* Full-bleed helper */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.full-bleed-pad { padding-inline: 16px; }
@media (min-width: 576px) { .full-bleed-pad { padding-inline: 0; } }

/* ===========================
   Buttons (site-wide)
   =========================== */
.btn-brand {
  display: inline-block;
  padding: 14px 32px; border-radius: var(--radius-lg);
  border: none; background: var(--brand);
  color: #fff; font-weight: 900; font-size: 16px;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 20px rgba(128,189,72,0.4);
  text-decoration: none; transition: background .15s;
}
.btn-brand:hover { background: var(--brand-600); color: #fff; text-decoration: none; }
@media (max-width: 479.98px) {
  .btn-brand { width: 100%; text-align: center; }
}

.btn-teal {
  display: inline-block;
  padding: 12px 28px; border-radius: var(--radius-lg);
  border: none; background: var(--renewal-teal);
  color: #fff; font-weight: 800; font-size: 15px;
  cursor: pointer; font-family: inherit;
  text-decoration: none; transition: background .15s;
}
.btn-teal:hover { background: #3d8074; color: #fff; text-decoration: none; }

.btn-outline {
  display: inline-block;
  padding: 12px 28px; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: none; color: var(--ink);
  font-weight: 800; font-size: 15px;
  cursor: pointer; font-family: inherit;
  text-decoration: none; transition: background .15s;
}
.btn-outline:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }

/* ===========================
   Hero sections
   =========================== */
.page-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(17,26,13,0.88) 0%, rgba(17,26,13,0.6) 55%, rgba(81,161,146,0.22) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 3.5rem;
  max-width: 780px;
}
@media (max-width: 767.98px) {
  .page-hero { min-height: 420px; }
  .page-hero__content { padding: 3rem 1.5rem; }
}
@media (max-width: 479.98px) {
  .page-hero { min-height: 380px; }
  .page-hero__content { padding: 2.5rem 1.25rem; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(215,228,160,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(215,228,160,0.3);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--meadow);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  white-space: nowrap;
}
@media (max-width: 479.98px) {
  .hero-badge { font-size: 10px; padding: 5px 12px; letter-spacing: 0.08em; white-space: normal; }
}
.hero-title {
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.06;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--meadow); }
.hero-lead {
  font-size: clamp(15px, 2.5vw, 17px);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 520px;
}
@media (max-width: 767.98px) {
  .hero-lead { font-size: 15px; }
}

/* ===========================
   Section helpers
   =========================== */
.section-spacer { padding-block: 3rem; }
@media (min-width: 768px) { .section-spacer { padding-block: 5rem; } }

.section-md { padding: 5.5rem 3.5rem; }
@media (max-width: 767.98px) { .section-md { padding: 3rem 1.25rem; } }

.eyebrow {
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--renewal-teal);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}
.eyebrow--green  { color: var(--brand); }
.eyebrow--orange { color: var(--crayola-orange); }
.eyebrow--meadow { color: var(--meadow); }

.dot-divider {
  display: flex;
  gap: 6px;
  margin-bottom: 2rem;
}
.dot-divider span {
  display: block;
  width: 36px; height: 5px;
  border-radius: 3px;
}

/* ===========================
   Cards
   =========================== */
.card-project {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  transition: transform .2s, box-shadow .2s;
}
.card-project:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
}
.card-project__bar { height: 6px; }
.card-project__body { padding: 1.5rem 1.75rem 1.875rem; }

.tag-pill {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 3px 9px;
  margin-bottom: 0.875rem;
}

/* ===========================
   CTA band
   =========================== */
.cta-band {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 3.25rem 3.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  background-image: radial-gradient(ellipse at 80% 50%, rgba(128,189,72,0.14) 0%, transparent 60%);
}
@media (max-width: 767.98px) {
  .cta-band { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}
.cta-band--teal {
  background-color: var(--renewal-teal);
  background-image: linear-gradient(120deg, var(--renewal-teal) 0%, #3d8074 100%);
}

/* ===========================
   Stats grid (dark band)
   =========================== */
.stats-band {
  background: var(--ink);
  padding: 5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .stats-band { padding: 3rem 1.25rem; }
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(128,189,72,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(81,161,146,0.10) 0%, transparent 50%);
}
.stats-band__inner { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
@media (max-width: 767.98px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
.stat-item {
  padding: 2.25rem 2rem;
  text-align: center;
}
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 767.98px) {
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
}
.stat-num {
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 3.25rem);
  color: var(--meadow);
  line-height: 1;
}
.stat-label {
  font-size: 15px; font-weight: 800;
  color: #fff; margin-top: 0.625rem;
}
.stat-sub { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; }

/* ===========================
   Value/feature cards grid
   =========================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 767.98px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479.98px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.value-card__bar { height: 6px; }
.value-card__body { padding: 1.375rem 1.5rem 1.625rem; }

/* ===========================
   Committee grid
   =========================== */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;
}
@media (max-width: 767.98px) {
  .committee-grid { grid-template-columns: 1fr 1fr; }
}
.committee-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem 1.375rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.committee-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 900; font-size: 20px;
}

/* ===========================
   Timeline
   =========================== */
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.75rem;
  position: relative;
}
.timeline-item--left  { flex-direction: row; }
.timeline-item--right { flex-direction: row-reverse; }
.timeline-card {
  width: calc(50% - 2rem);
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.375rem 1.625rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.timeline-item--left  .timeline-card { margin-right: 2rem; }
.timeline-item--right .timeline-card { margin-left:  2rem; }
.timeline-dot {
  position: absolute;
  left: 50%; top: 22px;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 3px solid var(--white);
  z-index: 1;
}
@media (max-width: 767.98px) {
  .timeline::before { left: 18px; }
  .timeline-item,
  .timeline-item--right { flex-direction: row; }
  .timeline-card { width: 100%; margin-left: 2.5rem !important; margin-right: 0 !important; }
  .timeline-dot { left: 18px; }
}

/* ===========================
   Benefits strip
   =========================== */
.benefits-strip {
  background: var(--ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 767.98px) {
  .benefits-strip { grid-template-columns: 1fr 1fr; }
}
.benefit-cell {
  padding: 2rem 1.75rem;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.benefit-cell:first-child { border-left: none; }

/* ===========================
   Form helpers
   =========================== */
.form-field { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 13px; font-weight: 800;
  color: var(--ink); margin-bottom: 0.4375rem;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 15px; font-family: inherit;
  color: var(--ink); background: var(--surface);
  outline: none;
  transition: border-color .15s;
}
.form-input:focus { border-color: var(--brand); }

.interest-chip {
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 700; font-size: 13px;
  cursor: pointer; font-family: inherit;
  transition: all .15s;
  margin: 5px 5px 0 0;
}
.interest-chip.active {
  font-weight: 800;
}

/* ===========================
   Checklist items
   =========================== */
.checklist { display: flex; flex-direction: column; gap: 0.875rem; }
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.checklist-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ===========================
   Timetable
   =========================== */
.timetable-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.timetable-cell {
  text-align: center;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 12px 8px;
}

/* ===========================
   Photo-quote band
   =========================== */
.photo-band {
  height: 380px;
  position: relative;
  overflow: hidden;
}
.photo-band img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.photo-band__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 3.5rem;
}
@media (max-width: 767.98px) {
  .photo-band__overlay { padding: 0 1.5rem; }
}
.photo-band__quote { max-width: 520px; }

/* ===========================
   Mission box
   =========================== */
.mission-box {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 2.75rem 3.25rem;
  margin-bottom: 2.5rem;
  background-image: radial-gradient(ellipse at 80% 50%, rgba(128,189,72,0.12) 0%, transparent 60%);
}
@media (max-width: 767.98px) {
  .mission-box { padding: 2rem 1.5rem; border-radius: var(--radius); }
}

/* ===========================
   Two-col photo collage
   =========================== */
.photo-collage {
  position: relative;
  height: 480px;
}
@media (max-width: 767.98px) {
  .photo-collage { height: 320px; }
  .photo-collage__main { right: 40px; bottom: 40px; }
  .photo-collage__badge { top: 12px; right: 28px; font-size: 11px; padding: 8px 12px; }
}
.photo-collage__main {
  position: absolute;
  top: 0; left: 0; right: 60px; bottom: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(17,26,13,0.18);
}
.photo-collage__main img,
.photo-collage__thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-collage__thumb {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%; height: 48%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 10px 32px rgba(17,26,13,0.2);
}
.photo-collage__badge {
  position: absolute;
  top: 24px; right: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900; font-size: 13px;
  box-shadow: 0 6px 20px rgba(128,189,72,0.4);
  line-height: 1.3;
}

/* ===========================
   Dark stats card (ink bg)
   =========================== */
.dark-stats-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  background-image: radial-gradient(ellipse at 80% 20%, rgba(81,161,146,0.18) 0%, transparent 60%);
}
.dark-stats-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 0.5rem;
}

/* ===========================
   Coming-soon pulse
   =========================== */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--crayola-orange);
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ===========================
   Notify email bar
   =========================== */
.notify-bar {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  max-width: 440px;
}
.notify-bar input {
  flex: 1; padding: 14px 20px;
  border: none; font-size: 15px;
  font-family: inherit; color: var(--ink);
  outline: none; background: #fff;
}
.notify-bar button {
  padding: 14px 22px;
  background: var(--crayola-orange);
  border: none; color: #fff;
  font-weight: 900; font-size: 14px;
  cursor: pointer; font-family: inherit;
  white-space: nowrap;
}

/* ===========================
   Guardian registration card
   =========================== */
.guardian-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  overflow: hidden;
}
.guardian-card__header {
  background: var(--brand);
  padding: 1.375rem 1.75rem;
}

/* ===========================
   What's growing grid
   =========================== */
.growing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ===========================
   D in the Park event badges
   =========================== */
.event-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.event-badge {
  background: rgba(215,228,160,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(215,228,160,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
}
.event-badge--next {
  background: rgba(128,189,72,0.18);
  border-color: rgba(128,189,72,0.3);
}

/* ===========================
   What's on list
   =========================== */
.whats-on-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.whats-on-icon {
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===========================
   Membership checklist chips
   =========================== */
.volunteer-chip {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 700; font-size: 13px;
  cursor: pointer; font-family: inherit;
  margin: 0 8px 8px 0;
  transition: all .15s;
}
.volunteer-chip.active {
  border-color: var(--crayola-orange);
  background: rgba(242,125,66,0.1);
  color: var(--crayola-orange);
  font-weight: 800;
}

/* ===========================
   Legacy / misc
   =========================== */
.env-badge { z-index: 1050; }

.hero-section {
  position: relative; color: #fff;
  background: center/cover no-repeat;
  min-height: 60vh; display: flex; align-items: center;
}
.hero-section::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45);
}
.hero-section .hero-inner {
  position: relative; z-index: 1;
  padding: 2.25rem 1rem; max-width: 700px; margin: 0 auto;
}
.hero-eyebrow {
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-size: .9rem; margin-bottom: .25rem;
}
.display-hello {
  font-weight: 900; line-height: 1.05;
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
}
.hero-lead { font-size: 1.125rem; opacity: .9; }

.section-title {
  font-weight: 800;
  font-size: clamp(1.25rem, 1.2vw + 1rem, 2rem);
  margin-bottom: .5rem;
}

.card { border: 0; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(0,0,0,.06); }

.container { max-width: var(--container-max); }

/* ===========================
   Touch and mobile ergonomics
   =========================== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overscroll-behavior-y: none;
}

button,
[type="button"],
[type="submit"],
[type="reset"],
a,
label,
select,
summary,
.btn,
.btn-brand,
.btn-teal,
.btn-outline,
.btn-outline-ink,
.btn-brand-pill,
.site-nav__link,
.nav-dropdown__item,
.social-btn,
.picker-btn,
.saved-number-option,
.saved-number-chip,
.volunteer-chip,
.interest-chip {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(128, 189, 72, 0.22);
}

button,
[type="button"],
[type="submit"],
[type="reset"],
.btn,
.btn-brand,
.btn-teal,
.btn-outline,
.btn-outline-ink,
.btn-brand-pill,
.nav-toggle,
.social-btn,
.picker-btn {
  min-height: 44px;
}

input,
select,
textarea,
button {
  font-size: max(16px, 1rem);
}

input,
select,
textarea {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.modal,
.modal-dialog-scrollable .modal-body,
.site-nav__collapse,
.nav-dropdown__menu {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal-content {
  max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 1rem);
}

.modal-body {
  overflow-y: auto;
}

main {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-nav {
  padding-top: env(safe-area-inset-top);
  height: calc(var(--nav-height) + env(safe-area-inset-top));
}

@media (hover: none) and (pointer: coarse) {
  a:hover,
  .btn-brand:hover,
  .btn-teal:hover,
  .btn-outline:hover,
  .site-nav__link:hover,
  .nav-dropdown__item:hover,
  .social-btn:hover,
  .card-project:hover {
    transform: none;
    text-decoration: none;
  }
}

@media (max-width: 767.98px) {
  body {
    overflow-x: hidden;
  }

  .page-hero {
    min-height: min(420px, 72dvh) !important;
  }

  .page-hero__content {
    padding-left: max(1.25rem, env(safe-area-inset-left)) !important;
    padding-right: max(1.25rem, env(safe-area-inset-right)) !important;
  }

  .section-md {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }

  .site-footer,
  .site-nav__inner {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .btn-group {
    max-width: 100%;
  }

  .btn-group > .btn,
  .btn-group > button {
    min-height: 44px;
    white-space: normal;
  }

  .notify-bar {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .notify-bar input,
  .notify-bar button {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .site-nav__collapse.open {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-footer {
    gap: 0.75rem;
  }

  .modal-footer .btn-brand,
  .modal-footer .btn,
  .modal-footer button {
    width: 100%;
  }
}

/* ===========================
   Donations page
   =========================== */

/* Hero */
.donate-hero {
  background: linear-gradient(135deg, var(--surface-2) 0%, #e8f3d8 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
}
.donate-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}
.donate-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.75rem;
}
.donate-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.donate-hero__title--green { color: var(--brand); }
.donate-hero__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.donate-hero__raised {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  margin-top: 0.5rem;
}
.donate-hero__raised-label { font-size: 0.8125rem; color: var(--text-muted); font-weight: 600; }
.donate-hero__raised-amount { font-size: 1.75rem; font-weight: 900; color: var(--brand); line-height: 1; }

/* Section layout */
.donate-section { padding: 3rem 1.5rem 4rem; }
.donate-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* Donation form card */
.donate-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2rem;
  box-shadow: 0 4px 24px rgba(17,26,13,0.06);
}
.donate-card__title {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.donate-alert {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.donate-alert--error {
  background: #fff0f0;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

/* Preset amount buttons */
.donate-presets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.donate-preset-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 24px;
  border: 2px solid var(--border);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.donate-preset-btn:hover,
.donate-preset-btn.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

/* Amount input */
.donate-amount-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.75rem;
  transition: border-color 0.15s;
}
.donate-amount-wrap:focus-within { border-color: var(--brand); }
.donate-amount-prefix {
  padding: 0 1rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand);
  background: var(--surface-2);
  border-right: 2px solid var(--border);
  line-height: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
}
.donate-amount-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 1rem;
  height: 3rem;
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--ink);
  font-family: inherit;
  background: #fff;
  -moz-appearance: textfield;
}
.donate-amount-input::-webkit-outer-spin-button,
.donate-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Donor detail fields */
.donate-details { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.donate-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.5rem;
}
.donate-optional { font-weight: 400; color: var(--text-muted); }
.donate-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.875rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}
.donate-input:focus { border-color: var(--brand); }
.donate-textarea { resize: vertical; min-height: 80px; }

/* Opt-in checkbox */
.donate-check-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  padding: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  margin-top: 0.5rem;
  transition: border-color 0.15s;
}
.donate-check-label:hover { border-color: var(--brand); }
.donate-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}
.donate-check-text { font-size: 0.875rem; color: var(--ink); line-height: 1.4; }
.donate-check-sub { display: block; color: var(--text-muted); font-size: 0.8125rem; margin-top: 0.2rem; font-weight: 400; }

/* Submit */
.donate-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 24px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(128,189,72,0.40);
  transition: background 0.15s, box-shadow 0.15s;
}
.donate-submit-btn:hover {
  background: var(--brand-600);
  box-shadow: 0 6px 22px rgba(128,189,72,0.50);
}
.donate-stripe-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
  margin-bottom: 0;
}

/* Impact sidebar */
.donate-impact__card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.donate-impact__title {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--meadow);
  margin-bottom: 1.25rem;
}
.donate-impact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.donate-impact__item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.45;
}
.donate-impact__icon { font-size: 1.5rem; flex-shrink: 0; }
.donate-impact__item strong { color: #fff; display: block; }
.donate-impact__item span { color: rgba(255,255,255,0.7); }

.donate-impact__quote {
  background: var(--surface-2);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
}
.donate-impact__quote p {
  font-size: 0.9375rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.donate-impact__quote span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* Donor wall */
.donor-wall {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
}
.donor-wall__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.donor-wall__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 0.5rem;
  text-align: center;
}
.donor-wall__sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.donor-wall__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.donor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(17,26,13,0.04);
  transition: box-shadow 0.15s;
}
.donor-card:hover { box-shadow: 0 4px 16px rgba(17,26,13,0.10); }
.donor-card__heart { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.donor-card__name { font-size: 1rem; font-weight: 900; color: var(--ink); margin-bottom: 0.25rem; }
.donor-card__amount { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0; }
.donor-card__amount strong { color: var(--brand); }
.donor-card__message {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Success / cancel result pages */
.donate-result {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}
.donate-result__inner {
  max-width: 520px;
  text-align: center;
}
.donate-result__icon { font-size: 4rem; margin-bottom: 1rem; display: block; }
.donate-result__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1rem;
}
.donate-result__body {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.donate-result__ref {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.donate-result__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Responsive */
@media (max-width: 900px) {
  .donate-section__inner {
    grid-template-columns: 1fr;
  }
  .donate-impact { order: -1; }
  .donate-impact__card { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
  .donate-impact__title { grid-column: 1 / -1; margin-bottom: 0.5rem; }
}
@media (max-width: 575.98px) {
  .donate-hero { padding: 2.5rem 1rem 2rem; }
  .donate-card { padding: 1.25rem; }
  .donate-presets { gap: 0.375rem; }
  .donate-preset-btn { padding: 0.5rem 1rem; font-size: 0.875rem; }
  .donate-impact__card { grid-template-columns: 1fr; }
  .donate-result__actions { flex-direction: column; align-items: center; }
}

/* ===========================
   Profile page
   =========================== */
.profile-page { padding: 2.5rem 1.5rem 4rem; }
.profile-page__inner { max-width: var(--container-max); margin: 0 auto; }

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.profile-header__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.profile-header__name { font-size: 1.5rem; font-weight: 900; color: var(--ink); margin-bottom: 0.2rem; }
.profile-header__email { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.4rem; }

.profile-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}
.profile-badge--green { background: #dcfce7; color: #166534; }
.profile-badge--orange { background: #fff7ed; color: #9a3412; }
.profile-badge a { color: inherit; text-decoration: underline; }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(17,26,13,0.05);
  margin-bottom: 1.25rem;
}
.profile-card--wallet { background: var(--ink); color: #fff; }
.profile-card--danger { border-color: #fca5a5; background: #fff5f5; }

.profile-card__title {
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.profile-card--wallet .profile-card__title { color: var(--meadow); }
.profile-card__title--danger { color: #b91c1c; }
.profile-card__sub { font-size: 0.875rem; font-weight: 800; color: var(--text-muted); margin: 1rem 0 0.5rem; }

.profile-form-row { margin-bottom: 0.875rem; }
.profile-form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.875rem; }
.profile-form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.875rem; }
.profile-label { font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.profile-label--opt { font-weight: 400; color: var(--text-muted); }
.profile-dob-wrap { display: flex; gap: 0.5rem; }
.profile-dob-wrap select { flex: 1; }
.profile-field-error { font-size: 0.8rem; color: #b91c1c; margin-top: 0.2rem; }
.profile-hint { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.35rem; margin-bottom: 0; }
.profile-hint a { color: var(--accent); text-decoration: underline; }
.profile-alert { border-radius: 8px; padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.profile-alert--error { background: #fff0f0; border: 1px solid #fca5a5; color: #b91c1c; }

.profile-save-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.75rem;
  border-radius: 24px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(128,189,72,0.35);
  transition: background 0.15s;
  margin-top: 0.5rem;
}
.profile-save-btn:hover { background: var(--brand-600); }

/* Wallet card */
.profile-wallet-balance {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.profile-wallet-balance__label { font-size: 0.8125rem; color: rgba(255,255,255,0.7); }
.profile-wallet-balance__amount { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }

.profile-link-btn {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: background 0.15s;
}
.profile-link-btn:hover { background: rgba(255,255,255,0.18); color: #fff; text-decoration: none; }
.profile-link-btn--warn { border-color: rgba(253,186,116,0.4); background: rgba(253,186,116,0.08); color: var(--ink); }
.profile-card:not(.profile-card--wallet) .profile-link-btn { border-color: var(--border); background: var(--surface-2); color: var(--ink); }
.profile-card:not(.profile-card--wallet) .profile-link-btn:hover { background: var(--border); }

/* Roles */
.profile-roles-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.profile-role-item { display: flex; align-items: center; gap: 0.5rem; }
.profile-role-badge {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.profile-role-desc { font-size: 0.8125rem; color: var(--text-muted); }

.profile-role-add-list { display: flex; flex-direction: column; gap: 0.5rem; }
.profile-role-add-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.profile-role-add-btn:hover { border-color: var(--brand); background: #f0f9e8; }
.profile-role-add-btn strong { display: block; font-size: 0.875rem; }
.profile-role-add-btn small { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.profile-role-add-btn svg { color: var(--brand); flex-shrink: 0; }

/* Danger zone */
.profile-danger-btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: 1.5px solid #fca5a5;
  background: #fff;
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  margin-top: 0.5rem;
}
.profile-danger-btn:hover { background: #fef2f2; color: #b91c1c; text-decoration: none; }
.profile-danger-note { font-size: 0.875rem; color: #9a3412; background: #fff7ed; border: 1px solid #fdba74; border-radius: 8px; padding: 0.6rem 0.875rem; margin-bottom: 0.75rem; }

/* Responsive */
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-sidebar { order: -1; }
  .profile-header { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
  .profile-page { padding: 1.5rem 1rem 3rem; }
  .profile-card { padding: 1.25rem; }
  .profile-form-row--2 { grid-template-columns: 1fr; }
  .profile-header { gap: 1rem; }
  .profile-header__avatar { width: 56px; height: 56px; font-size: 1.25rem; }
}

/* Donate page — payment method selector */
.donate-pay-methods { margin-bottom: 1.25rem; }
.donate-pay-methods__label { font-size: 0.8125rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.donate-pay-methods__row { display: flex; gap: 0.75rem; }
.donate-pay-method-opt {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.donate-pay-method-opt input[type="radio"] { accent-color: var(--brand); }
.donate-pay-method-opt:has(input:checked),
.donate-pay-method-opt--active {
  border-color: var(--brand);
  background: #f0f9e8;
}
.donate-pay-method-opt strong { display: block; font-size: 0.875rem; }
.donate-pay-method-opt small { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
@media (max-width: 479.98px) {
  .donate-pay-methods__row { flex-direction: column; }
}

/* ===========================
   Testimonial carousel
   =========================== */
.tc-carousel {
  position: relative;
  width: 100%;
}
.tc-slide {
  transition: opacity 0.8s ease;
}

/* Carousel indicator dots */
.tc-dot {
  display: block;
  width: 20px;
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  transition: width 0.4s ease;
}
.tc-dot.active {
  width: 44px;
}
.tc-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
}
.tc-dot.active::after {
  animation: tc-fill 6s linear forwards;
}
@keyframes tc-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.tc-quote {
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.tc-attr {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}
