/* ============================================================
   HOPE CHARITY FOUNDATION NFP — Design System #1168
   Avant-Garde Swiss Modern · White / Black · Electric Lime
   ============================================================ */

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #e8e2d7;
  --paper: #f7f4ef;
  --paper-deep: #f0ebe3;
  --lime: #84cc16;
  --lime-dark: #65a30d;
  --lime-soft: rgba(132, 204, 22, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 16px 40px rgba(10, 10, 10, 0.08);
  --shadow-soft: 0 8px 24px rgba(10, 10, 10, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --nav-h: 78px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--lime-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  font-weight: 700;
}

p {
  color: var(--muted);
}

.text-lime { color: var(--lime-dark) !important; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--black); color: var(--white); }

/* ---------- Top legal bar ---------- */
.legal-bar {
  background: var(--black);
  color: #d4d4d4;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.55rem 1rem;
}

.legal-bar strong {
  color: var(--lime);
  font-weight: 600;
}

/* ---------- Navbar ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  min-height: var(--nav-h);
}

.site-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black) !important;
  font-size: 0.95rem;
  line-height: 1.2;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: var(--ink) !important;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s var(--ease);
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--lime-dark) !important;
}

.site-nav .navbar-toggler {
  border: 1px solid var(--line);
  padding: 0.45rem 0.6rem;
}

.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(10, 10, 10, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  border-radius: 999px;
  padding: 0.55rem 1.15rem !important;
  margin-left: 0.35rem;
}

.nav-cta:hover {
  background: var(--lime-dark) !important;
  color: var(--white) !important;
}

/* ---------- Buttons ---------- */
.btn-primary-hope {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary-hope:hover {
  background: var(--lime-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost-hope {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 600;
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 0.8rem 1.45rem;
  transition: all 0.25s var(--ease);
}

.btn-ghost-hope:hover {
  background: var(--black);
  color: var(--white);
}

.btn-ghost-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: var(--white);
  color: var(--black);
}

/* ---------- Hero asymmetrical split ---------- */
.hero-split {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, var(--lime-soft), transparent 60%),
    linear-gradient(180deg, #fafafa 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 38ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.hero-glass {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  height: 100%;
  min-height: 480px;
}

.hero-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
  transition: transform 0.7s var(--ease);
}

.hero-glass:hover img {
  transform: scale(1.04);
}

.metric-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  z-index: 2;
  animation: floatY 5s ease-in-out infinite;
}

.metric-pill .icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.metric-pill strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.1;
}

.metric-pill span {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.metric-pill.p1 { top: 8%; left: -4%; animation-delay: 0s; }
.metric-pill.p2 { top: 42%; right: -6%; animation-delay: 1.2s; }
.metric-pill.p3 { bottom: 10%; left: 8%; animation-delay: 2.1s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Section chrome ---------- */
.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  margin-bottom: 1rem;
}

.section-lead {
  max-width: 58ch;
  margin-bottom: 0;
}

.page-hero {
  padding: 4rem 0 3rem;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.45)),
    var(--black) center/cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero--contact {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: var(--black);
}

.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.45));
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3rem;
}

.page-hero h1,
.page-hero .section-label,
.page-hero p {
  color: var(--white);
}

.page-hero .section-label {
  color: var(--lime);
}

.page-hero p {
  opacity: 0.88;
  max-width: 48ch;
}

.page-hero p strong {
  color: var(--lime);
  font-weight: 600;
}

/* Contact page layout */
.contact-section {
  background: linear-gradient(180deg, #fafafa 0%, var(--white) 40%);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 2.25rem 2rem 2.5rem;
  }
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.35rem;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.15rem;
  color: var(--black);
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-info-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 0.2rem;
}

.contact-info-list span,
.contact-info-list a {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-info-list a:hover {
  color: var(--lime-dark);
}

.ci-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: grid;
  place-items: center;
}

.contact-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--paper-deep);
}

.contact-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.contact-photo figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.65rem 0.9rem 0.85rem;
  background: var(--paper);
}

/* ---------- Paper cards ---------- */
.paper-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.paper-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(10, 10, 10, 0.1);
}

.paper-card .card-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.paper-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.paper-card:hover .card-media img {
  transform: scale(1.04);
}

.paper-card .card-body {
  padding: 1.5rem 1.4rem 1.6rem;
}

.paper-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime-dark);
  background: var(--lime-soft);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.paper-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.paper-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.paper-card .card-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.paper-card .card-link:hover {
  color: var(--lime-dark);
}

/* ---------- Stats ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat-item i {
  color: var(--lime-dark);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item .stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Gallery mosaic ---------- */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* ---------- Transparency bars ---------- */
.fund-bar {
  margin-bottom: 1.1rem;
}

.fund-bar .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.fund-track {
  height: 10px;
  background: var(--paper-deep);
  border-radius: 999px;
  overflow: hidden;
}

.fund-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 999px;
}

.fund-fill.admin { background: #a3a3a3; width: 8%; }
.fund-fill.fundraise { background: #737373; width: 4%; }

/* ---------- Leadership preview / board ---------- */
.leader-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  height: 100%;
}

.leader-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.15rem;
  border: 1px solid var(--line);
}

