/* ============================================================
   THE BODY PROJECT — GLOBAL STYLES
   Warm Academic Excellence design system
   ============================================================ */

/* --- Google Fonts import handled in HTML --- */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors — Stanford Identity palette */
  --teal:       #8C1515;  /* Cardinal Red (primary brand) */
  --teal-dark:  #6f1010;  /* Dark Cardinal (hover/active) */
  --teal-light: #b1040e;  /* Digital Red (interactive accents, matches REAP) */
  --navy:       #2e2d29;  /* Stanford Black (dark sections/footer) */
  --stanford:   #8C1515;
  --coral:      #8C1515;  /* unified to Cardinal */
  --coral-dark: #6f1010;
  --coral-light:#a33a3a;
  --gold:       #b3995d;  /* Sandstone (warm accent) */
  --gold-dark:  #93764a;
  --cream:      #ffffff;  /* white section background */
  --sage:       #f4f4f2;  /* Fog (alternate light section background) */
  --sage-dark:  #e4e4df;
  --text:       #2e2d29;  /* Stanford Black */
  --text-muted: #53565a;  /* Cool Grey */
  --text-light: #76777a;
  --white:      #ffffff;
  --border:     #e0ded8;

  /* Typography */
  --font-display: 'Crimson Text', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-pad:  5rem 0;
  --container:    1200px;
  --gutter:       2rem;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(46,45,41,0.08);
  --shadow-md:  0 4px 20px rgba(46,45,41,0.10);
  --shadow-lg:  0 8px 40px rgba(46,45,41,0.14);

  /* Transitions */
  --ease:       0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Nav height */
  --nav-height: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--coral); }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
}

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   SKIP TO CONTENT (Accessibility)
   ============================================================ */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  background: var(--coral);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   CONTAINER UTILITY
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
}

.site-nav.transparent { background: transparent; }

.site-nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

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

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.nav-logo-primary {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  transition: color var(--ease);
}
.site-nav.transparent .nav-logo-primary { color: var(--white); }
.site-nav.scrolled .nav-logo-primary { color: var(--teal); }

.nav-logo-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--ease);
}
.site-nav.transparent .nav-logo-badge { color: rgba(255,255,255,0.75); }
.site-nav.scrolled .nav-logo-badge { color: var(--gold-dark); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}
.site-nav.transparent .nav-link { color: rgba(255,255,255,0.9); }
.site-nav.scrolled .nav-link { color: var(--text-muted); }

.nav-link:hover, .nav-link.active {
  color: var(--teal);
  background: rgba(140,21,21,0.08);
}
.site-nav.transparent .nav-link:hover { color: var(--white); background: rgba(255,255,255,0.15); }

.nav-link .chevron {
  font-size: 0.65rem;
  transition: transform var(--ease);
  opacity: 0.6;
}
.nav-item:hover .nav-link .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  pointer-events: none;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.nav-item.dropdown-open .nav-link .chevron { transform: rotate(180deg); }

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: background var(--ease), color var(--ease);
}
.nav-dropdown a:hover { background: var(--sage); color: var(--teal); }

/* CTA in nav */
.nav-cta {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  background: var(--coral);
  color: var(--white) !important;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--ease), transform var(--ease) !important;
}
.nav-cta:hover { background: var(--coral-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--ease);
}
.hamburger:hover { background: rgba(140,21,21,0.1); }
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.site-nav.transparent .hamburger-line { background: var(--white); }
.site-nav.scrolled .hamburger-line { background: var(--text); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: var(--sage); color: var(--teal); }
.mobile-menu .mobile-section-label {
  padding: 0.75rem 1rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.mobile-menu .mobile-submenu a {
  padding-left: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 3.5rem) 0 3.5rem;
  overflow: hidden;
  background: linear-gradient(140deg, #5a0c0c 0%, #8C1515 55%, #2e2d29 100%);
}

/* Decorative radial glow — top-right gold */
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179,153,93,0.18) 0%, transparent 62%);
  pointer-events: none;
}

