/* ============================================
   JUST IN CASE — STYLES
   ============================================ */

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

:root {
  --navy:       #060d1f;
  --navy-mid:   #0d1f3c;
  --navy-light: #162848;
  --red:        #e63946;
  --red-dark:   #c1121f;
  --orange:     #ff6b35;
  --white:      #ffffff;
  --off-white:  #f4f6fb;
  --gray-100:   #eef1f7;
  --gray-300:   #c4cdd8;
  --gray-500:   #7b8fa6;
  --gray-700:   #3d4f63;
  --text:       #1a2a3a;

  --font-body:  'Inter', sans-serif;
  --font-head:  'Space Grotesk', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 8px rgba(6,13,31,.08);
  --shadow-md:  0 8px 32px rgba(6,13,31,.14);
  --shadow-lg:  0 24px 64px rgba(6,13,31,.2);

  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

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

img { display: block; width: 100%; object-fit: cover; }

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

/* ---------- TYPOGRAPHY ---------- */
.section__eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section__eyebrow--light { color: rgba(255,255,255,.6); }

.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 24px;
}

.section__title--light { color: var(--white); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(230,57,70,.35);
}
.btn--primary:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 32px rgba(230,57,70,.5);
  transform: translateY(-2px);
}

.btn--secondary {
  background: #9ca3af;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn--secondary:hover {
  background: #6b7280;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--red);
  color: var(--white);
  padding: 10px 22px;
  font-size: .875rem;
}
.btn--nav:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn--full { width: 100%; justify-content: center; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 24px;
}

.nav.scrolled {
  background: rgba(6, 13, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), var(--shadow-md);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  transition: var(--transition);
}
.nav__links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(6,13,31,.96);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  z-index: 1001;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 20px;
  background: rgba(6,13,31,.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.07);
}
.nav__mobile a {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 24px;
  transition: var(--transition);
}
.nav__mobile a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav__mobile .btn--nav { margin: 8px 24px 0; width: auto; }

.nav__mobile.open { display: flex; }

.dropdown-mobile {
  display: flex;
  flex-direction: column;
}

.dropdown-toggle-mobile {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 24px;
  transition: var(--transition);
  cursor: pointer;
}

.dropdown-toggle-mobile:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.dropdown-menu-mobile {
  display: none;
  flex-direction: column;
  background: rgba(6,13,31,.9);
  border-top: 1px solid rgba(255,255,255,.07);
}

.dropdown-menu-mobile a {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 36px;
  transition: var(--transition);
}

.dropdown-menu-mobile a:hover {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.dropdown-mobile.open .dropdown-menu-mobile {
  display: flex;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,13,31,.85) 0%,
    rgba(6,13,31,.6) 50%,
    rgba(230,57,70,.15) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  animation: fadeUp .8s ease both;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp .8s .15s ease both;
  max-width: 820px;
}

.hero__headline-accent {
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeUp .8s .3s ease both;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp .8s .45s ease both;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeUp 1s .8s ease both;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

/* ---------- HERO STORIES GRID ---------- */
.hero .stories__grid {
  max-width: 100%;
}

.hero .story-card {
  background: rgba(255,255,255,.95);
}

.hero .story-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Featured Stories Hero - Compact Version */
.hero--featured {
  min-height: auto;
  padding: 80px 0 100px 0;
}

.hero__headline--small {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.stories--top-margin {
  margin-top: 60px;
}

/* ---------- MISSION STRIP ---------- */
.mission-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}

.mission-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.mission-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 32px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy-mid);
}

.mission-strip__icon { font-size: 1.2rem; }

.mission-strip__divider {
  width: 1px;
  height: 32px;
  background: var(--gray-300);
}

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__card--main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 480px;
  box-shadow: var(--shadow-lg);
}

.about__img {
  height: 100%;
  transition: transform .6s ease;
}
.about__card--main:hover .about__img { transform: scale(1.04); }

.about__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(6,13,31,.9), transparent);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.about__card--accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--red);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 12px 40px rgba(230,57,70,.4);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about__stat-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.about__stat-label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  letter-spacing: .05em;
}

.about__body {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ---------- STATS ---------- */
.stats {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.stats__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a0d3c 100%);
  z-index: 0;
}
.stats__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stats__card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.stats__card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(230,57,70,.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(230,57,70,.2);
}

