/* ============================================
   LaunchPoint Network — Global Styles
   ============================================ */

:root {
  --black: #0c0c0c;
  --black-soft: #161616;
  --red: #d7261e;
  --red-dark: #b31e17;
  --red-bright: #e83a32;
  --cream: #f7f4ef;
  --white: #ffffff;
  --grey: #6b6b6b;
  --grey-light: #e8e4dd;
  --pink-tint: #fbeae8;
  --peach-tint: #fdf0e4;
  --purple-tint: #ece9fb;
  --green-tint: #e8f4ea;
  --yellow-tint: #fdf6e0;
  --purple: #6c5ce7;
  --green: #2e9e4f;
  --orange: #e8752a;
  --gold: #d9a013;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.14);
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
}

.h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.text-red { color: var(--red); }
.text-muted { color: var(--grey); }

.lead {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 560px;
}

/* Red hand-drawn underline */
.underline-red {
  position: relative;
  display: inline-block;
}
.underline-red::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35em;
  width: 100%;
  height: 0.32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 50 2, 140 2, 197 8' stroke='%23d7261e' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(215, 38, 30, 0.35);
}
.btn-red:hover { background: var(--red-bright); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,0.25);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.05;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo .logo-mark { flex-shrink: 0; }
.logo-mark-wrap { flex-shrink: 0; display: block; width: 40px; height: 40px; }
.logo-mark-wrap .logo-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.logo-mark-wrap .logo-mark { display: none; }
.logo-mark-wrap.no-img .logo-img { display: none; }
.logo-mark-wrap.no-img .logo-mark { display: block; }
.logo span em { color: var(--red-bright); font-style: normal; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a.active { color: var(--white); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.96) 30%, rgba(0,0,0,0.55) 72%, rgba(0,0,0,0.7) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0 6.5rem;
  max-width: 640px;
}
.hero-inner .lead { color: rgba(255,255,255,0.82); margin: 1.4rem 0 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.6rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero-badge svg { flex-shrink: 0; }

/* scribble accents */
.scribble {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  opacity: 0.9;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--cream);
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat + .stat { border-left: 1px solid var(--grey-light); padding-left: 1.5rem; }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.stat-icon.red-tint { background: var(--pink-tint); color: var(--red); }
.stat-icon.peach { background: var(--peach-tint); color: var(--orange); }
.stat-icon.solid-red { background: var(--red); color: var(--white); }
.stat-icon.pink { background: #fce8f0; color: #d63384; }
.stat h3 { font-size: 1.5rem; }
.stat p { font-size: 0.8rem; color: var(--grey); line-height: 1.35; }
.stat .stat-label { font-weight: 600; color: var(--black); font-size: 0.86rem; }

/* Dark stats variant */
.stats-dark {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0;
}
.stats-dark .stat p { color: rgba(255,255,255,0.65); }
.stats-dark .stat .stat-label { color: var(--white); }
.stats-dark .stat + .stat { border-color: rgba(255,255,255,0.12); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.6rem;
  flex-wrap: wrap;
}
.section-link {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.section-link:hover .arrow { transform: translateX(4px); }
.section-link .arrow { transition: transform 0.18s ease; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.4rem;
}
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); }

.path-card {
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.path-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.path-card .card-icon { margin-bottom: 0.4rem; }
.path-card h3 { font-size: 1.12rem; }
.path-card p { font-size: 0.88rem; color: #444; }
.path-card .arrow-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
}
.tint-pink { background: var(--pink-tint); }
.tint-peach { background: var(--peach-tint); }
.tint-purple { background: var(--purple-tint); }
.tint-green { background: var(--green-tint); }
.tint-yellow { background: var(--yellow-tint); }

.white-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.white-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.white-card h3 { font-size: 1.05rem; margin: 0.9rem 0 0.5rem; }
.white-card p { font-size: 0.87rem; color: var(--grey); }

/* Image cards (opportunities / articles) */
.img-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.img-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.img-card .card-body { padding: 1.2rem 1.3rem 1.4rem; }
.img-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.img-card p { font-size: 0.84rem; color: var(--grey); }

/* Photo placeholder system — swap by dropping real files into images/ */
.ph {
  position: relative;
  background: linear-gradient(135deg, #1c1c1c 0%, #2e2224 45%, #451e1c 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(215,38,30,0.25), transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(255,120,90,0.12), transparent 50%);
}
.ph[style*="background-image"]::before { display: none; }
.ph-ratio { aspect-ratio: 16 / 10; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-square { aspect-ratio: 1 / 1; }

/* ---------- Dark feature band ---------- */
.dark-band {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.4rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 2.6rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.dark-band p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.dark-band .band-copy p + p { margin-top: 0.9rem; }
.dark-band .band-img { border-radius: var(--radius); }

.full-dark {
  background: var(--black);
  color: var(--white);
}
.full-dark .lead { color: rgba(255,255,255,0.78); }

/* ---------- Media rows ---------- */
.media-row {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 1.4rem;
  transition: transform 0.2s ease;
}
.media-row:hover { transform: translateY(-4px); }
.media-row .ph-bg { position: absolute; inset: 0; }
.media-row .ph-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.75));
}
.media-row .row-content { position: relative; z-index: 2; width: 100%; }
.media-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.play-btn {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  z-index: 3;
  transition: transform 0.18s ease;
}
.media-row:hover .play-btn { transform: scale(1.1); }

/* ---------- Events ---------- */
.event-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.event-media { position: relative; }
.date-chip {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: var(--white);
  border-radius: 10px;
  text-align: center;
  padding: 0.35rem 0.7rem;
  line-height: 1.1;
  z-index: 2;
  box-shadow: var(--shadow);
}
.date-chip .month {
  display: block;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 5px;
  padding: 0.12rem 0.45rem;
  margin: -0.55rem -0.9rem 0.3rem;
  border-radius: 10px 10px 0 0;
  padding-top: 0.3rem;
}
.date-chip .day { font-size: 1.25rem; font-weight: 700; }
.event-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.event-body h3 { font-size: 1.15rem; }
.event-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--grey);
  font-weight: 500;
}
.event-meta.red { color: var(--red); }
.event-body p { font-size: 0.86rem; color: var(--grey); }
.event-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 3.6rem 0;
}
.cta-band .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,0.88); margin-top: 0.4rem; font-size: 0.95rem; }
.cta-band.center { text-align: center; }
.cta-band.center .cta-inner { flex-direction: column; justify-content: center; }
.cta-icon-circle {
  width: 64px; height: 64px;
  background: var(--black);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}
