/* ================================================
   THE HOPE UNBOXED MOVEMENT — styles.css
   HEALTHCARE THEME: BLACK / WHITE / RED / NAVY
   ================================================ */

/* ---- 1. Variables & Reset ---- */
:root {
  /* Backgrounds */
  --bg:            #FAFAFA;
  --bg-2:          #F2F2F2;
  --bg-card:       #FFFFFF;
  --bg-card-2:     #F5F5F5;
  --bg-dark:       #0F0F0F;
  --bg-dark-2:     #1A1A1A;

  /* Healthcare Red — donate CTAs, stat numbers, eyebrow dots */
  --accent:        #B91C1C;
  --accent-dark:   #991B1B;
  --accent-glow:   rgba(185,28,28,0.12);

  /* Black — CTA banner, secondary buttons, outlines */
  --primary:       #0F0F0F;
  --primary-dark:  #000000;
  --primary-lt:    rgba(0,0,0,0.05);
  --primary-glow:  rgba(0,0,0,0.1);

  /* Alias older references so nothing breaks */
  --navy:          #0F0F0F;
  --violet:        #0F0F0F;
  --gold:          #B91C1C;
  --gold-dim:      rgba(185,28,28,0.08);
  --gold-glow:     rgba(185,28,28,0.12);
  --border-glow:   rgba(0,0,0,0.18);

  /* Text */
  --text:          #505050;
  --text-bright:   #0F0F0F;
  --muted:         #808080;

  /* Borders */
  --border:        #E0E0E0;

  /* Shadows — neutral grey, no colour */
  --shadow-sm:  0 1px 6px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg:  0 10px 44px rgba(0,0,0,0.14);

  /* Misc */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;
  --ease: all 0.3s ease;
  --ease-f: all 0.18s ease;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --section-py: 5.5rem;
  --container: 1180px;
  --gap: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ---- 2. Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--text-bright);
  line-height: 1.18;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--text); line-height: 1.78; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .875rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.lead { font-size: 1.075rem; color: var(--text); line-height: 1.8; }

/* ---- 3. Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section       { padding: var(--section-py) 0; position: relative; }
.section-alt   { background: var(--bg-2); }
.section-white { background: var(--bg-card); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 { margin-bottom: .875rem; }
.section-header p  { max-width: 580px; margin: 0 auto; color: var(--text); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

/* ---- 4. Navigation ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 19px; height: 19px; fill: #fff; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.2;
}
/* ★ LOGO IMAGE — images/logo.jpg */
.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.footer-brand .nav-logo-img { height: 80px; }

.nav-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  padding: .45rem .7rem;
  border-radius: var(--r-sm);
  transition: var(--ease-f);
}
.nav-links a:hover  { color: var(--text-bright); background: rgba(0,0,0,0.06); }
.nav-links a.active { color: var(--text-bright); font-weight: 600; }
.nav-links .btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: var(--r-full);
  margin-left: .4rem;
}
.nav-links .btn-nav:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  border-radius: var(--r-sm);
  transition: var(--ease-f);
}
.hamburger:hover { background: rgba(0,0,0,0.06); }
.hamburger span {
  display: block;
  width: 23px; height: 2px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: var(--ease-f);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 110px; left: 0; right: 0; bottom: 0;
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 1.25rem 1.5rem 2rem;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--ease-f);
}
.mobile-menu a:hover, .mobile-menu a.active {
  color: #fff;
  padding-left: .4rem;
}
.mobile-menu a.active { color: var(--accent); }
.mobile-menu .btn-mobile-cta {
  margin-top: 1.5rem;
  background: var(--accent);
  color: #fff !important;
  text-align: center;
  padding: .9rem;
  border-radius: var(--r-md);
  font-weight: 600;
  border-bottom: none;
}