.stats__num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stats__plus {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
  margin-top: -8px;
  line-height: 1;
  align-self: flex-start;
}

.stats__label {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  text-align: center;
  margin-top: 4px;
  letter-spacing: .03em;
}

/* ---------- STORIES ---------- */
.stories__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px;
  margin-top: 52px;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.story-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.story-card--featured {
  grid-row: 1 / 3;
  grid-column: 1;
}
.story-card--featured .story-card__img-wrap { height: 280px; }
.story-card--featured .story-card__title { font-size: 1.35rem; }

.story-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.story-card__img {
  height: 100%;
  transition: transform .5s ease;
}
.story-card:hover .story-card__img { transform: scale(1.05); }

.story-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.story-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-card__meta {
  font-size: .78rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.story-card__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.story-card__excerpt {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.story-card__link {
  font-size: .875rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .02em;
  transition: var(--transition);
}
.story-card__link:hover {
  color: var(--red-dark);
  letter-spacing: .05em;
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
  background: var(--off-white);
  padding: 80px 0;
}

.testimonial__card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px 64px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}

.testimonial__quote-icon {
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: .6;
  color: var(--red);
  opacity: .15;
  position: absolute;
  top: 32px;
  left: 48px;
  pointer-events: none;
  user-select: none;
}

.testimonial__quote {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 36px;
  font-style: normal;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 700;
  color: var(--navy);
}

.testimonial__role {
  font-size: .85rem;
  color: var(--gray-500);
}

.testimonial__slides {
  position: relative;
  min-height: 160px;
}

.testimonial__slide {
  display: none;
  animation: fadeInQuote .5s ease;
}

.testimonial__slide.active {
  display: block;
}

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

.testimonial__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testimonial__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: background .3s;
}

.testimonial__dot.active {
  background: var(--red);
}

/* ---------- GET INVOLVED ---------- */
.involved__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.involved__card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.involved__card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease, box-shadow var(--transition), background var(--transition);
}
.involved__card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.involved__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.involved__card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.involved__card p {
  color: var(--gray-700);
  font-size: .95rem;
  line-height: 1.65;
  flex: 1;
}

/* ---------- VOLUNTEER ---------- */
.volunteer__intro {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 52px;
  max-width: 800px;
}

.volunteer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}

.volunteer__card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.volunteer__card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.volunteer__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.volunteer__card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.volunteer__card p {
  color: var(--gray-700);
  font-size: .95rem;
  line-height: 1.65;
  flex: 1;
}

.volunteer__cta {
  text-align: center;
  padding: 40px 0;
}

.volunteer__cta p {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 24px;
}

/* ---------- BUSINESSES ---------- */
.businesses__intro {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 52px;
  max-width: 800px;
}

.businesses__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}

.businesses__card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.businesses__card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.businesses__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.businesses__card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.businesses__card p {
  color: var(--gray-700);
  font-size: .95rem;
  line-height: 1.65;
  flex: 1;
}

.businesses__cta {
  text-align: center;
  padding: 40px 0;
}

.businesses__cta p {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 24px;
}

/* ---------- STATE CHAPTERS ---------- */
.state-chapters__intro {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 52px;
  max-width: 800px;
}

.state-chapters__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.state-chapters__text h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.state-chapters__text p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.state-chapters__text ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.state-chapters__text li {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.state-chapters__cta {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--gray-100);
}

.state-chapters__cta h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.state-chapters__cta p {
  color: var(--gray-700);
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--off-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact__body {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  word-break: break-all;
}
.contact__email:hover { color: var(--red-dark); }

.contact__email-icon { font-size: 1.1rem; }

.contact__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact__email-cta {
  margin-top: 18px;
}

/* Form */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form__group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-mid);
  letter-spacing: .02em;
}

.form__group input,
.form__group textarea {
  padding: 13px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--off-white);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}
.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(230,57,70,.1);
}
.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--gray-300);
}

