/* ============================================================
   THE BLITZ FOUNDATION — Complete Design System
   ============================================================ */

/* 1. FONTS
============================================================ */
/* Google Fonts — loads in production; falls back to system serif/sans in local preview */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* Local fallback stacks (used when Google Fonts is unavailable) */

/* 2. CUSTOM PROPERTIES
============================================================ */
:root {
  --navy:            #1B2B4B;
  --navy-dark:       #0F1A2E;
  --navy-mid:        #2D4470;
  --terracotta:      #D4724A;
  --terracotta-dark: #B85C35;
  --terracotta-light:#F2A07B;
  --cream:           #FAF8F5;
  --surface:         #EDE8E0;
  --surface-dark:    #DDD6CB;
  --text:            #1A1A1A;
  --text-muted:      #6B7280;
  --text-light:      #9CA3AF;
  --white:           #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  --transition: 0.2s ease;
  --max-width: 1140px;
  --nav-height: 72px;
}

/* 3. RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font: inherit;
  outline: none;
  border: none;
}

/* 4. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-3);
  display: block;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 640px;
}

/* 5. LAYOUT UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1280px; }

.section {
  padding: var(--space-24) 0;
}
.section--sm {
  padding: var(--space-16) 0;
}
.section--lg {
  padding: var(--space-32) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-cream  { color: var(--cream) !important; }
.text-terracotta { color: var(--terracotta) !important; }
.text-muted  { color: var(--text-muted) !important; }

.bg-navy    { background: var(--navy); }
.bg-dark    { background: var(--navy-dark); }
.bg-cream   { background: var(--cream); }
.bg-surface { background: var(--surface); }
.bg-white   { background: var(--white); }

/* 6. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 114, 74, 0.4);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--outline-terracotta {
  background: transparent;
  color: var(--terracotta);
  border: 2px solid var(--terracotta);
}
.btn--outline-terracotta:hover {
  background: var(--terracotta);
  color: var(--white);
}
.btn--lg {
  padding: 1.1rem 2.2rem;
  font-size: 1rem;
}
.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* 7. ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: var(--space-3) var(--space-6);
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}
.announcement-bar p {
  margin: 0;
  line-height: 1.4;
}
.announcement-bar a {
  color: var(--terracotta-light);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition);
}
.announcement-bar a:hover { color: var(--white); }
.announcement-bar .paw { margin-right: var(--space-2); }
.announcement-close {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  line-height: 1;
  transition: color var(--transition);
  padding: var(--space-1);
}
.announcement-close:hover { color: var(--white); }
.announcement-bar.hidden { display: none; }

/* 8. NAVIGATION
============================================================ */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}
.nav-cta.btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* 9. HERO
============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/><circle cx="50" cy="50" r="60" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/><circle cx="50" cy="50" r="80" fill="none" stroke="rgba(255,255,255,0.015)" stroke-width="0.5"/></svg>');
  background-size: 600px;
  background-position: right center;
  opacity: 0.8;
}
.hero--image {
  background-color: var(--navy-dark);
  background-image: linear-gradient(to right, rgba(15,26,46,0.92) 0%, rgba(15,26,46,0.7) 60%, rgba(15,26,46,0.4) 100%);
  background-size: cover;
  background-position: center;
}
.hero--short {
  min-height: 50vh;
}
.hero--medium {
  min-height: 65vh;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__tag {
  display: inline-block;
  background: rgba(212,114,74,0.2);
  border: 1px solid rgba(212,114,74,0.4);
  color: var(--terracotta-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  margin-bottom: var(--space-6);
}
.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
  font-style: italic;
}
.hero h1 em {
  font-style: normal;
  color: var(--terracotta-light);
}
.hero .lead {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
}
.hero__paw-bg {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 400px;
  height: 400px;
  opacity: 0.04;
  z-index: 1;
}

/* 10. MISSION STRIP
============================================================ */
.mission-strip {
  background: var(--terracotta);
  color: var(--white);
  padding: var(--space-6) 0;
}
.mission-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.mission-strip__text {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}
.mission-strip__badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-5);
  white-space: nowrap;
  flex-shrink: 0;
}
.mission-strip__badge .badge-icon { font-size: 1.3rem; }
.mission-strip__badge .badge-text { font-size: 0.8rem; font-weight: 600; line-height: 1.3; }

/* 11. STORY PREVIEW (HOMEPAGE)
============================================================ */
.story-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}
.story-preview__image {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.story-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.story-preview__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy-dark), var(--navy-mid));
  color: rgba(255,255,255,0.2);
  gap: var(--space-4);
}
.story-preview__image-placeholder svg { width: 120px; }
.story-preview__image-placeholder span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.story-preview__content {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-16) var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-preview__content .eyebrow { color: var(--terracotta-light); }
.story-preview__content h2 { color: var(--white); margin-bottom: var(--space-6); }
.story-preview__pull-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  border-left: 3px solid var(--terracotta);
  padding-left: var(--space-6);
  margin: var(--space-6) 0;
}
.story-preview__content p { color: rgba(255,255,255,0.75); }