/* Gold-to-coral bottom accent bar */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--coral) 50%, var(--gold) 100%);
}

/* Page hero background image */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-top: 0.75rem;
  max-width: 600px;
  font-family: var(--font-display);
  font-style: italic;
}

/* ============================================================
   HERO (home page)
   ============================================================ */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(90,12,12,0.86) 0%,
    rgba(46,45,41,0.78) 50%,
    rgba(140,21,21,0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-height) + 2rem) var(--gutter) 6rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.92);
  font-style: italic;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-hint::after {
  content: '↓';
  font-size: 1.25rem;
  animation: bounceArrow 1.6s ease-in-out infinite;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140,21,21,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140,21,21,0.3);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section { padding: var(--section-pad); }
.section-cream { background: var(--cream); }
.section-sage { background: var(--sage); }
.section-teal { background: var(--teal); }
.section-navy { background: var(--navy); }
.section-white { background: var(--white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title-lg {
  font-size: clamp(2rem, 5vw, 3.25rem);
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}
.divider-left { margin: 0 0 1.5rem; }

/* ============================================================
   FEATURE CARDS (Home page)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--coral);
  border-radius: 0 0 4px 0;
  transition: height var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(140,21,21,0.25);
}
.card:hover::before { height: 100%; }

/* Color-coded program cards (no icons) */
.program-card { border-top: 4px solid var(--prog, var(--teal)); }
.program-card .card-title { color: var(--prog, var(--text)); }
.program-card::before { background: var(--prog, var(--coral)); }

.card-icon {
  width: 56px; height: 56px;
  background: var(--sage);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: background var(--ease);
}
.card:hover .card-icon { background: rgba(140,21,21,0.12); }

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.card-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--ease), color var(--ease);
}
.card-link:hover { gap: 0.7rem; color: var(--coral); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--teal);
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ============================================================
   TWO-COLUMN SECTIONS
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.two-col-video { align-items: center; }
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--teal);
}
.prose p {
  color: var(--text-muted);
  line-height: 1.8;
}
.prose ul {
  list-style: none;
  margin: 1rem 0 1.25rem;
}
.prose ul li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.prose ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}
.prose ol {
  margin: 1rem 0 1.25rem;
  padding-left: 1.5rem;
}
.prose ol li {
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  padding-left: 0.5rem;
}

/* Video embed */
.video-embed {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: var(--navy);
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
  gap: 1rem;
  min-height: 280px;
}
.video-placeholder .play-btn {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.video-placeholder .play-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(1.08);
}
.video-placeholder span { font-size: 0.9rem; opacity: 0.8; }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-section-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--teal);
  text-align: center;
  margin: 3rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sage-dark);
}

.team-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  transition: box-shadow var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card.reverse { grid-template-columns: 1fr 280px; }
.team-card.reverse .team-photo-col { order: 2; }
.team-card.reverse .team-bio-col { order: 1; }

.team-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  font-size: 3rem;
}
.team-photo-placeholder span {
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.8;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.team-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   VIDEO CARDS GRID (Training page)
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2.5rem;
}

.video-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.video-card-embed {
  aspect-ratio: 16/9;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
}
.video-card-embed iframe { width: 100%; height: 100%; border: none; }
.video-card-body { padding: 1.75rem; }
.video-card-session {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
}
.video-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.video-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   DOCUMENTS PAGE
   ============================================================ */
.doc-section { margin-bottom: 3rem; }
.doc-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sage);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.doc-section-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: all var(--ease);
}
.doc-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.doc-card.featured {
  border-color: var(--gold);
  background: rgba(179,153,93,0.05);
}
.doc-card.featured:hover { border-color: var(--gold-dark); }