.form__success {
  display: none;
  text-align: center;
  margin-top: 16px;
  color: #2d6a4f;
  font-weight: 600;
  font-size: .9rem;
  background: #d8f3dc;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}
.form__success.visible { display: block; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  padding-top: 64px;
}

.footer .nav__logo {
  color: rgba(255,255,255,.62);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer__tagline {
  color: rgba(255,255,255,.5);
  font-size: .95rem;
  margin: 12px 0 16px;
}

.footer__legal {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links h4 {
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer__links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  text-align: center;
  padding: 20px;
  color: rgba(255,255,255,.25);
  font-size: .8rem;
}

.footer__brand p {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  margin: 12px 0 16px;
}

/* ---------- ARTICLE PAGES ---------- */
.article-page { padding-top: 80px; }

.article__header {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.article__back {
  display: inline-block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 20px;
  transition: var(--transition);
}
.article__back:hover { color: var(--red-dark); }

.article__meta {
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.article__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 24px;
}

.article__lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 720px;
}

.article__hero-img {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article__hero-img img { border-radius: var(--radius-lg); }

.article__body { padding-bottom: 64px; }

.article__content {
  max-width: 720px;
  margin: 0 auto;
}

.article__content.prose h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 48px 0 16px;
  padding-top: 8px;
}

.article__content.prose h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin: 32px 0 12px;
}

.article__content.prose p {
  margin-bottom: 20px;
  color: var(--gray-700);
  line-height: 1.75;
}

.article__content.prose ul,
.article__content.prose ol {
  margin: 0 0 24px 24px;
  color: var(--gray-700);
  line-height: 1.8;
}

.article__content.prose li { margin-bottom: 8px; }

.article__content.prose strong { color: var(--navy); }

.article__content.prose img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.article-recent {
  background: var(--off-white);
  padding: 64px 0;
}

.article-recent h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.article-recent__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-recent__card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.article-recent__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-recent__card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-recent__card p {
  font-size: .875rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .article-recent__grid { grid-template-columns: 1fr; }
}

/* ============================================
   ARTICLE SCROLL ENHANCEMENTS
   ============================================ */

/* --- Reading Progress Bar --- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--orange), #ff9f43);
  z-index: 10000;
  transition: width .12s linear;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(230,57,70,.6);
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,.08);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(.85);
  transition: opacity .3s ease, transform .3s cubic-bezier(.34,1.56,.64,1), background .2s ease;
  z-index: 500;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: var(--red);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(230,57,70,.45);
}

/* --- Floating Table of Contents --- */
.article-toc {
  position: fixed;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  width: 220px;
  z-index: 200;
  pointer-events: none;
}
.article-toc__inner {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  pointer-events: all;
}
.article-toc__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.article-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.article-toc__link {
  display: block;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--gray-500);
  padding: 5px 0 5px 14px;
  border-left: 2px solid var(--gray-100);
  transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
}
.article-toc__link:hover {
  color: var(--navy);
  border-color: var(--gray-300);
  padding-left: 18px;
}
.article-toc__link.active {
  color: var(--red);
  border-color: var(--red);
  font-weight: 600;
  padding-left: 18px;
}

@media (max-width: 1380px) {
  .article-toc { display: none; }
}

/* --- Section Progress Dots --- */
.section-dots {
  position: fixed;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 200;
}
.section-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
}
.section-dot:hover {
  border-color: var(--red);
  transform: scale(1.5);
}
.section-dot.active {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(230,57,70,.45);
}

@media (max-width: 1380px) {
  .section-dots { display: none; }
}

/* --- H2 Animated Underline --- */
.prose-h2--animated {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.prose-h2--animated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 2px;
  transition: width .65s cubic-bezier(.22,1,.36,1);
}
.prose-h2--animated.line-animated::after {
  width: 56px;
}

/* --- Pull Quote / Lead Paragraph --- */
.prose-lead {
  font-size: 1.1rem !important;
  color: var(--navy-mid) !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  border-left: 3px solid var(--red);
  padding-left: 20px;
  margin-bottom: 28px;
}

/* --- Callout List (ul/ol after h3) --- */
.callout-list {
  background: linear-gradient(135deg, var(--off-white), #fdf0f1);
  border-radius: var(--radius-md);
  padding: 18px 22px 18px 22px !important;
  border: 1px solid rgba(230,57,70,.12);
  margin-left: 0 !important;
  list-style: none !important;
}
.callout-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--gray-700);
}
.callout-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: .9rem;
}
.callout-list li + li {
  border-top: 1px solid rgba(230,57,70,.07);
}