/* 12. HOW IT WORKS
============================================================ */
.how-it-works { background: var(--white); }
.step-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  border: 1px solid var(--surface-dark);
  transition: box-shadow var(--transition);
}
.step-card:hover { box-shadow: var(--shadow); }
.step-number {
  width: 48px;
  height: 48px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.step-card h3 { margin-bottom: var(--space-3); font-size: 1.15rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* 13. GIVING TUESDAY MODULE (homepage)
============================================================ */
.gt-module {
  background: var(--navy-dark);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gt-module::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,114,74,0.1) 0%, transparent 70%);
}
.gt-module__inner { position: relative; z-index: 2; }
.gt-module .eyebrow { color: var(--terracotta-light); }
.gt-module h2 { color: var(--white); margin-bottom: var(--space-4); }
.gt-module .lead {
  color: rgba(255,255,255,0.75);
  margin: 0 auto var(--space-10);
  max-width: 560px;
}

/* 14. COUNTDOWN TIMER
============================================================ */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}
.countdown-unit {
  text-align: center;
  min-width: 80px;
}
.countdown-unit .value {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}
.countdown-unit .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: var(--space-1);
}
.countdown-sep {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--terracotta);
  line-height: 1;
  padding-bottom: var(--space-3);
}

/* 15. GOAL THERMOMETER
============================================================ */
.goal-meter {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 560px;
  margin: 0 auto var(--space-8);
}
.goal-meter__labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  font-size: 0.875rem;
}
.goal-meter__raised { color: var(--white); font-weight: 600; }
.goal-meter__goal   { color: rgba(255,255,255,0.6); }
.goal-meter__track {
  background: rgba(255,255,255,0.12);
  border-radius: 100px;
  height: 12px;
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.goal-meter__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
  border-radius: 100px;
  transition: width 1s ease;
  width: 0%; /* set via JS or inline style */
}
.goal-meter__sub {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* 16. DONATION TIERS
============================================================ */
.donation-tiers { background: var(--cream); }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}
.tier-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  border: 2px solid var(--surface-dark);
  transition: all var(--transition);
  text-align: center;
  position: relative;
}
.tier-card:hover {
  border-color: var(--terracotta);
  box-shadow: 0 8px 24px rgba(212,114,74,0.15);
  transform: translateY(-2px);
}
.tier-card--featured {
  border-color: var(--terracotta);
  background: var(--navy);
}
.tier-card--featured .tier-amount { color: var(--white); }
.tier-card--featured .tier-label  { color: rgba(255,255,255,0.85); }
.tier-card--featured .tier-desc   { color: rgba(255,255,255,0.65); }
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  white-space: nowrap;
}
.tier-amount {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.tier-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: var(--space-3);
}
.tier-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.tier-grid .tier-card:last-child {
  grid-column: span 1;
}

/* 17. STATS ROW
============================================================ */
.stats-row {
  background: var(--surface);
  padding: var(--space-16) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stat-item__value {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: block;
}
.stat-item__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 160px;
  margin: 0 auto;
  line-height: 1.5;
}
.stat-item__context {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: var(--space-1);
  font-style: italic;
}

/* 18. NEWSLETTER
============================================================ */
.newsletter {
  background: var(--white);
  padding: var(--space-16) 0;
  border-top: 1px solid var(--surface-dark);
}
.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h3 { margin-bottom: var(--space-3); }
.newsletter p { color: var(--text-muted); margin-bottom: var(--space-6); }
.newsletter-form {
  display: flex;
  gap: var(--space-3);
}
.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--surface-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  background: var(--cream);
}
.newsletter-form input:focus { border-color: var(--terracotta); }
.newsletter-form input::placeholder { color: var(--text-light); }

/* 19. FOOTER
============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-8);
}
.footer-brand .logo-mark { background: var(--terracotta); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .nav-logo { margin-bottom: var(--space-5); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-ein {
  font-size: 0.75rem;
  margin-top: var(--space-4);
  color: rgba(255,255,255,0.4);
}
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--terracotta);
  color: var(--white);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* 20. PAGE HEROES (interior pages)
============================================================ */
.page-hero {
  background: linear-gradient(145deg, var(--navy-dark), var(--navy));
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: var(--space-4); }
.page-hero .lead { color: rgba(255,255,255,0.75); margin: 0 auto; }

