/* ============================================================
   THE STEAM TEAM — style.css
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --color-orange:        #FF6B35;
  --color-orange-dark:   #E85A24;
  --color-orange-light:  #FFF0EB;
  --color-teal:          #2EC4B6;
  --color-teal-dark:     #22A99D;
  --color-teal-light:    #E8FAF9;
  --color-dark:          #1A1A2E;
  --color-mid:           #4A4A6A;
  --color-muted:         #8888AA;
  --color-border:        #E8E8F0;
  --color-surface:       #F8F8FC;
  --color-white:         #FFFFFF;

  /* Legacy aliases — kept so inline styles referencing old vars don't break */
  --primary:    var(--color-orange);
  --secondary:  var(--color-teal);
  --dark:       var(--color-dark);
  --bg:         var(--color-surface);
  --white:      var(--color-white);
  --text:       var(--color-dark);
  --text-light: var(--color-mid);
  --gray-100:   var(--color-surface);
  --gray-200:   var(--color-border);
  --gray-400:   var(--color-muted);
  --gray-600:   var(--color-mid);

  /* Removed colors — mapped to nearest on-palette value so inline refs don't break */
  --accent:  var(--color-orange);
  --purple:  var(--color-teal-dark);
  --green:   var(--color-teal);
  --red:     var(--color-orange-dark);
  --blue:    var(--color-teal);

  /* Typography */
  --font-primary: 'Inter', system-ui, sans-serif;
  --font-display: 'Poppins', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.5rem;

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-black:    800;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Shadows — max opacity 0.12 */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 15px rgba(0,0,0,0.07), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px rgba(0,0,0,0.08), 0 8px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.12);

  --nav-h:      72px;
  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-primary);
  background: var(--color-surface);
  color: var(--color-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section     { padding: 96px 0; }
.section-sm  { padding: 48px 0; }
.section--alt   { background: var(--color-surface); }
.section--white { background: var(--color-white); }

.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

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

/* fade-in for scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: var(--weight-black);
  color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-orange-dark);
  background: var(--color-orange-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
  position: relative;
}

/* 3px × 40px underline accent required by design system */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-orange);
  margin-top: 12px;
  border-radius: 2px;
}

.text-center .section-title::after {
  margin-inline: auto;
}

/* Suppress underline on flex headings inside detail sections */
.detail-section h2::after { display: none; }

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-mid);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 48px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition),
              border-color var(--transition);
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}
.btn-primary:hover { background: var(--color-orange-dark); border-color: var(--color-orange-dark); }

/* Secondary: outline teal per design system */
.btn-secondary {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}
.btn-secondary:hover { background: var(--color-teal-light); }

/* Accent: white-filled — for use inside colored hero/cta backgrounds */
.btn-accent {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}
.btn-accent:hover {
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
  border-color: var(--color-orange-light);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover { background: var(--color-white); color: var(--color-dark); }

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn-outline-dark:hover { background: var(--color-dark); color: var(--color-white); }

.btn-sm { padding: 9px 20px; font-size: var(--text-sm); }
.btn-lg { padding: 16px 40px; font-size: var(--text-lg); }

/* ── Icon color utilities — replaces inline style="color:var(--primary/secondary)" ── */
.clr-orange { color: var(--color-orange); }
.clr-teal   { color: var(--color-teal); }
.clr-white  { color: var(--color-white); }

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-black);
  color: var(--color-dark);
  line-height: 1.1;
}

.nav-logo-text span { color: var(--color-orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--color-mid);
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
}

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

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 4px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: var(--weight-semibold);
  color: var(--color-dark);
  transition: background var(--transition), color var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
}

.nav-mobile .btn {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

/* ── Hero Sections ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 64px;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--color-white);
}

/* Single system gradient — all pages use this */
.hero-home,
.hero-activities,
.hero-paper-airplane,
.hero-marble-maze,
.hero-balloon-car,
.hero-paper-bridge,
.hero-team,
.hero-events,
.hero-contact {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 40%, #2EC4B6 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,.12);
}

/* Suppress underline on hero h1 */
.hero h1.section-title::after { display: none; }

.hero p.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: .93;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 32px;
  font-weight: var(--weight-medium);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
  pointer-events: none;
}
.hero-blob-1 { width: 400px; height: 400px; background: var(--color-white); top: -100px; right: -80px; }
.hero-blob-2 { width: 280px; height: 280px; background: var(--color-white); bottom: -60px; left: -60px; }

/* hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

/* ── Stats Strip ── */
.stats-strip {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  line-height: 1;
  color: var(--color-orange);
}

