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

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

:root {
  --dark: #2E2420;
  --dark-mid: #3d3029;
  --cream: #E8D9C0;
  --cream-light: #F5EFE4;
  --brown-accent: #8B5E3C;
  --brown-light: #B8865A;
  --text-primary: #1a1410;
  --text-secondary: #5a4a3a;
  --text-muted: #9a8a7a;
  --border: rgba(46,36,32,0.12);
  --border-strong: rgba(46,36,32,0.25);
  --bg-warm: #FAF7F2;
  --bg-section: #F5F0E8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--brown-accent); }

.nav-cta {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  background: var(--dark);
  color: var(--cream);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--dark-mid); }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }

/* TYPOGRAPHY */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-accent);
  margin-bottom: 1rem;
  display: block;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-primary);
}

h1 { font-size: clamp(48px, 8vw, 80px); }
h2 { font-size: clamp(32px, 5vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 30px); }

.serif { font-family: 'Playfair Display', serif; font-weight: 700; text-transform: none; line-height: 1.2; }

p { color: var(--text-secondary); line-height: 1.8; }
p + p { margin-top: 1rem; }

.text-large { font-size: 18px; }
.text-muted { color: var(--text-muted); }

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--dark);
  color: var(--cream);
}
.btn-primary:hover { background: var(--dark-mid); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-warm); }

.btn-accent {
  background: var(--brown-accent);
  color: #fff;
}
.btn-accent:hover { background: var(--brown-light); }

/* DIVIDER */
html {
  scroll-behavior: smooth;
}

hr {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 0;
}

/* CARDS */
.card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.card-warm {
  background: var(--bg-warm);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }

/* STAT */
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--brown-accent);
  line-height: 1;
  margin-bottom: 6px;
}

