/* ============================================================
   ARISE & THRESH — Main Stylesheet  v4
   Colors: Navy #293860 · Gold #ba9656 · Silver #D0D8E4
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --navy:       #293860;
  --navy-dark:  #1c2642;
  --navy-mid:   #344878;
  --gold:       #ba9656;
  --gold-light: #d4aa72;
  --silver:     #D0D8E4;
  --silver-mid: #a8b4c8;
  --white:      #FFFFFF;
  --off-white:  #f8f7f4;
  --text-body:  #3a3f52;
  --text-muted: #6b7280;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'EB Garamond', Georgia, serif;
  --header-h:   80px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --dur:        0.32s;
  --shadow-sm:  0 2px 16px rgba(41,56,96,0.08);
  --shadow-md:  0 8px 32px rgba(41,56,96,0.14);
  --shadow-lg:  0 24px 64px rgba(41,56,96,0.18);
  --max-w:      1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.75; color: var(--text-body); background: var(--off-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--gold); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h); z-index: 1000;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.scrolled,
.site-header.menu-open { background: var(--white); box-shadow: var(--shadow-sm); }

.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 38px; width: auto; }
.logo-white { display: block; }
.logo-navy  { display: none; }
.site-header.scrolled .logo-white,
.site-header.menu-open .logo-white { display: none; }
.site-header.scrolled .logo-navy,
.site-header.menu-open .logo-navy  { display: block; }

.nav-desktop { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-desktop a {
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.88);
  position: relative; padding-bottom: 2px; transition: color var(--dur) var(--ease);
}
.nav-desktop a::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 2px; width: 0;
  background: var(--gold); transition: width var(--dur) var(--ease);
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }
.site-header.scrolled .nav-desktop a,
.site-header.menu-open .nav-desktop a { color: var(--navy); }
.site-header.scrolled .nav-desktop a:hover { color: var(--gold); }

.nav-cta {
  font-family: var(--font-display) !important; font-size: 0.78rem !important;
  font-weight: 700 !important; letter-spacing: 0.12em !important; text-transform: uppercase !important;
  padding: 0.55rem 1.25rem !important; border: 2px solid rgba(255,255,255,0.85) !important;
  border-radius: 2px; color: var(--white) !important;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--white) !important; color: var(--navy) !important; }
.site-header.scrolled .nav-cta { border-color: var(--navy) !important; color: var(--navy) !important; }
.site-header.scrolled .nav-cta:hover { background: var(--navy) !important; color: var(--white) !important; }

/* Hamburger — larger tap target */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.scrolled .nav-toggle span,
.site-header.menu-open .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — scrollable, constrained to viewport */
.nav-mobile {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--silver); box-shadow: var(--shadow-md);
  list-style: none; flex-direction: column; padding: 0 1.5rem 1.5rem; z-index: 999;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav-mobile.open { display: flex; }
.nav-mobile li { border-bottom: 1px solid var(--silver); }
.nav-mobile li:last-child { border-bottom: none; margin-top: 1rem; }
.nav-mobile a {
  display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); padding: 0.9rem 0;
}
.nav-mobile .nav-cta {
  display: inline-block !important; border: 2px solid var(--navy) !important;
  color: var(--navy) !important; padding: 0.55rem 1.25rem !important;
  border-radius: 2px; margin-top: 0.5rem; background: none !important;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; transform: scale(1.04); transition: transform 8s ease-out; }
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,38,66,0.55) 0%, rgba(41,56,96,0.38) 45%, rgba(20,28,54,0.72) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 820px; width: 100%; padding: 6rem 1.5rem 4rem; opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease 0.3s, transform 0.9s ease 0.3s; }
.hero.loaded .hero-content { opacity: 1; transform: translateY(0); }
.hero-eyebrow { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-bottom: 1.5rem; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; display: block; width: 36px; height: 1px; background: var(--gold-light); opacity: 0.7; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; line-height: 1.1; color: var(--white); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero-verse { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: rgba(255,255,255,0.8); max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.6; }
.hero-verse cite { display: block; font-style: normal; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-top: 0.5rem; opacity: 0.8; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.45); font-family: var(--font-display); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; opacity: 0; transition: opacity 0.6s ease 1.6s; }
.hero.loaded .hero-scroll { opacity: 1; }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.25;transform:translateY(-4px) scaleY(.75)}50%{opacity:.8;transform:translateY(0) scaleY(1)} }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.8rem 1.8rem; border-radius: 2px; border: 2px solid transparent; transition: all var(--dur) var(--ease); cursor: pointer; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(186,150,86,0.32); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.72); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* ── Layout helpers ──────────────────────────────────────── */
.section { padding: 5.5rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.bg-white    { background: var(--white); }
.bg-offwhite { background: var(--off-white); }
.bg-silver   { background: var(--silver); }

.section-label { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.85rem; }
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); flex-shrink: 0; }
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }
.section-title { font-family: var(--font-display); font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--gold); }
.lead { font-size: 1.1rem; line-height: 1.8; color: var(--text-body); max-width: 660px; }
.lead.light { color: rgba(255,255,255,0.82); }