.leader-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 0.35rem;
}

.leader-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.leader-meta {
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.leader-meta strong {
  color: var(--black);
  font-weight: 600;
}

/* ---------- Partners strip ---------- */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.partner-badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.partner-badge i {
  color: var(--lime-dark);
}

/* ---------- Newsletter banner ---------- */
.cta-banner {
  background:
    linear-gradient(120deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.7)),
    url("https://images.unsplash.com/photo-1593113598332-cd288d649433?auto=format&fit=crop&w=1600&q=80") center/cover;
  border-radius: 22px;
  padding: 3rem 2.5rem;
  color: var(--white);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
}

/* ---------- Values grid ---------- */
.value-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
}

.value-tile i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.value-tile h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* ---------- Legal / transparency box ---------- */
.legal-panel {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
}

.legal-panel h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.legal-panel dl {
  margin: 0;
}

.legal-panel dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 0.85rem;
}

.legal-panel dd {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Program deep dive ---------- */
.program-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.program-block.reverse {
  grid-template-columns: 1fr 1.05fr;
}

.program-block.reverse .program-copy {
  order: 2;
}

.program-block.reverse .program-media {
  order: 1;
}

.program-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.program-media:hover img {
  transform: scale(1.04);
}

.program-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.program-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.program-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

/* ---------- Steps ---------- */
.step-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.quote-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
}

.quote-card blockquote {
  font-size: 0.98rem;
  color: var(--ink);
  margin: 1rem 0 1.15rem;
  padding: 0;
  border: 0;
}

/* ---------- News articles ---------- */
.article-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.article-feature .article-img {
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.article-feature .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.article-feature:hover .article-img img {
  transform: scale(1.04);
}

.article-body {
  padding: 2rem 2rem 2.25rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.article-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

.article-body p {
  margin-bottom: 1rem;
}

.share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.share-btns a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

/* ---------- Donate ---------- */
.donate-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.amount-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 1rem 0.5rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.amount-btn:hover,
.amount-btn.active {
  border-color: var(--lime);
  background: var(--lime-soft);
  color: var(--black);
}

.freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: var(--paper-deep);
  padding: 0.35rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.freq-btn {
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}

.freq-btn.active {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-soft);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trust-badge {
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: var(--muted);
}

.trust-badge i {
  color: var(--lime-dark);
}

/* ---------- Contact ---------- */
.form-control,
.form-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: var(--white);
  font-family: var(--font-body);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-soft);
}

.form-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.contact-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}

.contact-card h3 {
  color: var(--white);
}

.contact-card a {
  color: var(--lime);
}

.contact-card .info-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.contact-card .info-row i {
  color: var(--lime);
  margin-top: 0.25rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* ---------- Privacy ---------- */
.privacy-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.privacy-toc a {
  display: block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
}

.privacy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.privacy-section h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

/* ---------- Accordion ---------- */
.accordion-item {
  background: var(--paper);
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--paper) !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--black);
  background: var(--paper-deep) !important;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--lime);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.site-footer .footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.site-footer .footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.site-footer .footer-brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--lime);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

.footer-meta .ein-line {
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.4s var(--ease);
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner p {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* ---------- Toast ---------- */
.toast-success {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1090;
  background: var(--black);
  color: var(--white);
  border-left: 4px solid var(--lime);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: none;
  max-width: 360px;
}

.toast-success.show {
  display: block;
  animation: slideUp 0.35s var(--ease);
}

/* ---------- Form extras (contact / donate) ---------- */
.form-status {
  font-size: 0.88rem;
  color: var(--muted);
}

.btn-primary-hope.is-loading,
.btn-primary-hope:disabled {
  opacity: 0.72;
  pointer-events: none;
  transform: none;
}

.impact-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--lime-soft);
  border: 1px solid rgba(132, 204, 22, 0.35);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.impact-chip i {
  color: var(--lime-dark);
  margin-top: 0.15rem;
}

.tax-notice {
  display: flex;
  gap: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.tax-notice i {
  color: var(--lime-dark);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.tax-notice strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  color: var(--black);
}

.tax-notice p {
  font-size: 0.92rem;
}

.form-success-modal {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.form-success-modal .success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--lime-dark);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
}

.form-check-input:checked {
  background-color: var(--lime-dark);
  border-color: var(--lime-dark);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px var(--lime-soft);
}

.input-group-text {
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ---------- Reveal (content always readable; motion is optional) ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .stat-grid,
  .gallery-mosaic,
  .step-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-block,
  .program-block.reverse {
    grid-template-columns: 1fr;
  }

  .program-block.reverse .program-copy,
  .program-block.reverse .program-media {
    order: initial;
  }

  .metric-pill.p1 { left: 4%; }
  .metric-pill.p2 { right: 4%; }

  .hero-visual,
  .hero-glass,
  .hero-glass img {
    min-height: 360px;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .stat-grid,
  .gallery-mosaic,
  .step-row,
  .amount-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    max-width: none;
  }

  .cta-banner {
    padding: 2rem 1.35rem;
  }

  .article-feature .article-img {
    aspect-ratio: 16 / 10;
  }
}
