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

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

/* --- Custom Properties --- */
:root {
  --teal: #6495ED;
  --teal-dark: #546BE8;
  --teal-light: #E8F0FF;
  --teal-wash: rgba(100, 149, 237, 0.06);
  --coral: #FF7ABA;
  --coral-dark: #E56AA6;
  --coral-light: #FFF0F8;
  --gold: #9975EE;
  --ink: #1a1a2e;
  --ink-soft: #4A4A60;
  --ink-muted: #6b6b80;
  --cream: #F0F5FF;
  --cream-deep: #E8EFFF;
  --sand: #D8E2F4;
  --white: #FFFFFF;
  --dark: #10121B;
  --dark-soft: #181A26;
  --rule: rgba(26, 26, 46, 0.08);

  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1120px;
  --content-width: 720px;
  --nav-height: 72px;
}

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

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 32px;
}

.wrap--narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
}

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

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 24px; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--font-sans); letter-spacing: 0; }

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

/* --- Section Label --- */
.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  position: relative;
  padding-left: 28px;
}

.label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.label--light { color: rgba(230, 244, 242, 0.7); }
.label--coral { color: var(--coral); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  line-height: 1.3;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}

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

.btn--dark {
  background: var(--ink);
  color: var(--cream);
}

.btn--dark:hover {
  background: var(--teal);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(100, 149, 237, 0.2);
}


.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: 14px 4px;
}

.btn--ghost::after {
  content: '\2192';
  transition: transform 0.3s;
}

.btn--ghost:hover { color: var(--teal); }
.btn--ghost:hover::after { transform: translateX(4px); }

.btn--ghost-light {
  background: transparent;
  color: rgba(250, 250, 247, 0.6);
  padding: 14px 4px;
}

.btn--ghost-light::after {
  content: '\2192';
  transition: transform 0.3s;
}

.btn--ghost-light:hover { color: var(--teal-light); }
.btn--ghost-light:hover::after { transform: translateX(4px); }

.btn--large {
  font-size: 1rem;
  padding: 18px 40px;
}

/* --- Horizontal Rule --- */
.hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 0;
}

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

.site-nav.scrolled {
  background: rgba(240, 245, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) 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: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

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

.nav-center {
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: visible;
  flex-shrink: 0;
}

.nav-center a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

.nav-center a:hover { color: var(--ink); }
.nav-center a.active { color: var(--ink); font-weight: 600; }

.nav-donate {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--teal);
  padding: 9px 22px;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
}

.nav-donate:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 18px;
  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); }

/* ============================================
   PAGE HERO
   ============================================ */

/* Homepage hero — full height */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(100, 149, 237, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(28, 43, 51, 0.12), 0 4px 16px rgba(28, 43, 51, 0.06);
}

.hero h1 {
  margin-bottom: 28px;
}

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

.hero-body {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Subpage hero — shorter, centered */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(100, 149, 237, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.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;
  margin: 0 auto;
}

/* ============================================
   SECTIONS — General
   ============================================ */
.section {
  padding: 100px 0;
}

.section--sm {
  padding: 72px 0;
}

.section--white {
  background: var(--white);
}

.section--cream-deep {
  background: var(--cream-deep);
}

.section--dark {
  background: var(--dark);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}

.section--dark p {
  color: rgba(250, 250, 247, 0.55);
}

.section--dark .label {
  color: var(--teal);
}

.section--dark .label::before {
  background: var(--teal);
}

.section-header {
  max-width: 600px;
  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: 16px;
}

/* ============================================
   IMPACT NUMBERS
   ============================================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.impact-item {
  text-align: center;
  padding: 32px 16px;
}

.impact-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section--dark .impact-number {
  color: var(--teal);
}

.impact-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  line-height: 1.4;
}

.section--dark .impact-label {
  color: rgba(250, 250, 247, 0.45);
}

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

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28, 43, 51, 0.08);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

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

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

.roo-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-bottom: 36px;
}

.roo-feat {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.roo-feat:nth-child(odd) { padding-right: 20px; }
.roo-feat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--rule); }

.roo-feat::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.roo-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.roo-link:hover { gap: 12px; }

.roo-link svg {
  width: 16px;
  height: 16px;
}

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

.roo-screenshot {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(28, 43, 51, 0.12), 0 4px 16px rgba(28, 43, 51, 0.06);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

.board-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}


.board-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(15%);
  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.15rem;
}

.board-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.board-connection {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 14px;
  font-family: var(--font-serif);
}

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

/* ============================================
   STORY / PROSE
   ============================================ */
.prose {
  max-width: var(--content-width);
}

.prose p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.prose p:last-child { margin-bottom: 0; }

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--teal);
  border-left: 2px solid var(--sand);
  padding-left: 28px;
  margin: 48px 0;
  max-width: 560px;
}

