/* ============================================================
   Day of Giving 2026 — Landing Page
   RaiseDays-inspired layout — light bg, blue accents
   ============================================================ */

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

:root {
  --bg:          #f0f0f0;
  --bg-white:    #ffffff;
  --bg-pattern:  #e8e8e8;

  /* Brand */
  --cc-blue:      #34B1FF;
  --cc-blue-dark: #1A8FDD;
  --cc-blue-deep: #0d8bd6;
  --cc-cyan:      #2bb8e0;

  /* Text */
  --text:        #333333;
  --text-dim:    #777777;
  --text-bright: #1a1a1a;

  /* Ring */
  --ring-outer:  #1a1a1a;
  --ring-fill:   var(--cc-blue);

  /* 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;
  --radius: 8px;
  --radius-lg: 12px;
}

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

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

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

/* Subtle background pattern (like RaiseDays star-of-david watermark) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(52,177,255,0.03) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(52,177,255,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-blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--cc-blue-dark);
  opacity: 1;
}

.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn--lg { padding: 0.875rem 2.5rem; font-size: 1.125rem; }

/* ---- 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.97);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.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: relative;
  z-index: 2;
  flex-shrink: 0;
  align-self: flex-start;
}
.header-logo img {
  height: 280px;
  width: auto;
  margin-top: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
  transition: height 0.3s ease;
}
.site-header.is-scrolled .header-logo img {
  height: 150px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-countdown {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.cd-label { font-weight: 500; letter-spacing: 0.02em; }
.cd-digits { display: flex; align-items: center; gap: 2px; }
.cd-unit { display: flex; align-items: baseline; gap: 1px; }
.cd-num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text-bright); font-size: 0.9rem; }
.cd-suffix { font-size: 0.7rem; color: var(--text-dim); font-weight: 400; }
.cd-sep { color: var(--text-dim); opacity: 0.3; padding: 0 1px; }

.header-cta {
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  gap: 0.4rem;
}
.header-cta-chevron {
  margin-top: 1px;
}

.lang-toggle {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cc-blue);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
}
.lang-toggle:hover {
  color: var(--cc-blue-dark);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 140px var(--space-lg) 48px;
  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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, var(--bg) 100%);
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 750px;
}

.hero-logo-wrap {
  display: inline-block;
  margin: 0 auto var(--space-lg);
}
.hero-logo {
  max-width: 500px;
  display: block;
}
.hero-graphic {
  max-width: 680px;
  width: 100%;
  display: block;
}

.hero-date {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-dim);
  margin-bottom: var(--space-xl);
}

.hero-cta {
  margin-bottom: 0;
}

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

.section-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-bright);
  text-align: center;
  margin-bottom: var(--space-2xl);
  line-height: 1.3;
}

/* ---- METER + DONORS SIDE BY SIDE ---- */
.section--meter-donors {
  background: var(--bg-pattern);
  padding: var(--space-3xl) var(--space-lg);
}

.meter-donors-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

/* Meter (left column) */
.meter {
  text-align: center;
}

.meter-ring-wrap {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1;
  margin: 0 auto;
}

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

.meter-ring-bg {
  fill: none;
  stroke: var(--ring-outer);
  stroke-width: 18;
}

.meter-ring-fill {
  fill: none;
  stroke: var(--ring-fill);
  stroke-width: 18;
  stroke-linecap: butt;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.meter-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.meter-amount {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--cc-blue);
  line-height: 1;
  margin: 0;
}

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

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

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

.meter-pct-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
}

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

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

.meter-goal {
  font-size: 1.2rem;
  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;
}

.meter-donors-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
}

.meter-donors-label {
  font-size: 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;
}

.donors-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.donors-title-bar {
  background: var(--cc-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 0.75rem var(--space-lg);
  letter-spacing: 0.02em;
}

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

.donors-search-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 10px;
}
.donors-search-icon { color: var(--text-dim); flex-shrink: 0; }
.donors-search {
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.85rem;
  width: 100%;
  color: var(--text);
}
.donors-search::placeholder { color: #bbb; }

.donors-sort {
  display: flex;
  gap: 0.25rem;
  background: #f0f0f0;
  border-radius: 4px;
  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: 3px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.donors-sort__btn:hover { color: var(--text-bright); }
.donors-sort__btn.is-active {
  background: var(--cc-blue);
  color: #fff;
}

.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.08em;
  color: var(--text-bright);
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
}

.donors-scroll {
  max-height: 420px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.donors-scroll::-webkit-scrollbar { width: 4px; }
.donors-scroll::-webkit-scrollbar-track { background: transparent; }
.donors-scroll::-webkit-scrollbar-thumb { background: rgba(52, 177, 255, 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);
}

.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(52, 177, 255, 0.08);
  border-radius: 50%;
  margin-top: 2px;
}

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

.donor-row__name {
  font-weight: 700;
  color: var(--cc-blue);
  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;
}

.donor-row__meta {
  font-size: 0.7rem;
  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-blue);
  line-height: 1.2;
}

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

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