.cta-left { display: flex; align-items: center; gap: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.4fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}
.footer-grid h4 {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.65rem; }
.footer-grid a {
  color: rgba(255,255,255,0.65);
  font-size: 0.86rem;
  transition: color 0.15s ease;
}
.footer-grid a:hover { color: var(--white); }
.footer-about p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-top: 1.1rem;
  max-width: 240px;
}
.footer-connect li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-connect svg { color: var(--red-bright); flex-shrink: 0; }
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: none;
  border-radius: 7px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font);
  font-size: 0.85rem;
}
.newsletter-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom .legal { display: flex; gap: 1.6rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  color: var(--black); /* stays readable inside dark heroes */
}
.form-group { margin-bottom: 1.1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
label .req { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--grey-light);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  background: var(--white);
  transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
}
textarea { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; flex-direction: column; gap: 0.55rem; }
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.87rem;
  margin: 0;
  cursor: pointer;
}
.checkbox-group input { accent-color: var(--red); width: 16px; height: 16px; }
.form-note {
  display: block;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--grey);
  margin-top: 1rem;
}
.form-note > svg {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 0.35rem;
}
.form-success {
  background: var(--green-tint);
  border: 1.5px solid var(--green);
  color: #1e6e37;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  margin-top: 1rem;
}
.form-success.show { display: block; }

/* ---------- Donation ---------- */
.toggle-pills {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1.6rem;
}
.toggle-pills button {
  border: none;
  background: transparent;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--grey);
  transition: 0.18s ease;
}
.toggle-pills button.active { background: var(--red); color: var(--white); }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.amount-btn {
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: 12px;
  padding: 1rem 0.8rem;
  cursor: pointer;
  font-family: var(--font);
  text-align: center;
  transition: 0.15s ease;
}
.amount-btn strong { display: block; font-size: 1.15rem; }
.amount-btn span { font-size: 0.72rem; color: var(--grey); line-height: 1.3; display: block; margin-top: 0.25rem; }
.amount-btn.active, .amount-btn:hover { border-color: var(--red); }
.amount-btn.active { background: var(--pink-tint); }

