/* ============================================
   HOPE FOUNDATION — Non-Profit Template
   Palette: Teal + Gold  |  Prefix: hf-
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Teal scale */
  --hf-teal-dark:   #0a2424;
  --hf-teal:        #0d2b2b;
  --hf-teal-mid:    #1a5c50;
  --hf-teal-light:  #7dd3c0;
  --hf-teal-pale:   #b8ece2;

  /* Accent */
  --hf-gold:        #e8b931;
  --hf-gold-hover:  #d4a520;
  --hf-gold-light:  #f5d96b;

  /* Neutrals */
  --hf-cream:       #f5f9f7;
  --hf-white:       #ffffff;
  --hf-gray:        #64837b;
  --hf-gray-light:  #e0ebe7;

  /* Text */
  --hf-text-dark:   #1a2e2a;
  --hf-text-body:   #3d5c54;
  --hf-text-on-dark:       rgba(255,255,255,0.92);
  --hf-text-on-dark-muted: rgba(255,255,255,0.6);

  /* Typography */
  --hf-font-display: 'DM Serif Display', Georgia, serif;
  --hf-font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --hf-space-xs:  0.25rem;
  --hf-space-sm:  0.5rem;
  --hf-space-md:  1rem;
  --hf-space-lg:  1.5rem;
  --hf-space-xl:  2rem;
  --hf-space-2xl: 3rem;
  --hf-space-3xl: 4.5rem;
  --hf-space-4xl: 6rem;

  /* Layout */
  --hf-container: 1140px;
  --hf-banner-h:  36px;
  --hf-nav-h:     72px;
  --hf-radius-md: 8px;
  --hf-radius-lg: 16px;
  --hf-radius-xl: 24px;

  /* Motion */
  --hf-ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --hf-dur-fast:  200ms;
  --hf-dur-med:   400ms;
  --hf-dur-slow:  700ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--hf-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hf-text-dark);
  background: var(--hf-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ---------- Utility ---------- */
.hf-container {
  width: 100%;
  max-width: var(--hf-container);
  margin: 0 auto;
  padding: 0 var(--hf-space-lg);
}

.hf-eyebrow {
  font-family: var(--hf-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-teal-light);
  margin-bottom: var(--hf-space-md);
  text-align: center;
}

.hf-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--hf-space-3xl);
}

.hf-section-header h2 {
  font-family: var(--hf-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--hf-text-dark);
  line-height: 1.15;
  margin-bottom: var(--hf-space-md);
}

.hf-section-header h2 em {
  font-style: italic;
  color: var(--hf-teal-mid);
}

.hf-header-light h2 { color: var(--hf-cream); }
.hf-header-light h2 em { color: var(--hf-teal-light); }
.hf-header-light .hf-section-desc { color: var(--hf-text-on-dark); }

.hf-section-desc {
  font-size: 1.05rem;
  color: var(--hf-text-body);
  line-height: 1.7;
}

.hf-section-cta {
  text-align: center;
  margin-top: var(--hf-space-2xl);
}

/* ---------- Reveal Animation ---------- */
.hf-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--hf-dur-med) var(--hf-ease),
    transform var(--hf-dur-med) var(--hf-ease);
}

.hf-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.hf-programs-grid .hf-reveal:nth-child(2),
.hf-volunteer-grid .hf-reveal:nth-child(2),
.hf-stories-grid .hf-reveal:nth-child(2) { transition-delay: 0.1s; }

.hf-programs-grid .hf-reveal:nth-child(3),
.hf-volunteer-grid .hf-reveal:nth-child(3),
.hf-stories-grid .hf-reveal:nth-child(3) { transition-delay: 0.2s; }

/* ---------- Buttons ---------- */
.hf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--hf-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: all var(--hf-dur-fast) var(--hf-ease);
  cursor: pointer;
  border: 2px solid transparent;
}

.hf-btn-gold {
  background: var(--hf-gold);
  color: var(--hf-teal-dark);
}

.hf-btn-gold:hover {
  background: var(--hf-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,185,49,0.35);
}