.scripture { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; font-weight: 400; color: var(--navy); padding: 1.25rem 0 1.25rem 1.5rem; border-left: 3px solid var(--gold); margin: 2rem 0; line-height: 1.5; }
.scripture.light { color: rgba(255,255,255,0.9); }
.scripture cite { display: block; font-style: normal; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-mid); margin-top: 0.5rem; }
.scripture.light cite { color: rgba(255,255,255,0.45); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.photo-block { position: relative; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-block img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-block::after { content: ''; position: absolute; bottom: -16px; right: -16px; width: 64px; height: 64px; border: 3px solid var(--gold); border-radius: 2px; opacity: 0.45; pointer-events: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.card { background: var(--white); border-radius: 3px; padding: 2.25rem 2rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--silver); transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.card:hover { box-shadow: var(--shadow-md); border-top-color: var(--gold); transform: translateY(-4px); }
.card-icon { width: 44px; height: 44px; margin-bottom: 1.1rem; color: var(--gold); }
.card-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.65rem; }
.card-text { font-size: 0.97rem; line-height: 1.7; color: var(--text-muted); }

.beliefs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin-top: 2.5rem; }
.belief { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 3px; padding: 2rem 1.75rem; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.belief:hover { background: rgba(255,255,255,0.11); border-color: rgba(186,150,86,0.45); }
.belief h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.6rem; }
.belief h3::before { content: ''; display: block; width: 18px; height: 2px; background: var(--gold); flex-shrink: 0; }
.belief p { font-size: 0.93rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
.belief .ref { font-style: italic; color: rgba(255,255,255,0.45) !important; font-size: 0.87rem !important; margin-top: 0.6rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.team-card { background: var(--white); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.team-info { padding: 1.5rem; }
.team-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.team-role { font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.team-bio { font-size: 0.93rem; line-height: 1.65; color: var(--text-muted); }

.timeline { position: relative; padding-left: 2.5rem; margin-top: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--gold) 0%, var(--silver) 100%); }
.timeline-item { position: relative; margin-bottom: 2.25rem; opacity: 0; transform: translateX(-18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item::before { content: ''; position: absolute; left: -2.5rem; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--white); box-shadow: 0 0 0 3px var(--gold); transform: translateX(-5px); }
.timeline-date { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.timeline-text { font-size: 1rem; line-height: 1.7; color: var(--text-body); }

.updates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 2rem; margin-top: 2.5rem; }
.update-card { background: var(--white); border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.update-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.update-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; }
.update-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.update-tag { font-family: var(--font-display); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.update-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 0.65rem; }
.update-excerpt { font-size: 0.93rem; line-height: 1.65; color: var(--text-muted); flex: 1; margin-bottom: 1.1rem; }
.read-more { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 0.4rem; transition: gap var(--dur) var(--ease), color var(--dur) var(--ease); }
.read-more::after { content: '→'; }
.read-more:hover { gap: 0.65rem; color: var(--gold); }

.donate-split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 5rem; align-items: start; }
.donate-card { background: var(--white); border-radius: 3px; padding: 2.25rem; box-shadow: var(--shadow-md); border-top: 4px solid var(--gold); }
.donate-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.donate-address { font-size: 0.97rem; line-height: 1.9; color: var(--text-body); background: var(--off-white); padding: 0.9rem 1.1rem; border-radius: 2px; border-left: 3px solid var(--silver-mid); }
.exempt-badge { display: inline-flex; align-items: center; gap: 0.45rem; background: rgba(41,56,96,0.06); border: 1px solid var(--silver); border-radius: 100px; padding: 0.35rem 0.85rem; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.1rem; }
.exempt-badge::before { content: '✓'; color: var(--gold); font-size: 0.82rem; }
.donate-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.25rem; }
.donate-actions .btn { text-align: center; }

/* Page hero (interior) */
.page-hero { min-height: 48vh; display: flex; align-items: flex-end; position: relative; overflow: hidden; padding: 0 2rem 4rem; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,24,44,0.92) 0%, rgba(41,56,96,0.5) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: var(--max-w); width: 100%; margin: 0 auto; }
.page-hero-content .crumb { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.page-hero-content h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.65rem; }
.page-hero-content p { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: rgba(255,255,255,0.68); }

/* Article inline images */
.article-img { width: 100%; border-radius: 3px; margin: 2rem 0; box-shadow: var(--shadow-md); aspect-ratio: 16/9; object-fit: cover; }
.article-img-caption { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver-mid); text-align: center; margin-top: -1.25rem; margin-bottom: 2rem; }