/* --- Strong Keyword Pop --- */
.prose strong.strong-pop {
  background: linear-gradient(
    120deg,
    rgba(230,57,70,.12) 0%,
    rgba(255,107,53,.12) 100%
  );
  padding: 1px 5px;
  border-radius: 4px;
  transition: background .5s ease;
}

/* --- Word Reveal (hero title) --- */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1);
}
.word-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- End-of-Article "Keep Reading" Popup --- */
.end-popup {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  width: 300px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06);
  z-index: 800;
  transform: translateY(24px) scale(.95);
  opacity: 0;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1),
              opacity .35s ease;
  pointer-events: none;
}
.end-popup.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
.end-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255,255,255,.35);
  font-size: .95rem;
  cursor: pointer;
  line-height: 1;
  transition: color .2s ease;
  padding: 4px;
}
.end-popup__close:hover { color: var(--white); }
.end-popup__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.end-popup__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  color: var(--white);
  transition: background .2s ease, transform .2s ease;
  cursor: pointer;
}
.end-popup__card:last-child { margin-bottom: 0; }
.end-popup__card:hover {
  background: rgba(255,255,255,.12);
  transform: translateX(3px);
}
.end-popup__card-tag {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  background: var(--red);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.end-popup__card-title {
  font-size: .83rem;
  font-weight: 600;
  line-height: 1.35;
  flex: 1;
}
.end-popup__card-arrow {
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
  transition: color .2s ease, transform .2s ease;
}
.end-popup__card:hover .end-popup__card-arrow {
  color: var(--white);
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .back-to-top { bottom: 20px; right: 20px; }
  .end-popup { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
}

/* ============================================
   OUR TEAM SECTION
   ============================================ */

.team__subtitle {
  color: var(--gray-700);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.65;
  margin-top: -8px;
  margin-bottom: 56px;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

/* --- Team Card --- */
.team-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

/* Director gets a slightly larger, more prominent card */
.team-card--director {
  grid-column: span 1;
  border-top: 3px solid var(--red);
}
.team-card--director .team-card__role {
  background: linear-gradient(90deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: .78rem;
}
.team-card--director .team-card__name { font-size: 1.2rem; }

/* Photo wrap */
.team-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
  display: block;
}
.team-card:hover .team-card__img { transform: scale(1.06); }

/* Social overlay on hover */
.team-card__socials {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,13,31,.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity .3s ease;
}
.team-card:hover .team-card__socials { opacity: 1; }

.team-card__social-link {
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  color: #0077b5;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.team-card__social-link:hover {
  transform: scale(1.15);
  box-shadow: var(--shadow-md);
}

/* Card body */
.team-card__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__role {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
}

.team-card__name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.team-card__bio {
  font-size: .85rem;
  color: var(--gray-700);
  line-height: 1.68;
  margin-top: 4px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}

.team-card__img-wrap:hover + .team-card__body .team-card__bio,
.team-card:focus-within .team-card__bio {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; }
}

/* ============================================
   UPCOMING EVENTS SECTION
   ============================================ */

.events__subtitle {
  color: var(--gray-700);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.65;
  margin-top: -8px;
  margin-bottom: 52px;
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .events__grid { grid-template-columns: 1fr; }
}

/* --- Event Card --- */
.event-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}
.event-card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.event-card__header {
  position: relative;
  height: 130px;
  display: flex;
  align-items: flex-end;
  padding: 16px 16px 16px 18px;
}

.event-card__date-badge {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  min-width: 58px;
}
.event-card__date-month {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.event-card__date-day {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-top: 2px;
}

.event-card__type-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.event-card__body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.event-card__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.event-card__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.event-card__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-700);
  line-height: 1.45;
}
.event-card__meta-icon { flex-shrink: 0; font-size: .88rem; margin-top: 1px; }

.event-card__spots { margin-top: 2px; }
.event-card__spots-label {
  font-size: .78rem;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.event-card__spots-bar {
  height: 5px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}
.event-card__spots-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1.1s cubic-bezier(.22,1,.36,1);
  width: 0%;
}

.event-card__open-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  background: #d8f3dc;
  color: #2d6a4f;
  padding: 4px 12px;
  border-radius: 999px;
}

.event-card__excerpt {
  font-size: .87rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}