.hf-btn-teal {
  background: var(--hf-teal-mid);
  color: var(--hf-white);
}

.hf-btn-teal:hover {
  background: var(--hf-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,92,80,0.35);
}

.hf-btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--hf-white);
  background: transparent;
}

.hf-btn-outline:hover {
  border-color: var(--hf-white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.hf-btn-outline-light {
  border: 2px solid var(--hf-teal-mid);
  color: var(--hf-teal-mid);
  background: transparent;
}

.hf-btn-outline-light:hover {
  background: var(--hf-teal-mid);
  color: var(--hf-white);
  transform: translateY(-2px);
}

.hf-btn-sm {
  font-size: 0.82rem;
  padding: 0.65rem 1.5rem;
}

.hf-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hf-teal-mid);
  transition: color var(--hf-dur-fast) ease;
}

.hf-link:hover { color: var(--hf-teal-light); }

/* ============================================
   DEMO BANNER
   ============================================ */
.hf-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--hf-banner-h);
  background: var(--hf-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hf-demo-banner a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hf-teal-light);
  letter-spacing: 0.02em;
  transition: color var(--hf-dur-fast) ease;
}

.hf-demo-banner a:hover { color: var(--hf-white); }

.hf-demo-banner svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.hf-nav {
  position: fixed;
  top: var(--hf-banner-h);
  left: 0;
  right: 0;
  z-index: 960;
  height: var(--hf-nav-h);
  display: flex;
  align-items: center;
  transition: background var(--hf-dur-med) ease, box-shadow var(--hf-dur-med) ease;
}

.hf-nav.scrolled {
  background: rgba(10,36,36,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hf-nav-inner {
  width: 100%;
  max-width: var(--hf-container);
  margin: 0 auto;
  padding: 0 var(--hf-space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.hf-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--hf-font-display);
  font-size: 1.35rem;
  color: var(--hf-white);
}

.hf-logo em {
  font-style: italic;
  color: var(--hf-teal-light);
  font-weight: 400;
}

.hf-logo-icon {
  width: 32px;
  height: 32px;
  color: var(--hf-teal-light);
}

/* Nav Links */
.hf-nav-links {
  display: flex;
  align-items: center;
  gap: var(--hf-space-xl);
}

.hf-nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hf-text-on-dark);
  letter-spacing: 0.01em;
  transition: color var(--hf-dur-fast) ease;
  position: relative;
}

.hf-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hf-teal-light);
  transition: width var(--hf-dur-med) var(--hf-ease);
}

.hf-nav-links a:hover { color: var(--hf-teal-light); }
.hf-nav-links a:hover::after { width: 100%; }

/* Nav Actions */
.hf-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--hf-space-md);
}

.hf-nav-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hf-teal-dark);
  background: var(--hf-gold);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transition: all var(--hf-dur-fast) ease;
}

.hf-nav-donate-btn svg {
  width: 15px;
  height: 15px;
}

.hf-nav-donate-btn:hover {
  background: var(--hf-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,185,49,0.3);
}

/* Hamburger */
.hf-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.hf-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--hf-white);
  border-radius: 2px;
  transition: all var(--hf-dur-med) var(--hf-ease);
  transform-origin: center;
}

.hf-menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hf-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hf-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.hf-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(10,36,36,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--hf-dur-med) var(--hf-ease);
}

.hf-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.hf-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hf-space-xl);
}

.hf-menu-content a {
  font-family: var(--hf-font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--hf-text-on-dark);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--hf-dur-med) var(--hf-ease);
}

.hf-menu-overlay.open .hf-menu-content a {
  opacity: 1;
  transform: translateY(0);
}

.hf-menu-content a:nth-child(1) { transition-delay: 0.05s; }
.hf-menu-content a:nth-child(2) { transition-delay: 0.1s; }
.hf-menu-content a:nth-child(3) { transition-delay: 0.15s; }
.hf-menu-content a:nth-child(4) { transition-delay: 0.2s; }
.hf-menu-content a:nth-child(5) { transition-delay: 0.25s; }

