/* =========================================================
   TEENS ON A MISSION — main stylesheet
   Organized in sections:
   1. Design tokens (colors, fonts, spacing)
   2. Reset / base
   3. Layout helpers
   4. Header / navigation
   5. Buttons & badges
   6. Hero
   7. Cards
   8. Sections (mission, events, gallery, founders, etc.)
   9. Forms
   10. Footer
   11. Responsive
   ========================================================= */

/* 1. DESIGN TOKENS --------------------------------------- */
:root {
  /* Colors */
  --ink: #0b1220;          /* near-black navy background */
  --indigo: #1b2559;       /* deep indigo panels */
  --indigo-light: #2b3672;
  --gold: #f5a623;         /* torch gold accent */
  --ember: #e85d3d;        /* ember orange accent */
  --paper: #fbf8f3;        /* warm off-white */
  --paper-dim: #f0ebe1;
  --slate: #4a5068;        /* body text on light bg */
  --slate-light: #7c82a0;
  --white: #ffffff;

  /* Type */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  /* Misc */
  --radius: 16px;
  --max-width: 1180px;
  --shadow: 0 20px 40px rgba(11, 18, 32, 0.18);
}

/* 2. RESET / BASE ----------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { max-width: 62ch; }

ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 3. LAYOUT HELPERS ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section { padding-block: var(--space-xl); }
.section--tight { padding-block: var(--space-lg); }
.section--dark { background: var(--ink); color: var(--paper-dim); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--indigo { background: var(--indigo); color: var(--paper-dim); }
.section--indigo h2, .section--indigo h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: var(--space-sm);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ember);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head--center { max-width: 640px; margin-inline: auto; text-align: center; }

/* Scroll-reveal animation — elements fade + rise into view once,
   the first time they enter the viewport. JS toggles .is-visible. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* angled banner divider — signature element evoking a crusade banner */
.banner-divider {
  height: 64px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
}
.banner-divider--flip {
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
}

/* 4. HEADER / NAV -------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.nav-list a {
  color: var(--paper-dim);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-list .btn { color: var(--ink); }

/* 5. BUTTONS & BADGES ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover { box-shadow: 0 10px 24px rgba(245, 166, 35, 0.4); }

.btn--ember {
  background: var(--ember);
  color: var(--white);
}
.btn--ember:hover { box-shadow: 0 10px 24px rgba(232, 93, 61, 0.4); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--outline:hover { background: rgba(255,255,255,0.08); }

.btn--block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* 6. HERO ------------------------------------------------------ */
/* Full-screen hero with an auto-advancing background slideshow,
   a dark overlay for readability, and a fade at the bottom that
   blends into the very dark section that follows it. */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink); /* shows briefly before the first slide loads */
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(11, 18, 32, 0.55) 0%,
    rgba(11, 18, 32, 0.7) 55%,
    var(--ink) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding-block: var(--space-xl);
}

.hero-inner .eyebrow { color: var(--gold); justify-content: center; }
.hero-inner .eyebrow::before { background: var(--gold); }

.hero h1 { color: var(--white); margin-bottom: var(--space-sm); }
.hero h1 span { color: var(--gold); }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--paper-dim);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

/* Smooth dark fade at the very bottom of the hero */
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0) 0%, var(--ink) 100%);
}

/* Bouncing scroll-down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: var(--white);
  animation: scrollBounce 2.2s ease-in-out infinite;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.scroll-indicator:hover { border-color: var(--gold); color: var(--gold); }

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* 7. CARDS ------------------------------------------------------ */
.grid {
  display: grid;
  gap: var(--space-md);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11,18,32,0.08);
  border: 1px solid rgba(11,18,32,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(11,18,32,0.18), 0 0 0 1px rgba(245,166,35,0.16);
}

.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.06); }

.card-body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.card-body h3 { color: var(--ink); }
.card-body p { color: var(--slate); font-size: 0.95rem; }