/* 21. STORY PAGE (our-story.html)
============================================================ */
.story-body {
  max-width: 720px;
  margin: 0 auto;
}
.story-chapter {
  margin-bottom: var(--space-16);
}
.story-chapter h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--surface-dark);
}
.story-chapter p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text);
}
.story-pull-quote {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-12);
  margin: var(--space-12) 0;
  position: relative;
}
.story-pull-quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--terracotta);
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: var(--space-8);
  line-height: 1;
}
.story-pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin: 0;
}
.story-stat-callout {
  background: var(--surface);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-6) var(--space-8);
  margin: var(--space-8) 0;
}
.story-stat-callout .amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.story-stat-callout .context {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.story-image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-10) 0;
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, var(--navy-dark), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: var(--space-3);
}
.story-cta-block {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  margin-top: var(--space-16);
}
.story-cta-block h3 { margin-bottom: var(--space-4); }
.story-cta-block p { color: var(--text-muted); max-width: 480px; margin: 0 auto var(--space-8); }

/* 22. HOW WE HELP PAGE
============================================================ */
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.help-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--surface-dark);
}
.help-card h3 { color: var(--navy); margin-bottom: var(--space-4); font-size: 1.1rem; }
.help-card ul { display: flex; flex-direction: column; gap: var(--space-3); }
.help-card ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.help-card ul li::before {
  content: '✓';
  color: var(--terracotta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.help-card--no ul li::before { content: '×'; color: var(--text-light); }

.process-steps {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-6);
  align-items: start;
}
.process-step__num {
  counter-increment: steps;
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.process-step__content h4 { color: var(--navy); margin-bottom: var(--space-2); }
.process-step__content p  { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* 23. APPLY PAGE
============================================================ */
.apply-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-16);
  align-items: start;
}
.apply-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid var(--surface-dark);
}
.form-section { margin-bottom: var(--space-8); }
.form-section-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--surface);
  margin-bottom: var(--space-6);
}
.form-group { margin-bottom: var(--space-5); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}
label .required { color: var(--terracotta); margin-left: 2px; }
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--surface-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: var(--cream);
  transition: border-color var(--transition);
  color: var(--text);
}
.form-input:focus { border-color: var(--terracotta); }
.form-input::placeholder { color: var(--text-light); }
textarea.form-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.form-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: var(--space-1);
}
.form-submit-note {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-4);
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--space-6);
}
.apply-sidebar { position: sticky; top: calc(var(--nav-height) + var(--space-8)); }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  border: 1px solid var(--surface-dark);
  margin-bottom: var(--space-5);
}
.sidebar-card h4 { color: var(--navy); margin-bottom: var(--space-4); }
.sidebar-card ul { display: flex; flex-direction: column; gap: var(--space-3); }
.sidebar-card ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  line-height: 1.5;
}
.sidebar-card ul li::before { content: '→'; color: var(--terracotta); flex-shrink: 0; }
.sidebar-urgent {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  color: var(--white);
}
.sidebar-urgent h4 { color: var(--terracotta-light); margin-bottom: var(--space-3); }
.sidebar-urgent p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin-bottom: var(--space-5); }

/* 24. GIVING TUESDAY PAGE
============================================================ */
.gt-hero {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 60%, #2D4A7A 100%);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,114,74,0.12) 0%, transparent 60%);
}
.gt-date-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(212,114,74,0.15);
  border: 1px solid rgba(212,114,74,0.35);
  color: var(--terracotta-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: var(--space-3) var(--space-5);
  border-radius: 100px;
  margin-bottom: var(--space-6);
}
.gt-hero h1 { color: var(--white); margin-bottom: var(--space-6); }
.gt-hero .lead { color: rgba(255,255,255,0.8); margin: 0 auto var(--space-10); }

.gt-embed-section {
  background: var(--cream);
  padding: var(--space-24) 0;
}
.gt-embed-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.gt-embed-placeholder {
  padding: var(--space-12);
  text-align: center;
  border: 2px dashed var(--surface-dark);
  border-radius: var(--radius-xl);
  background: var(--surface);
}
.gt-embed-placeholder .embed-icon { font-size: 3rem; margin-bottom: var(--space-4); }
.gt-embed-placeholder h3 { margin-bottom: var(--space-3); }
.gt-embed-placeholder p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-6); }
.gt-embed-placeholder code {
  display: block;
  background: var(--navy-dark);
  color: var(--terracotta-light);
  font-size: 0.8rem;
  padding: var(--space-4);
  border-radius: var(--radius);
  text-align: left;
  line-height: 1.8;
  margin-top: var(--space-4);
}

.gt-why-section { background: var(--surface); }
.gt-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.gt-why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
}
.gt-why-card .why-icon { font-size: 2.5rem; margin-bottom: var(--space-4); }
.gt-why-card h4 { margin-bottom: var(--space-3); }
.gt-why-card p { color: var(--text-muted); font-size: 0.9rem; }