.hf-menu-content a:hover { color: var(--hf-teal-light); }

.hf-menu-donate {
  color: var(--hf-gold) !important;
  border-top: 1px solid rgba(125,211,192,0.15);
  padding-top: var(--hf-space-xl);
  margin-top: var(--hf-space-sm);
}

/* ============================================
   HERO
   ============================================ */
.hf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--hf-banner-h) + var(--hf-nav-h) + var(--hf-space-2xl)) var(--hf-space-lg) var(--hf-space-3xl);
}

.hf-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hf-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hf-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,36,36,0.7) 0%, rgba(13,43,43,0.5) 40%, rgba(26,92,80,0.4) 70%, rgba(10,36,36,0.85) 100%),
    radial-gradient(ellipse at 50% 40%, rgba(125,211,192,0.08) 0%, transparent 60%);
}

.hf-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hf-hero-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-teal-light);
  margin-bottom: var(--hf-space-lg);
  animation: hfFadeUp 0.8s var(--hf-ease) both;
}

.hf-hero-headline {
  font-family: var(--hf-font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--hf-white);
  line-height: 1.1;
  margin-bottom: var(--hf-space-lg);
  animation: hfFadeUp 0.8s var(--hf-ease) 0.15s both;
}

.hf-hero-headline em {
  font-style: italic;
  color: var(--hf-teal-light);
}

.hf-hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--hf-text-on-dark);
  max-width: 580px;
  margin: 0 auto var(--hf-space-xl);
  line-height: 1.7;
  animation: hfFadeUp 0.8s var(--hf-ease) 0.3s both;
}

.hf-hero-actions {
  display: flex;
  gap: var(--hf-space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: hfFadeUp 0.8s var(--hf-ease) 0.45s both;
}

@keyframes hfFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   IMPACT STATS
   ============================================ */
.hf-stats {
  background: linear-gradient(135deg, var(--hf-teal-mid) 0%, var(--hf-teal) 100%);
  padding: var(--hf-space-2xl) 0;
  position: relative;
}

.hf-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(125,211,192,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hf-space-lg);
  position: relative;
  z-index: 1;
}

.hf-stat {
  text-align: center;
  padding: var(--hf-space-lg) var(--hf-space-md);
}

.hf-stat-number {
  display: block;
  font-family: var(--hf-font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--hf-gold);
  line-height: 1;
  margin-bottom: var(--hf-space-sm);
}

.hf-stat-number::after {
  content: '+';
  font-size: 0.7em;
  opacity: 0.7;
}

.hf-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hf-text-on-dark-muted);
}

/* ============================================
   MISSION / ABOUT
   ============================================ */
.hf-mission {
  padding: var(--hf-space-4xl) 0;
  background: var(--hf-cream);
}

.hf-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hf-space-3xl);
  align-items: center;
}

.hf-mission-text .hf-eyebrow { text-align: left; }

.hf-mission-text h2 {
  font-family: var(--hf-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--hf-text-dark);
  margin-bottom: var(--hf-space-lg);
  line-height: 1.15;
}

.hf-mission-text h2 em {
  font-style: italic;
  color: var(--hf-teal-mid);
}

.hf-mission-text p {
  margin-bottom: var(--hf-space-md);
  color: var(--hf-text-body);
  line-height: 1.8;
}

.hf-mission-text .hf-btn {
  margin-top: var(--hf-space-md);
}

.hf-mission-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
}

.hf-mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--hf-dur-slow) var(--hf-ease);
}

.hf-mission-image:hover img {
  transform: scale(1.04);
}

/* ============================================
   PROGRAMS
   ============================================ */
.hf-programs {
  padding: var(--hf-space-4xl) 0;
  background: var(--hf-white);
}

.hf-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hf-space-xl);
}

.hf-program-card {
  background: var(--hf-white);
  border: 1px solid var(--hf-gray-light);
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
  transition: all var(--hf-dur-med) var(--hf-ease);
}

.hf-program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,36,36,0.1);
  border-color: var(--hf-teal-light);
}

