/* ============================================
   Friends of Peanut v2 — Design System
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* R1 Classic palette — "Children's hospital lobby" — matches Roo app */
  --primary: #6495ED;
  --primary-dark: #546BE8;
  --primary-light: #E8F0FF;
  --primary-wash: rgba(100, 149, 237, 0.06);

  --accent: #FF7ABA;
  --accent-light: #FFF0F8;

  --ink: #1a1a2e;
  --ink-soft: #4A4A60;
  --ink-muted: #6b6b80;

  --cream: #F0F5FF;
  --warm: #E8EFFF;
  --white: #FFFFFF;

  --dark: #10121B;
  --dark-soft: #181A26;

  --rule: rgba(26, 26, 46, 0.08);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1160px;
  --nav-height: 72px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* --- Layout --- */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 {
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p { margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

.body-lg {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* --- Eyebrow Label --- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.5); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(100, 149, 237, 0.25);
}

.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--outline-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn--lg { font-size: 0.95rem; padding: 18px 40px; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.site-nav.scrolled {
  background: rgba(240, 245, 255, 0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.nav-icon { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }

.nav-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

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

.nav-center a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.3s;
}
.nav-center a:hover { color: var(--ink); }
.nav-center a.active { color: var(--ink); font-weight: 600; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social {
  color: var(--ink-muted);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}
.nav-social:hover { color: var(--primary); }

.nav-donate {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  padding: 9px 24px;
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s;
}
.nav-donate:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 16px;
  position: relative;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 0; }

.site-nav.open .mobile-toggle span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.site-nav.open .mobile-toggle span:nth-child(2) { opacity: 0; }
.site-nav.open .mobile-toggle span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ============================================
   HERO — Full-bleed image
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(16, 18, 27, 0.82) 0%,
    rgba(16, 18, 27, 0.55) 50%,
    rgba(16, 18, 27, 0.35) 100%
  );
}

.hero-wrap {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
  padding: 140px 0 120px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary-light);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   MISSION STRIP
   ============================================ */
.mission-strip {
  background: var(--primary);
  padding: 0;
}

.mission-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 48px 0;
}

.mission-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--primary-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mission-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; }
.section--warm { background: var(--warm); }
.section--white { background: var(--white); }

.section--dark {
  background: var(--white);
  color: var(--ink-soft);
}
.section--dark h2, .section--dark h3 { color: var(--ink); }
.section--dark p { color: var(--ink-soft); }

.section-header { max-width: 560px; margin-bottom: 56px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header p { font-size: 1.05rem; line-height: 1.8; color: var(--ink-soft); margin-top: 12px; }

/* --- Two Column --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.col-text h2 { margin-bottom: 20px; }
.col-text .body-lg { margin-top: 16px; }

.placeholder-img {
  background: var(--warm);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(26, 26, 46, 0.12);
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-style: italic;
  padding: 32px;
  text-align: center;
}

/* --- Three Pillars --- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar {
  padding: 40px 36px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(100, 149, 237, 0.1);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.pillar:hover {
  transform: translateY(-3px);
  border-color: rgba(100, 149, 237, 0.25);
}

.pillar-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--primary);
  opacity: 0.22;
  line-height: 1;
  margin-bottom: 16px;
}

.pillar h3 { margin-bottom: 10px; }
.pillar p { font-size: 0.92rem; line-height: 1.75; color: var(--ink-soft); }

/* ============================================
   ROO SPOTLIGHT
   ============================================ */
.roo-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

.roo-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.roo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.roo-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  background: var(--cream);
}

.roo-phone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.roo-screenshot {
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(100, 149, 237, 0.15), 0 4px 16px rgba(26, 26, 46, 0.08);
  transition: transform 0.4s var(--ease);
}

.roo-screenshot:hover { transform: translateY(-6px); }

/* ============================================
   HELP CARDS
   ============================================ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.help-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.08);
}

.help-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.help-icon svg { width: 22px; height: 22px; }
.help-card h3 { margin-bottom: 10px; }
.help-card p { font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 16px; }

.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.card-link:hover { gap: 10px; }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner { position: relative; max-width: 520px; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { font-size: 1.05rem; line-height: 1.8; color: rgba(255, 255, 255, 0.45); margin-bottom: 36px; }

.cta-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ============================================
   PAGE HERO (subpages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
}

.page-hero--centered { text-align: center; }

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.page-hero-sub {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
}

.page-hero--centered .page-hero-sub { margin: 0 auto; }

/* ============================================
   BOARD MEMBERS
   ============================================ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.board-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.board-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.06);
}

.board-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(10%);
  border: 3px solid var(--cream);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.board-info h3 { margin-bottom: 4px; font-size: 1.1rem; }

.board-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.board-bio {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============================================
   STORY / PROSE
   ============================================ */