.event-card__cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  font-size: .9rem;
  padding: 12px 20px;
}

/* ============================================
   EVENT REGISTRATION MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,13,31,.78);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  transform: translateY(36px) scale(.96);
  transition: transform .42s cubic-bezier(.34,1.56,.64,1);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06);
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

/* Custom scrollbar in modal */
.modal::-webkit-scrollbar { width: 5px; }
.modal::-webkit-scrollbar-track { background: var(--gray-100); }
.modal::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.modal__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
  backdrop-filter: blur(4px);
}
.modal__close:hover {
  background: var(--white);
  transform: rotate(90deg) scale(1.1);
}

/* Modal Hero Banner */
.modal__hero {
  position: relative;
  height: 230px;
  overflow: hidden;
  margin-top: -48px; /* overlap with floating close btn area */
}
.modal__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 5s ease;
}
.modal-overlay.open .modal__hero-img {
  transform: scale(1);
}
.modal__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6,13,31,.88) 0%,
    rgba(6,13,31,.4) 70%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px 32px;
}
.modal__hero-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  align-self: flex-start;
}
.modal__hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* Modal Body: 2 columns */
.modal__body {
  display: grid;
  grid-template-columns: 280px 1fr;
}

/* Left: details panel */
.modal__details {
  padding: 28px 24px;
  background: var(--off-white);
  border-right: 1px solid var(--gray-100);
}
.modal__details-section { margin-bottom: 28px; }
.modal__details-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.modal__detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.modal__detail-icon { flex-shrink: 0; font-size: .95rem; margin-top: 1px; }
.modal__detail-address {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.modal__description {
  font-size: .88rem;
  line-height: 1.72;
  color: var(--gray-700);
}

.modal__bring-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.modal__bring-list li {
  font-size: .87rem;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.modal__bring-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: .8rem;
}

.modal__spots { margin-top: 4px; }
.modal__spots-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .82rem;
  margin-bottom: 8px;
}
.modal__spots-count { font-weight: 700; color: var(--navy); }
.modal__spots-total { color: var(--gray-500); }
.modal__spots-bar {
  height: 7px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}
.modal__spots-fill {
  height: 100%;
  border-radius: 999px;
}

/* Right: registration form */
.modal__form-wrap { padding: 28px 32px 36px; }
.modal__form-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.modal__form-subtitle {
  font-size: .87rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

/* Select element styling */
.form__group select {
  -webkit-appearance: none;
  appearance: none;
  padding: 13px 40px 13px 16px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background-color: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237b8fa6' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form__group select:focus {
  border-color: var(--red);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(230,57,70,.1);
}

/* Success state */
.modal__success {
  display: none;
  text-align: center;
  padding: 52px 28px 40px;
  animation: fadeUp .5s ease both;
}
.modal__success.visible { display: block; }
.modal__success-icon {
  font-size: 3.5rem;
  margin-bottom: 18px;
  display: block;
  animation: popIn .55s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal__success-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.modal__success-body {
  font-size: .92rem;
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto 28px;
}
.modal__success-close {
  font-size: .9rem;
  color: var(--gray-500);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  transition: color .2s;
}
.modal__success-close:hover { color: var(--navy); }

@media (max-width: 720px) {
  .modal__body { grid-template-columns: 1fr; }
  .modal__details { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .modal__hero { margin-top: -44px; }
  .modal { max-height: 95vh; }
  .modal__form-wrap { padding: 24px 20px 32px; }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .about__grid { gap: 48px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav__links { display: none; }
  .nav > .btn--nav { display: none; }
  .nav__hamburger { display: flex; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__card--accent { bottom: -16px; right: -8px; }

  .stories__grid {
    grid-template-columns: 1fr;
  }
  .story-card--featured {
    grid-row: auto;
    grid-column: auto;
  }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .involved__grid { grid-template-columns: 1fr; }

  .volunteer__grid { grid-template-columns: 1fr; }

  .businesses__grid { grid-template-columns: 1fr; }

  .state-chapters__content { grid-template-columns: 1fr; gap: 40px; }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .form__row { grid-template-columns: 1fr; }

  .testimonial__card { padding: 40px 32px; }

  .mission-strip__divider { display: none; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__num { font-size: 2.5rem; }
}