.donors-loading {
  text-align: center;
  padding: var(--space-lg);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---- SCHOOL CARDS ---- */
.section--schools {
  background: var(--bg);
}

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

.school-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  color: var(--text);
}
.school-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.school-card__logo-wrap {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.school-card__logo {
  max-height: 70px;
  max-width: 90%;
  object-fit: contain;
}

.school-card__name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cc-blue-dark);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-height: 2.6em;
}

.school-card__pct {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
}

.school-card__pct-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1;
}

.school-card__pct-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  max-width: 5.5em;
}

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

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--cc-blue);
  padding: var(--space-lg) var(--space-lg);
}

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

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

.stats-bar__num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.stats-bar__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  max-width: 140px;
  line-height: 1.3;
}

/* ---- NARRATIVE + SHARE ---- */
.section--narrative-share {
  background: var(--bg);
  padding: var(--space-3xl) var(--space-lg);
}

.narrative-share-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-2xl);
  align-items: start;
}

.narrative-col {
  padding-top: var(--space-sm);
}

.narrative-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.narrative-col p {
  margin-bottom: var(--space-md);
  color: var(--text);
  line-height: 1.7;
}

/* Share box (right column) */
.share-col {
  position: sticky;
  top: 88px;
}

.share-box {
  background: var(--cc-blue);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.share-box__title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  line-height: 1.4;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  transition: background 0.2s;
}
.share-btn:hover {
  background: #000;
  opacity: 1;
}

.share-url-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 12px;
}

.share-url {
  flex: 1;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px;
  border-radius: 4px;
}
.share-copy-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---- MATCH ---- */
.section--match {
  background: var(--bg);
  padding: var(--space-3xl) var(--space-lg);
}

.match-layout {
  max-width: 1100px;
  margin: 0 auto;
}

.match-heading-block {
  max-width: 900px;
}

.match-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: var(--space-sm);
}

.match-body {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.match-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

.match-multiplier {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.match-2x {
  font-size: 4rem;
  font-weight: 900;
  color: var(--text-bright);
  line-height: 0.9;
}

.match-impact-label {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--cc-blue);
  letter-spacing: 0.05em;
  line-height: 1;
}

.match-match-label {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-bright);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.match-tiers {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  border-left: 2px solid #ddd;
  padding-left: var(--space-xl);
}

.match-tier {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
}

.match-tier__give {
  color: var(--text-bright);
}

.match-tier__eq {
  color: var(--text-dim);
}

.match-tier__impact {
  color: var(--cc-blue);
}

/* ---- ABOUT ---- */
.section--about {
  background: var(--bg);
  padding: var(--space-3xl) var(--space-lg);
}
.about-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 54fr 46fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-text-col {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
}
.about-text-col p {
  margin-bottom: var(--space-md);
}
.about-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-image {
  max-width: 100%;
  width: 100%;
  transform: rotate(2deg);
  border-radius: 8px;
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}
.about-image:hover {
  transform: rotate(0deg);
}
.about-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: var(--space-sm) !important;
  line-height: 1.3;
}
.about-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: var(--space-lg) !important;
}
.about-highlight {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cc-blue);
  font-style: italic;
  margin-top: var(--space-md) !important;
}

/* ---- PARTNERS ---- */
.section--partners {
  background: var(--cc-blue);
  padding: var(--space-md) var(--space-lg);
}

.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 img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--cc-blue);
  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 {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-md);
  margin-bottom: var(--space-md);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.footer-fcja-desc p {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.footer-school-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  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;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  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.7rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.footer-powered a {
  display: inline-flex;
  align-items: center;
}
.footer-cc-logo {
  height: 18px;
  width: auto;
  opacity: 0.5;
  vertical-align: middle;
  transition: opacity 0.2s;
}
.footer-cc-logo:hover {
  opacity: 0.8;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.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: 320px;
  }
  .schools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .narrative-share-layout {
    grid-template-columns: 1fr;
  }
  .share-col {
    position: static;
  }
  .stats-bar__inner {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    text-align: center;
  }
  .stats-bar__item {
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-logo { max-width: 320px; }
  .hero { padding-top: 100px; }
  .schools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  .header-countdown { display: none; }
  .header-cta { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
  .section { padding: var(--space-2xl) var(--space-md); }
  .section-heading { font-size: 1.4rem; }
  .match-visual {
    flex-direction: column;
    gap: var(--space-lg);
  }
  .match-tier { font-size: 1.2rem; }
  .footer-school-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .schools-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero { padding-top: 90px; min-height: auto; }
  .hero-logo { max-width: 260px; }
  .meter-ring-wrap { max-width: 260px; }
  .stats-bar__num { font-size: 1.4rem; }
  .partners__logos {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

/* ---- 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; }
}
