/* =========================================================
   Sterling Community Hub — Main Stylesheet
   Design System: Navy + Teal + Gold + Cream
   ========================================================= */

/* ─── Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Manrope:wght@400;500;600;700&display=swap');

/* ─── CSS Custom Properties ────────────────────────────── */
:root {
  --navy:    #0B1F3A;
  --teal:    #00A8A8;
  --gold:    #F5B700;
  --orange:  #FF8A3D;
  --cream:   #F8F6F2;
  --gray:    #F3F4F6;
  --white:   #ffffff;
  --dark-bg: #08182d;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.16);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.2);

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --container-max: 1240px;
  --container-pad: clamp(1rem, 5vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ─── Utility ──────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

.text-teal   { color: var(--teal); }
.text-gold   { color: var(--gold); }
.text-orange { color: var(--orange); }
.text-navy   { color: var(--navy); }

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: #008f8f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,168,168,.35);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  background: #e87730;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,138,61,.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: #0d2849;
  transform: translateY(-2px);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ─── Navigation ───────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  border-bottom-color: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 168px;
  max-width: 100%;
  padding-inline-start: clamp(1rem, 3vw, 2rem);
  padding-inline-end: var(--container-pad);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--navy);
  font-family: var(--font-display);
}

.logo-icon {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}

.nav-links a {
  color: var(--navy);
  font-size: .875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  color: var(--navy);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile: hide desktop nav, show hamburger */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta { display: none; }
}

/* ── Mobile menu overlay ─────────────────────────────────── */
.mobile-menu {
  display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
  .mobile-menu {
    position: fixed;
    top: 128px; left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.08);
    overflow-y: auto;
    z-index: 998;
    padding: 1.75rem var(--container-pad) 2.5rem;
    flex-direction: column;
    gap: .25rem;
  }
  .mobile-menu.open { display: flex; }

  .mob-link {
    display: block;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 500;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
    transition: color var(--transition);
  }
  .mob-link:hover { color: var(--teal); }

  /* Hubs accordion */
  .mob-hubs { border-bottom: 1px solid rgba(0,0,0,.07); }

  .mob-hubs-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 500;
    padding: .75rem 0;
    background: none;
    border: none;
    font-family: var(--font-body);
    cursor: pointer;
    transition: color var(--transition);
  }
  .mob-hubs-btn:hover { color: var(--teal); }
  .mob-hubs-btn svg { transition: transform var(--transition); flex-shrink: 0; }
  .mob-hubs.open .mob-hubs-btn { color: var(--teal); }
  .mob-hubs.open .mob-hubs-btn svg { transform: rotate(180deg); }

  /* Chapters list */
  .mob-chapters {
    display: none;
    flex-direction: column;
    gap: .1rem;
    padding: .5rem 0 1rem;
  }
  .mob-hubs.open .mob-chapters { display: flex; }

  .mob-chapters-all {
    font-size: .78rem;
    font-weight: 700;
    color: var(--teal);
    padding: .4rem .75rem;
    margin-bottom: .25rem;
    letter-spacing: .04em;
  }

  .mob-chapter-link {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .65rem .75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background var(--transition);
  }
  .mob-chapter-link:hover {
    background: rgba(0,168,168,.08);
  }
  .mob-chapter-num {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #00A8A8;
  }
  .mob-chapter-name {
    font-size: .95rem;
    font-weight: 600;
    color: #FF8A3D;
  }

  /* CTA at bottom */
  .mob-cta {
    margin-top: 1.25rem;
    align-self: flex-start;
    min-height: 44px;
  }
}

/* ─── Floating Help Button ─────────────────────────────── */
.help-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .875rem;
  padding: .875rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(255,138,61,.45);
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  animation: helpPulse 2.5s infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}

.help-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255,138,61,.6);
  animation: none;
}

@keyframes helpPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,138,61,.45); }
  50% { box-shadow: 0 4px 40px rgba(255,138,61,.7), 0 0 0 8px rgba(255,138,61,.12); }
}