.hf-program-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hf-program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--hf-dur-slow) var(--hf-ease);
}

.hf-program-card:hover .hf-program-img img {
  transform: scale(1.06);
}

.hf-program-badge {
  position: absolute;
  top: var(--hf-space-md);
  left: var(--hf-space-md);
  background: var(--hf-teal-mid);
  color: var(--hf-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.hf-program-body {
  padding: var(--hf-space-lg);
}

.hf-program-body h3 {
  font-family: var(--hf-font-display);
  font-size: 1.3rem;
  color: var(--hf-text-dark);
  margin-bottom: var(--hf-space-sm);
  line-height: 1.25;
}

.hf-program-body p {
  font-size: 0.9rem;
  color: var(--hf-text-body);
  line-height: 1.7;
  margin-bottom: var(--hf-space-md);
}

/* ============================================
   VOLUNTEER / GET INVOLVED
   ============================================ */
.hf-volunteer {
  padding: var(--hf-space-4xl) 0;
  background: var(--hf-teal-dark);
}

.hf-volunteer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hf-space-xl);
}

.hf-volunteer-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(125,211,192,0.12);
  border-radius: var(--hf-radius-lg);
  padding: var(--hf-space-2xl) var(--hf-space-lg);
  text-align: center;
  transition: all var(--hf-dur-med) var(--hf-ease);
}

.hf-volunteer-card:hover {
  background: rgba(125,211,192,0.06);
  border-color: rgba(125,211,192,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.hf-volunteer-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--hf-space-lg);
  color: var(--hf-teal-light);
}

.hf-volunteer-icon svg {
  width: 100%;
  height: 100%;
}

.hf-volunteer-card h3 {
  font-family: var(--hf-font-display);
  font-size: 1.3rem;
  color: var(--hf-cream);
  margin-bottom: var(--hf-space-sm);
}

.hf-volunteer-time {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hf-gold);
  display: block;
  margin-bottom: var(--hf-space-md);
}

.hf-volunteer-detail {
  display: block;
  font-size: 0.88rem;
  color: var(--hf-text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: var(--hf-space-lg);
}

/* ============================================
   IMPACT STORIES
   ============================================ */
.hf-stories {
  padding: var(--hf-space-4xl) 0;
  background: var(--hf-cream);
}

.hf-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hf-space-xl);
}

.hf-story-card {
  background: var(--hf-white);
  border: 1px solid var(--hf-gray-light);
  border-radius: var(--hf-radius-lg);
  padding: var(--hf-space-2xl);
  transition: all var(--hf-dur-med) var(--hf-ease);
  display: flex;
  flex-direction: column;
}

.hf-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,36,36,0.08);
  border-color: var(--hf-teal-light);
}

.hf-story-card blockquote {
  font-family: var(--hf-font-display);
  font-size: 1.05rem;
  color: var(--hf-text-dark);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--hf-space-xl);
}

.hf-story-author {
  display: flex;
  align-items: center;
  gap: var(--hf-space-md);
  border-top: 1px solid var(--hf-gray-light);
  padding-top: var(--hf-space-lg);
}

.hf-story-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hf-teal-mid), var(--hf-teal));
  color: var(--hf-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.hf-story-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--hf-text-dark);
}

.hf-story-author span {
  font-size: 0.78rem;
  color: var(--hf-gray);
}

/* ============================================
   DONATION / GIVING
   ============================================ */
.hf-donate {
  padding: var(--hf-space-4xl) 0;
  background: var(--hf-white);
}

.hf-donate-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hf-space-3xl);
  align-items: start;
}

.hf-donate-message .hf-eyebrow { text-align: left; }

.hf-donate-message h2 {
  font-family: var(--hf-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--hf-text-dark);
  margin-bottom: var(--hf-space-lg);
  line-height: 1.15;
}

.hf-donate-message h2 em {
  font-style: italic;
  color: var(--hf-teal-mid);
}

.hf-donate-desc {
  color: var(--hf-text-body);
  line-height: 1.8;
  margin-bottom: var(--hf-space-xl);
}

