/* ============================================================
   All Together 2026 — Ontario Jewish Summer Camps Day of Giving
   Teal accent, 4-col camp grid, warm + playful energy
   ============================================================ */

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

:root {
  --bg:          #f0f0f0;
  --bg-white:    #ffffff;
  /* Brand — teal primary (aliased for backward compat) */
  --cc-teal:      #3CBFAE;
  --cc-blue:      #3CBFAE;
  --cc-teal-dark: #2A9A8A;
  --cc-blue-dark: #2A9A8A;
  --cc-teal-deep: #239080;
  --cc-blue-deep: #239080;
  --cc-teal-light: #E0F7F3;

  /* Semantic text */
  --text-dark:   #1a1a1a;
  --text-mid:    #555555;
  --bg-warm:     #f8f7f5;

  /* Navy — warm dark for camp feel */
  --navy-deep:   #0A1628;
  --navy-mid:    #0F2847;

  /* Text */
  --text:        #333333;
  --text-dim:    #666666;
  --text-bright: #1a1a1a;
  --text-secondary: #6B7280;

  /* Ring */
  --ring-outer:  #e2e2e2;
  --ring-fill:   var(--cc-teal);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Type */
  --font: 'Outfit', -apple-system, system-ui, sans-serif;
  --font-headline: 'Carter One', cursive;
  --radius: 8px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cc-teal-dark); text-decoration: none; }
a:hover { opacity: 0.85; }

/* Subtle background pattern — teal-tinted */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(60, 191, 174, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(60, 191, 174, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--cc-teal);
  color: #fff;
}
.btn--primary:hover {
  background: var(--cc-teal-dark);
  opacity: 1;
}

/* Focus styles for keyboard navigation */
.btn:focus-visible,
.school-card:focus-visible,
.donors-sort__btn:focus-visible,
.header-cta:focus-visible,
.footer-school-col a:focus-visible,
.footer-powered a:focus-visible {
  outline: 2px solid var(--cc-teal);
  outline-offset: 2px;
}

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.header-logo {
  position: absolute;
  top: 0;
  left: var(--space-lg);
  z-index: 50;
  user-select: none;
  -webkit-user-select: none;
  transform-origin: top center;
  animation: stickySway 4s ease-in-out infinite;
  cursor: grab;
}
@keyframes stickySway {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
}
.header-logo img {
  height: 246px;
  width: auto;
  margin-top: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
  pointer-events: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 1;
  min-width: 0;
  margin-left: auto;
  margin-right: 16px;
}

/* ---- COUNTDOWN (inside donors card) ---- */
.donors-countdown {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  padding: 0.65rem var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.donors-countdown::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 0%, rgba(60, 191, 174, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.cd-label {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.6rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.2;
  text-align: right;
  position: relative;
  z-index: 1;
}
.cd-label--post {
  text-transform: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.75;
}
.cd-digits { display: flex; align-items: center; gap: 3px; position: relative; z-index: 1; }
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(60, 191, 174, 0.12);
  border: 1px solid rgba(60, 191, 174, 0.2);
  border-radius: 6px;
  padding: 4px 7px 3px;
  min-width: 38px;
}
.cd-num {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(60, 191, 174, 0.4);
}
.cd-suffix {
  font-size: 0.5rem;
  color: var(--cc-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}
.cd-sep {
  color: rgba(255, 255, 255, 0.25);
  padding: 0 1px;
  font-weight: 300;
  font-size: 1rem;
}
.cd-stopwatch {
  display: flex;
  align-items: center;
  margin-left: 6px;
  filter: drop-shadow(0 0 6px rgba(60, 191, 174, 0.35));
  transform: scaleX(-1);
}
.cd-stopwatch-arc {
  transition: stroke-dashoffset 0.3s ease;
}

.header-cta {
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--cc-teal), var(--cc-teal-deep));
  box-shadow: 0 2px 8px rgba(60, 191, 174, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(60, 191, 174, 0.45), 0 0 30px rgba(60, 191, 174, 0.15);
}
.header-cta-chevron {
  margin-top: 1px;
  transition: transform 0.2s;
}
.header-cta:hover .header-cta-chevron {
  transform: translateY(1px);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 75px var(--space-lg) 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 112px;
  background: linear-gradient(180deg, rgba(10,22,40,0.25) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.is-loaded {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 750px;
  width: 100%;
}
.hero-content::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 191, 174, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(50px);
  pointer-events: none;
}

.hero-logo-wrap {
  display: block;
  margin: -60px auto var(--space-sm);
  animation: heroFloat 6s ease-in-out infinite;
  text-align: center;
}
.hero-graphic {
  max-width: 780px;
  width: 100%;
  display: block;
  margin: 0 auto;
}
.hero-cta {
  padding: 0.67rem 1.8rem;
  font-size: 0.9rem;
  position: relative;
  animation: ctaPulse 2s ease-out infinite;
}
.hero-cta:hover {
  animation: none;
  box-shadow: 0 4px 14px rgba(60, 191, 174, 0.35);
  background: var(--cc-teal-dark);
}
@keyframes ctaPulse {
  0% { box-shadow: 0 2px 8px rgba(60, 191, 174, 0.25), 0 0 0 0 rgba(60, 191, 174, 0.4); }
  70% { box-shadow: 0 2px 8px rgba(60, 191, 174, 0.25), 0 0 0 16px rgba(60, 191, 174, 0); }
  100% { box-shadow: 0 2px 8px rgba(60, 191, 174, 0.25), 0 0 0 0 rgba(60, 191, 174, 0); }
}

/* ---- SECTIONS ---- */
.section {
  padding: var(--space-3xl) var(--space-lg);
}

.section-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-headline);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: var(--space-2xl);
  line-height: 1.3;
}