/* ─── Hero Section ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/uploads/media/sterling-hero.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,31,58,.92) 0%,
    rgba(11,31,58,.7) 50%,
    rgba(11,31,58,.25) 100%
  );
}

/* Stat Chips floating top-right */
.hero-chips {
  position: absolute;
  top: 7rem;
  right: var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  z-index: 2;
}

.stat-chip {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: .75rem 1.25rem;
  color: var(--white);
  text-align: center;
  min-width: 140px;
  animation: chipFloat var(--delay, 3s) ease-in-out infinite alternate;
}

.stat-chip-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-chip-label {
  font-size: .7rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  margin-top: .25rem;
  letter-spacing: .04em;
}

@keyframes chipFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,168,168,.2);
  border: 1px solid rgba(0,168,168,.4);
  border-radius: var(--radius-full);
  padding: .4rem 1rem;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-chips { display: none; }
  .hero h1 { font-size: 2rem; }
}

/* ─── Hero V2 — Two-Column Layout ──────────────────────── */
.hero-v2 {
  align-items: center;
  padding-block: 12rem 9rem;
}

.hero-v2-scrim {
  background: linear-gradient(
    110deg,
    rgba(11,31,58,.75) 0%,
    rgba(11,31,58,.60) 55%,
    rgba(11,31,58,.40) 100%
  );
}

.hero-v2-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left: headline + mission */
.hero-v2-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.15vw, 2.65rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hs-teal   { color: var(--teal);   }
.hs-gold   { color: var(--gold);   }
.hs-orange { color: var(--orange); }

.hero-v2-mission {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 430px;
}

/* Right: stacked cards */
.hero-v2-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-v2-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background .2s, border-color .2s;
}

.hero-v2-card:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.25);
}

.hero-v2-card-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-v2-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}

.hero-v2-card-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

@media (max-width: 900px) {
  .hero-v2-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-v2 {
    padding-block: 7rem 4rem;
  }
  .hero-v2-mission {
    max-width: 100%;
  }
}

/* ─── Hub Pillars Nav Bar ───────────────────────────────── */
.hub-pillars-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.hub-pillar-pill {
  display: inline-flex;
  align-items: center;
  padding: .4rem 1rem;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(0,168,168,.1);
  border: 1px solid rgba(0,168,168,.25);
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}

.hub-pillar-pill:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ─── Stat Band ────────────────────────────────────────── */
.stat-band {
  background: var(--navy);
  padding: 3.5rem 0;
}

.stat-band-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .4rem;
  display: block;
}

@media (max-width: 768px) {
  .stat-divider { display: none; }
  .stat-band-inner { flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
}

/* ─── Section Titles ───────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title.on-dark {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 560px;
  line-height: 1.7;
}

.section-sub.on-dark {
  color: rgba(255,255,255,.7);
}

/* ─── Hub Ecosystem ────────────────────────────────────── */
.hubs-section {
  padding: 6rem 0;
  background: var(--cream);
}

.hubs-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

/* Wide featured cards (Shadow Bank, Story-Wash) */
.hub-card.featured { grid-column: span 7; }
.hub-card.wide     { grid-column: span 5; }
/* Standard 3-col cards */
.hub-card.standard { grid-column: span 4; }

.hub-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.hub-card-dark {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3460 100%);
  color: var(--white);
}

.hub-card-light {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.06);
  color: var(--navy);
}

.hub-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.hub-icon svg {
  width: 26px;
  height: 26px;
}

.hub-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.2;
}

.hub-card p {
  font-size: .875rem;
  line-height: 1.65;
  opacity: .8;
  flex: 1;
}

.hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  margin-top: 1.25rem;
  color: var(--teal);
  transition: gap var(--transition);
}

.hub-card-link:hover { gap: .6rem; }
.hub-card-dark .hub-card-link { color: var(--teal); }

.hub-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}

.hub-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: var(--radius-full);
}