.hf-donate-quote {
  font-family: var(--hf-font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--hf-teal-mid);
  border-left: 3px solid var(--hf-teal-light);
  padding: var(--hf-space-lg);
  margin-bottom: var(--hf-space-xl);
  background: var(--hf-cream);
  border-radius: 0 var(--hf-radius-md) var(--hf-radius-md) 0;
}

.hf-donate-quote cite {
  display: block;
  margin-top: var(--hf-space-sm);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--hf-gray);
}

.hf-donate-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hf-space-lg);
}

.hf-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--hf-gray);
}

.hf-trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--hf-teal-mid);
}

/* Donation Cards */
.hf-donate-options {
  display: flex;
  flex-direction: column;
  gap: var(--hf-space-lg);
}

.hf-donate-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0 var(--hf-space-md);
  align-items: center;
  background: var(--hf-cream);
  border: 1px solid var(--hf-gray-light);
  border-radius: var(--hf-radius-lg);
  padding: var(--hf-space-lg);
  position: relative;
  transition: all var(--hf-dur-med) var(--hf-ease);
}

.hf-donate-card:hover {
  border-color: var(--hf-teal-light);
  box-shadow: 0 8px 24px rgba(10,36,36,0.08);
}

.hf-donate-card-featured {
  border-color: var(--hf-teal-light);
  background: linear-gradient(135deg, rgba(125,211,192,0.05) 0%, rgba(26,92,80,0.03) 100%);
}

.hf-donate-card-badge {
  position: absolute;
  top: -10px;
  right: var(--hf-space-lg);
  background: var(--hf-gold);
  color: var(--hf-teal-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
}

.hf-donate-card-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  color: var(--hf-teal-mid);
}

.hf-donate-card-icon svg {
  width: 100%;
  height: 100%;
}

.hf-donate-card h3 {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--hf-font-display);
  font-size: 1.1rem;
  color: var(--hf-text-dark);
  align-self: end;
}

.hf-donate-card p {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.82rem;
  color: var(--hf-gray);
  line-height: 1.5;
  align-self: start;
}

.hf-donate-card .hf-btn {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  white-space: nowrap;
}

/* ============================================
   FOOTER
   ============================================ */
.hf-footer {
  background: var(--hf-teal-dark);
  padding: var(--hf-space-3xl) 0 var(--hf-space-xl);
  color: var(--hf-text-on-dark);
}

.hf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: var(--hf-space-2xl);
  margin-bottom: var(--hf-space-2xl);
}

.hf-footer-brand .hf-logo {
  margin-bottom: var(--hf-space-lg);
}

.hf-footer-brand p {
  font-size: 0.85rem;
  color: var(--hf-text-on-dark-muted);
  line-height: 1.7;
}

.hf-footer-links h4 {
  font-family: var(--hf-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-teal-light);
  margin-bottom: var(--hf-space-lg);
}

.hf-footer-links li {
  margin-bottom: var(--hf-space-sm);
}

.hf-footer-links li,
.hf-footer-links a {
  font-size: 0.88rem;
  color: var(--hf-text-on-dark-muted);
  transition: color var(--hf-dur-fast) ease;
}

.hf-footer-links a:hover { color: var(--hf-white); }

.hf-social-icons {
  display: flex;
  gap: var(--hf-space-md);
  margin-bottom: var(--hf-space-xl);
}

.hf-social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125,211,192,0.2);
  border-radius: 50%;
  color: var(--hf-text-on-dark-muted);
  transition: all var(--hf-dur-fast) ease;
}

.hf-social-icons a:hover {
  border-color: var(--hf-teal-light);
  color: var(--hf-teal-light);
  transform: translateY(-2px);
}

.hf-social-icons svg {
  width: 16px;
  height: 16px;
}

.hf-footer-newsletter h4 {
  font-family: var(--hf-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-teal-light);
  margin-bottom: var(--hf-space-md);
}

.hf-newsletter-form {
  display: flex;
  gap: var(--hf-space-sm);
}