.story-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.story-aside { position: sticky; top: 120px; }

.story-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 28px;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--warm);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 10px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-top: 6px;
  line-height: 1.45;
}

.timeline-photo {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 24px;
}

.prose { max-width: 680px; }
.prose p { font-size: 1.08rem; line-height: 1.9; color: var(--ink-soft); margin-bottom: 24px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--ink); }

/* ============================================
   DONATE PAGE
   ============================================ */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.donate-tier {
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.donate-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.06);
  border-color: var(--primary);
}

.donate-amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}

.donate-tier h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.donate-tier p { font-size: 0.88rem; line-height: 1.6; color: var(--ink-soft); }

.donate-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.donate-method {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
}

.donate-method h4 { font-size: 0.92rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; }
.donate-method p { font-size: 0.88rem; line-height: 1.6; color: var(--ink-soft); }
.donate-method a { color: var(--primary); font-weight: 500; }
.donate-method a:hover { color: var(--primary-dark); }

.tax-info {
  background: var(--primary-light);
  border-radius: 16px;
  padding: 32px 36px;
  margin-top: 48px;
}

.tax-info h4 { color: var(--primary-dark); margin-bottom: 12px; text-transform: none; letter-spacing: 0; }
.tax-info p { font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(26, 26, 46, 0.12);
  border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(100, 149, 237, 0.1);
}

.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-sidebar h3 { margin-bottom: 16px; }

.contact-detail { margin-bottom: 24px; }
.contact-detail h4 { font-size: 0.75rem; color: var(--ink-muted); margin-bottom: 6px; }
.contact-detail p, .contact-detail a { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }
.contact-detail a:hover { color: var(--primary); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #1E2235;
  color: rgba(255, 255, 255, 0.35);
  padding: 72px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand { max-width: 300px; }

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s;
}
.footer-social a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-links { display: flex; gap: 64px; }

.footer-col h4 {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-signup {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
  text-align: center;
}

.footer-signup p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer-signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  justify-content: center;
}

.footer-signup-form input {
  flex: 1;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  outline: none;
  transition: border-color 0.3s;
}

.footer-signup-form input::placeholder { color: rgba(255, 255, 255, 0.25); }
.footer-signup-form input:focus { border-color: rgba(255, 255, 255, 0.35); }

.footer-signup-form button {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.footer-signup-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.2);
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { transition: color 0.3s; }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.6); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.sr.visible { opacity: 1; transform: translateY(0); }

.sr-stagger > .sr:nth-child(1) { transition-delay: 0s; }
.sr-stagger > .sr:nth-child(2) { transition-delay: 0.1s; }
.sr-stagger > .sr:nth-child(3) { transition-delay: 0.2s; }
.sr-stagger > .sr:nth-child(4) { transition-delay: 0.3s; }
.sr-stagger > .sr:nth-child(5) { transition-delay: 0.4s; }
.sr-stagger > .sr:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .wrap { padding: 0 28px; }
  .site-nav { padding: 0 28px; }

  .hero-content { padding: 120px 0 80px; }

  .nav-center, .nav-right { display: none; }
  .mobile-toggle { display: block; }

  .site-nav.open .nav-center {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(240, 245, 255, 0.97);
    backdrop-filter: blur(16px);
    padding: 24px 28px 32px;
    gap: 16px;
    border-bottom: 1px solid var(--rule);
  }

  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .pillar-grid { grid-template-columns: 1fr; gap: 20px; }
  .roo-grid { grid-template-columns: 1fr; gap: 48px; }
  .roo-visual { order: -1; }
  .roo-screenshot { max-width: 280px; margin: 0 auto; }
  .help-grid { grid-template-columns: 1fr; gap: 16px; }
  .board-grid { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr 1fr; }
  .donate-methods { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-aside { position: static; }

  .mission-inner { flex-direction: column; gap: 24px; padding: 40px 0; }
  .mission-divider { width: 48px; height: 1px; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .footer-signup-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-legal { flex-direction: column; gap: 4px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .site-nav { padding: 0 20px; }

  .hero { min-height: auto; }
  .hero-content { padding: 110px 0 64px; }
  .page-hero { padding: 120px 0 56px; }
  .section { padding: 72px 0; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .board-card { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .board-photo { width: 88px; height: 88px; }

  .form-row { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 28px; }
}

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

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