.section--schools .section-heading {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  color: #1a4a42;
  animation: heroFloat 6s ease-in-out infinite;
}

/* ---- METER + DONORS SIDE BY SIDE ---- */
/* ---- Mesh gradient + grain texture ---- */
.mesh-gradient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 25%, black 50%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 25%, black 50%);
}
.mesh-gradient canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.section-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}
.section--meter-donors {
  background: #ffffff;
  padding: var(--space-3xl) var(--space-lg);
  padding-top: calc(var(--space-3xl) + 20px);
  padding-bottom: calc(var(--space-3xl) + 30px);
  margin-top: 0;
  position: relative;
  z-index: 2;
}
.section--meter-donors::before {
  content: '';
  position: absolute;
  top: -38px;
  left: 0;
  right: 0;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 L0,0 Q500,40 1000,0 L1000,40 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 -10px 12px rgba(0,0,0,0.15));
}
.section--meter-donors::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: #ffffff;
  z-index: 4;
}

.meter-donors-layout {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: -18px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: center;
  overflow: visible;
}

/* Meter (left column) */
.meter {
  text-align: center;
  position: relative;
  overflow: visible;
}
.meter::after {
  content: '';
  position: absolute;
  bottom: calc(-4% + 11px);
  left: 12%;
  right: 12%;
  height: 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 80%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.meter-ring-wrap {
  position: relative;
  width: 100%;
  max-width: 701px;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: visible;
}
/* Bottom-right shadow */
.meter-ring-wrap::after {
  content: '';
  position: absolute;
  bottom: calc(-1% + 8px);
  right: -1%;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 65% 65%,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(14px);
  z-index: 1;
}

/* Top-left light highlight on meter ring */
.meter-ring-wrap::before {
  content: '';
  position: absolute;
  top: 2%;
  left: 2%;
  width: 45%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.45) 25%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
  filter: blur(8px);
  animation: meterLightPulse 4s ease-in-out infinite;
}
@keyframes meterLightPulse {
  0%, 100% {
    opacity: 0.85;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(2%, 2%) scale(1.12);
  }
}

.meter-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.meter-ring-edge {
  fill: none;
  stroke: rgba(0, 0, 0, 0.06);
  stroke-width: 0.5;
}
.meter-ring-back {
  fill: none;
  stroke: #fff;
  stroke-width: 25;
}
.meter-ring-glass {
  fill: none;
  stroke: url(#glassGrad);
  stroke-width: 26;
}

.meter-ring-fill {
  fill: none;
  stroke: url(#ringDepthGrad);
  stroke-width: 26;
  stroke-linecap: butt;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 2s cubic-bezier(0.19, 1, 0.22, 1);
  filter: drop-shadow(0 0 6px rgba(60, 191, 174, 0.25));
}
.meter-ring-cap {
  fill: none;
  stroke: url(#ringDepthGrad);
  stroke-width: 26;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 2s cubic-bezier(0.19, 1, 0.22, 1);
  filter: drop-shadow(0 0 6px rgba(60, 191, 174, 0.25));
}
/* Secondary overflow ring */
.meter-ring-overflow {
  fill: none;
  stroke: #16a34a;
  stroke-width: 10;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 2s cubic-bezier(0.19, 1, 0.22, 1);
  filter: drop-shadow(0 0 5px rgba(22, 163, 74, 0.45));
}

/* "Goal exceeded!" badge */
.meter-goal-exceeded {
  position: absolute;
  top: calc(50% - 224px);
  left: 50%;
  transform: translateX(calc(-50% + 2px)) rotate(-4deg) scale(0);
  background: #111827;
  color: #fff;
  font-family: var(--font-headline);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 400;
  letter-spacing: -0.03em;
  padding: 9px 21px;
  border-radius: 18px;
  white-space: nowrap;
  transform-origin: center;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
}
.meter-goal-exceeded.visible {
  animation: badgeBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             badge-float-primary 2.8s ease-in-out 0.6s infinite;
}
@keyframes badgeBounceIn {
  0%   { opacity: 0; transform: translateX(calc(-50% + 2px)) rotate(-4deg) scale(0); }
  60%  { opacity: 1; transform: translateX(calc(-50% + 2px)) rotate(-4deg) scale(1.15); }
  80%  { transform: translateX(calc(-50% + 2px)) rotate(-4deg) scale(0.95); }
  100% { opacity: 1; transform: translateX(calc(-50% + 2px)) rotate(-4deg) scale(1); }
}
@keyframes badge-float-primary {
  0%, 100% { transform: translateX(calc(-50% + 2px)) rotate(-4deg) translateY(0); }
  50%       { transform: translateX(calc(-50% + 2px)) rotate(-4deg) translateY(-3px); }
}
.meter-goal-exceeded .fire-flicker {
  display: inline-block;
  margin-left: 0.2em;
  animation: fire-glow 1.4s ease-in-out infinite;
}
.meter-goal-exceeded::after {
  content: '';
  position: absolute;
  top: -7px;
  right: calc(18% + 22px);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid #111827;
}

.meter-ring-pulse {
  transform-origin: 150px 150px;
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
  filter: blur(0.6px);
  animation: ringPulseGlow 3.5s ease-in-out infinite;
}

.meter-ring-rock {
  transform-origin: 150px 150px;
  animation: ringRock 3s ease-in-out infinite;
}

@keyframes ringPulseGlow {
  0%, 100% {
    opacity: 0.55;
    filter: blur(0.6px) drop-shadow(0 0 4px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 10px rgba(60, 191, 174, 0.2));
  }
  50% {
    opacity: 0.8;
    filter: blur(0.8px) drop-shadow(0 0 8px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 16px rgba(60, 191, 174, 0.35));
  }
}

@keyframes ringRock {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(1.5deg); }
}


.meter-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 67%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.meter-amount {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--cc-teal);
  line-height: 1;
  margin: 0;
  text-shadow: 0 0.5px 0 rgba(255,255,255,0.6);
}

.meter-sublabel {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0.3rem 0;
}

.meter-divider {
  width: 45%;
  height: 1px;
  background: #ffffff;
  margin: 0.75rem auto;
}

.meter-pct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.25rem 0;
}