.hf-newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(125,211,192,0.2);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--hf-white);
  font-family: var(--hf-font-body);
  outline: none;
  transition: border-color var(--hf-dur-fast) ease;
}

.hf-newsletter-form input::placeholder {
  color: var(--hf-text-on-dark-muted);
}

.hf-newsletter-form input:focus {
  border-color: var(--hf-teal-light);
}

/* Footer Bottom */
.hf-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--hf-space-xl);
  border-top: 1px solid rgba(125,211,192,0.1);
}

.hf-footer-bottom p {
  font-size: 0.78rem;
  color: var(--hf-text-on-dark-muted);
}

.hf-back-link {
  font-size: 0.78rem;
  color: var(--hf-teal-light);
  transition: color var(--hf-dur-fast) ease;
}

.hf-back-link:hover { color: var(--hf-white); }

/* ============================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  /* Nav */
  .hf-nav-links { display: none; }
  .hf-menu-toggle { display: flex; }

  /* Hero */
  .hf-hero { min-height: 85vh; }

  /* Stats */
  .hf-stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mission */
  .hf-mission-grid {
    grid-template-columns: 1fr;
    gap: var(--hf-space-2xl);
  }

  .hf-mission-text .hf-eyebrow { text-align: center; }
  .hf-mission-text h2 { text-align: center; }
  .hf-mission-text p { text-align: center; }
  .hf-mission-text .hf-btn { display: block; text-align: center; }

  /* Programs */
  .hf-programs-grid { grid-template-columns: 1fr 1fr; }
  .hf-programs-grid .hf-program-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Volunteer */
  .hf-volunteer-grid { grid-template-columns: 1fr 1fr; }
  .hf-volunteer-grid .hf-volunteer-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Stories */
  .hf-stories-grid { grid-template-columns: 1fr 1fr; }
  .hf-stories-grid .hf-story-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
  }

  /* Donate */
  .hf-donate-layout {
    grid-template-columns: 1fr;
    gap: var(--hf-space-2xl);
  }

  .hf-donate-message .hf-eyebrow { text-align: center; }
  .hf-donate-message h2 { text-align: center; }
  .hf-donate-desc { text-align: center; }
  .hf-donate-trust { justify-content: center; }

  /* Footer */
  .hf-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Hero */
  .hf-hero { min-height: 90vh; }
  .hf-hero-headline { font-size: clamp(2.2rem, 8vw, 3rem); }

  /* Stats */
  .hf-stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--hf-space-md); }
  .hf-stat { padding: var(--hf-space-md) var(--hf-space-sm); }
  .hf-stat-number { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* Programs */
  .hf-programs-grid { grid-template-columns: 1fr; }
  .hf-programs-grid .hf-program-card:last-child { max-width: none; }

  /* Volunteer */
  .hf-volunteer-grid { grid-template-columns: 1fr; }
  .hf-volunteer-grid .hf-volunteer-card:last-child { max-width: none; }

  /* Stories */
  .hf-stories-grid { grid-template-columns: 1fr; }
  .hf-stories-grid .hf-story-card:last-child { max-width: none; }

  /* Donate cards — single column stack */
  .hf-donate-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--hf-space-sm);
  }

  .hf-donate-card-icon {
    grid-column: 1;
    grid-row: auto;
    margin: 0 auto;
  }

  .hf-donate-card h3 {
    grid-column: 1;
    grid-row: auto;
  }

  .hf-donate-card p {
    grid-column: 1;
    grid-row: auto;
  }

  .hf-donate-card .hf-btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    margin-top: var(--hf-space-sm);
  }

  /* Footer */
  .hf-footer-grid { grid-template-columns: 1fr; gap: var(--hf-space-xl); }
  .hf-footer-bottom { flex-direction: column; gap: var(--hf-space-sm); text-align: center; }
}

/* ============================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .hf-hero { min-height: 100svh; }
  .hf-hero-headline { font-size: 2rem; }

  .hf-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hf-newsletter-form {
    flex-direction: column;
  }

  .hf-newsletter-form input,
  .hf-newsletter-form .hf-btn {
    width: 100%;
  }
}