/* QUOTE */
.blockquote {
  border-left: 3px solid var(--brown-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
}

.blockquote-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.blockquote-attr {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* DARK BAND */
.band-dark {
  background: var(--dark);
  color: var(--cream);
  padding: 4rem 0;
}

.band-dark h2 { color: var(--cream); }
.band-dark p { color: rgba(232,217,192,0.75); }
.band-dark .eyebrow { color: var(--brown-light); }

/* WARM BAND */
.band-warm { background: var(--bg-section); padding: 5rem 0; }

/* EMAIL CAPTURE */
.email-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
}

.email-input {
  flex: 1;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: #fff;
  color: var(--text-primary);
  outline: none;
}

.email-input:focus { border-color: var(--brown-accent); }

.email-input::placeholder { color: var(--text-muted); }

/* FOOTER */
footer {
  background: var(--dark);
  color: var(--cream);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid rgba(232,217,192,0.15);
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(232,217,192,0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232,217,192,0.5);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(232,217,192,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(232,217,192,0.4);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.fade-up { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
.delay-1 { animation-delay: 0.15s; opacity: 0; }
.delay-2 { animation-delay: 0.3s; opacity: 0; }
.delay-3 { animation-delay: 0.45s; opacity: 0; }
.delay-4 { animation-delay: 0.6s; opacity: 0; }

.hero-format {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
  border-left: 2px solid var(--brown-accent);
  padding-left: 1rem;
}
.delay-4 { animation-delay: 0.6s; opacity: 0; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* STAT CAROUSEL */
.stat-carousel {
  position: relative;
  overflow: hidden;
}

.stat-slide {
  display: none;
  animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

.stat-slide.active { display: block; }

.stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}

.stat-dot.active {
  background: var(--brown-accent);
  transform: scale(1.3);
}

/* TIMELINE ANIMATION */
.timeline-item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:nth-child(1) { transition-delay: 0s; }
.timeline-item:nth-child(2) { transition-delay: 0.12s; }
.timeline-item:nth-child(3) { transition-delay: 0.24s; }
.timeline-item:nth-child(4) { transition-delay: 0.36s; }
.timeline-item:nth-child(5) { transition-delay: 0.48s; }

/* ════════════════════════════
   MOBILE OPTIMIZATION
   ════════════════════════════ */
@media (max-width: 768px) {

  /* NAV */
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 0.5px solid var(--border);
    padding: 1rem 2rem;
    gap: 1rem;
    z-index: 100;
  }

  /* TYPOGRAPHY */
  h1 { font-size: clamp(36px, 11vw, 60px); }
  h2 { font-size: clamp(26px, 7vw, 40px); }
  .text-large { font-size: 16px; }

  /* HERO SECTIONS */
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .hero-sub { font-size: 15px; }
  .hero-format { font-size: 14px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { text-align: center; }
  .about-hero { padding: 4rem 0 3rem; }
  .curriculum-hero { padding: 4rem 0 3rem; }
  .resources-hero { padding: 4rem 0 3rem; }

  /* MANTRA BAND */
  .mantra-band { padding: 1rem 1.25rem; }
  .mantra-text { font-size: clamp(24px, 8vw, 40px); letter-spacing: 0.08em; }

  /* SECTIONS */
  section { padding: 3rem 0; }
  .section { padding: 3rem 0; }
  .band-warm { padding: 3rem 0; }

  /* GRIDS → SINGLE COLUMN */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .three-col { grid-template-columns: 1fr; gap: 1rem; }
  .values-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stage-grid { grid-template-columns: 1fr; }
  .stage-nav { display: none; }
  .tracks { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .church-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; gap: 2rem; }
  .resource-grid.reverse { direction: ltr; }
  .curriculum-features { grid-template-columns: 1fr; }

  /* STAT GRID */
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-count { font-size: clamp(28px, 7vw, 44px); }
  .stat-card { padding: 1.25rem 1rem; }
  .stat-card-quote { grid-column: span 2; }

  /* MERCH */
  .merch-grid { grid-template-columns: 1fr; }
  .merch-three { grid-template-columns: 1fr !important; }
  .hat-card { grid-template-columns: 1fr !important; }
  .shirt-card { width: 100%; }

  /* 2 PETER GRID */
  .reveal-stagger[style*="repeat(2"] { grid-template-columns: 1fr !important; }

  /* ABOUT PAGE CLOSING CTA GRID */
  div[style*="repeat(3,minmax(0,1fr))"] { grid-template-columns: 1fr !important; }

  /* CURRICULUM LESSON ITEMS */
  .lesson-item { grid-template-columns: 40px 1fr; }
  .lesson-outcome { display: none; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-name { font-size: 16px; }

  /* TIMELINE */
  .timeline-item { padding-left: 1.5rem; }

  /* EMAIL FORM */
  .email-form { flex-direction: column; }

  /* PARTNER PAGE TRACKS */
  .track-card.featured { order: -1; }

  /* BLOCKQUOTE */
  .blockquote { padding: 1.25rem; }
  .blockquote-text { font-size: 16px; }

  /* HIDE FF WATERMARK ON MOBILE */
  .hero::before { display: none; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 1.25rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card-quote { grid-column: span 1; }
  .hero-cta { gap: 8px; }
  .btn { padding: 11px 18px; font-size: 11px; }
  .mantra-text { font-size: clamp(22px, 9vw, 36px); }
  .wave-reveal-heading { font-size: clamp(32px, 11vw, 52px); }
}


/* ── Scroll-driven: Color Sweep ── */
.sweep-word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
  margin: 0 4px;
}
.sweep-base {
  display: block;
  color: rgba(232,217,192,0.18);
}
.sweep-fill {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  overflow: hidden;
  white-space: nowrap;
  color: #E8D9C0;
  transition: none;
}
.sweep-fill.accent {
  color: #8B5E3C;
}

/* ── Scroll-driven: Blur Word Reveal ── */
.blur-word {
  display: inline-block;
  opacity: 0.12;
  filter: blur(6px);
  transition: opacity 0.5s ease, filter 0.5s ease;
  will-change: opacity, filter;
}
.blur-word.lit {
  opacity: 1;
  filter: blur(0);
}

/* ── Stat Grid ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: var(--bg-section);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.stat-card:hover {
  border-color: var(--brown-accent);
  transform: translateY(-3px);
}
.stat-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 60px);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.stat-card-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border-color: transparent;
}
.stat-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(232,217,192,0.75);
  line-height: 1.7;
}
@media (max-width: 768px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
}

/* ── Timeline Draw Animation ── */
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0%;
  background: var(--brown-accent);
  transition: none;
}
.timeline.drawn::before {
  transition: height 1.5s cubic-bezier(0.16,1,0.3,1);
  height: 100%;
}
.timeline-item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Pillar Card Hover ── */
.pillar-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--brown-accent);
  box-shadow: 0 8px 24px rgba(46,36,32,0.08);
}

/* ── Partner Track Card Hover ── */
.track-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.track-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(46,36,32,0.1);
}

/* ── Lesson Item Entrance ── */
.lesson-item {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease;
}
.lesson-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Color Wave Heading ── */
.wave-reveal-heading {
  display: block;
}
.wave-reveal-heading .wave-word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}
.wave-reveal-heading .wave-base {
  display: block;
  color: rgba(46,36,32,0.15);
}
.wave-reveal-heading .wave-fill {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-primary);
}
.wave-reveal-heading .wave-fill.accent {
  color: var(--brown-accent);
}
/* Dark background variant */
.wave-reveal-heading.wave-dark .wave-base {
  color: rgba(232,217,192,0.12);
}
.wave-reveal-heading.wave-dark .wave-fill {
  color: #E8D9C0;
}