.hub-badge.ghost {
  background: rgba(0,168,168,.15);
  color: var(--teal);
  border: 1px solid rgba(0,168,168,.3);
}

.hub-badge.partner {
  background: rgba(245,183,0,.15);
  color: var(--gold);
  border: 1px solid rgba(245,183,0,.3);
}

@media (max-width: 1024px) {
  .hub-card.featured { grid-column: span 12; }
  .hub-card.wide     { grid-column: span 12; }
  .hub-card.standard { grid-column: span 6; }
}

@media (max-width: 768px) {
  .hub-grid { gap: 1rem; }
}

@media (max-width: 600px) {
  .hub-card.standard { grid-column: span 12; }
  .hub-grid { gap: .875rem; }
}

/* ─── Story-Wash ───────────────────────────────────────── */
.story-wash {
  background: var(--navy);
  padding: 6rem 0;
}

.story-wash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.story-wash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* Featured video card */
.story-featured {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  background: linear-gradient(135deg,#0B1F3A,#1a3a5c);
}

.story-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.story-featured:hover img { transform: scale(1.04); }

.story-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,.95) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.story-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all var(--transition);
}

.story-featured:hover .story-play-btn {
  background: var(--teal);
  border-color: var(--teal);
  transform: scale(1.1);
}

.story-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1rem;
}

.story-coming-soon span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

.story-featured-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: .35rem;
}

.story-featured-meta {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}

/* Side story list */
.story-side-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  padding: .875rem;
  cursor: pointer;
  transition: background var(--transition);
}

.story-row:hover { background: rgba(255,255,255,.1); }

.story-thumb {
  width: 90px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,.1);
}

.story-row-info { flex: 1; min-width: 0; }

.story-row-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .25rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.story-row-meta {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}

.story-duration {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  padding: .25rem .5rem;
  border-radius: 4px;
  flex-shrink: 0;
}

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

/* ─── Shadow Bank Teaser ───────────────────────────────── */
.Community_Reward_Fund {
  background: var(--cream);
  padding: 6rem 0;
}

.Community_Reward_Fund-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.Community_Reward_Fund h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.Community_Reward_Fund-lead {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Tier Cards */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.tier-card {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 2px solid;
  transition: transform var(--transition), box-shadow var(--transition);
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tier-card.bronze {
  border-color: #cd7f32;
  background: rgba(205,127,50,.06);
}
.tier-card.silver {
  border-color: #a0a0a0;
  background: rgba(160,160,160,.06);
}
.tier-card.gold {
  border-color: var(--gold);
  background: rgba(245,183,0,.08);
}

.tier-icon {
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.tier-name {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .25rem;
}

.tier-amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
}

.tier-period { font-size: .7rem; color: #94a3b8; }

/* Circular Economy SVG */
.eco-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-svg {
  width: 100%;
  max-width: 380px;
}

@media (max-width: 900px) {
  .Community_Reward_Fund-grid { grid-template-columns: 1fr; gap: 3rem; }
  .eco-diagram { order: -1; }
  .eco-svg { max-width: 300px; }
}

@media (max-width: 600px) {
  .tier-cards { grid-template-columns: 1fr; }
}

/* ─── Events Section ───────────────────────────────────── */
.events-section {
  padding: 6rem 0;
  background: var(--white);
}

.events-header {
  text-align: center;
  margin-bottom: 3rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.event-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,168,168,.2);
}

.event-date-block {
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  text-align: center;
  min-width: 60px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.event-month {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
}

.event-day {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin-top: .15rem;
}

.event-info { flex: 1; }

.event-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0,168,168,.1);
  color: var(--teal);
  border-radius: var(--radius-full);
  padding: .2rem .65rem;
  margin-bottom: .6rem;
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: .4rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .8rem;
  color: #64748b;
  margin-bottom: .75rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.event-rsvp {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}

.event-rsvp:hover { gap: .5rem; }

.events-footer { text-align: center; }

/* ─── Community Voices ─────────────────────────────────── */
.voices-section {
  background: var(--gray);
  padding: 6rem 0;
}

.voices-header {
  text-align: center;
  margin-bottom: 3rem;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.voice-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent, var(--teal));
  transition: transform var(--transition), box-shadow var(--transition);
}

.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.voice-quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent, var(--teal));
  opacity: .2;
  font-family: Georgia, serif;
  margin-bottom: .5rem;
}