.stat-item .stat-label {
  font-size: var(--text-sm);
  opacity: .75;
  margin-top: 8px;
  font-weight: var(--weight-semibold);
}

/* ── Cards ── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-body   { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--color-border); }

/* ── Activity Cards ── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.activities-grid--centered { max-width: 960px; margin-inline: auto; }

.section-cta  { margin-top: 32px; }
.section-header { margin-bottom: 48px; }

.activity-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.activity-card-header {
  padding: 32px 24px 24px;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.activity-card-header .blob {
  position: absolute;
  width: 140px; height: 140px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  top: -40px; right: -30px;
  pointer-events: none;
}

.activity-card-header .activity-icon {
  font-size: var(--text-4xl);
  margin-bottom: 12px;
  display: block;
  color: rgba(255,255,255,.92);
}

.activity-card-header h3 { color: var(--color-white); margin-bottom: 6px; }

.activity-card-header .activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.meta-tag {
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

.concept-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.concept-tag {
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.concept-tag--orange { background: var(--color-orange-light); color: var(--color-orange-dark); }
.concept-tag--teal   { background: var(--color-teal-light);   color: var(--color-teal-dark); }

.activity-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-card-body p {
  color: var(--color-mid);
  font-size: var(--text-base);
  flex: 1;
  margin-bottom: 20px;
}

/* Activity card header gradients — orange and teal only */
.card-orange  .activity-card-header { background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark)); }
.card-teal    .activity-card-header { background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark)); }
.card-purple  .activity-card-header { background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark)); }
.card-green   .activity-card-header { background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark)); }

/* ── STEAM tiles ── */
.steam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.steam-grid--narrow  { max-width: 800px; margin-inline: auto; }
.mission-cards--narrow { max-width: 900px; margin-inline: auto; }

.steam-tile {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}

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

.steam-tile .tile-icon { font-size: var(--text-4xl); margin-bottom: 16px; display: block; }
.steam-tile h4 { margin-bottom: 8px; color: var(--color-dark); }
.steam-tile p  { font-size: var(--text-sm); color: var(--color-mid); }

.tile-science  { border-top-color: var(--color-teal); }
.tile-tech     { border-top-color: var(--color-teal-dark); }
.tile-eng      { border-top-color: var(--color-orange); }
.tile-arts     { border-top-color: var(--color-teal); }
.tile-math     { border-top-color: var(--color-orange-dark); }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-banner p  { opacity: .9; font-size: var(--text-lg); max-width: 560px; margin-inline: auto; margin-bottom: 32px; }

.cta-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  pointer-events: none;
}
.cta-blob-1 { width: 300px; height: 300px; top: -80px; right: -60px; }
.cta-blob-2 { width: 200px; height: 200px; bottom: -50px; left: -40px; }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Activity Detail Pages ── */
.activity-detail-hero { padding: 80px 0 60px; }

.activity-detail-content { max-width: 860px; margin-inline: auto; }

.detail-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.detail-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section h2 .section-icon { font-size: 1.5rem; }

.detail-section ul,
.detail-section ol { padding-left: 24px; }
.detail-section ul { list-style: disc; }
.detail-section ol { list-style: decimal; }

.detail-section li {
  margin-bottom: 8px;
  color: var(--color-mid);
  font-size: var(--text-base);
}

.detail-section p { color: var(--color-mid); margin-bottom: 12px; }

.steam-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.steam-link-item {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-dark);
  border-left: 4px solid var(--color-orange);
}

.steam-link-item span {
  display: block;
  font-weight: var(--weight-regular);
  color: var(--color-mid);
  font-size: var(--text-xs);
  margin-top: 4px;
}

.steam-link-item--teal { border-left-color: var(--color-teal); }

/* ── Activity Detail Overrides ── */
.stats-grid--light .stat-number { color: var(--color-orange); font-size: var(--text-4xl); }
.stats-grid--light .stat-label  { color: var(--color-mid); }
.stats-grid--light .stat-item   { color: var(--color-dark); }

.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.data-table thead tr { background: var(--color-surface); }
.data-table th { padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--color-border); }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--color-border); }
.data-table td:last-child { color: var(--color-mid); }
.table-wrap { overflow-x: auto; margin-top: 16px; }

.step-number--teal { background: var(--color-teal); }
.step-number--dark { background: var(--color-dark); }

.build-phase { font-size: var(--text-lg); margin: 16px 0 12px; }
.build-phase--orange { color: var(--color-orange); }
.build-phase--teal   { color: var(--color-teal); }
.build-phase--dark   { color: var(--color-dark); }

.materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mat-heading-orange { margin-bottom: 10px; color: var(--color-orange); }
.mat-heading-teal   { margin-bottom: 10px; color: var(--color-teal); }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: var(--weight-black);
  font-size: var(--text-xs);
  flex-shrink: 0;
  margin-right: 8px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--color-mid);
  font-size: var(--text-base);
}

.fun-fact-box {
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-teal-light));
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(255,107,53,.15);
  margin-bottom: 24px;
}

.fun-fact-box h3 { margin-bottom: 12px; font-size: var(--text-xl); }
.fun-fact-box p  { color: var(--color-mid); font-size: var(--text-sm); }

.activity-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
}

/* ── Mission Cards ── */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.mission-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.mission-card .mission-icon { font-size: 2rem; }
.mission-card h4 { color: var(--color-dark); margin: 0; }
.mission-card p  { color: var(--color-mid); font-size: var(--text-sm); margin: 0; }

.mission-card--orange { border-top: 4px solid var(--color-orange); }
.mission-card--teal   { border-top: 4px solid var(--color-teal); }

/* ── Leadership Cards ── */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1060px;
  margin-inline: auto;
}

.leader-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.leader-photo {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
}

.leader-photo--orange { background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark)); }
.leader-photo--teal   { background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark)); }
.leader-photo--dark   { background: linear-gradient(135deg, var(--color-mid), var(--color-dark)); }

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  inset: 0;
}

.leader-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 3px solid rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--color-white);
  letter-spacing: -1px;
  user-select: none;
  position: relative;
  z-index: 1;
}

.leader-photo-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.leader-photo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid rgba(255,255,255,.55);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.leader-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.leader-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  color: var(--color-dark);
  margin-bottom: 6px;
}

.leader-title {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--color-orange-dark);
  background: var(--color-orange-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  align-self: flex-start;
}

.leader-title-teal   { color: var(--color-teal-dark);   background: var(--color-teal-light); }
.leader-title-purple { color: var(--color-teal-dark);   background: var(--color-teal-light); }
.leader-title-green  { color: var(--color-orange-dark); background: var(--color-orange-light); }

.leader-bio {
  font-size: var(--text-sm);
  color: var(--color-mid);
  line-height: 1.7;
  flex: 1;
}

.leader-bio-placeholder {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-style: italic;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  background: var(--color-surface);
}

/* ── Members Roster ── */
.members-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.member-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-dark);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.member-chip:hover {
  border-color: var(--color-orange);
  color: var(--color-orange-dark);
  box-shadow: var(--shadow-md);
}

.members-roster-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-mid);
}

.members-roster-note a {
  color: var(--color-orange);
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Founder Block ── */
.team-founder {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  max-width: 800px;
  margin-inline: auto;
}

.founder-avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-5xl);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.founder-info h2  { font-size: var(--text-3xl); margin-bottom: 8px; }
.founder-role {
  color: var(--color-orange);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  margin-bottom: 16px;
  display: block;
}
.founder-info p { color: var(--color-mid); margin-bottom: 12px; }

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.founder-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-teal   { background: var(--color-teal-light);   color: var(--color-teal-dark); }
.badge-purple { background: var(--color-teal-light);   color: var(--color-teal-dark); }
.badge-green  { background: var(--color-orange-light); color: var(--color-orange-dark); }
.badge-accent { background: var(--color-orange-light); color: var(--color-orange-dark); }