.meter-pct-num {
  font-size: 3.3rem;
  font-weight: 700;
  color: #0A1628;
  line-height: 1;
  text-shadow: 0 0.5px 0 rgba(255,255,255,0.5);
}

.meter-pct-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.meter-pct-label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-transform: uppercase;
  line-height: 1.3;
}

.meter-goal {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.3;
}

.meter-donors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.25rem 0;
}

.meter-donors-num {
  font-size: 3.3rem;
  font-weight: 700;
  color: #0A1628;
  line-height: 1;
  text-shadow: 0 0.5px 0 rgba(255,255,255,0.5);
}

.meter-donors-label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-transform: uppercase;
  line-height: 1.3;
  text-align: left;
}

/* Donors (right column) */
.donors-col {
  min-width: 0;
  isolation: isolate;
  position: relative;
}

.donors-wrap {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.donors-title-bar {
  background: linear-gradient(135deg, var(--cc-teal), var(--cc-teal-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 0.85rem var(--space-lg);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.donors-title-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-150%);
  animation: shimmer 5s ease-in-out infinite;
}

.donors-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid #eee;
}

.donors-sort {
  display: flex;
  gap: 0;
  background: #f0f0f0;
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}
.donors-sort__btn {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  background: none;
  border: none;
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
}
.donors-sort__btn + .donors-sort__btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #ccc;
}
.donors-sort__btn.is-active + .donors-sort__btn::before,
.donors-sort__btn + .donors-sort__btn.is-active::before {
  display: none;
}
.donors-sort__btn:hover {
  color: var(--text-bright);
  background: rgba(0, 0, 0, 0.04);
}
.donors-sort__btn.is-active {
  background: var(--cc-teal);
  color: #fff;
}
.donors-sort__btn.is-active:hover {
  background: var(--cc-teal-dark);
}

.donors-search {
  font-family: var(--font);
  font-size: max(15px, 0.65rem);
  padding: 0.2rem 1.4rem 0.2rem 0;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  outline: none;
  flex: 1;
  min-width: 0;
  margin-left: 5px;
  margin-right: 4px;
  transition: border-color 0.2s, font-size 0.2s;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") right center no-repeat;
}
.donors-search:focus {
  border-color: var(--cc-teal);
}
.donors-search::placeholder {
  color: #aaa;
}

.donors-table-header {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem var(--space-md);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-bright);
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
}

.donors-scroll {
  position: relative;
  min-height: 420px;
  max-height: 420px;
  overflow-y: auto;
}
.donors-scroll.is-fading {
  opacity: 0;
  transition: opacity 0.12s ease-out;
}
.donors-scroll.is-visible {
  opacity: 1;
  transition: opacity 0.18s ease-in;
}
/* Pancake shadow under donors card */
.donors-col::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 8%;
  right: 8%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.12) 50%, transparent 80%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}
.donors-col .donors-wrap {
  position: relative;
}
.donors-paperclip,
.about-paperclip {
  translate: 0 -35px;
  rotate: 12deg;
  opacity: 0;
  transition: translate 0.8s cubic-bezier(0.34, 1.2, 0.64, 1),
              rotate 0.8s cubic-bezier(0.34, 1.2, 0.64, 1),
              opacity 0.4s ease;
}
.donors-paperclip.clip-landed,
.about-paperclip.clip-landed {
  translate: 0 0;
  rotate: 0deg;
  opacity: 1;
}
.donors-paperclip {
  position: absolute;
  top: -14px;
  right: 8px;
  width: 52px;
  z-index: 10;
  pointer-events: none;
  transform: rotate(-10deg);
  filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.15));
}
.donors-col .donors-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--bg-white));
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

.donors-scroll::-webkit-scrollbar { width: 4px; }
.donors-scroll::-webkit-scrollbar-track { background: transparent; }
.donors-scroll::-webkit-scrollbar-thumb { background: rgba(60, 191, 174, 0.3); border-radius: 100px; }

.donor-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid #f0f0f0;
  gap: var(--space-sm);
  transition: background 0.15s;
}
.donor-row.is-entering {
  animation: donorSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(200ms + var(--i, 0) * 100ms);
}
@keyframes donorSlideIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.donor-row:hover {
  background: rgba(60, 191, 174, 0.03);
}