.voice-quote {
  font-size: .95rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.voice-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray);
  flex-shrink: 0;
}

.voice-photo-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent, var(--teal));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .875rem;
  flex-shrink: 0;
}

.voice-name {
  font-weight: 700;
  font-size: .875rem;
  color: var(--navy);
}

.voice-role {
  font-size: .75rem;
  color: #94a3b8;
}

/* ─── CTA Section ──────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
  pointer-events: none;
}

.cta-section::before {
  width: 600px;
  height: 600px;
  background: var(--teal);
  top: -200px;
  left: -150px;
}

.cta-section::after {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: -150px;
  right: -100px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.cta-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: block;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cta-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,.65);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand .nav-logo { color: var(--white); }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: rgba(255,255,255,.55); }

.footer-blurb {
  font-size: .875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: .75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--teal);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer-bottom a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── Scroll Reveal ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ─── Generic Pages ────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 12rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
}

.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 560px;
  margin-inline: auto;
}

.page-content {
  max-width: 800px;
  margin: 4rem auto;
  padding-inline: var(--container-pad);
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 .75rem;
}

.page-content p { margin-bottom: 1rem; line-height: 1.75; color: #374151; }

/* ─── Events Page ──────────────────────────────────────── */
.events-page { padding: 4rem 0 6rem; }

/* ─── News Page ────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray);
}

.news-card-body { padding: 1.5rem; }

.news-category {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .75rem;
}

.news-card-excerpt {
  font-size: .875rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  font-size: .75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ─── Contact Page ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 0 6rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,168,168,.12);
}

textarea.form-control { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  background: #008f8f;
  transform: translateY(-2px);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: .9rem;
  color: #64748b;
}

.alert {
  padding: .875rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: .875rem;
  font-weight: 500;
}

.alert-success { background: rgba(31,157,99,.1); color: #1f9d63; border: 1px solid rgba(31,157,99,.3); }
.alert-error   { background: rgba(239,68,68,.1); color: #dc2626; border: 1px solid rgba(239,68,68,.3); }

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


/* ─── Hubs Nav Dropdown ─────────────────────────────────── */

.nav-item--hubs {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-hubs-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
}
.nav-hubs-btn:hover,
.nav-hubs-btn[aria-expanded="true"] {
  color: var(--teal);
}
.nav-hubs-btn svg {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-hubs-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Dropdown panel — hidden by default */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  background: rgba(8,24,45,.98);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  padding: 1.25rem;
  z-index: 900;
}

@keyframes dropdown-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Caret */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px;
  height: 11px;
  background: rgba(8,24,45,.98);
  border-left: 1px solid rgba(255,255,255,.1);
  border-top: 1px solid rgba(255,255,255,.1);
}

/* Show on hover (desktop) OR when .open class added (JS) */
@media (min-width: 901px) {
  .nav-item--hubs:hover .nav-dropdown,
  .nav-item--hubs.open .nav-dropdown {
    display: block;
    animation: dropdown-in .16s ease forwards;
  }
}

.nav-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-dropdown-header > span {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}
.nav-dropdown-header a {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.nav-dropdown-header a:hover { color: var(--teal); }

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem;
}

.nav-chapter-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .7rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.85) !important;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  min-width: 0;
}
.nav-chapter-link:hover {
  background: rgba(0,168,168,.12);
  color: #fff !important;
}
.nav-chapter-num {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .07em;
  color: var(--teal) !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-chapter-name {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.85) !important;
  min-width: 0;
  flex: 1;
}