/* ── Volunteer Card ── */
.volunteer-card {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.volunteer-card h2 { color: var(--color-white); margin-bottom: 14px; }
.volunteer-card p  { opacity: .92; max-width: 560px; margin-inline: auto; margin-bottom: 28px; }

.volunteer-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.perk-badge {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

/* ── Team Values ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .value-icon { font-size: var(--text-3xl); margin-bottom: 12px; display: block; }
.value-card h4 { margin-bottom: 6px; }
.value-card p  { font-size: var(--text-sm); color: var(--color-mid); }

/* ── Events ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.event-card-header {
  padding: 20px 24px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 14px;
}

.event-date-box {
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
  min-width: 56px;
  flex-shrink: 0;
}
.event-date-box .month { font-size: var(--text-xs); text-transform: uppercase; font-weight: var(--weight-bold); letter-spacing: .08em; }
.event-date-box .day   { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: var(--weight-black); line-height: 1; }
.event-date-box .day--sm { font-size: var(--text-xl); }

.event-header-info h3 { color: var(--color-white); font-size: var(--text-base); }
.event-header-info .event-status {
  font-size: var(--text-xs);
  background: rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: 2px 8px;
  display: inline-block;
  margin-top: 4px;
  font-weight: var(--weight-bold);
}

.event-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--color-mid);
}
.event-detail .icon { font-size: var(--text-base); }

.event-card-body .btn { margin-top: auto; }

.event-card-orange { background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark)); }
.event-card-teal   { background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark)); }
.event-card-green  { background: linear-gradient(135deg, var(--color-teal-dark), var(--color-dark)); }
.event-card-purple { background: linear-gradient(135deg, var(--color-dark), var(--color-mid)); }
.event-card-accent { background: linear-gradient(135deg, var(--color-orange-dark), var(--color-orange)); }

/* ── Library Partner ── */
.partner-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.partner-logo-box {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  flex-shrink: 0;
}

.partner-info h3 { margin-bottom: 6px; }
.partner-info p  { color: var(--color-mid); font-size: var(--text-base); margin-bottom: 12px; }

.partner-section--narrow { max-width: 760px; margin-inline: auto; }

.partner-contact {
  font-size: var(--text-sm);
  color: var(--color-mid);
}

.partner-contact a { color: var(--color-orange); font-weight: var(--weight-semibold); }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.event-summary {
  font-size: var(--text-sm);
  color: var(--color-mid);
  margin-top: 8px;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition);
}

.contact-info-card:hover { transform: translateX(4px); }

.contact-icon-box {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.icon-orange { background: var(--color-orange-light); }
.icon-teal   { background: var(--color-teal-light); }
.icon-purple { background: var(--color-teal-light); }
.icon-green  { background: var(--color-orange-light); }

.contact-info-card h4 {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.contact-info-card p,
.contact-info-card a {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-dark);
  word-break: break-all;
}
.contact-info-card a:hover { color: var(--color-orange); }

/* Contact Form */
.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h2         { margin-bottom: 8px; }
.contact-form-card .form-desc { color: var(--color-mid); margin-bottom: 28px; }

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  margin-bottom: 6px;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--color-dark);
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

/* Focus ring uses teal per design system */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(46,196,182,0.15);
  background: var(--color-white);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Partner Type Cards ── */
.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.partner-type-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid transparent;
}
.partner-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.partner-type-card.card-orange-top { border-top-color: var(--color-orange); }
.partner-type-card.card-teal-top   { border-top-color: var(--color-teal); }
.partner-type-card.card-purple-top { border-top-color: var(--color-teal-dark); }

.partner-type-card .partner-icon { font-size: var(--text-3xl); margin-bottom: 16px; display: block; }
.partner-type-card h3 { margin-bottom: 10px; }
.partner-type-card p  { color: var(--color-mid); font-size: var(--text-sm); margin-bottom: 12px; }
.partner-type-card ul { list-style: none; padding: 0; margin-top: 12px; }
.partner-type-card ul li {
  padding: 4px 0;
  font-size: var(--text-sm);
  color: var(--color-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-type-card ul li::before {
  content: '✓';
  color: var(--color-teal);
  font-weight: var(--weight-black);
}

/* ── Nonprofit Goals Strip ── */
.goals-strip {
  background: var(--color-dark);
  padding: 64px 0;
}

.goals-strip h2  { color: var(--color-white); margin-bottom: 8px; }
.goals-strip .sub { color: rgba(255,255,255,.7); font-size: var(--text-base); margin-bottom: 48px; }

/* Section label on dark background */
.goals-strip .section-label {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.goal-card {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.goal-card:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-2px);
}
.goal-card .goal-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.goal-card p { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: rgba(255,255,255,.85); }

/* ── Footer ── */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.8);
  padding: 64px 0 0;
}

/* Mobile nav icon colors — eliminates inline style="color:var(--primary/secondary)" */
.nav-mobile a i { color: var(--color-orange); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }

.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 48px; height: 48px; border-radius: 50%; }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-black);
  color: var(--color-white);
}
.footer-logo-text span { color: var(--color-orange); }

.footer-brand p { font-size: var(--text-sm); line-height: 1.7; max-width: 280px; }

.footer-socials { display: flex; gap: 8px; margin-top: 8px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-base);
  transition: background var(--transition), transform var(--transition);
  border: 1px solid rgba(255,255,255,.15);
}
.social-btn:hover { background: var(--color-orange); transform: translateY(-2px); }

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-size: var(--text-base);
  font-weight: var(--weight-black);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-orange); }

.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-xs);
}
.footer-contact-item .icon { font-size: var(--text-base); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a    { color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--color-orange); }
.footer-contact-item span { color: rgba(255,255,255,.65); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,.45); }
.footer-bottom a { color: var(--color-orange); }