.story-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}

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

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

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

.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(--teal);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--teal);
}

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

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

.timeline-photo {
  width: 100%;
  border-radius: 12px;
  margin-top: 32px;
  filter: brightness(0.92);
}

/* ============================================
   DONATE PAGE
   ============================================ */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.donate-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(28, 43, 51, 0.06);
  border-color: var(--teal);
}

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

.donate-tier h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.donate-tier p {
  font-size: 0.9rem;
  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: 10px;
}

.donate-method h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate-method p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.donate-method a {
  color: var(--teal);
  font-weight: 500;
}

.donate-method a:hover {
  color: var(--teal-dark);
}

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

.tax-info h4 {
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.tax-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}


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

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

.cta-inner {
  position: relative;
  max-width: 640px;
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 20px;
}

.cta-band p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(250, 250, 247, 0.5);
  margin-bottom: 36px;
  max-width: 480px;
}

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

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(28, 43, 51, 0.15);
  border-radius: 6px;
  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(--teal);
  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: 20px;
}

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

.contact-detail {
  margin-bottom: 28px;
}

.contact-detail h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.contact-detail p,
.contact-detail a {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.contact-detail a:hover {
  color: var(--teal);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark);
  color: rgba(250, 250, 247, 0.4);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(250, 250, 247, 0.85);
  margin-bottom: 16px;
}

.footer-mission {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(250, 250, 247, 0.4);
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-tax {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.25);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(250, 250, 247, 0.35);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: rgba(250, 250, 247, 0.7);
}

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

/* ============================================
   SCROLL REVEAL
   ============================================ */
.sr {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.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.08s; }
.sr-stagger > .sr:nth-child(3) { transition-delay: 0.16s; }
.sr-stagger > .sr:nth-child(4) { transition-delay: 0.24s; }
.sr-stagger > .sr:nth-child(5) { transition-delay: 0.32s; }
.sr-stagger > .sr:nth-child(6) { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE — Tablet (900px)
   ============================================ */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image img { height: 360px; }
  .nav-center, .nav-donate { 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 32px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav.open .nav-donate {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-aside {
    position: static;
    text-align: center;
  }

  .roo-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .roo-visual { order: -1; }

  .roo-screenshot {
    max-width: 300px;
    margin: 0 auto;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .donate-grid {
    grid-template-columns: 1fr;
  }

  .donate-methods {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

}

/* ============================================
   RESPONSIVE — Mobile (600px)
   ============================================ */
@media (max-width: 600px) {
  .wrap, .wrap--narrow { padding: 0 20px; }
  .site-nav { padding: 0 20px; }

  .hero { padding: 100px 0 72px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image img { height: 320px; }
  .page-hero { padding: 120px 0 56px; }
  .section { padding: 72px 0; }
  .section--sm { padding: 48px 0; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .roo-features { grid-template-columns: 1fr; }
  .roo-feat:nth-child(even) { padding-left: 0; border-left: none; }
  .roo-feat:nth-child(odd) { padding-right: 0; }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .impact-item { padding: 20px 12px; }

  .board-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .board-photo {
    width: 96px;
    height: 96px;
  }

  .donate-grid {
    grid-template-columns: 1fr;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pullquote {
    font-size: 1.15rem;
    margin: 36px 0;
  }
}

/* ============================================
   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(--teal);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