/* ── Mobile: accordion inside the hamburger menu ─────────── */
@media (max-width: 900px) {
  .nav-item--hubs {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-hubs-btn {
    width: 100%;
    justify-content: space-between;
    font-size: .95rem;
    color: rgba(255,255,255,.85);
  }
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    animation: none;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-md);
    box-shadow: none;
    padding: .75rem;
    margin-top: .5rem;
  }
  .nav-dropdown::before { display: none; }
  .nav-item--hubs.open .nav-dropdown {
    display: block;
  }
  .nav-dropdown-grid {
    grid-template-columns: 1fr;
    gap: .1rem;
  }
  .nav-chapter-link { padding: .5rem .6rem; }
}

/* ─── Mobile touch targets & small-screen polish ────────── */
@media (max-width: 600px) {
  /* Buttons: ensure 44px minimum touch height */
  .btn { min-height: 44px; padding: .75rem 1.35rem; }
  .btn-lg { padding: .875rem 1.75rem; }

  /* Form controls: 44px touch targets */
  .form-control,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* CTA buttons side-by-side → stack on very small screens */
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }
  .cta-btns .btn { text-align: center; justify-content: center; }

  /* Prevent horizontal overflow on hero eyebrow chips */
  .section-eyebrow { word-break: break-word; }

  /* Hub page hero: smaller padding on tiny screens */
  .hub-pg-hero { padding: 3.5rem 1rem 2.5rem; }

  /* Chapter grid on /hubs: tighter gap */
  .chapter-grid { gap: .875rem; }
  .chapter-section { padding-top: 2rem; padding-bottom: 3rem; }

  /* Program grid in hub pages */
  .program-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  /* Extra-small phones (SE, Galaxy A series) */
  .chapter-strip { gap: .35rem; }
  .chapter-strip a { font-size: .7rem; padding: .3rem .65rem; }
  .nav-chapter-name { font-size: .75rem; }
}

/* ─── Mobile polish additions ───────────────────────────── */

/* Hero v2: mission text and watch button full-width on mobile */
@media (max-width: 768px) {
  .hero-v2-mission { max-width: 100%; }
  .hero-v2 { padding-block: 8rem 11rem; }
  .hero-v2-card { padding: 1.25rem 1.5rem; }
}

/* Footer: brand spans full width at tablet, 5-col → 2-col */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: span 2; }
}

/* Footer: single column + bottom bar stacks on mobile */
@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 3rem 0 2rem;
  }
  .footer-brand { grid-column: span 1; }
  .footer-brand .nav-logo img { height: 52px !important; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
  }
  .footer-bottom > div { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}

/* Social links: minimum 44px touch target */
@media (max-width: 768px) {
  .social-link { width: 44px; height: 44px; }
}

/* Nav dropdown: prevent overflow on narrow viewports */
@media (max-width: 480px) {
  .nav-dropdown { width: calc(100vw - 2rem); max-width: 100%; left: 0; transform: none; }
}

/* Page hero: reduce padding on mobile */
@media (max-width: 640px) {
  .page-hero { padding: 6rem 0 2rem; }
  .page-hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
}

/* Hub pillar nav pills: wrap on mobile */
@media (max-width: 640px) {
  .hub-pillars-nav { gap: .4rem; }
  .hub-pillar-pill { font-size: .72rem; padding: .35rem .8rem; }
}

/* Tech-FAB: keep above mobile browser chrome */
@media (max-width: 640px) {
  .tech-fab { bottom: 1.25rem; right: 1.25rem; }
}

/* Stat band: wrap on very small screens */
@media (max-width: 480px) {
  .stat-band { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem 1.25rem; }
  .stat-divider { display: none; }
}

/* Events grid: single column on mobile */
@media (max-width: 600px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; }
  .event-date-block { width: 100%; flex-direction: row; gap: .35rem; border-radius: 8px 8px 0 0; padding: .6rem 1rem; align-items: center; }
}

/* Voices grid: single column on mobile */
@media (max-width: 600px) {
  .voices-grid { grid-template-columns: 1fr; }
}