.donor-row__left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.donor-row__heart {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(60, 191, 174, 0.08);
  border-radius: 50%;
  margin-top: 2px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.donor-row:hover .donor-row__heart {
  transform: scale(1.18);
}

.donor-row__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.donor-row__name {
  font-weight: 700;
  color: var(--cc-teal);
  font-size: 0.9rem;
  line-height: 1.3;
}

.donor-row__comment {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 2px;
}
.donor-row__comment.is-typing::after {
  content: '|';
  color: var(--cc-teal);
  font-weight: 400;
  margin-left: 1px;
  animation: tw-blink 0.8s ease-in-out infinite;
}
@keyframes tw-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.donor-row__meta {
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin-top: 2px;
}

.donor-row__amount {
  text-align: right;
  flex-shrink: 0;
}

.donor-row__amount-total {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cc-teal);
  line-height: 1.2;
  margin-bottom: 2px;
}

.donor-row__amount-detail {
  display: block;
  font-size: 0.58rem;
  color: var(--text-dim);
  line-height: 1.3;
}

.donors-empty {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-dim);
}

.donors-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-lg);
  gap: 2px;
}
.donors-loading__icon {
  width: 60px;
  height: 60px;
  animation: donorBounce 0.9s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}
.donors-loading__shadow {
  width: 40px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.22) 0%, transparent 70%);
  animation: donorShadow 0.9s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}
@keyframes donorBounce {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  25%  { transform: translateY(-20px) scale(0.88, 1.12); }
  50%  { transform: translateY(0) scale(1.14, 0.86); }
  65%  { transform: translateY(-8px) scale(0.96, 1.04); }
  80%  { transform: translateY(0) scale(1.04, 0.96); }
}
@keyframes donorShadow {
  0%, 100% { transform: scaleX(1);   opacity: 0.8; }
  25%      { transform: scaleX(0.6); opacity: 0.35; }
  50%      { transform: scaleX(1.2); opacity: 1; }
  65%      { transform: scaleX(0.8); opacity: 0.55; }
  80%      { transform: scaleX(1.1); opacity: 0.9; }
}

/* Pop-out exit animation */
.donors-loading.is-popping {
  pointer-events: none;
  position: relative;
}
.donors-loading.is-popping .donors-loading__icon {
  animation: popOut 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}
.donors-loading.is-popping .donors-loading__shadow {
  animation: popShadow 0.35s ease-out forwards;
}
.donors-loading.is-popping::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 3px solid var(--cc-teal);
  animation: popRing 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes popOut {
  0%   { transform: scale(1) rotate(0deg); opacity: 1; }
  50%  { transform: scale(1.5) rotate(15deg); opacity: 0.9; }
  100% { transform: scale(0) rotate(40deg); opacity: 0; }
}
@keyframes popShadow {
  to { transform: scaleX(0); opacity: 0; }
}
@keyframes popRing {
  0%   { transform: scale(0); opacity: 0.7; border-width: 3px; }
  100% { transform: scale(8); opacity: 0; border-width: 0.5px; }
}

/* ---- CAMP CARDS ---- */
.section--schools {
  background: var(--bg);
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.section--schools::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/campphoto.jpg?v=1') center / cover no-repeat;
  filter: grayscale(1) contrast(2.5) brightness(1.3);
  opacity: 0.07;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.schools-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
  perspective: 800px;
}

.school-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--space-lg) - 4px) var(--space-md) var(--space-md);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transform-style: preserve-3d;
}
.school-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, var(--cc-teal)), color-mix(in srgb, var(--accent, var(--cc-teal)) 60%, #6DD5FA));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.school-card:hover {
  will-change: transform;
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.08),
    0 0 0 1px color-mix(in srgb, var(--accent, var(--cc-teal)) 20%, transparent),
    0 8px 40px color-mix(in srgb, var(--accent, var(--cc-teal)) 15%, transparent);
  opacity: 1;
}
.school-card:hover::before {
  height: 5px;
}
.school-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse at 100% 100%, rgba(0,0,0,0.045) 0%, transparent 70%);
  border-radius: 0 0 var(--radius-lg) 0;
  pointer-events: none;
}


.school-card__logo-wrap {
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.school-card__logo-wrap::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 0%;
  width: 60%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 35% 35%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.25) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  filter: blur(8px);
}
.school-card:hover .school-card__logo-wrap {
  transform: translateY(-3px);
}
.school-card__logo {
  max-height: 64px;
  max-width: 90%;
  object-fit: contain;
}