/* Force wave-base to always show muted regardless of parent h1 color */
.wave-reveal-heading .wave-base {
  color: rgba(46,36,32,0.15) !important;
}
.wave-reveal-heading.wave-dark .wave-base {
  color: rgba(232,217,192,0.12) !important;
}
.wave-reveal-heading .wave-fill {
  color: var(--text-primary) !important;
}
.wave-reveal-heading.wave-dark .wave-fill {
  color: #E8D9C0 !important;
}
.wave-reveal-heading .wave-fill.accent {
  color: var(--brown-accent) !important;
}
.wave-reveal-heading.wave-dark .wave-fill.accent {
  color: #8B5E3C !important;
}
/* Prevent h1 color from bleeding into wave spans */
h1.wave-reveal-heading,
h2.wave-reveal-heading,
h3.wave-reveal-heading {
  color: transparent;
}

/* Inline grid mobile overrides */
@media (max-width: 768px) {
  .grid-2peter { grid-template-columns: 1fr !important; }
  .grid-proof { grid-template-columns: 1fr !important; }

  /* Section padding reduction */
  section { padding: 2.5rem 0 !important; }
  .band-warm { padding: 2.5rem 0 !important; }
  .resource-block { padding: 2.5rem 0 !important; }
  .resource-block-warm { padding: 2.5rem 0 !important; }
  .resource-block-dark { padding: 2.5rem 0 !important; }
  .story-section { padding: 2.5rem 0 !important; }

  /* Beehiiv iframe height reduction */
  .beehiiv-embed { height: 320px !important; }

  /* FAQ answer max-height increase */
  .faq-item.open .faq-answer { max-height: 500px !important; }

  /* About page closing CTA grid */
  .about-cta-grid { grid-template-columns: 1fr !important; }

  /* Wave heading word wrap safety */
  .wave-reveal-heading { word-break: break-word; }
  .wave-word { margin-right: 6px; }

  /* Curriculum stage nav horizontal scroll */
  .stage-nav {
    display: flex !important;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .stage-nav::-webkit-scrollbar { display: none; }
  .stage-nav-item { flex-shrink: 0; }

  /* Partner page form */
  .contact-form { padding: 0; }

  /* Resources podcast platform links */
  .platform-links { flex-wrap: wrap; gap: 8px; }

  /* Three col items on mobile */
  .three-col-item { padding: 1.25rem; }

  /* Pillar card text size */
  .pillar-desc { font-size: 13px; }

  /* Timeline tighter on mobile */
  .timeline { padding-left: 1rem; }
  .timeline-age { font-size: 10px; }
  .timeline-title { font-size: 17px; }
}

/* ── OVERFLOW FIX — prevents horizontal scroll on mobile ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* {
  max-width: 100%;
}
img, iframe, video, embed {
  max-width: 100%;
}

/* ── BEEHIIV MOBILE FIX ── */
.beehiiv-embed {
  width: 100% !important;
  max-width: 100% !important;
}
@media (max-width: 768px) {
  .beehiiv-embed {
    height: 360px !important;
    border-radius: 4px !important;
  }
  /* Prevent iframe from causing horizontal scroll */
  .beehiiv-embed-wrapper {
    overflow: hidden;
    width: 100%;
  }
}

/* ── MERCH VIEWER MOBILE FIX ── */
@media (max-width: 768px) {
  .shirt-viewer {
    aspect-ratio: 4/5;
    touch-action: pan-y;
  }
  .shirt-dots {
    gap: 10px;
    padding: 1rem 0 0.5rem;
  }
  .shirt-dot {
    width: 10px;
    height: 10px;
  }
  .shirt-label {
    font-size: 11px;
    padding: 0 8px;
  }
  /* Make merch grid single column with proper spacing */
  .shirt-card {
    margin-bottom: 1rem;
  }
}

/* ── BEEHIIV ADDITIONAL MOBILE FIXES ── */
.beehiiv-embed-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .beehiiv-embed-wrapper {
    margin: 0 !important;
    padding: 0 !important;
  }
  .beehiiv-embed {
    height: 340px !important;
    min-height: 0 !important;
    border-radius: 6px !important;
    display: block !important;
  }
}

/* ── SHIRT VIEWER SWIPE ── */
.shirt-viewer {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
.shirt-viewer:active {
  cursor: grabbing;
}
@media (max-width: 768px) {
  .shirt-viewer::after {
    content: '← swipe →';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(46,36,32,0.4);
    background: rgba(255,255,255,0.8);
    padding: 3px 10px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
  }
  .shirt-viewer.swiped::after {
    opacity: 0;
  }
}