/* Splash modal: full-width on phones */
@media (max-width: 600px) {
  #splash-modal { border-radius: 12px; }
  #splash-footer { flex-direction: column; align-items: flex-start; gap: .75rem; }
  #splash-close { align-self: stretch; justify-content: center; }
}

/* ─── Platform pages — comprehensive mobile fixes ──────────────── */

/* Hero padding: ensure nav clearance on small screens */
@media (max-width: 640px) {
  .nx-hero, .me-hero, .hx-hero, .ia-hero,
  .gi-hero, .da-hero, .crf-hero,
  .hubs-hero, .hub-pg-hero, .tf-hero, .ev-hero {
    padding: 8rem 1.25rem 2.5rem;
  }
}

/* Section & CTA padding: reduce on small screens */
@media (max-width: 640px) {
  .nx-audience, .me-programs, .hx-content,
  .ia-programs, .gi-content, .sw-content, .da-services {
    padding: 2.5rem 1.25rem;
  }
  .nx-cta, .me-cta, .hx-cta, .ia-cta,
  .gi-cta, .sw-cta, .da-cta { padding: 2.5rem 1.25rem; }
}

/* Card padding: reduce on small screens */
@media (max-width: 480px) {
  .nx-col, .me-col, .hx-col, .gi-card,
  .sw-card, .da-card { padding: 1.5rem 1.25rem; }
  .sb-system { padding: 1.5rem 1.25rem; }
}

/* Stats grids: stack to single column at 640px */
@media (max-width: 640px) {
  .nx-stats-inner, .me-stats-inner,
  .hx-stats-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Stat number sizes: scale down on mobile */
@media (max-width: 480px) {
  .nx-stat-num, .me-stat-num, .hx-stat-num,
  .ia-stat-num, .gi-stat-num { font-size: 2rem; }
  .da-stat-num { font-size: 2.75rem; }
}

/* CRF deposit tiers: stack on very small screens */
@media (max-width: 400px) {
  .deposit-tiers { flex-direction: column; }
  .dep-tier { min-width: 0; }
}

/* CRF service items: wrap split text on narrow screens */
@media (max-width: 480px) {
  .service-item { flex-wrap: wrap; gap: .35rem; }
  .service-item .svc-split { font-size: .72rem; }
}

/* Green Incubator grant callout: compress on mobile */
@media (max-width: 480px) {
  .gi-grant { padding: 1.75rem 1.25rem; }
}

/* Story-Wash play button: scale down on small screens */
@media (max-width: 480px) {
  .sw-play { width: 40px; height: 40px; }
}

/* Platform nav: compress dots and buttons on small screens */
@media (max-width: 480px) {
  .pnav-dot { width: 5px; height: 5px; }
  .pnav-dot.active { width: 14px; }
  .pnav-btn { padding: .65rem 1rem; }
  .pnav-name { font-size: .8rem; }
}

/* Tech-Fix hero and CTA */
@media (max-width: 480px) {
  .tf-hero { padding: 8rem 1.25rem 2.5rem !important; }
  .tf-cta { padding: 3rem 1.25rem !important; }
  .tf-hero-cta { flex-direction: column; }
  .tf-hero-cta .btn { width: 100%; text-align: center; }
}

/* Intern Academy stats: stack at 640px */
@media (max-width: 640px) {
  .ia-stats-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .ia-programs { padding: 2.5rem 1.25rem; }
}

/* Digital Agency: 3-col → 1-col at 480px */
@media (max-width: 480px) {
  .da-cards { grid-template-columns: 1fr; }
  .da-stat-box { padding: 2rem 1.25rem; }
}


/* ── Nav logo mobile sizing ───────────────────────────────── */
/* .site-nav overflow removed — nav dropdown was clipped */

@media (max-width: 480px) {
  .nav-inner { height: 70px; }
  .nav-logo img { height: 60px !important; }
  .mobile-menu { top: 70px; }
}