/* Camp card mini meter — slightly smaller for 4-col */
.school-card__meter {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: visible;
  margin-bottom: 12px;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent, var(--cc-teal)) 50%, transparent);
  animation: cardMeterPulse 2s infinite;
}
/* Pause pulse on hover so water-fill + donate label take over */
.school-card:hover .school-card__meter {
  animation: none;
  box-shadow: none;
}
@keyframes cardMeterPulse {
  0%   { box-shadow: 0 0 0 0   color-mix(in srgb, var(--accent, var(--cc-teal)) 40%, transparent); }
  70%  { box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent, var(--cc-teal)) 0%, transparent); }
  100% { box-shadow: 0 0 0 0   color-mix(in srgb, var(--accent, var(--cc-teal)) 0%, transparent); }
}
.school-card__meter-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.school-card__meter-bg {
  fill: none;
  stroke: #e2e2e2;
  stroke-width: 7;
}
.school-card__meter-fill {
  fill: none;
  stroke: var(--accent, var(--cc-teal));
  stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Overflow arc on mini camp card meters */
.school-card__meter-overflow {
  fill: none;
  stroke: #16a34a;
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(22, 163, 74, 0.6));
}
.overflow-pill-pulse {
  opacity: 0;
  transform: scale(0);
}
.overflow-pill-pulse.visible {
  animation: pillBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.overflow-pill-pulse.visible text {
  animation: pillColorLoop 2s ease-in-out 0.5s infinite;
}
@keyframes pillBounceIn {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes pillColorLoop {
  0%, 100% { fill: #fff; }
  50% { fill: #facc15; }
}

/* "Goal exceeded" speech bubble */
@keyframes badge-float {
  0%, 100% { transform: rotate(-20deg) translateY(0); }
  50%       { transform: rotate(-20deg) translateY(-3px); }
}
@keyframes fire-glow {
  0%   { filter: drop-shadow(0 0 2px #ff6b00) drop-shadow(0 0 5px #ff4500); }
  18%  { filter: drop-shadow(0 0 6px #ffaa00) drop-shadow(0 0 11px #ff6b00); }
  33%  { filter: drop-shadow(0 0 2px #ff8c00) drop-shadow(0 0 4px #ff4500); }
  52%  { filter: drop-shadow(0 0 8px #ffd700) drop-shadow(0 0 14px #ff6b00); }
  67%  { filter: drop-shadow(0 0 3px #ff6b00) drop-shadow(0 0 7px #ff8c00); }
  84%  { filter: drop-shadow(0 0 5px #ffaa00) drop-shadow(0 0 10px #ff4500); }
  100% { filter: drop-shadow(0 0 2px #ff6b00) drop-shadow(0 0 5px #ff4500); }
}
.school-card__goal-badge {
  position: absolute;
  top: -42px;
  left: -22px;
  background: #111827;
  color: #fff;
  font-family: var(--font-headline);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: -0.03em;
  padding: 4px 9px;
  border-radius: 20px;
  white-space: nowrap;
  transform: rotate(-20deg) scale(0);
  transform-origin: bottom right;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  opacity: 0;
}
.school-card__goal-badge.visible {
  animation: miniBadgeBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             badge-float 2.8s ease-in-out 0.5s infinite;
}
@keyframes miniBadgeBounceIn {
  0%   { opacity: 0; transform: rotate(-20deg) scale(0); }
  60%  { opacity: 1; transform: rotate(-20deg) scale(1.15); }
  100% { opacity: 1; transform: rotate(-20deg) scale(1); }
}
.school-card__goal-badge .fire-flicker {
  display: inline-block;
  position: relative;
  top: 3px;
  left: 2px;
  margin-left: 0.2em;
  transform: scale(1.4);
  transform-origin: center bottom;
  animation: fire-glow 1.4s ease-in-out infinite;
}
.school-card__goal-badge::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #111827;
}

/* Liquid-fill disc inside the ring */
.school-card__meter-water {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}
.school-card__meter-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--accent, var(--cc-teal)) 70%, #000) 0%,
    var(--accent, var(--cc-teal)) 50%,
    color-mix(in srgb, var(--accent, var(--cc-teal)) 85%, #fff) 100%);
  opacity: 0;
  transition: height 0.4s ease-out, opacity 0.2s ease;
}
/* Wave surface */
.school-card__meter-wave::before,
.school-card__meter-wave::after {
  content: '';
  position: absolute;
  width: 200%;
  background: var(--accent, var(--cc-teal));
  pointer-events: none;
}
.school-card__meter-wave::before {
  top: -6px;
  left: -60%;
  height: 12px;
  border-radius: 40% 50% 40% 50%;
  opacity: 0.85;
  animation: waveDrift1 3.2s ease-in-out infinite alternate;
}
.school-card__meter-wave::after {
  top: -4px;
  left: -40%;
  height: 8px;
  border-radius: 50% 40% 50% 40%;
  opacity: 0.65;
  animation: waveDrift2 2.6s ease-in-out infinite alternate-reverse;
}
/* Blob element */
.school-card__meter-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, transparent 50%, rgba(255,255,255,0.1) 100%);
  pointer-events: none;
}
@keyframes waveDrift1 {
  0%   { transform: translateX(-18%) rotate(-3deg); }
  100% { transform: translateX(18%) rotate(3deg); }
}
@keyframes waveDrift2 {
  0%   { transform: translateX(20%) rotate(3.5deg); }
  100% { transform: translateX(-20%) rotate(-3.5deg); }
}

.school-card__meter-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent, var(--cc-teal));
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}
.school-card:hover .school-card__meter-pct {
  transform: scale(1.1);
}

/* Orbit hint */
@property --orbit-sweep {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.school-card__orbit-wrap {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.school-card:hover .school-card__orbit-wrap {
  opacity: 1;
}
.school-card__orbit-track {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--accent, var(--cc-teal)) 50%, transparent);
  -webkit-mask-image:
    conic-gradient(from var(--orbit-sweep), transparent 0deg, rgba(0,0,0,0.15) 15deg, rgba(0,0,0,0.4) 40deg, #000 70deg, #000 120deg, transparent 120deg),
    conic-gradient(from 0deg, #000 0deg, #000 110deg, transparent 130deg, transparent 230deg, #000 250deg, #000 360deg);
  -webkit-mask-composite: source-in;
  mask-image:
    conic-gradient(from var(--orbit-sweep), transparent 0deg, rgba(0,0,0,0.15) 15deg, rgba(0,0,0,0.4) 40deg, #000 70deg, #000 120deg, transparent 120deg),
    conic-gradient(from 0deg, #000 0deg, #000 110deg, transparent 130deg, transparent 230deg, #000 250deg, #000 360deg);
  mask-composite: intersect;
  animation: orbitSweep 3s linear infinite;
}
@keyframes orbitSweep {
  to { --orbit-sweep: 360deg; }
}
.school-card__orbit-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle 3px at 50% 2px, var(--accent, var(--cc-teal)) 100%, transparent 0);
  animation: orbitDot 3s linear infinite;
  pointer-events: none;
}
@keyframes orbitDot {
  0%    { transform: rotate(120deg); opacity: 1; }
  2%    { transform: rotate(127deg); opacity: 1; }
  3.5%  { transform: rotate(133deg); opacity: 0; }
  29%   { transform: rotate(224deg); opacity: 0; }
  31%   { transform: rotate(232deg); opacity: 1; }
  100%  { transform: rotate(480deg); opacity: 1; }
}


/* Curved DONATE label wrapping meter circle */
.school-card__meter-label {
  position: absolute;
  inset: 0 0 -20px 0;
  overflow: visible;
  pointer-events: none;
}
.school-card__meter-label text {
  fill: var(--accent, var(--cc-teal));
  font-size: 8px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
}
.school-card__meter-label .dl {
  opacity: 0;
  transition: opacity 0.28s ease;
  transition-delay: calc(var(--dl) * 1ms);
}
.school-card:hover .school-card__meter-label .dl {
  opacity: 0.85;
}

/* Card shake when giant heart pops */
.school-card--shake {
  animation: cardShake 0.45s ease-out;
}
@keyframes cardShake {
  0%  { transform: translateY(-10px) scale(1.03) translate(0, 0); }
  15% { transform: translateY(-10px) scale(1.03) translate(-3px, 1px); }
  30% { transform: translateY(-10px) scale(1.03) translate(3px, -1px); }
  45% { transform: translateY(-10px) scale(1.03) translate(-2px, -1px); }
  60% { transform: translateY(-10px) scale(1.03) translate(2px, 1px); }
  75% { transform: translateY(-10px) scale(1.03) translate(-1px, 0px); }
  100%{ transform: translateY(-10px) scale(1.03) translate(0, 0); }
}

/* Staggered entrance for camp cards */
.school-card.reveal {
  transition-delay: calc(var(--i, 0) * 100ms);
}

/* ---- UMBRELLA "All Camps" card ---- */
.school-card--fcja {
  justify-content: center;
  gap: 0;
}
.school-card--fcja .school-card__logo-wrap {
  height: 78px;
  margin-bottom: var(--space-xs);
}
.school-card--fcja .school-card__logo {
  max-height: 67px;
  max-width: 90%;
}
.school-card--fcja__label {
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  padding: 0 var(--space-xs);
}
.school-card--fcja__badge {
  height: 60px;
  width: auto;
  opacity: 0.5;
  margin-top: auto;
  padding-top: var(--space-sm);
  transition: opacity 0.3s ease;
}
.school-card--fcja:hover .school-card--fcja__badge {
  opacity: 0.7;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: linear-gradient(-45deg, #239080, #3CBFAE, #2A9A8A, #48d1be, #239080);
  background-size: 400% 400%;
  animation: gradientFlow 10s ease infinite;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.stats-bar__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
}

.stats-bar__divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.stats-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.stats-bar__num {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 60, 80, 0.3);
}

.stats-bar__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 4px rgba(0, 60, 80, 0.2);
  text-transform: uppercase;
  max-width: 160px;
  line-height: 1.35;
}

/* ---- ABOUT ---- */
.section--about {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(60, 191, 174, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(60, 191, 174, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-deep) 0%, #0c1e3a 50%, var(--navy-mid) 100%);
  padding: 6.5rem var(--space-lg) 5rem;
  margin-top: -30px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
}
.section--about::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 191, 174, 0.06) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
  animation: orbDriftA 25s ease-in-out infinite;
}
.section--about::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 191, 174, 0.04) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
  animation: orbDriftB 30s ease-in-out infinite;
}
.about-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 58fr 42fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-text-col {
  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}
.about-text-col p {
  margin-bottom: var(--space-md);
}
.about-hook {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.about-heading-row {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.about-heading-text .about-title {
  margin-bottom: 0.3rem;
}
.about-heading-text .about-subtitle {
  margin-bottom: 0;
}
.about-eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  transform: rotate(-1.5deg);
  animation: eyebrowFloat 9s ease-in-out infinite;
}
.about-eyebrow .eyebrow-top {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}
.eyebrow-num {
  font-family: 'Outfit', sans-serif;
  font-size: 6rem;
  font-weight: 800;
  line-height: 0.82;
  color: var(--cc-teal);
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.45) 50%, transparent 60%),
    var(--cc-teal);
  background-size: 50% 100%, 100% 100%;
  background-position: -200% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(60, 191, 174, 0.3));
  animation: numGlimmer 6s ease-in-out infinite;
}
@keyframes numGlimmer {
  0%, 45% { background-position: -200% 0, 0 0; }
  65%, 100% { background-position: 300% 0, 0 0; }
}
.eyebrow-ord {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 2.45rem;
  font-weight: 400;
  color: rgba(60, 191, 174, 0.7);
  line-height: 1;
  margin-top: 0.15em;
  margin-left: 0.05em;
}
.eyebrow-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.15rem;
  line-height: 1.1;
}
.about-title {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}
.about-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cc-teal);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.01em;
}
.about-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cc-teal), transparent);
  margin-bottom: var(--space-lg);
  border-radius: 100px;
}
.about-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform: rotate(1.5deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: stickySway 7s ease-in-out infinite;
  transform-origin: top center;
}
.about-image-col:hover {
  transform: rotate(0deg) scale(1.01);
}
.about-paperclip {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(calc(-50% + 45px)) rotate(-38deg);
  width: 48px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.15));
}
.about-image {
  max-width: 100%;
  width: 100%;
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.15),
    0 12px 28px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(60, 191, 174, 0.1),
    0 0 60px rgba(60, 191, 174, 0.06);
}
.about-highlight {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 400;
  margin-top: var(--space-xl);
  padding: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.hl-count { color: #ffffff; }
.hl-tradition { color: var(--cc-teal); }
.hl-yours { color: #6DD5FA; }

/* ---- MATCH SECTION ---- */
.section--match {
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-warm);
}
.match-layout {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.match-heading {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}
.match-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-mid);
}
.match-visual {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}
.match-multiplier {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, var(--cc-teal), var(--cc-teal-bright, #48d1be));
  color: #fff;
  border-radius: 16px;
  padding: var(--space-md) var(--space-lg);
  min-width: 100px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(60, 191, 174, 0.25);
}
.match-2x {
  font-family: var(--font-headline);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.match-impact-label,
.match-match-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.match-tiers {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.match-tier {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  background: #fff;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.match-tier__give {
  color: var(--text-mid);
}
.match-tier__eq {
  color: var(--cc-teal);
  font-weight: 700;
}
.match-tier__impact {
  color: var(--cc-teal);
  font-weight: 700;
}

/* ---- PARTNERS ---- */
.section--partners {
  background: linear-gradient(-45deg, #239080, #3CBFAE, #2A9A8A, #48d1be, #239080);
  background-size: 400% 400%;
  animation: gradientFlow 10s ease infinite;
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.20);
}
.section--partners::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.partners {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.partners__heading {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
}

.partners__logo-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
}
.partners__logo-wrap img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: none;
}

/* ---- FOOTER ---- */
.site-footer {
  background: linear-gradient(180deg, var(--cc-teal-deep) 0%, var(--cc-teal-dark) 60%, #1d7a6d 100%);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-fcja-desc {
  padding-top: var(--space-md);
  margin-bottom: var(--space-md);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.footer-fcja-desc p {
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.footer-school-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: var(--space-md) var(--space-2xl);
  margin-bottom: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-school-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.footer-school-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
}
.footer-school-col a:hover {
  color: #fff;
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-sm);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xs);
}

.footer-powered {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
}
.footer-powered::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.1) 60%,
    transparent 100%
  );
  animation: footerGlint 4s ease-in-out 2s infinite;
  pointer-events: none;
}
.footer-powered a {
  display: inline-flex;
  align-items: center;
}
.footer-cc-logo {
  height: 32px;
  width: auto;
  opacity: 0.6;
  vertical-align: middle;
  transition: opacity 0.2s;
}
.footer-cc-logo:hover {
  opacity: 0.9;
}