.amount-input {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: 10px;
  padding: 0 1rem;
  margin-bottom: 1.4rem;
}
.amount-input .currency { color: var(--red); font-weight: 700; }
.amount-input input {
  border: none;
  flex: 1;
  padding: 0.95rem 0.8rem;
  font-size: 1rem;
  font-weight: 600;
}
.amount-input input:focus { outline: none; }
.amount-input .cad { color: var(--grey); font-size: 0.85rem; font-weight: 600; }

/* ---------- Values / timeline ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  text-align: center;
}
.value-item { padding: 1.6rem 1.2rem; }
.value-item + .value-item { border-left: 1px solid var(--grey-light); }
.value-item .card-icon { display: flex; justify-content: center; margin-bottom: 0.9rem; }
.value-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.value-item p { font-size: 0.82rem; color: var(--grey); }

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.6rem;
  position: relative;
  margin-top: 3rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%; right: 8%;
  border-top: 2px dashed var(--grey-light);
}
.tl-item { text-align: center; position: relative; }
.tl-icon {
  width: 72px; height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  margin: 0 auto 1rem;
  border: 5px solid var(--cream);
  position: relative;
  z-index: 2;
}
.tl-item h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.tl-item .tl-year { color: var(--red); font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 0.2rem; }
.tl-item p { font-size: 0.78rem; color: var(--grey); }

/* ---------- Founders ---------- */
.founder-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.6rem;
}
.founder-card .ph { border-radius: var(--radius); }
.founder-card h3 { font-size: 1.3rem; }
.founder-role {
  color: var(--red);
  font-weight: 600;
  font-size: 0.82rem;
  margin: 0.2rem 0 0.9rem;
}
.founder-card .bio p { font-size: 0.85rem; color: #444; margin-bottom: 0.8rem; }
.founder-sig {
  font-family: "Brush Script MT", "Snell Roundhand", cursive;
  font-size: 1.7rem;
  margin-top: 0.8rem;
  transform: rotate(-4deg);
  display: inline-block;
}

/* ---------- Team avatars ---------- */
.team-avatar {
  position: relative;
  width: 74px; height: 74px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--black);
  display: grid;
  place-items: center;
}
.team-avatar span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.team-avatar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-avatar.no-photo img { display: none; }

/* ---------- Quote ---------- */
.quote-card {
  background: var(--pink-tint);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  overflow: hidden;
}
.quote-card blockquote {
  padding: 2.4rem 2.6rem;
  font-size: 1.02rem;
  line-height: 1.7;
  position: relative;
}
.quote-card .quote-mark {
  color: var(--red);
  font-size: 3.2rem;
  line-height: 1;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 0.6rem;
}
.quote-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--grey);
}

/* ---------- Opportunity rows ---------- */
.opp-row {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
  align-items: stretch;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.opp-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.opp-row + .opp-row { margin-top: 1.4rem; }
.opp-intro { padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 0.6rem; justify-content: center; }
.opp-intro h3 { font-size: 1.25rem; }
.opp-intro p { font-size: 0.86rem; color: #444; }
.opp-list {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}
.opp-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.87rem;
  font-weight: 500;
}
.opp-list .section-link { margin-top: 0.8rem; }

/* ---------- Tabs ---------- */
.tab-bar {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid var(--grey-light);
  margin-bottom: 2.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease;
}
.tab-bar a:hover { color: var(--black); }
.tab-bar a.active { color: var(--black); border-bottom-color: var(--red); }
.tab-bar a.active svg { color: var(--red); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--grey-light); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0 1rem; font-size: 0.86rem; color: var(--grey); max-width: 90%; }