/* ── Quote Block ── */
.quote-block {
  background: linear-gradient(135deg, var(--color-orange-light), var(--color-teal-light));
  border-left: 5px solid var(--color-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 32px;
  margin: 24px 0;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: var(--color-dark);
  font-style: italic;
  margin-bottom: 8px;
}
.quote-block cite { font-size: var(--text-sm); color: var(--color-mid); font-style: normal; font-weight: var(--weight-semibold); }

/* ── Highlight Box ── */
.highlight-box {
  background: var(--color-orange-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255,107,53,.15);
  margin: 20px 0;
}
.highlight-box p { color: var(--color-dark); font-size: var(--text-base); }

.social-follow { margin-top: 24px; text-align: center; }
.social-follow-text { font-size: var(--text-sm); color: var(--color-mid); margin-bottom: 12px; }

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

.form-note { font-size: var(--text-sm); color: var(--color-mid); margin-top: 12px; text-align: center; }

.required { color: var(--color-orange); }

.container--narrow { max-width: 760px; margin-inline: auto; }
.container--sm     { max-width: 700px; margin-inline: auto; }

.faq-list { display: flex; flex-direction: column; gap: 16px; }

.faq-item { margin-bottom: 0; }

.faq-q { font-size: var(--text-base); margin-bottom: 8px; color: var(--color-dark); }

.faq-a { color: var(--color-mid); font-size: var(--text-sm); }

/* ── Safety Tips ── */
.safety-box {
  background: rgba(255,107,53,.06);
  border: 1px solid rgba(255,107,53,.15);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
}
.safety-box h3 { color: var(--color-orange-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.safety-box ul { list-style: disc; padding-left: 20px; }
.safety-box ul li { font-size: var(--text-sm); color: var(--color-mid); margin-bottom: 8px; }

/* ── Intro Split ── */
.intro-lead {
  color: var(--color-mid);
  margin-bottom: 28px;
  font-size: var(--text-lg);
}

.story-text {
  color: var(--color-mid);
  margin-bottom: 16px;
}

.volunteer-cta {
  text-align: center;
  margin-top: 40px;
}

.volunteer-cta > p {
  color: var(--color-mid);
  margin-bottom: 20px;
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-visual {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.intro-visual .big-emoji { font-size: var(--text-5xl); display: block; margin-bottom: 16px; }
.intro-visual h3 { color: var(--color-white); font-size: var(--text-2xl); margin-bottom: 8px; }
.intro-visual p  { opacity: .85; font-size: var(--text-base); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a      { color: rgba(255,255,255,.8); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb .sep   { opacity: .5; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .intro-split    { grid-template-columns: 1fr; gap: 48px; }
  .team-founder   { grid-template-columns: 1fr; text-align: center; }
  .founder-avatar { margin-inline: auto; }
  .founder-badges { justify-content: center; }
  .founder-actions { justify-content: center; }
  .partner-section { grid-template-columns: 1fr; text-align: center; padding: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero    { padding: 64px 0 48px; min-height: 360px; }
  .section { padding: 64px 0; }

  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .steam-grid       { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid  { grid-template-columns: repeat(2, 1fr); }
  .form-row         { grid-template-columns: 1fr; }
  .activities-grid  { grid-template-columns: 1fr; }
  .goals-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }

  .hero-buttons     { flex-direction: column; align-items: center; }

  .detail-section   { padding: 24px; }
  .contact-form-card { padding: 24px; }
  .cta-banner       { padding: 48px 24px; }
  .volunteer-card   { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .steam-grid      { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .goals-grid      { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}

/* ── Form success message ── */
.form-success {
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
  border: 1px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 16px;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero entrance animations — badge, h1, subtitle, buttons stagger in */
.hero-inner .hero-badge    { animation: fadeInUp 500ms ease both; animation-delay: 0ms; }
.hero-inner .breadcrumb    { animation: fadeInUp 500ms ease both; animation-delay: 0ms; }
.hero-inner h1             { animation: fadeInUp 500ms ease both; animation-delay: 100ms; }
.hero-inner .hero-subtitle { animation: fadeInUp 500ms ease both; animation-delay: 200ms; }
.hero-inner .hero-buttons  { animation: fadeInUp 500ms ease both; animation-delay: 300ms; }

/* Cycling word animation — index.html hero only */
@keyframes heroWordSlideOut {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-110%); opacity: 0; }
}
@keyframes heroWordSlideIn {
  from { transform: translateY(110%);  opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.hero-cycling-wrapper {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--color-white);
}

.hero-cycling-word {
  display: inline-block;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cycling-word.word-exit  { animation: heroWordSlideOut 300ms ease forwards; }
.hero-cycling-word.word-enter { animation: heroWordSlideIn  300ms ease forwards; }

/* REQUIRED on every page — no exceptions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