.doc-icon {
  width: 44px; height: 44px;
  background: var(--sage);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.doc-card.featured .doc-icon { background: rgba(179,153,93,0.15); }

.doc-info { flex: 1; min-width: 0; }
.doc-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}
.doc-card.featured .doc-name { color: var(--teal); }
.doc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.doc-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  background: var(--teal);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: background var(--ease);
  text-decoration: none;
}
.doc-dl:hover { background: var(--teal-dark); color: var(--white); }

/* ============================================================
   PUBLICATIONS PAGE
   ============================================================ */
.pub-section { margin-bottom: 3rem; }
.pub-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sage-dark);
}

.pub-list { list-style: none; }
.pub-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}
.pub-item:last-child { border-bottom: none; }

.pub-ref {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
  cursor: pointer;
}
.pub-ref:hover { color: var(--coral); }

.pub-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.35rem;
}

/* Helpline / organization list — icon sits beside the text, left-aligned */
.helpline-list .pub-item {
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}
.helpline-list .pub-number {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal);
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion { margin-bottom: 0.75rem; }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all var(--ease);
  font-family: var(--font-body);
}
.accordion-trigger:hover {
  background: var(--sage);
  border-color: var(--sage-dark);
}
.accordion.open .accordion-trigger {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  border-radius: 12px 12px 0 0;
}

.accordion-question {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
}
.accordion.open .accordion-trigger .accordion-question { color: var(--white); }