/* Prose */
.prose-section { padding: 5rem 2rem; }
.prose-inner { max-width: 780px; margin: 0 auto; }
.prose-inner p { margin-bottom: 1.3rem; }
.prose-inner h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
.prose-inner h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.65rem; }
.prose-inner blockquote { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--navy); line-height: 1.5; padding: 1.1rem 0 1.1rem 1.5rem; border-left: 3px solid var(--gold); margin: 2rem 0; }
.prose-inner blockquote cite { display: block; font-style: normal; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-mid); margin-top: 0.5rem; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3.5rem; margin-bottom: 2.5rem; }
.footer-logo img { height: 34px; width: auto; margin-bottom: 1rem; }
.footer-logo p { font-size: 0.93rem; line-height: 1.7; color: rgba(255,255,255,0.52); max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.2); border-radius: 2px; color: rgba(255,255,255,0.55); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-heading { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.93rem; color: rgba(255,255,255,0.58); transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.52); }
.footer-contact a { color: rgba(255,255,255,0.58); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.32); }

.divider { display: flex; align-items: center; justify-content: center; gap: 0.9rem; color: var(--gold); opacity: 0.55; margin: 2.5rem 0; }
.divider::before,.divider::after { content:''; flex:1; height:1px; background:currentColor; }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 3rem; direction: ltr; }
  .split.reverse > * { direction: ltr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .donate-split { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-logo { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-desktop { display: none; }
  .nav-toggle  { display: flex; }
  .section { padding: 3.75rem 1.25rem; }
  .prose-section { padding: 3.5rem 1.25rem; }
  .hero-content { padding: 5rem 1.25rem 3.5rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }
  .page-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 2rem) 1.25rem 2.5rem;
    align-items: flex-start;
  }
  .cards { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .updates-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-logo { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .donate-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .logo-link img { height: 28px; }
  .header-inner { padding: 0 1rem; }
  .hero-eyebrow { font-size: 0.62rem; gap: 0.4rem; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 16px; }
}

/* ─── Mobile header hardening ───────────────────────────── */
/* Prevent iOS Safari bounce/scroll from flashing transparent header */
@media (max-width: 768px) {
  .site-header {
    /* Always show a subtle bg on mobile so logo is never invisible */
    background: rgba(41, 56, 96, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .site-header.scrolled,
  .site-header.menu-open {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Ensure nav toggle is always tappable */
  .nav-toggle {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  /* Full-width mobile drawer, no overflow */
  .nav-mobile {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* Tighter hero on small screens */
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  /* Stack donate buttons */
  .donate-split { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Article prose padding */
  .prose-section { padding: 3rem 1.25rem; }
}

/* Extra-small (iPhone SE etc.) */
@media (max-width: 390px) {
  :root { --header-h: 60px; }
  .header-inner { padding: 0 1.25rem; }
  .logo-link img { height: 32px; }
}

/* ─── Team LinkedIn link ─────────────────────────────────── */
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-mid);
  margin-bottom: 0.75rem;
  transition: color var(--duration) var(--ease);
}
.team-linkedin:hover { color: var(--navy); }