.card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--paper-dim);
  color: var(--ember);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.card-meta {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--slate-light);
  font-weight: 600;
}

.card-footer { margin-top: auto; padding-top: var(--space-xs); }

/* Feature / value cards (icon-based, on dark or light) */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: 0 10px 24px rgba(11,18,32,0.06);
  border-top: 4px solid var(--gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(11,18,32,0.14);
}
.feature-card h3 { margin-block: var(--space-xs); }
.feature-card p { font-size: 0.94rem; }

/* Large single mission-statement feature card (Home page) */
.mission-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  max-width: 640px;
  background: var(--white);
  border-radius: 24px;
  padding: var(--space-xl);
  box-shadow: 0 30px 60px rgba(11,18,32,0.12);
  border-top: 6px solid var(--gold);
}
.mission-feature .badge { font-size: 1.3rem; }
.mission-feature p { font-size: 1.05rem; }

/* Large community cards (Home + Communities pages) */
.community-card-lg {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(11,18,32,0.10);
  border: 1px solid rgba(11,18,32,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.community-card-lg:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 34px 64px rgba(11,18,32,0.22), 0 0 0 1px rgba(245,166,35,0.28);
}
.community-card-lg .card-media { aspect-ratio: 16 / 10; }
.community-card-lg .card-media img { transition: transform 0.6s ease; }
.community-card-lg:hover .card-media img { transform: scale(1.06); }
.community-card-lg .card-body { padding: var(--space-lg); gap: 0.85rem; }
.community-card-lg h3 { font-size: 1.55rem; }
.community-card-lg p { font-size: 0.98rem; }

/* 8. SPECIFIC SECTIONS -------------------------------------------- */

/* Mission statement panel */
.mission-panel {
  background: var(--indigo);
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
}
.mission-panel blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 46ch;
  margin-inline: auto;
}
.mission-panel cite {
  display: block;
  margin-top: var(--space-sm);
  font-style: normal;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Scripture card — sits in the very dark section right after the hero */
.scripture-card {
  background: var(--gold);
  color: var(--ink);
  border-radius: 20px;
  padding: var(--space-lg);
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}
.scripture-ref {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.7);
  margin-bottom: var(--space-sm);
}
.scripture-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.4;
  max-width: none;
  margin-inline: auto;
}

/* Founders */
.founder-card { text-align: center; }
.founder-card .card-media { aspect-ratio: 3/4; }
.founder-role {
  color: var(--ember);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xs);
}
.gallery-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 6px 16px rgba(11,18,32,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(11,18,32,0.22);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11,18,32,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: var(--space-md);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(900px, 90vw); max-height: 82vh; border-radius: 8px; }
.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--gold);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Talk Zone topic list */
.topic-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.topic-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-md);
  border-left: 4px solid var(--ember);
  box-shadow: 0 6px 16px rgba(11,18,32,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.topic-item:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 32px rgba(11,18,32,0.1);
}
.topic-item h3 { margin-bottom: 0.3rem; }

/* Communities */
.community-card .card-body { gap: 0.4rem; }

/* Page header (used on interior pages) */
.page-header {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding-block: calc(var(--space-lg) + var(--space-sm));
  text-align: center;
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
}
.page-header h1 { color: var(--white); }
.page-header p { margin-inline: auto; color: var(--paper-dim); }

/* 9. FORMS ------------------------------------------------------ */
.form-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
  max-width: 680px;
  margin-inline: auto;
}

.form-row { margin-bottom: var(--space-md); }
.form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--paper-dim);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  outline: none;
}

textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.85rem; color: var(--slate-light); margin-top: var(--space-sm); }

.form-success {
  display: none;
  background: #eaf7ee;
  border: 2px solid #2f9e52;
  color: #216b3a;
  padding: var(--space-md);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  font-weight: 600;
}
.form-success.is-visible { display: block; }