/* ---- 5. Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .875rem 2rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--ease);
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position .55s ease;
  border-radius: inherit;
  pointer-events: none;
}
.btn:hover::after { background-position: 200% 0; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-lt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.65);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--text-bright);
  border-color: #fff;
}
.btn-white:hover {
  background: #f0f0f0;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-lg   { padding: 1rem 2.5rem; font-size: 1.0125rem; }
.btn-sm   { padding: .55rem 1.25rem; font-size: .85rem; }
.btn-full { width: 100%; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  align-items: center;
}

/* ---- 6. Home Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero::before { content: none; }

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
  opacity: .18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,15,15,0.72) 0%, rgba(15,15,15,0.35) 60%, rgba(15,15,15,0.88) 100%);
  z-index: 2;
}

/* Futuristic orbs — hidden in healthcare theme */
.hero-orb, .hero-orb-1, .hero-orb-2, .hero-orb-3 { display: none; }

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-full);
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.75rem;
  letter-spacing: .04em;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-content h1 {
  font-size: clamp(2.75rem, 6.5vw, 4.8rem);
  color: #fff;
  line-height: 1.07;
  margin-bottom: 1.4rem;
  max-width: 720px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(220,220,220,0.85);
  max-width: 530px;
  margin-bottom: 2.5rem;
  line-height: 1.82;
}
.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  color: rgba(255,255,255,.28);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ---- 7. Page Hero (Inner Pages) ---- */
.page-hero {
  position: relative;
  background: var(--bg-dark);
  padding: 5.5rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before { content: none; }
.page-hero::after  { content: none; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/page-hero-bg.jpg') center/cover no-repeat;
  opacity: .1;
  z-index: 0;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0.1) 50%, rgba(15,15,15,0.75) 100%);
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow { color: rgba(255,255,255,0.58); }
.page-hero .eyebrow::before { background: var(--accent); }
.page-hero h1 { color: #fff; margin-bottom: .875rem; }
.page-hero > .container > .page-hero-content > p {
  color: rgba(220,220,220,0.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.32);
}
.breadcrumb a    { color: rgba(255,255,255,.4); transition: var(--ease-f); }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.breadcrumb span { color: rgba(255,255,255,.18); }

/* ---- 8. Mission Strip ---- */
.mission-strip {
  padding: 2.25rem 0;
  text-align: center;
  background: #fff;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  position: relative;
}
.mission-strip::before { content: none; }
.mission-strip p {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--text-bright);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto;
}

/* ---- 9. Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.stat-item {
  padding: 2.25rem 1rem 2rem;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: .7;
}
.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(185,28,28,0.2);
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---- 10. Feature & Step Cards ---- */
.feature-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before { content: none; }
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,0.12);
}

.feature-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--primary-lt);
  border: 1px solid rgba(0,0,0,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-icon.accent {
  background: rgba(185,28,28,0.07);
  border-color: rgba(185,28,28,0.14);
}
.feature-icon.gold {
  background: rgba(185,28,28,0.06);
  border-color: rgba(185,28,28,0.12);
}
.feature-card h3 { font-size: 1.175rem; margin-bottom: .625rem; color: var(--text-bright); }
.feature-card p  { font-size: .9375rem; color: var(--text); line-height: 1.7; }

/* Step rows (how-it-works) */
.steps-list { display: flex; flex-direction: column; gap: 2rem; }
.step-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.step-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: var(--shadow-sm);
}
.step-body {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.step-body::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  opacity: .5;
}
.step-body .step-emoji { font-size: 1.75rem; margin-bottom: .875rem; display: block; }
.step-body h3 { margin-bottom: .625rem; }
.step-body p  { font-size: .9375rem; color: var(--text); }
.step-body ul { margin-top: .875rem; padding-left: 1.1rem; list-style: disc; }
.step-body ul li { font-size: .9rem; color: var(--text); margin-bottom: .35rem; line-height: 1.6; }