.gt-share-section { background: var(--navy); padding: var(--space-16) 0; text-align: center; }
.gt-share-section h2 { color: var(--white); margin-bottom: var(--space-4); }
.gt-share-section p { color: rgba(255,255,255,0.7); margin-bottom: var(--space-8); max-width: 480px; margin-left: auto; margin-right: auto; }
.share-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}
.share-btn--ig { background: #E1306C; color: #fff; }
.share-btn--fb { background: #1877F2; color: #fff; }
.share-btn--copy { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.share-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* 25. DONATE PAGE
============================================================ */
.donate-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-16);
  align-items: start;
}
.donate-main h2 { margin-bottom: var(--space-4); }
.donate-main .lead { margin-bottom: var(--space-8); }
.donate-embed-area {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: var(--space-8);
}
.donate-embed-placeholder {
  padding: var(--space-10);
  text-align: center;
  background: var(--surface);
  border: 2px dashed var(--surface-dark);
  border-radius: var(--radius-xl);
}
.donate-embed-placeholder .embed-icon { font-size: 2.5rem; margin-bottom: var(--space-4); }
.donate-embed-placeholder p { color: var(--text-muted); font-size: 0.875rem; }
.donate-embed-placeholder code {
  display: block;
  background: var(--navy-dark);
  color: var(--terracotta-light);
  font-size: 0.75rem;
  padding: var(--space-4);
  border-radius: var(--radius);
  margin-top: var(--space-4);
  text-align: left;
  line-height: 1.8;
}
.donate-gofundme {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  border: 1px solid var(--surface-dark);
}
.donate-gofundme .gfm-icon { font-size: 2rem; flex-shrink: 0; }
.donate-gofundme p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
.donate-gofundme a { color: var(--terracotta); font-weight: 600; }
.donate-sidebar { position: sticky; top: calc(var(--nav-height) + var(--space-8)); }
.donate-trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  border: 1px solid var(--surface-dark);
  margin-bottom: var(--space-5);
}
.donate-trust-card h4 { color: var(--navy); margin-bottom: var(--space-4); }
.trust-items { display: flex; flex-direction: column; gap: var(--space-4); }
.trust-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.trust-item .trust-icon { font-size: 1.4rem; flex-shrink: 0; }
.trust-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.trust-item strong { color: var(--text); display: block; margin-bottom: 2px; }
.donate-tax-note {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-4);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* 26. STORIES PAGE
============================================================ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}
.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-dark);
  transition: box-shadow var(--transition), transform var(--transition);
}
.story-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.story-card__image {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--navy-dark), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.story-card__body { padding: var(--space-6); }
.story-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-2);
}
.story-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.story-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.stories-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-24);
}
.stories-empty h3 { margin-bottom: var(--space-4); }
.stories-empty p { color: var(--text-muted); max-width: 480px; margin: 0 auto var(--space-8); }

/* 27. SECTION DIVIDER
============================================================ */
.section-header {
  margin-bottom: var(--space-12);
}
.section-header.text-center .lead { margin: 0 auto; }
.divider {
  width: 48px;
  height: 4px;
  background: var(--terracotta);
  border-radius: 4px;
  margin-top: var(--space-4);
}
.divider--center { margin-left: auto; margin-right: auto; }

/* 28. RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid .tier-card:last-child { grid-column: span 2; }
  .apply-layout { grid-template-columns: 1fr; }
  .apply-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .sidebar-urgent { grid-column: span 2; }
  .donate-layout { grid-template-columns: 1fr; }
  .donate-sidebar { position: static; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(var(--nav-height));
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--surface);
    padding: var(--space-6);
    gap: var(--space-4);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .main-nav { position: sticky; top: 0; }
  .nav-toggle { display: flex; }

  .hero { min-height: 80vh; padding: var(--space-16) 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .story-preview { grid-template-columns: 1fr; }
  .story-preview__content { padding: var(--space-10) var(--space-8); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-grid .tier-card:last-child { grid-column: span 1; }
  .help-grid { grid-template-columns: 1fr; }
  .gt-why-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .apply-sidebar { grid-template-columns: 1fr; }
  .sidebar-urgent { grid-column: span 1; }
  .mission-strip__inner { flex-direction: column; text-align: center; }
  .story-pull-quote { padding: var(--space-8); }
  .countdown-unit .value { font-size: 2.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-group { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .section { padding: var(--space-16) 0; }
  .section--lg { padding: var(--space-20) 0; }
  .announcement-bar { font-size: 0.8rem; flex-wrap: wrap; text-align: center; }
  .announcement-close { position: static; transform: none; }
  .share-buttons { flex-direction: column; align-items: center; }
}