/* 10. FOOTER ------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: var(--paper-dim);
  padding-block: var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: var(--space-sm); }
.footer-col h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: var(--paper-dim); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--slate-light);
}

/* 11. RESPONSIVE ------------------------------------------------------ */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    gap: var(--space-sm);
    box-shadow: 0 12px 24px rgba(11, 18, 32, 0.35);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .form-row--2col { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-panel { padding: var(--space-md); }
  .hero-inner { padding-block: var(--space-lg); }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { width: 100%; }
  .scripture-card { padding: var(--space-md); }
  .mission-feature { padding: var(--space-lg); max-width: 100%; }
  .community-card-lg .card-body { padding: var(--space-md); }
}

/* =========================================================================
   FOUNDERS PAGE — modern founder cards + animated "Founding Story" section
   Scoped entirely to new, uniquely-named classes (.founders-*, 
   .founder-card-modern, .founder-photo, .founder-info, .founding-*),
   so nothing here touches shared components or other pages.
   ========================================================================= */

/* --- Founder cards grid --- */
.founders-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.founder-card-modern {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(11, 18, 32, 0.08);
  border: 1px solid rgba(11, 18, 32, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.founder-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 56px rgba(11, 18, 32, 0.18), 0 0 0 1px rgba(245, 166, 35, 0.25);
}
/* Gentle staggered entrance so the three cards don't animate in unison */
.founder-card-modern:nth-child(2) { transition-delay: 0.1s; }
.founder-card-modern:nth-child(3) { transition-delay: 0.2s; }

.founder-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--indigo);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.founder-card-modern:hover .founder-photo img { transform: scale(1.07); }
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0) 55%, rgba(11, 18, 32, 0.85) 100%);
}

.founder-role-badge {
  position: absolute;
  left: var(--space-sm);
  bottom: var(--space-sm);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.founder-info { padding: var(--space-md) var(--space-md) var(--space-lg); }
.founder-info .founder-name { margin-bottom: 0.35rem; }
.founder-info .founder-bio { font-size: 0.95rem; color: var(--slate); max-width: none; }

/* --- Founding Story: animated dynamic background section --- */
.founders-story {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1220 0%, #1b2559 50%, #141c40 100%);
  background-size: 220% 220%;
  animation: foundersGradientShift 18s ease-in-out infinite;
  color: var(--white);
}

@keyframes foundersGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.founders-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: foundersOrbFloat 14s ease-in-out infinite;
}
.founders-orb--gold {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.55) 0%, rgba(245, 166, 35, 0) 70%);
  top: -80px;
  left: -60px;
  animation-duration: 14s;
}
.founders-orb--ember {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(232, 93, 61, 0.4) 0%, rgba(232, 93, 61, 0) 70%);
  bottom: -60px;
  right: 8%;
  animation-duration: 16s;
  animation-delay: -4s;
}
.founders-orb--indigo {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 158, 255, 0.28) 0%, rgba(139, 158, 255, 0) 70%);
  top: 20%;
  right: -80px;
  animation-duration: 20s;
  animation-delay: -8s;
}

@keyframes foundersOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -30px) scale(1.08); }
}

.founders-story-inner { position: relative; z-index: 2; }

.founding-quote-card {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 26px;
  padding: var(--space-xl);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.founding-quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.founding-quote-card blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.4;
  max-width: none;
}

.founding-quote-card cite {
  display: block;
  margin-top: var(--space-md);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold);
}

/* Disable the decorative motion for people who prefer reduced motion.
   (More specific than the global `*` rule, so this wins outright —
   these elements simply hold still instead of animating.) */
@media (prefers-reduced-motion: reduce) {
  .founders-story,
  .founders-orb {
    animation: none;
  }
}

@media (max-width: 960px) {
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .founders-grid { grid-template-columns: 1fr; }
  .founding-quote-card { padding: var(--space-lg); }
  .founders-orb { filter: blur(40px); }
}