/* Items grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}
.item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem .875rem;
  text-align: center;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.item-card:hover {
  border-color: rgba(0,0,0,0.12);
  background: var(--bg-card-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.item-emoji  { font-size: 1.875rem; display: block; margin-bottom: .5rem; }
.item-label  { font-size: .8rem; font-weight: 600; color: var(--text-bright); line-height: 1.4; }

/* ---- 11. CTA Banner ---- */
.cta-banner {
  position: relative;
  padding: 5.5rem 0;
  text-align: center;
  overflow: hidden;
  background: var(--primary);
  border-top: none;
  border-bottom: none;
}
.cta-banner::before { content: none; }
.cta-banner::after  { content: none; }
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner .eyebrow { color: rgba(255,255,255,0.58); }
.cta-banner .eyebrow::before { background: rgba(255,255,255,0.45); }
.cta-banner h2 { color: #fff; margin-bottom: .875rem; }
.cta-banner p  { color: rgba(255,255,255,0.75); max-width: 490px; margin: 0 auto 2.5rem; }
.cta-banner .btn-group { justify-content: center; }

/* ---- 12. About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-placeholder {
  width: 100%; height: 100%; min-height: 240px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--muted);
  font-size: .85rem;
  gap: .6rem;
  background: var(--bg-2);
  text-align: center;
  padding: 1rem;
}
.img-placeholder svg { width: 42px; height: 42px; fill: var(--muted); opacity: .4; }
.about-text h2  { margin-bottom: 1.25rem; }
.about-text p   { color: var(--text); margin-bottom: 1rem; font-size: .95rem; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
.value-item { display: flex; align-items: flex-start; gap: .875rem; }
.value-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--primary-lt);
  border: 1px solid rgba(0,0,0,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.value-item h4    { font-size: .925rem; margin-bottom: .2rem; color: var(--text-bright); }
.value-item p     { font-size: .83rem; color: var(--text); line-height: 1.6; }

/* Founder card */
.founder-card {
  background: var(--bg-card);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 360px 1fr;
  position: relative;
}
.founder-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.founder-img {
  background: var(--bg-2);
  position: relative;
  min-height: 480px;
}
.founder-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.founder-img-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--muted);
  font-size: .875rem;
  gap: .5rem;
}
.founder-img-placeholder svg { width: 68px; height: 68px; fill: var(--muted); opacity: .3; }
.founder-body {
  padding: 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.founder-body .eyebrow { color: var(--accent); }
.founder-body .eyebrow::before { background: var(--accent); }
.founder-body h2  { margin-bottom: .3rem; }
.founder-title    { font-size: .9375rem; color: var(--primary); font-weight: 500; margin-bottom: 1.5rem; }
.founder-body p   { font-size: .93rem; color: var(--text); margin-bottom: .875rem; line-height: 1.78; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tag {
  display: inline-flex; align-items: center;
  background: var(--primary-lt);
  border: 1px solid rgba(0,0,0,0.11);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: var(--r-full);
}

/* Team grid (about page co-founders) */
.founder-card-compact { grid-template-columns: 280px 1fr; margin-bottom: 3rem; }
.founder-card-compact .founder-img { min-height: 360px; }
.founder-card-compact .founder-body { padding: 2.25rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 3/4;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  color: var(--muted);
  font-size: .8rem;
}
.team-photo-placeholder svg { width: 52px; height: 52px; opacity: .35; }
.team-info { padding: 1.5rem 1.5rem 1.75rem; }
.team-info .eyebrow { font-size: .72rem; margin-bottom: .4rem; }
.team-info h3 { font-size: 1.2rem; margin-bottom: .625rem; }
.team-info p { font-size: .9rem; color: var(--text); line-height: 1.7; }

/* ---- 13. Events Page ---- */
.event-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--ease);
  display: flex; flex-direction: column;
  position: relative;
}
.event-card::before { content: none; }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.event-thumb {
  aspect-ratio: 16/9;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-badge-wrap {
  position: absolute; top: .875rem; right: .875rem;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  padding: .45rem .625rem;
  text-align: center;
  min-width: 50px;
}
.event-badge-month { display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.event-badge-day   { display: block; font-family: var(--font-head); font-size: 1.375rem; font-weight: 700; color: #fff; line-height: 1.1; }
.event-status-pill {
  position: absolute; top: .875rem; left: .875rem;
  background: var(--accent);
  color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: var(--r-full);
}
.event-status-pill.past { background: rgba(0,0,0,0.45); color: rgba(255,255,255,.75); }
.event-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.event-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; font-size: .78rem; color: var(--muted); margin-bottom: .625rem; }
.event-meta-dot { color: var(--border); }
.event-body h3 { font-size: 1.1rem; margin-bottom: .625rem; color: var(--text-bright); }
.event-body p  { font-size: .9rem; color: var(--text); flex: 1; margin-bottom: 1.5rem; line-height: 1.65; }

.past-events-list { display: flex; flex-direction: column; gap: 1rem; }
.past-event {
  background: var(--bg-card);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  display: flex; gap: 1.25rem; align-items: center;
  transition: var(--ease);
}
.past-event:hover { border-color: rgba(0,0,0,0.13); box-shadow: var(--shadow-sm); }
.past-event-date {
  min-width: 50px; text-align: center;
  background: var(--primary-lt);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--r-sm);
  padding: .5rem;
}
.past-event-month { display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase; color: var(--primary); }
.past-event-day   { display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--text-bright); line-height: 1.1; }
.past-event-info h4 { font-size: .975rem; margin-bottom: .2rem; color: var(--text-bright); }
.past-event-info p  { font-size: .84rem; color: var(--text); }

/* ---- 14. Donate Page ---- */
.donate-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
/* When only one donate card is rendered (e.g. monetary card disabled), center it */
.donate-cards > .donate-card:only-child { grid-column: 1 / -1; max-width: 580px; margin-left: auto; margin-right: auto; }
.donate-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.donate-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.donate-card.accent-card::after { background: var(--primary); }
.donate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(185,28,28,0.2);
}
.donate-card.accent-card:hover { border-color: rgba(0,0,0,0.13); }
.donate-card-icon { font-size: 3.25rem; display: block; margin-bottom: 1.25rem; }
.donate-card h3   { font-size: 1.5rem; margin-bottom: .75rem; color: var(--text-bright); }
.donate-card p    { color: var(--text); margin-bottom: 2rem; font-size: .9375rem; line-height: 1.7; }

