:root {
  color-scheme: light;
  --red: #cf2127;
  --red-dark: #a9181e;
  --ink: #191919;
  --muted: #636773;
  --cream: #f7f4ef;
  --soft: #f5f6f8;
  --line: #e2e4e8;
  --white: #ffffff;
  --dark: #251f20;
  --shadow: 0 24px 70px rgba(20, 20, 24, 0.14);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 860px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 220px; }
.brand-logo { height: 42px; max-width: 150px; object-fit: contain; padding: 5px; background: #fff; border-radius: 8px; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 18px; font-weight: 900; }
.brand-copy span { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 800; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex: 1; }
.nav-links a, .nav-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--red); background: rgba(207, 33, 39, 0.08); }
.nav-donate { color: #fff; background: var(--red); box-shadow: 0 8px 18px rgba(207, 33, 39, 0.23); }
.gratitude-band {
  color: #fff;
  background:
    radial-gradient(circle at 15% 50%, rgba(255,255,255,0.22), transparent 26%),
    linear-gradient(90deg, var(--red-dark) 0%, var(--red) 45%, var(--dark) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
}
.gratitude-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.gratitude-message {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.gratitude-message span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--red);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}
.gratitude-message strong {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.gratitude-marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.gratitude-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  animation: gratitude-scroll 30s linear infinite;
}
.gratitude-track span {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.gratitude-track span::before {
  content: "•";
  margin-right: 24px;
  color: rgba(255,255,255,0.55);
}
@keyframes gratitude-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero, .page-hero {
  background:
    radial-gradient(circle at 80% 16%, rgba(207, 33, 39, 0.14), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
  border-bottom: 1px solid var(--line);
}
.hero { padding: 72px 0 58px; }
.page-hero { padding: 70px 0 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 34px; align-items: start; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(42px, 7vw, 82px); line-height: 0.95; letter-spacing: -0.05em; }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.02; letter-spacing: -0.035em; }
h3 { font-size: 22px; line-height: 1.1; }
.lede { color: #373942; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; font-weight: 700; }
.hero-copy p:not(.eyebrow), .section-copy p, .split-panel p, .page-hero p { color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 12px 24px rgba(207, 33, 39, 0.25); }
.button-primary:hover { background: var(--red-dark); }
.button-light { background: #fff; border-color: #d1d5dc; color: var(--ink); }
.hero-card, .callout-card, .form-card, .recognition-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card { padding: 30px; position: sticky; top: 104px; }
.card-kicker { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
.hero-card h2 { font-size: 36px; }
.hero-card p { color: var(--muted); font-size: 17px; }
.text-link { color: var(--red); font-weight: 900; text-decoration: none; }
.section { padding: 74px 0; }
.section-tight { padding: 36px 0; }
.alt-section { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-grid, .step-grid, .mission-grid, .mini-grid { display: grid; gap: 18px; }
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.step-grid { grid-template-columns: repeat(4, 1fr); }
.step-grid.three { grid-template-columns: repeat(3, 1fr); }
.mission-grid { grid-template-columns: repeat(3, 1fr); }
.stat-grid article, .step-grid article, .mission-grid article, .mini-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat-grid span, .step-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}
.stat-grid h2, .step-grid h2, .mission-grid h2 { font-size: 25px; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-grid p, .step-grid p, .mission-grid p, .mini-grid p { color: var(--muted); margin-bottom: 0; }
.impact-stats { background: var(--white); border-bottom: 1px solid var(--line); }
.impact-stats .eyebrow { margin-bottom: 16px; }
.impact-stats .stat-grid article { min-height: 155px; display: flex; flex-direction: column; justify-content: center; }
.impact-stats .stat-grid strong { display: block; margin-bottom: 10px; font-size: clamp(34px, 4vw, 54px); line-height: 0.95; letter-spacing: -0.045em; }
.impact-stats .stat-grid p { font-size: 16px; line-height: 1.35; }
.donate-section { background: var(--white); }
.donate-grid { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr); gap: 34px; align-items: start; }
.form-card { padding: 18px; overflow: hidden; }
.keela-embed-form { min-height: 520px; }
.split-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 34px; align-items: center; }
.callout-card { padding: 30px; }
.callout-card h3 { margin-bottom: 10px; }
.card-list { display: grid; gap: 12px; }
.card-list a, .social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
.card-list a:after, .social-links a:after { content: '›'; color: var(--red); font-size: 28px; line-height: 1; }
.social-section { padding: 74px 0; background: var(--white); }
.social-links { display: grid; gap: 12px; }
.recognition-panel { padding: 34px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.mini-grid { grid-template-columns: repeat(3, 1fr); }
.mini-grid article { box-shadow: none; }
.site-footer { padding: 62px 0 26px; color: #fff; background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 34px; }
.footer-logo { width: min(260px, 100%); height: auto; margin-bottom: 18px; }
.site-footer p { color: rgba(255,255,255,0.72); }
.site-footer h2 { margin-bottom: 14px; font-size: 16px; letter-spacing: 0; }
.site-footer a { display: block; color: rgba(255,255,255,0.78); text-decoration: none; margin: 9px 0; font-weight: 700; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom p { margin: 0; font-size: 13px; }

@media (max-width: 960px) {
  .nav-wrap { align-items: flex-start; flex-wrap: wrap; padding: 12px 0; }
  .brand { width: 100%; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .nav-donate { position: absolute; right: 20px; top: 20px; }
  .gratitude-inner { min-height: 0; padding: 13px 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .gratitude-message { min-width: 0; align-items: flex-start; flex-direction: column; gap: 7px; }
  .gratitude-message strong { font-size: 15px; }
  .gratitude-marquee { width: 100%; }
  .hero { padding: 48px 0 40px; }
  .hero-grid, .donate-grid, .split-panel, .recognition-panel { grid-template-columns: 1fr; }
  .hero-card { position: static; }
  .stat-grid, .step-grid, .step-grid.three, .mission-grid, .mini-grid, .footer-grid { grid-template-columns: 1fr; }
  .impact-stats .stat-grid article { min-height: 0; }
  .section { padding: 54px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand-logo { height: 38px; max-width: 136px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy span { font-size: 10px; }
  .nav-donate { min-height: 34px; padding: 7px 11px; font-size: 12px; }
  .nav-links a { font-size: 12px; padding: 8px 10px; }
  .gratitude-track { animation-duration: 24s; }
  h1 { font-size: clamp(42px, 14vw, 58px); }
  .page-hero h1 { font-size: clamp(36px, 12vw, 52px); }
  .lede { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-card, .callout-card, .form-card, .recognition-panel { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .gratitude-track { animation: none; }
}

@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --ink: #f6f1ee; --muted: #c8c1bd; --line: rgba(255,255,255,0.14); --soft: #1f1b1c; --white: #141112; }
  body { background: #141112; color: var(--ink); }
  .site-header { background: rgba(20, 17, 18, 0.92); }
  .hero, .page-hero { background: radial-gradient(circle at 80% 16%, rgba(207, 33, 39, 0.2), transparent 28%), linear-gradient(180deg, #151112 0%, #211b1c 100%); }
  .hero-card, .callout-card, .form-card, .recognition-panel, .stat-grid article, .step-grid article, .mission-grid article, .mini-grid article, .card-list a, .social-links a { background: #1d1819; }
  .button-light { background: #1d1819; color: var(--ink); }
  .lede, .hero-copy p:not(.eyebrow), .section-copy p, .split-panel p, .page-hero p, .hero-card p { color: var(--muted); }
  .brand-logo { background: #fff; }
}