/* ---- KEYFRAME ANIMATIONS ---- */
@keyframes footerGlint {
  0%, 50%  { left: -100%; }
  62%      { left: 200%; }
  74%      { left: -100%; }
  100%     { left: -100%; }
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-150%); }
  50% { transform: translateX(250%); }
}

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

@keyframes eyebrowFloat {
  0%, 100% { transform: rotate(-1.5deg) translateX(-6px); }
  50% { transform: rotate(-0.5deg) translateX(2px); }
}

@keyframes orbDriftA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 20px); }
}

@keyframes orbDriftB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

/* ---- FLOATING HEARTS ---- */
.floating-heart {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  line-height: 1;
  animation: heartFloat 2s ease-out forwards;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.18));
}
@keyframes heartFloat {
  0% { opacity: 0; transform: translateY(0) scale(0.5) rotate(0deg); }
  12% { opacity: 1; transform: translateY(-30px) scale(1) rotate(-8deg); }
  55% { opacity: 0.7; transform: translateY(-130px) scale(1.05) rotate(10deg); }
  100% { opacity: 0; transform: translateY(-220px) scale(0.6) rotate(-5deg); }
}
.floating-heart--giant {
  font-size: 0 !important;
  width: 250px;
  height: 240px;
  animation: giantHeartFloat 3.5s ease-out forwards !important;
}
.giant-heart-svg {
  width: 100%;
  height: 100%;
  display: block;
}
@keyframes giantHeartFloat {
  0% { opacity: 0; transform: perspective(600px) translateY(0) scale(0) rotateY(0deg) rotate(0deg); }
  8% { opacity: 1; transform: perspective(600px) translateY(0) scale(1.3) rotateY(-20deg) rotate(-5deg); }
  15% { transform: perspective(600px) translateY(-15px) scale(1.1) rotateY(15deg) rotate(3deg); }
  22% { transform: perspective(600px) translateY(-30px) scale(1.2) rotateY(-10deg) rotate(-3deg); }
  35% { opacity: 0.9; transform: perspective(600px) translateY(-80px) scale(1.05) rotateY(12deg) rotate(5deg); }
  100% { opacity: 0; transform: perspective(600px) translateY(-400px) scale(0.4) rotateY(-25deg) rotate(-8deg); }
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */

/* Tablet */
@media (max-width: 1024px) {
  .meter-donors-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .meter-ring-wrap {
    max-width: 509px;
  }
  /* Scale meter text down for tablet (+10%) */
  .meter-amount { font-size: 2.65rem; }
  .meter-sublabel { font-size: 1.0rem; }
  .meter-pct-num { font-size: 2.42rem; }
  .meter-pct-label { font-size: 0.83rem; }
  .meter-goal { font-size: 1.0rem; }
  .meter-donors-num { font-size: 2.42rem; }
  .meter-donors-label { font-size: 0.83rem; }

  .schools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-bar__inner {
    gap: var(--space-lg);
  }
  .stats-bar__item {
    flex-direction: column;
    text-align: center;
    gap: 0.15rem;
  }
  .stats-bar__num {
    font-size: 2.8rem;
  }
  .stats-bar__label {
    font-size: 0.65rem;
    max-width: 140px;
  }

  /* Header logo smaller on tablet */
  .header-logo img { height: 200px; }

  /* About section tighter on tablet */
  .about-layout {
    gap: var(--space-lg);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .meter-goal-exceeded {
    left: 50%;
    top: calc(50% - 124px);
    font-size: clamp(12px, 1.8vw, 16px);
    padding: 6px 14px;
  }
  .meter-goal-exceeded::after {
    right: calc(18% + 18px);
  }
  .hero { padding: 80px var(--space-md) 4rem; }
  .hero-logo-wrap { margin-bottom: var(--space-xs); margin-top: -25px; }
  .hero-graphic { max-width: 600px; }
  /* Header logo on mobile */
  .header-logo img { height: 155px; }
  .header-logo { left: var(--space-md); }

  .schools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .school-card { padding-top: var(--space-sm); }
  .school-card__logo-wrap { height: 64px; margin-bottom: var(--space-xs); }
  .school-card__logo { max-height: 56px; }
  .header-inner { padding: 0 var(--space-md); gap: var(--space-sm); }
  .header-right { gap: var(--space-sm); }
  .hero-cta { padding: 0.9rem 2.5rem; font-size: 1.19rem; }
  .section { padding: var(--space-2xl) var(--space-md); }
  .section-heading { font-size: 1.4rem; }
  .section--schools .section-heading { font-size: 1.7rem; margin-bottom: var(--space-xs); }
  .match-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  .match-visual {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
  }
  .match-tier { font-size: 1.2rem; }
  .donors-sort__btn { font-size: 0.68rem; padding: 0.3rem 0.55rem; }
  .footer-school-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* About section stacks on mobile */
  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 600px;
  }
  .about-image-col {
    order: -1;
    padding-top: 25px;
  }
  .about-paperclip {
    top: 9px;
    width: 38px;
    transform: translateX(calc(-50% + 20px)) rotate(-38deg);
  }
  .donors-paperclip {
    right: -7px;
  }
  .about-image {
    max-width: 380px;
    margin: 0 auto;
  }
  .about-heading-row { align-items: center; gap: var(--space-sm); }
  .about-title { font-size: 1.2rem; }
  .about-subtitle { font-size: 0.88rem; }
  .eyebrow-num { font-size: 3.6rem; }
  .eyebrow-ord { font-size: 1.35rem; }
  .hl-count, .hl-tradition, .hl-yours { display: block; }

  /* Gradient blobs — boost on mobile */
  .hero-content::before {
    width: 140%;
    height: 600px;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    background: radial-gradient(ellipse, rgba(60, 191, 174, 0.30) 0%, transparent 60%);
    filter: blur(30px);
  }
  .donors-countdown::before {
    width: 70%;
    background: radial-gradient(ellipse at 100% 0%, rgba(60, 191, 174, 0.20) 0%, transparent 65%);
  }

  /* Meter scale for mobile (+10%) */
  .meter-ring-wrap { max-width: 509px; }
  .meter-amount { font-size: 2.75rem; }
  .meter-sublabel { font-size: 1.05rem; }
  .meter-pct-num { font-size: 2.37rem; }
  .meter-pct-label { font-size: 0.86rem; }
  .meter-goal { font-size: 1.05rem; }
  .meter-donors-num { font-size: 2.37rem; }
  .meter-donors-label { font-size: 0.86rem; }
  .meter-center { width: 67%; }

  /* Partners logos tighter */
  .partners__logos { gap: var(--space-xl); }
  .partners__logo-wrap img { height: 48px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .schools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  .hero { padding-top: 70px; min-height: auto; }

  /* Header smallest on small mobile */
  .header-logo img { height: 125px; }
  .header-logo { left: var(--space-sm); }
  .header-inner { padding: 0 var(--space-sm); }
  .hero-cta { padding: 0.8rem 2.2rem; font-size: 1.06rem; }

  /* Meter smallest (+10%) */
  .meter-ring-wrap { max-width: 412px; }
  .meter-amount { font-size: 2.04rem; }
  .meter-sublabel { font-size: 0.86rem; }
  .meter-pct-num { font-size: 1.87rem; }
  .meter-pct-label { font-size: 0.73rem; }
  .meter-goal { font-size: 0.86rem; }
  .meter-donors-num { font-size: 1.87rem; }
  .meter-donors-label { font-size: 0.73rem; }
  .meter-center { width: 63%; }
  .meter-divider { margin: 0.2rem auto; }

  .stats-bar__num { font-size: 2rem; }
  .stats-bar__label { font-size: 0.55rem; max-width: 110px; }
  .stats-bar__inner { gap: var(--space-md); }
  .stats-bar__divider { height: 32px; }
  .partners__logos {
    gap: var(--space-lg);
  }

  /* About image smaller on small mobile */
  .about-image { max-width: 300px; }
  .about-title { font-size: 1.25rem; }
}

/* Mobile landscape */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 70px var(--space-md) var(--space-md); }
  .hero-logo-wrap { margin-top: 0; margin-bottom: var(--space-xs); }
  .hero-graphic { max-width: 520px; }
  .header-logo img { height: 140px; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}