/* ---- 15. Contact Page ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; align-items: start; }
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before { content: none; }
.contact-info-card h3 { color: var(--text-bright); margin-bottom: .375rem; }
.contact-info-card > p { color: var(--text); font-size: .9375rem; margin-bottom: 2.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-lt);
  border: 1px solid rgba(0,0,0,0.09);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .2rem; }
.contact-item-value { font-size: .9375rem; color: var(--text-bright); }
.contact-item-value a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.social-row { display: flex; gap: .625rem; margin-top: 2rem; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--primary-lt);
  border: 1px solid rgba(0,0,0,0.09);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease-f);
  color: var(--primary);
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.social-btn svg { width: 17px; height: 17px; fill: currentColor; }

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 3rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary);
}
.contact-form-card h3 { margin-bottom: .375rem; color: var(--text-bright); }
.contact-form-card > p { color: var(--text); font-size: .9rem; margin-bottom: 2rem; }

/* ---- 16. Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .845rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: .45rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8125rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--text-bright);
  background: #fff;
  transition: var(--ease-f);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(185,28,28,0.4);
  box-shadow: 0 0 0 3px rgba(185,28,28,0.07);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-success {
  background: rgba(185,28,28,0.06);
  border: 1px solid rgba(185,28,28,0.25);
  border-radius: var(--r-md);
  padding: 1.125rem 1.5rem;
  display: flex; align-items: center; gap: .875rem;
  font-size: .9375rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 1rem;
}
.form-success-icon { font-size: 1.25rem; flex-shrink: 0; }

/* ---- 17. Donate Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(18px) scale(.98);
  transition: transform .25s ease;
}
.modal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--accent);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 1.1rem; right: 1.1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--muted);
  transition: var(--ease-f);
}
.modal-close:hover { background: rgba(185,28,28,0.07); color: var(--accent); border-color: rgba(185,28,28,0.25); }
.modal h3    { font-size: 1.5rem; margin-bottom: .5rem; color: var(--text-bright); }
.modal > p   { color: var(--text); font-size: .9375rem; margin-bottom: 2rem; }
.modal-options { display: flex; flex-direction: column; gap: .875rem; }
.modal-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-bright);
  transition: var(--ease-f);
  font-weight: 500;
  background: #fafafa;
}
.modal-option:hover {
  border-color: rgba(185,28,28,0.3);
  background: rgba(185,28,28,0.04);
  transform: translateX(4px);
}
.modal-option-icon  { font-size: 1.5rem; flex-shrink: 0; }
.modal-option-title { display: block; font-size: .9375rem; font-weight: 600; color: var(--text-bright); }
.modal-option-sub   { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.modal-note { margin-top: 1.5rem; font-size: .8rem; color: var(--muted); text-align: center; line-height: 1.6; }

/* ---- 18. Footer ---- */
footer { background: var(--bg-dark); }
.footer-top {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.footer-top::before { content: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.75rem;
  position: relative;
  z-index: 1;
}
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,0.42); line-height: 1.75; margin: 1rem 0 1.5rem; max-width: 270px; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease-f);
  color: rgba(255,255,255,0.48);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social a svg { width: 15px; height: 15px; fill: currentColor; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 1.1rem;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,0.48); transition: var(--ease-f); }
.footer-col ul li a:hover { color: #fff; padding-left: 3px; }
.footer-newsletter p { font-size: .85rem; color: rgba(255,255,255,0.42); margin-bottom: .9rem; line-height: 1.65; }
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-form input {
  flex: 1;
  padding: .7rem .9rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: .875rem;
  outline: none;
  transition: var(--ease-f);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.32); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.09); }
.newsletter-form button {
  padding: .7rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border: none; border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--ease-f);
}
.newsletter-form button:hover { background: var(--accent-dark); }
.footer-bottom { padding: 1.4rem 0; }
.footer-bottom-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .875rem;
}
.footer-bottom p { font-size: .825rem; color: rgba(255,255,255,0.2); }
.footer-bottom a { color: rgba(255,255,255,0.28); transition: var(--ease-f); }
.footer-bottom a:hover { color: #fff; }

/* ---- 19. Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s ease, transform .72s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: .1s; }
.fade-in-d2 { transition-delay: .2s; }
.fade-in-d3 { transition-delay: .3s; }
.fade-in-d4 { transition-delay: .4s; }
.fade-in-d5 { transition-delay: .5s; }

/* ---- 20. Screen-reader utility ---- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- 21. Media Queries ---- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
  .founder-card { grid-template-columns: 300px 1fr; }
  .founder-body { padding: 2.5rem; }
}
@media (max-width: 900px) {
  :root { --section-py: 4rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-wrap { grid-template-columns: 1fr; }
  .donate-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-img  { min-height: 280px; }
  .founder-card-compact { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .mobile-menu { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section-header { margin-bottom: 2.5rem; }
}
@media (max-width: 540px) {
  :root { --section-py: 3rem; }
  .hero-content h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .donate-cards { max-width: 100%; }
  .modal { padding: 2rem 1.5rem; }
}