/* ---------- Community gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-grid .ph { border-radius: var(--radius); }
.gallery-cta {
  background: var(--red);
  border-radius: var(--radius);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.18s ease;
}
.gallery-cta:hover { background: var(--red-bright); }

/* ---------- Chips ---------- */
.chip-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.chip {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: 0.15s ease;
}
.chip.active, .chip:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ---------- Contact ---------- */
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
}
.contact-item + .contact-item { border-top: 1px solid var(--grey-light); }
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--pink-tint);
  background: var(--pink-tint);
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.95rem; }
.contact-item p { font-size: 0.82rem; color: var(--grey); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Eight nav links + CTA run out of room before the mobile breakpoint,
   so the nav tightens first and drops to the drawer earlier than the rest. */
@media (max-width: 1240px) {
  .main-nav { gap: 1.15rem; }
  .main-nav a { font-size: 0.85rem; }
  .nav-cta { padding: 0.75rem 1.2rem; font-size: 0.85rem; }
}

@media (max-width: 1120px) {
  .main-nav {
    position: fixed;
    top: 62px;
    left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 6%;
    gap: 1.1rem;
    transform: translateY(-130%);
    transition: transform 0.28s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 99;
  }
  .main-nav a { font-size: 0.95rem; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

@media (max-width: 960px) {
  .dark-band { grid-template-columns: 1fr; padding: 2.4rem 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .opp-row { grid-template-columns: 1fr; }
  .opp-row .ph { min-height: 220px; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card .ph { max-width: 260px; }
  .quote-card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .value-item + .value-item { border-left: none; border-top: 1px solid var(--grey-light); }
}

@media (max-width: 760px) {
  .hero .scribble { display: none; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 4rem 0; }
  .section { padding: 3.4rem 0; }
}

/* ============================================
   MOBILE AUDIT — everything below 820px only.
   Desktop (821px+) is deliberately untouched.
   Inline grid-template-columns need !important
   to be overridden, hence the attribute selectors.
   ============================================ */
@media (max-width: 820px) {

  /* --- Inline grids with no id hook (these caused sideways overflow) --- */
  /* "Pick Your Path" heading column + cards */
  [style*="grid-template-columns:220px 1fr"] { grid-template-columns: 1fr !important; gap: 1.4rem !important; }
  /* Home "Upcoming Events" 3-up */
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  /* Media "Share Your Voice" quote card */
  [style*="grid-template-columns:1fr 1.1fr"] { grid-template-columns: 1fr !important; }

  /* Podcast episode rows: shrink thumb, keep 3 columns usable */
  [style*="grid-template-columns:110px 1fr auto"] {
    grid-template-columns: 68px 1fr auto !important;
    gap: 0.7rem !important;
    padding: 0.6rem 0.7rem !important;
  }

  /* Volunteer spotlight cards: stack image over text */
  [style*="grid-template-columns:130px 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:130px 1fr"] > .ph { min-height: 190px; }

  /* Any id-hooked two-column grid still side-by-side at this width */
  #heroGrid, #homeBottomGrid, #storyGrid, #mvvGrid, #podGrid,
  #joinGrid, #contactGrid, #faqGrid, #donateGrid, #liveHero {
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
  }
  #storyGrid > div:last-child,
  #mvvGrid > div { border-left: none !important; padding-left: 0 !important; }

  /* --- Stacked flex/grid components need visible image heights --- */
  .quote-card > .ph { min-height: 210px; }
  .dark-band .band-img { min-height: 200px; }
  .opp-row > .ph { min-height: 200px; }
  .founder-card > .ph { max-width: 100%; aspect-ratio: 4 / 3; }

  /* --- Hero --- */
  .hero-inner { max-width: none !important; }
  .hero-badges { gap: 1.1rem; }
  .hero-badge {
    font-size: 0.78rem;
    border-left: none !important;
    padding-left: 0 !important;
    flex: 1 1 45%;
  }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* --- Cards & grids --- */
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-item + .value-item { border-left: none; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .amount-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 1.4rem; }

  /* --- Community wall: 7 tiles is too many across a phone --- */
  .gallery-grid[style*="repeat(7"] { grid-template-columns: repeat(3, 1fr) !important; }

  /* --- Section heads stack instead of squeezing the link --- */
  .section-head { gap: 0.9rem; }
  .section-head > div[style*="display:flex"] { flex-wrap: wrap; }

  /* --- CTA bands --- */
  .cta-band .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-band.center .cta-inner { align-items: center; text-align: center; }
  .cta-left { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-band.center .cta-left { align-items: center; }
  .cta-band .btn { width: 100%; justify-content: center; }

  /* --- Team avatars / cards --- */
  .team-avatar { width: 60px; height: 60px; }
  .team-avatar span { font-size: 0.95rem; }

  /* --- Forms --- */
  .form-card { padding: 1.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }

  /* --- Contact / chips --- */
  .chip-row { gap: 0.45rem; }
  .chip { font-size: 0.78rem; padding: 0.45rem 0.85rem; }

  /* --- Typography breathing room --- */
  .section { padding: 2.8rem 0; }
  .lead { font-size: 0.95rem; }
  .h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }

  /* --- Belt-and-braces: nothing may push the page sideways --- */
  html, body { overflow-x: hidden; max-width: 100%; }
  img, iframe, svg { max-width: 100%; }
}

@media (max-width: 520px) {
  .values-grid, .timeline { grid-template-columns: 1fr; }
  /* keep donation amounts 2-up so "Donate Now" stays reachable */
  .amount-grid { grid-template-columns: 1fr 1fr; }
  .amount-btn span { font-size: 0.68rem; }
  /* photo tiles stay 2-up — full-width tiles make an endless scroll */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid[style*="repeat(7"] { grid-template-columns: repeat(3, 1fr) !important; }
  .hero-badge { flex: 1 1 100%; }
  .toggle-pills { width: 100%; }
  .toggle-pills button { flex: 1; padding: 0.55rem 0.6rem; font-size: 0.8rem; }
  [style*="grid-template-columns:110px 1fr auto"] { grid-template-columns: 60px 1fr auto !important; }
}

/* ============================================
   Legal pages (privacy, terms)
   ============================================ */
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 90px;
  font-size: 0.82rem;
  border-left: 2px solid var(--grey-light);
  padding-left: 1rem;
}
.legal-toc p {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}
.legal-toc a {
  display: block;
  padding: 0.28rem 0;
  color: var(--grey);
  line-height: 1.35;
  transition: color 0.15s ease;
}
.legal-toc a:hover { color: var(--black); }

.legal-body { max-width: 44rem; }
.legal-body h2 {
  font-size: 1.22rem;
  margin: 2.6rem 0 0.9rem;
  scroll-margin-top: 90px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 1rem;
  margin: 1.8rem 0 0.6rem;
}
.legal-body p { font-size: 0.94rem; color: #3d3733; margin-bottom: 0.95rem; }
.legal-body ul { margin: 0 0 1.1rem 1.2rem; }
.legal-body li { font-size: 0.94rem; color: #3d3733; margin-bottom: 0.45rem; }
.legal-body a { color: var(--red); font-weight: 600; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { font-weight: 650; }

/* Statutory all-caps blocks — kept conspicuous but readable */
.legal-caps {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-left: 3px solid var(--black);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.1rem;
}
.legal-caps p {
  font-size: 0.82rem;
  line-height: 1.6;
  letter-spacing: 0.005em;
  margin-bottom: 0.8rem;
}
.legal-caps p:last-child { margin-bottom: 0; }

.legal-updated {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 999px;
  padding: 0.32rem 0.9rem;
  margin-bottom: 2rem;
}

.legal-callout {
  background: var(--pink-tint);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
}
.legal-callout p { margin-bottom: 0; font-size: 0.9rem; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .legal-toc {
    position: static;
    border-left: none;
    border-top: 1px solid var(--grey-light);
    border-bottom: 1px solid var(--grey-light);
    padding: 1rem 0;
    columns: 2;
    column-gap: 1.2rem;
  }
  .legal-toc p { column-span: all; }
}
@media (max-width: 520px) {
  .legal-toc { columns: 1; }
}

/* Amount field is read-only when monthly giving is selected (set amounts only) */
.amount-input input.is-locked {
  color: var(--grey);
  cursor: default;
}
.amount-input:has(input.is-locked) { background: #f4f1ec; }

/* Form error message (shown when a submission fails) */
.form-error {
  display: none;
  background: #fdecea;
  border: 1px solid #f3c0bb;
  color: #a3231b;
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.8rem;
}
/* Honeypot — hidden from people, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