.accordion-icon {
  width: 28px; height: 28px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--teal);
  transition: transform var(--ease), background var(--ease), color var(--ease);
  flex-shrink: 0;
}
.accordion.open .accordion-trigger .accordion-icon {
  transform: rotate(180deg);
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

.accordion-body {
  display: none;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--sage-dark);
  border-top: none;
  border-radius: 0 0 12px 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.accordion.open .accordion-body { display: block; }

/* ============================================================
   IMPLEMENTATION SECTIONS
   ============================================================ */
.impl-sections { display: flex; flex-direction: column; gap: 0; }

.impl-section {
  padding: 2.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.impl-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.impl-section-number {
  width: 36px; height: 36px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.impl-section p { color: var(--text-muted); line-height: 1.8; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}
/* Tablet: 2 across so cards don't get cramped */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  text-align: center;
  transition: all var(--ease);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  border-color: var(--coral);
  background: rgba(140,21,21,0.03);
}
.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 3px 14px;
  border-radius: 20px;
}

.pricing-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.pricing-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pricing-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.25rem;
}
.pricing-price-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.75rem;
}
.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: start;
  gap: 0.5rem;
}
.pricing-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-detail {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--sage);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(140,21,21,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--stanford);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.footer-affiliation {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-crisis {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.footer-crisis strong { color: var(--white); }
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* ============================================================
   HIGHLIGHT / CALLOUT BOXES
   ============================================================ */
.callout {
  border-left: 4px solid var(--coral);
  background: rgba(140,21,21,0.06);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.callout-teal {
  border-color: var(--teal);
  background: rgba(140,21,21,0.06);
}
.callout-gold {
  border-color: var(--gold);
  background: rgba(179,153,93,0.08);
}
.callout p { margin: 0; font-size: 0.95rem; color: var(--text); }
.callout strong { color: var(--teal); }

/* ============================================================
   NUMBERED LIST (custom)
   ============================================================ */
.numbered-list { list-style: none; counter-reset: items; padding: 0; }
.numbered-list li {
  counter-increment: items;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.numbered-list li::before {
  content: counter(items);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2em;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.5; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HELPER CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-teal    { color: var(--teal); }
.text-coral   { color: var(--coral); }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: var(--white); }
.font-display { font-family: var(--font-display); }
.italic       { font-style: italic; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tag-teal { background: rgba(140,21,21,0.1); color: var(--teal); }
.tag-coral { background: rgba(140,21,21,0.12); color: var(--coral-dark); }
.tag-gold { background: rgba(179,153,93,0.15); color: var(--gold-dark); }

/* ============================================================
   CONTENT INTRO BLOCKS
   ============================================================ */
.intro-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0 2rem;
}
.intro-block p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   BANNER / CTA SECTION
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Force inline for strong/em inside numbered list items */
.numbered-list li span { display: block; line-height: 1.75; }
.numbered-list li span strong,
.numbered-list li span em { display: inline; font-weight: 700; }

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
  .site-nav, .site-footer, .hero-actions, .btn, .scroll-hint { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .page-hero { min-height: auto; padding: 1rem 0; }
  .page-hero-bg { display: none; }
  .page-hero h1 { color: #000; font-size: 24pt; }
  a { color: #000; text-decoration: underline; }
  .doc-dl { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-card { grid-template-columns: 220px 1fr; gap: 2rem; }
  .team-card.reverse { grid-template-columns: 1fr 220px; }
}

@media (max-width: 768px) {
  :root { --gutter: 1.25rem; --section-pad: 3.5rem 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .home-hero { min-height: 100svh; }
  .hero-title { font-size: clamp(2.25rem, 10vw, 4rem); }

  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-reverse { direction: ltr; }

  .team-card,
  .team-card.reverse {
    grid-template-columns: 1fr;
  }
  .team-card.reverse .team-photo-col,
  .team-card.reverse .team-bio-col { order: unset; }
  .team-photo { max-width: 240px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 1.5rem; }
  .stat-item:last-child { border-bottom: none; }

  .video-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }

  .page-hero { padding: calc(var(--nav-height) + 2.5rem) 0 2.5rem; }
  .page-hero h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }

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

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
}

/* ============================================================
   ACTIVE DROPDOWN ITEM INDICATOR
   ============================================================ */
.nav-dropdown a.active {
  color: var(--teal);
  background: var(--sage);
  font-weight: 600;
  position: relative;
  padding-left: 1.25rem;
}
.nav-dropdown a.active::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  background: var(--coral);
  border-radius: 50%;
}

/* Active top-level nav link */
.nav-link.active {
  color: var(--teal) !important;
  background: rgba(140,21,21,0.08) !important;
}
.site-nav.transparent .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,0.15) !important;
}

/* ============================================================
   MOBILE SUBMENU
   ============================================================ */
.mobile-menu .mobile-submenu {
  display: block;
}

/* ============================================================
   FOCUS STYLES (keyboard accessibility)
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

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

/* ============================================================
   SELECTION COLOUR
   ============================================================ */
::selection {
  background: rgba(140,21,21,0.18);
  color: var(--text);
}

/* ============================================================
   EYEBROW SUBHEADINGS — removed site-wide per request
   ============================================================ */
.section-eyebrow,
.page-hero-eyebrow { display: none !important; }

/* ============================================================
   FOUR-UP PROGRAM CARD ROW (Home "Our Programs")
   ============================================================ */
.cards-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.cards-grid-4 .card { padding: 1.75rem 1.5rem; }
.cards-grid-4 .card-title { font-size: 1.15rem; }
.cards-grid-4 .card-desc { font-size: 0.9rem; }

@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards-grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS PAGE
   ============================================================ */
.testimonial-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.testimonial-video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.testimonial-video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.testimonial-video-card .video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.testimonial-video-card .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.testimonial-video-label {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Quote slideshow */
.quote-slider {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.quote-slide {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 5px solid var(--teal);
  border-radius: 18px;
  padding: 3rem 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: quoteFade 0.5s var(--ease);
}
.quote-slide.active { display: block; }
@keyframes quoteFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--teal);
  opacity: 0.25;
  margin-bottom: 1rem;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.quote-author {
  font-weight: 700;
  color: var(--teal);
  font-size: 1rem;
}
.quote-org {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.quote-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.quote-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--teal);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.quote-btn:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.quote-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 56px;
  text-align: center;
}
.quote-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.quote-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sage-dark);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--ease);
}
.quote-dot.active { background: var(--teal); transform: scale(1.3); }

@media (max-width: 560px) {
  .quote-slide { padding: 2rem 1.5rem; }
}
