/* ==========================================================================
   BUILD UKRAINE DEMOCRACY (BUD)
   Cinematic Dark NGO Campaign Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color System */
  --bg-primary: #0A0C11;
  --bg-surface-1: #12151C;
  --bg-surface-2: #181C26;
  --bg-surface-elevated: #1F2432;
  
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-hairline-light: rgba(255, 255, 255, 0.14);
  --border-active: rgba(255, 210, 63, 0.4);
  --border-blue: rgba(76, 125, 255, 0.4);

  --text-primary: #F2F4F8;
  --text-muted: #9AA3B5;
  --text-dim: #657085;

  /* Accent Colors */
  --accent-yellow: #FFD23F;
  --accent-yellow-hover: #E5BC32;
  --accent-blue: #4C7DFF;
  --accent-blue-glow: rgba(76, 125, 255, 0.18);

  /* Typography */
  --font-heading: "Unbounded", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-fallback: "Manrope", -apple-system, sans-serif;

  /* Fluid Typography */
  --text-xs: clamp(0.75rem, 0.72rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);
  --text-md: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --text-lg: clamp(1.35rem, 1.2rem + 0.8vw, 1.75rem);
  --text-xl: clamp(1.85rem, 1.5rem + 1.8vw, 2.75rem);
  --text-hero: clamp(2.6rem, 7.5vw, 6.75rem);
  --text-counter: clamp(2.4rem, 4.5vw, 4rem);

  /* Spacing Scale */
  --section-space: clamp(2.5rem, 5vw, 5rem);
  --space-2xs: clamp(0.25rem, 0.2rem + 0.2vw, 0.5rem);
  --space-xs: clamp(0.5rem, 0.45rem + 0.3vw, 0.75rem);
  --space-sm: clamp(0.875rem, 0.75rem + 0.6vw, 1.25rem);
  --space-md: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --space-lg: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  --space-xl: clamp(4rem, 2.8rem + 4.5vw, 7rem);

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Motion */
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: ease;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-yellow);
  outline-offset: 3px;
}

/* Layout container */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Universal Section Spacing & Adjacent Rhythm */
section:not(.hero-section):not(.page-hero) {
  padding-block: var(--section-space);
}

section:not(.hero-section):not(.page-hero) + section:not(.hero-section):not(.page-hero) {
  padding-top: 0;
}

/* Film grain texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. Floating Glass Pill Header
   -------------------------------------------------------------------------- */
.floating-header {
  position: fixed;
  top: clamp(1rem, 2vh, 1.75rem);
  left: 0;
  width: 100%;
  z-index: 900;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 var(--container-pad);
  transition: transform 0.4s var(--ease-cinematic);
}

.header-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem 0.65rem 1.65rem;
  background: rgba(18, 21, 28, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header--scrolled .header-pill {
  padding: 0.5rem 1rem 0.5rem 1.4rem;
  background: rgba(10, 12, 17, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

/* Wordmark */
.header-brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.brand-dot {
  color: var(--accent-yellow);
  font-size: 1.5rem;
  line-height: 0;
  margin-left: 2px;
}

/* Desktop Nav */
.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-yellow);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  cursor: pointer;
}

.hamburger-btn .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   4. Mobile Fullscreen Overlay
   -------------------------------------------------------------------------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 1000;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-overlay-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem var(--container-pad) 2.5rem;
}

.mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-overlay-btn {
  color: var(--text-primary);
  font-size: 2.25rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: auto 0;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--accent-yellow);
  transform: translateX(8px);
}

.mobile-link-accent {
  color: var(--accent-yellow);
}

.mobile-footer {
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.5rem;
}

.mobile-ukr {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-yellow);
  margin-bottom: 0.25rem;
}

.mobile-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

/* Yellow Accent Button */
.btn-yellow {
  background-color: var(--accent-yellow);
  color: #0A0C11;
  border: 1px solid var(--accent-yellow);
}

.btn-yellow:hover {
  background-color: var(--accent-yellow-hover);
  border-color: var(--accent-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 210, 63, 0.3);
}

.btn-arrow {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Ghost Button */
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline-light);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Uppercase Tag/Eyebrow */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.tag-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
}

/* --------------------------------------------------------------------------
   6. Section 1: Hero (Cinematic Full-Bleed)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vh, 5.5rem);
  padding-top: 7rem;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Background Media & Ken Burns */
.hero-media-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(circle at 65% 35%, #182236 0%, #0A0C11 85%);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 17, 0.4) 0%,
    rgba(10, 12, 17, 0.5) 40%,
    rgba(10, 12, 17, 0.88) 78%,
    #0A0C11 100%
  ),
  linear-gradient(
    90deg,
    rgba(10, 12, 17, 0.85) 0%,
    rgba(10, 12, 17, 0.55) 50%,
    rgba(10, 12, 17, 0.2) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-content {
  max-width: 820px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.hero-title .title-line {
  display: block;
}

.hero-ukr {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--accent-yellow);
  font-style: normal;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: var(--text-md);
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

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

/* Hero scroll indicator */
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.hero-scroll:hover {
  color: var(--accent-yellow);
}

.scroll-track {
  width: 1px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 16px;
  background-color: var(--accent-yellow);
  animation: scrollDrop 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollDrop {
  0% { transform: translateY(-16px); }
  50% { transform: translateY(48px); }
  100% { transform: translateY(48px); }
}

/* --------------------------------------------------------------------------
   7. Section 2: Mission + Numbers
   -------------------------------------------------------------------------- */
.mission-section {
  background-color: var(--bg-primary);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-lg);
  align-items: start;
}

.mission-left {
  position: relative;
}

@media (min-width: 1025px) {
  .mission-left {
    position: sticky;
    top: 8rem;
  }
}

.mission-heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.mission-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 1.5rem;
}

.stat-card {
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  min-height: clamp(170px, 20vw, 220px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 63, 0.3);
}

.stat-num-row {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-yellow);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  margin: 0;
}

.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.stat-unit {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--accent-yellow);
  letter-spacing: -0.01em;
  vertical-align: baseline;
  line-height: 1;
  display: inline-block;
}

.stat-hairline {
  width: 28px;
  height: 1px;
  background-color: var(--border-hairline-light);
  margin: 0.75rem 0;
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   8. Section 3: Photo Strip (Horizontal Snap Gallery)
   -------------------------------------------------------------------------- */
.gallery-section {
  position: relative;
}

.gallery-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.gallery-nav-arrows {
  display: flex;
  gap: 0.6rem;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.arrow-btn:hover {
  background-color: var(--bg-surface-elevated);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--accent-yellow);
  transform: scale(1.05);
}

.gallery-track-outer {
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  padding-inline: var(--container-pad);
  padding-block: 2rem;
  margin-block: -2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex-shrink: 0;
  height: clamp(380px, 50vh, 520px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  will-change: transform;
  transition: transform 0.4s var(--ease-cinematic), border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-w-sm { width: clamp(260px, 24vw, 320px); }
.card-w-md { width: clamp(320px, 30vw, 420px); }
.card-w-lg { width: clamp(380px, 38vw, 500px); }

.gallery-img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1a2233 0%, #12151c 100%);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.7s var(--ease-cinematic);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 12, 17, 0.85) 100%);
  pointer-events: none;
}

.gallery-caption {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   9. Section 4: What We Do
   -------------------------------------------------------------------------- */
.what-section {
  background-color: var(--bg-primary);
}

.what-header {
  margin-bottom: var(--space-lg);
}

.what-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.what-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.what-card {
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  transition: transform 0.4s var(--ease-cinematic), border-color 0.3s ease, box-shadow 0.3s ease;
}

.what-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-blue);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-blue-glow);
}

.card-top-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.card-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.card-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
}

.card-bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-yellow);
}

.link-arrow {
  transition: transform 0.2s ease;
}

.what-card:hover .link-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   10. Section 5: Final CTA
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  text-align: center;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  padding-block: clamp(6rem, 12vw, 10rem);
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  height: min(450px, 55vh);
  background: radial-gradient(ellipse at center, rgba(76, 125, 255, 0.16) 0%, rgba(76, 125, 255, 0.04) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.btn-cta {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.cta-staff-link {
  margin-top: 1rem;
}

.cta-staff-link a {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cta-staff-link a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-surface-1);
  border-top: 1px solid var(--border-hairline);
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

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

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-legal {
  max-width: 58ch;
  line-height: 1.65;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  justify-content: flex-end;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--accent-yellow);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border-hairline);
  padding-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   12. Motion & Scroll Reveals
   -------------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  animation: heroItemFade 0.8s var(--ease-cinematic) forwards;
}

.hero-content .reveal-item:nth-child(1) { animation-delay: 0.1s; }
.hero-content .reveal-item:nth-child(2) { animation-delay: 0.22s; }
.hero-content .reveal-item:nth-child(3) { animation-delay: 0.35s; }
.hero-content .reveal-item:nth-child(4) { animation-delay: 0.48s; }
.hero-content .reveal-item:nth-child(5) { animation-delay: 0.6s; }

@keyframes heroItemFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .what-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero-container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .hero-scroll {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-right {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1.25rem 1rem;
    min-height: 140px;
  }
}

/* --------------------------------------------------------------------------
   14. Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-img {
    animation: none !important;
  }

  .reveal-item,
  .reveal-on-scroll,
  .timeline-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   15. Shared Subpage Hero (~70vh)
   -------------------------------------------------------------------------- */
.page-hero {
  min-height: 65vh;
  min-height: 65svh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--space-xl) + 3rem);
  padding-bottom: var(--space-lg);
  overflow: hidden;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-hairline);
}

.hero-glow-blue {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 50vw, 650px);
  height: clamp(300px, 50vw, 650px);
  background: radial-gradient(circle, rgba(76, 125, 255, 0.15) 0%, rgba(10, 12, 17, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-yellow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(300px, 50vw, 650px);
  height: clamp(300px, 50vw, 650px);
  background: radial-gradient(circle, rgba(255, 210, 63, 0.14) 0%, rgba(10, 12, 17, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.page-hero-lead {
  font-size: var(--text-md);
  color: var(--text-muted);
  max-width: 54ch;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. Work Page: 2x2 Grid & Timeline
   -------------------------------------------------------------------------- */
.work-grid-section {
  position: relative;
}

.cards-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease-cinematic), border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px var(--accent-blue-glow);
}

.feature-card .card-top-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

.feature-card .card-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.feature-card .card-desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Timeline Component */
.timeline-section {
  position: relative;
}

.timeline-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* Central vertical track */
.timeline-track-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background-color: var(--border-hairline);
  z-index: 1;
}

.timeline-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-yellow) 0%, rgba(255, 210, 63, 0.4) 100%);
  box-shadow: 0 0 12px var(--accent-yellow);
  transition: height 0.3s ease-out;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}

.timeline-item {
  display: flex;
  align-items: center;
  width: 50%;
  position: relative;
  padding: 0 2.5rem;
}

.timeline-item:nth-child(odd) {
  align-self: flex-start;
  justify-content: flex-end;
  text-align: right;
  padding-right: 3rem;
  padding-left: 0;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding-left: 3rem;
  padding-right: 0;
}

.timeline-node {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--bg-surface-1);
  border: 2px solid var(--text-dim);
  transform: translateY(-50%);
  transition: all 0.35s ease;
  z-index: 3;
}

.timeline-item:nth-child(odd) .timeline-node {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-node {
  left: -7px;
}

.timeline-item.is-revealed .timeline-node {
  background-color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 14px var(--accent-yellow);
}

.timeline-content-card {
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.65rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  max-width: 380px;
}

.timeline-content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 63, 0.3);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-yellow);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.timeline-text {
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: 1.55;
}

.cta-sub-note {
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   17. Donate Page: Impact Cards, Giving Methods & Native Dialog
   -------------------------------------------------------------------------- */
.donate-help-section {
  position: relative;
}

.help-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.help-card {
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.help-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 63, 0.3);
}

.help-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 210, 63, 0.1);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.help-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.help-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

/* Giving Methods Grid */
.giving-methods-section {
  position: relative;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.method-card {
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
  transition: transform 0.35s var(--ease-cinematic), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  margin: 0;
}

.method-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 210, 63, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.method-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  margin-bottom: 1.5rem;
}

.method-icon {
  width: 44px;
  height: 44px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-details-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1;
  transition: color 0.2s ease;
}

.method-arrow {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.method-card:hover .method-details-label,
.method-card:hover .method-arrow {
  color: var(--accent-yellow);
  transform: translate(2px, -2px);
}

.method-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

/* Native Zelle Dialog Modal */
.zelle-dialog {
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface-1);
  color: var(--text-primary);
  max-width: 520px;
  width: min(92vw, 520px);
  padding: 2rem;
  margin: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.5);
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.zelle-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.zelle-dialog[open] {
  animation: modalFadeScale 0.25s var(--ease-cinematic) forwards;
}

@keyframes modalFadeScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent-yellow);
}

.zelle-modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Email row input-like pill */
.zelle-email-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-hairline-light);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  margin-bottom: 1.75rem;
  gap: 0.75rem;
}

.zelle-email-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.92rem, 3.4vw, 1.125rem);
  color: var(--text-primary);
  word-break: break-all;
}

.btn-copy-pill {
  padding: 0.55rem 1.35rem;
  font-size: var(--text-xs);
  flex-shrink: 0;
}

/* 4 Steps */
.zelle-steps-clean {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.zelle-steps-clean li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 210, 63, 0.15);
  color: var(--accent-yellow);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zelle-modal-note {
  font-size: var(--text-xs);
  color: var(--text-dim);
  line-height: 1.5;
  border-top: 1px solid var(--border-hairline);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   18. Contact Form & Trust Strip
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-header {
  margin-bottom: var(--space-md);
}

.contact-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--text-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 2px rgba(255, 210, 63, 0.2);
  outline: none;
}

.form-error {
  font-size: 0.75rem;
  color: #FF6B6B;
  display: none;
  margin-top: 2px;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: #FF6B6B;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success-msg {
  display: none;
  padding: 2.5rem;
  text-align: center;
  background: rgba(255, 210, 63, 0.08);
  border: 1px solid var(--accent-yellow);
  border-radius: var(--radius-md);
  color: var(--text-primary);
}

.form-success-msg h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
}

.trust-strip {
  padding-top: 0;
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  text-align: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding: 0.5rem 1.25rem;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   19. Responsive Additions for Subpages
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .help-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zelle-card-wrapper {
    grid-column: span 2;
  }

  .zelle-panel-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cards-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .timeline-track-line {
    left: 20px;
  }

  .timeline-item {
    width: 100% !important;
    align-self: flex-start !important;
    text-align: left !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
  }

  .timeline-node {
    left: 13px !important;
    right: auto !important;
  }

  .timeline-content-card {
    max-width: 100%;
  }

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

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

  .zelle-card-wrapper {
    grid-column: span 1;
  }

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

/* --------------------------------------------------------------------------
   20. Chronicle Page Styles
   -------------------------------------------------------------------------- */
.chronicle-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
}

.chronicle-stat-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.chronicle-stat-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-yellow);
}

.chronicle-stat-val.blue {
  color: var(--accent-blue);
}

.chronicle-stat-val.neutral {
  color: var(--text-primary);
}

/* Transparent sticky wrapper (no full-width dark rectangles or borders) */
.courses-tabs-wrapper,
.people-nav-wrapper,
.chronicle-filter-wrapper {
  position: sticky !important;
  top: calc(clamp(1rem, 2vh, 1.75rem) + 5.3rem) !important;
  z-index: 850 !important;
  pointer-events: none !important;
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin-bottom: 2.5rem !important;
}

.chronicle-filter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-pills-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface-1);
  padding: 0.35rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.filter-pills-group::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-pill:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.filter-pill.active {
  background: var(--accent-yellow);
  color: #0A0C11;
  font-weight: 700;
}

.pill-count {
  font-size: 0.85em;
  opacity: 0.75;
}

.year-chips-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.year-chip {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.year-chip:hover {
  color: var(--accent-yellow);
  border-color: rgba(255, 210, 63, 0.35);
  background: rgba(255, 210, 63, 0.08);
  transform: translateY(-1px);
}

/* Timeline & Groups */
.chronicle-year-section {
  position: relative;
  margin-bottom: 3.5rem;
}

.chronicle-year-heading {
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.18);
  text-align: center;
  margin-bottom: 2rem;
  user-select: none;
  scroll-margin-top: 10rem;
}

.chronicle-timeline-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.chronicle-track-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background-color: var(--border-hairline);
  z-index: 1;
}

.chronicle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.chronicle-item {
  display: flex;
  align-items: flex-start;
  width: 50%;
  position: relative;
}

.chronicle-item:nth-child(odd) {
  align-self: flex-start;
  justify-content: flex-end;
  padding-right: 2.75rem;
  padding-left: 0;
}

.chronicle-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 2.75rem;
  padding-right: 0;
}

.chronicle-node {
  position: absolute;
  top: 2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--bg-surface-1);
  border: 2px solid var(--text-dim);
  z-index: 3;
  transition: all 0.35s ease;
}

.chronicle-item:nth-child(odd) .chronicle-node {
  right: -7px;
}

.chronicle-item:nth-child(even) .chronicle-node {
  left: -7px;
}

/* Nodes ignite with neon glow ONLY when reached by the scroll line (is-revealed) */
.chronicle-item.is-revealed.node-outreach .chronicle-node {
  border-color: var(--accent-yellow) !important;
  background-color: var(--accent-yellow) !important;
  box-shadow: 0 0 14px var(--accent-yellow) !important;
}

.chronicle-item.is-revealed.node-conference .chronicle-node {
  border-color: var(--accent-blue) !important;
  background-color: var(--accent-blue) !important;
  box-shadow: 0 0 14px var(--accent-blue) !important;
}

.chronicle-item.is-revealed.node-lecture .chronicle-node {
  border-color: #E2E8F0 !important;
  background-color: #E2E8F0 !important;
  box-shadow: 0 0 14px rgba(226, 232, 240, 0.7) !important;
}

.chronicle-card {
  background-color: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.65rem;
  width: 100%;
  max-width: 440px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--ease-cinematic);
}

.chronicle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 63, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 210, 63, 0.08);
}

.chronicle-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.thread-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.thread-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.thread-tag.tag-outreach { color: var(--accent-yellow); }
.thread-tag.tag-outreach .thread-tag-dot { background: var(--accent-yellow); }

.thread-tag.tag-conference { color: var(--accent-blue); }
.thread-tag.tag-conference .thread-tag-dot { background: var(--accent-blue); }

.thread-tag.tag-lecture { color: #CBD5E1; }
.thread-tag.tag-lecture .thread-tag-dot { background: #CBD5E1; }

.chronicle-meta {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.chronicle-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.chronicle-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.chronicle-img-slot {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: var(--bg-surface-2);
}

.chronicle-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chronicle-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.chronicle-empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--text-muted);
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 2rem auto;
}

.chronicle-empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .chronicle-track-line {
    left: 18px;
  }

  .chronicle-item {
    width: 100% !important;
    align-self: flex-start !important;
    text-align: left !important;
    padding-left: 45px !important;
    padding-right: 0 !important;
  }

  .chronicle-node {
    left: 11px !important;
    right: auto !important;
    top: 1.5rem;
  }

  .chronicle-card {
    max-width: 100%;
  }

  .year-chips-group {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   21. People Page Styles
   -------------------------------------------------------------------------- */
.people-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.people-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface-1);
  padding: 0.35rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
}

.people-nav-link {
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.people-nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.people-nav-link.active {
  background: var(--accent-yellow);
  color: #0A0C11;
  font-weight: 700;
}

/* Person Profile Section */
.person-section {
  position: relative;
  overflow: visible;
  border-bottom: 1px solid var(--border-hairline);
}

.person-section,
section.person-section + section.person-section {
  padding-block: clamp(4.5rem, 8vw, 7rem) !important;
}

.person-section:last-of-type {
  border-bottom: none;
}

.person-watermark {
  position: absolute;
  top: 5%;
  right: 6%;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.035);
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.person-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.person-section:nth-child(even) .person-row {
  grid-template-columns: 1fr minmax(280px, 380px);
}

.person-section:nth-child(even) .person-portrait-col {
  order: 2;
}

.person-section:nth-child(even) .person-info-col {
  order: 1;
}

/* Portrait & Frame Backing */
.person-portrait-wrap {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}

.person-frame-backing {
  position: absolute;
  inset: -8px -8px -8px -8px;
  border: 1px solid rgba(255, 210, 63, 0.2);
  border-radius: 32px;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-2.5deg);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.person-section:nth-child(even) .person-frame-backing {
  transform: rotate(2.5deg);
  border-color: rgba(76, 125, 255, 0.25);
}

.person-portrait-wrap:hover .person-frame-backing {
  transform: rotate(0deg);
  border-color: rgba(255, 210, 63, 0.45);
}

.person-portrait {
  position: relative;
  z-index: 2;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #181C26 0%, #10131A 100%);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.person-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.person-portrait-wrap:hover .person-img {
  transform: scale(1.03);
}

/* Initials Fallback */
.person-initials-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #1E2536 0%, #0D1017 100%);
  z-index: 1;
}

.person-initials {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--accent-yellow);
  letter-spacing: -0.02em;
  opacity: 0.85;
}

.person-initials-sub {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* Profile Info Column */
.person-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.person-role {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.person-name {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.person-intro {
  font-size: var(--text-md);
  line-height: 1.6;
  color: #E2E8F0;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

/* Expandable Bio Accordion */
.person-bio-accordion {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.person-bio-accordion.expanded {
  grid-template-rows: 1fr;
}

.person-bio-inner {
  min-height: 0;
  overflow: hidden;
}

.person-bio-inner p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.person-bio-inner p:last-child {
  margin-bottom: 1.25rem;
}

/* Bio Toggle Button */
.btn-bio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  transition: all 0.25s ease;
}

.btn-bio-toggle:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  background: rgba(255, 210, 63, 0.06);
}

.btn-bio-toggle .toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.85em;
}

.btn-bio-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* Education Line */
.person-education {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
}

.edu-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.edu-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

/* Responsive adjustments for People page */
@media (max-width: 900px) {
  .people-nav-wrapper {
    display: none;
  }

  .person-row {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .person-section:nth-child(even) .person-portrait-col {
    order: 0;
  }

  .person-section:nth-child(even) .person-info-col {
    order: 1;
  }

  .person-portrait-wrap {
    max-width: 300px;
    margin: 0 auto;
  }

  .person-watermark {
    font-size: 5rem;
    top: 2%;
    right: 4%;
  }
}

/* --------------------------------------------------------------------------
   22. Courses Page Styles
   -------------------------------------------------------------------------- */
.courses-tabs-wrapper {
  position: relative;
  z-index: 10;
  padding: 1rem 0;
  margin-bottom: 2.5rem;
  background: transparent;
  border-bottom: none;
}

.courses-tabs-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.courses-tabs-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface-1);
  padding: 0.35rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  max-width: 100%;
}

.courses-tab-btn {
  position: relative;
  z-index: 2;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.courses-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.courses-tab-btn.active.tab-yellow {
  background: var(--accent-yellow);
  color: #0A0C11;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 210, 63, 0.35);
}

.courses-tab-btn.active.tab-blue {
  background: var(--accent-blue);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(76, 125, 255, 0.35);
}

/* Course Panels */
.course-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Course Intro Blocks */
.course-intro-block {
  padding-bottom: var(--section-space);
}

.course-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 210, 63, 0.1);
  color: var(--accent-yellow);
  border: 1px solid rgba(255, 210, 63, 0.25);
  letter-spacing: 0.04em;
}

.course-badge.badge-blue {
  background: rgba(76, 125, 255, 0.1);
  color: var(--accent-blue);
  border-color: rgba(76, 125, 255, 0.25);
}

.course-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.course-subtitle {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--accent-yellow);
  margin-bottom: 1.25rem;
}

.course-subtitle.blue {
  color: var(--accent-blue);
}

.course-intro-text {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 65ch;
  margin-bottom: 2rem;
}

.course-btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Topic Cards (Syllabus) */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.topic-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.topic-card:hover {
  border-color: rgba(255, 210, 63, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 210, 63, 0.08);
}

.topic-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 0.5rem;
}

.topic-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.topic-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.topic-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.topic-progress-fill {
  height: 100%;
  background: var(--accent-yellow);
  border-radius: 2px;
}

/* Readings Chips */
.readings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.reading-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.reading-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.course-details {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.course-details summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}
/* Allow .accordion-content to collapse to absolute 0px without padding resistance */
.course-details .accordion-content {
  padding: 0 !important;
  border-top: none !important;
  overflow: hidden !important;
}

/* Inner elements hold the padding safely */
.course-details .accordion-content > * {
  padding: 1.25rem 1.5rem 1.5rem 1.5rem !important;
  border-top: 1px solid var(--border-hairline) !important;
  margin: 0 !important;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  font-size: var(--text-xs);
  transition: border-color 0.2s, background 0.2s;
}

.schedule-item:hover {
  border-color: rgba(255, 210, 63, 0.4);
  background: rgba(255, 210, 63, 0.03);
}

.schedule-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.schedule-dates {
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: var(--accent-yellow);
  text-align: right;
}

.schedule-item.exam-item {
  grid-column: 1 / -1;
  padding: 1.25rem 1.6rem;
  border-color: rgba(255, 210, 63, 0.4);
  background: rgba(255, 210, 63, 0.05);
  box-shadow: 0 0 25px rgba(255, 210, 63, 0.08);
}

.exam-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-yellow);
  box-shadow: 0 0 6px rgba(255, 210, 63, 0.6);
}

/* Callout Box */
.course-callout-warning {
  background: rgba(76, 125, 255, 0.06);
  border: 1px solid rgba(76, 125, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-block: 2rem;
  box-shadow: 0 0 25px rgba(76, 125, 255, 0.08);
}

.course-callout-warning p {
  color: #E2E8F0;
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Registration Section & Cards */
.course-reg-section {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 210, 63, 0.04) 0%, transparent 100%);
  border: 1px solid rgba(255, 210, 63, 0.2);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin-block: var(--section-space);
}

.course-reg-section.blue-reg {
  background: linear-gradient(180deg, rgba(76, 125, 255, 0.04) 0%, transparent 100%);
  border-color: rgba(76, 125, 255, 0.25);
}

.course-reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 769px) {
  #panel-investment .course-reg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.course-reg-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.course-reg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 63, 0.4);
}

.course-reg-card .btn {
  margin-top: auto;
}

.course-reg-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.course-reg-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
}

.reg-note {
  font-size: var(--text-xs);
  color: var(--text-dim);
  margin-top: 1.5rem;
  text-align: center;
}

/* Two Columns & Audience Cards */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.audience-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.3s ease;
}

.audience-card:hover {
  border-color: rgba(76, 125, 255, 0.4);
}

.audience-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.audience-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* 6 Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
}

.step-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

/* Lecture Cards (Investment Series) */
.lectures-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.lecture-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 70px 180px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lecture-card:hover {
  border-color: rgba(76, 125, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.lecture-card.is-past {
  opacity: 0.55;
}

.lecture-card.is-past:hover {
  opacity: 0.85;
}

.lecture-card.is-next {
  border-color: var(--accent-yellow);
  background: rgba(255, 210, 63, 0.04);
  box-shadow: 0 0 25px rgba(255, 210, 63, 0.12);
}

.lecture-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dim);
}

.lecture-card.is-next .lecture-num {
  color: var(--accent-yellow);
}

.lecture-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lecture-date {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-primary);
}

.lecture-time {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.lecture-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lecture-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.lecture-status-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.status-tag.tag-past {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.status-tag.tag-next {
  background: var(--accent-yellow);
  color: #0A0C11;
  box-shadow: 0 0 12px rgba(255, 210, 63, 0.5);
}

.status-tag.tag-upcoming {
  background: rgba(76, 125, 255, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(76, 125, 255, 0.3);
}

/* Speaker Chips */
.speaker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.speaker-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem 0.3rem 0.35rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.speaker-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255, 210, 63, 0.3);
}

.speaker-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Speaker Details Dialog Modal */
.speaker-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  max-height: 85vh;
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--border-hairline-light);
  border-radius: 24px;
  background-color: #12151C;
  color: var(--text-primary);
  max-width: 580px;
  width: calc(100% - 2rem);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 40px rgba(76, 125, 255, 0.12);
}

.speaker-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.speaker-dialog-inner {
  padding: 2.25rem 2rem;
  position: relative;
}

.speaker-dialog-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.speaker-dialog-close:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.speaker-dialog-lecture-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  padding-right: 2.5rem;
}

.speaker-dialog-lecture-meta {
  font-size: var(--text-xs);
  color: var(--accent-yellow);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.speaker-bio-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
}

.speaker-bio-item:first-of-type {
  border-top: 1px solid var(--border-hairline);
}

.speaker-dialog-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--accent-blue) 0%, #0F2D5C 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(76, 125, 255, 0.3);
}

.speaker-bio-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.speaker-bio-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.speaker-bio-role {
  font-size: var(--text-xs);
  color: var(--accent-yellow);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.speaker-bio-text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive adjustments for Courses page */
@media (max-width: 900px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }

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

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

  .lecture-num {
    display: none;
  }

  .courses-tabs-pill {
    width: 100%;
    display: flex;
  }

  .courses-tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.55rem 0.75rem;
  }

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

  .schedule-item.exam-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .schedule-item.exam-item .schedule-dates {
    text-align: left;
    white-space: normal;
    line-height: 1.5;
  }
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.cta-courses-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}
.cta-strip-label {
  font-size: var(--text-xs);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-right: 0.35rem;
}
.cta-course-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}
.cta-course-badge:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.badge-dot.dot-yellow {
  background: var(--accent-yellow);
  box-shadow: 0 0 10px var(--accent-yellow);
}
.badge-dot.dot-blue {
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}
.badge-arr {
  font-size: 1.1em;
  transition: transform 0.2s ease;
}
.cta-course-badge:hover .badge-arr {
  transform: translateX(3px);
}





/* Floating capsule opacity & legibility fix */
.courses-tabs-pill,
.people-nav-pill,
.filter-pills-group,
.year-chips-group {
  background: rgba(13, 16, 23, 0.96) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7) !important;
}

.year-chip {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #F2F4F8 !important;
}

/* Custom Ultra-Dark Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; background: #0A0C11; }
::-webkit-scrollbar-track { background: #0A0C11; }
::-webkit-scrollbar-thumb { background: #1C2230; border-radius: 9999px; border: 2px solid #0A0C11; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-yellow); }

/* Tactile Button Feedback */
.btn:active { transform: scale(0.97) !important; }
.btn-yellow { box-shadow: 0 4px 20px rgba(255, 210, 63, 0.22); }
.btn-yellow:hover { box-shadow: 0 8px 30px rgba(255, 210, 63, 0.42); }

/* Transparency Trust Banner */
.transparency-banner { margin-top: 3rem; padding: 2.25rem 2.5rem; background: linear-gradient(135deg, rgba(255,210,63,0.06) 0%, rgba(76,125,255,0.04) 100%); border: 1px solid rgba(255,210,63,0.25); border-radius: var(--radius-xl); text-align: center; }
.transparency-badge { display: inline-block; font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700; color: var(--accent-yellow); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; }
.transparency-text { font-size: var(--text-base); color: #E2E8F0; line-height: 1.65; max-width: 75ch; margin: 0 auto; }

/* Donor Impact Tiers */
.impact-tiers-wrap { margin-bottom: 3.5rem; }
.impact-tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.tier-card { background: var(--bg-surface-1); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; transition: all 0.3s ease; }
.tier-card:hover { transform: translateY(-4px); border-color: rgba(255,210,63,0.35); box-shadow: 0 14px 30px rgba(0,0,0,0.4); }
.tier-card-highlight { border-color: rgba(76,125,255,0.3); background: linear-gradient(180deg, rgba(76,125,255,0.06) 0%, var(--bg-surface-1) 100%); }
.tier-amount { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--accent-yellow); display: block; margin-bottom: 0.5rem; }
.tier-card-highlight .tier-amount { color: var(--accent-blue); }
.tier-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; }
.tier-desc { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.55; }

/* Video Preview Badge on Course */
.video-preview-badge { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.75rem; background: var(--bg-surface-1); border: 1px solid rgba(255,210,63,0.3); border-radius: var(--radius-lg); margin-top: 1.75rem; flex-wrap: wrap; box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.video-play-pulse { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-yellow); color: #0A0C11; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; box-shadow: 0 0 18px rgba(255,210,63,0.5); flex-shrink: 0; }
.video-preview-info { flex: 1; min-width: 240px; }
.video-preview-title { display: block; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.2rem; }
.video-preview-sub { font-size: var(--text-xs); color: var(--text-muted); }

/* 1. Restore clicks on all floating navigation buttons */
.courses-tabs-pill,
.courses-tab-btn,
.people-nav-pill,
.people-nav-link,
.filter-pills-group,
.filter-pill,
.year-chips-group,
.year-chip {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* 2. Clean Year Chips (remove container box) */
.year-chips-group {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}
.year-chip {
  background: rgba(13, 16, 23, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--radius-pill) !important;
  color: #F2F4F8 !important;
  padding: 0.35rem 0.85rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

/* 3. Hero divider & nav spacing clearance */
.page-hero {
  border-bottom: none !important;
}
.courses-tabs-wrapper,
.people-nav-wrapper,
.chronicle-filter-wrapper {
  margin-top: 1.5rem !important;
  margin-bottom: 3rem !important;
}

/* Donor Strategic Callout */
.donor-mission-callout {
  background: linear-gradient(135deg, rgba(76, 125, 255, 0.08) 0%, rgba(255, 210, 63, 0.05) 100%);
  border: 1px solid rgba(76, 125, 255, 0.28);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}
.callout-tag {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.callout-text {
  font-size: var(--text-sm);
  color: #E2E8F0;
  line-height: 1.65;
  margin: 0;
}

/* Hero Audience Bridges & FAQ Enhancements */
.hero-donor-bridge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  background: rgba(76, 125, 255, 0.08);
  border: 1px solid rgba(76, 125, 255, 0.25);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.bridge-tag {
  color: var(--accent-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.bridge-link {
  color: var(--accent-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.hero-student-bridge {
  width: 100%;
  margin-top: 0.75rem;
}
.hero-student-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.15rem;
  background: rgba(255, 210, 63, 0.08);
  border: 1px solid rgba(255, 210, 63, 0.3);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.25s ease;
}
.hero-student-pill:hover {
  background: rgba(255, 210, 63, 0.16);
  border-color: var(--accent-yellow);
  transform: translateY(-2px);
  color: #FFFFFF;
}
.bridge-flag {
  font-size: 1rem;
  line-height: 1;
}
.bridge-arr {
  color: var(--accent-yellow);
  transition: transform 0.2s ease;
}
.hero-student-pill:hover .bridge-arr {
  transform: translateX(4px);
}

/* Redesign & compact the US Donors bridge badge */
.hero-donor-bridge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  max-width: 620px !important;
  width: auto !important;
  margin-top: 1rem !important;
  padding: 0.4rem 1rem !important;
  background: rgba(76, 125, 255, 0.06) !important;
  border: 1px solid rgba(76, 125, 255, 0.2) !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
}
.hero-donor-bridge .bridge-tag {
  font-size: 0.72rem !important;
  white-space: nowrap !important;
}

.chronicle-year-section {
  scroll-margin-top: 11rem;
}

/* Softer reveal transitions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px) !important;
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.reveal-on-scroll.is-revealed,
.reveal-on-scroll.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.chronicle-filter-wrapper {
  position: sticky !important;
  top: calc(clamp(1rem, 2vh, 1.75rem) + 5.4rem) !important;
  z-index: 850 !important;
  pointer-events: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 2.5rem !important;
}

/* Topic Cards clean redesign */
.topic-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.3s ease !important;
  will-change: transform;
}

.topic-num {
  font-family: var(--font-heading) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--accent-yellow) !important;
  margin-bottom: 0.5rem !important;
}

.topic-progress-bar {
  display: block !important;
  width: 100% !important;
  height: 4px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  margin-top: 1.25rem !important;
  margin-bottom: 0.65rem !important;
}

.topic-progress-fill {
  height: 100% !important;
  background: var(--accent-yellow) !important;
  border-radius: 9999px !important;
}

.topic-meta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.35rem 0.85rem !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
  margin-top: 0 !important;
}

.topic-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(255, 210, 63, 0.4) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
}

/* Eliminate ghost boxes on Year Chips */
.year-chips-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  background: #0E1118 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.35rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.year-chip {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-heading) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.year-chip:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Synchronized arrow rotation matching the exact millisecond of transition */
.accordion-arrow {
  display: inline-block !important;
  font-size: 1.1rem !important;
  color: var(--accent-yellow) !important;
  line-height: 1 !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transform-origin: center center !important;
}

.course-details.is-open .accordion-arrow {
  transform: rotate(180deg) !important;
}
.course-details:not(.is-open) .accordion-arrow {
  transform: rotate(0deg) !important;
}


/* University Partner Ticker */
.ticker-section {
  padding: 1.5rem 0 2.5rem;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(18, 21, 28, 0.4);
}
.ticker-header-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}
.ticker-track-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  white-space: nowrap;
  animation: tickerFlow 38s linear infinite;
  will-change: transform;
}
.ticker-track:hover {
  animation-play-state: paused;
}
@keyframes tickerFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #D1D5DB;
  letter-spacing: 0.02em;
}
.ticker-dot {
  color: var(--accent-yellow);
  font-weight: 700;
  opacity: 0.6;
}

/* Field Stories Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.story-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 63, 0.35);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.story-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-yellow);
  background: rgba(255, 210, 63, 0.1);
  border: 1px solid rgba(255, 210, 63, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.85rem;
}
.story-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.story-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}


/* ── Seamless university ticker ── */
.ticker-section {
  padding: 1rem 0 2rem !important;
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.ticker-header-label {
  font-size: 0.68rem !important;
  letter-spacing: 0.16em !important;
  opacity: 0.85 !important;
  margin-bottom: 0.75rem !important;
}
.ticker-item {
  color: #9AA3B5 !important;
  font-size: 0.88rem !important;
}

/* ── Tighten donate page spacing ── */
.impact-tiers-wrap {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.field-stories-section {
  padding-block: var(--space-md) !important;
}
.stories-grid {
  margin-bottom: 0 !important;
}
.giving-methods-section {
  padding-top: var(--space-md) !important;
}

/* ── IRS Verification & Faculty Callout ── */
.irs-verification-note {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  color: #657085;
  letter-spacing: 0.02em;
}
.faculty-callout-section {
  padding-block: var(--space-md) !important;
}
.faculty-callout-card {
  background: linear-gradient(135deg, rgba(76, 125, 255, 0.08) 0%, rgba(18, 21, 28, 0.95) 100%);
  border: 1px solid rgba(76, 125, 255, 0.28);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.faculty-callout-content {
  max-width: 680px;
}
.faculty-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.faculty-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.roadmap-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-yellow);
  background: rgba(255, 210, 63, 0.08);
  border: 1px solid rgba(255, 210, 63, 0.25);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  letter-spacing: 0.02em;
}

/* ── Chronicle scroll progress line ── */
.chronicle-track-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background-color: var(--border-hairline);
  z-index: 1;
}
.chronicle-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-yellow) 0%, rgba(255, 210, 63, 0.4) 100%);
  box-shadow: 0 0 12px var(--accent-yellow);
  transition: height 0.15s ease-out;
  z-index: 2;
  will-change: height;
}
@media (max-width: 768px) {
  .chronicle-track-line { left: 18px !important; }
}

@media (max-width: 768px) {
  /* Fix giant distorted oval on Donate page */
  .trust-strip {
    padding-inline: 0.5rem !important;
  }
  .trust-pill {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.45rem !important;
    border-radius: 16px !important;
    padding: 1rem 1.25rem !important;
    text-align: center !important;
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .trust-pill span[style*="opacity"] {
    display: none !important;
  }
  .irs-verification-note {
    text-align: center !important;
    line-height: 1.4 !important;
    padding-inline: 0.5rem !important;
  }

  /* Fix giant crooked blue oval on Courses hero */
  .hero-donor-bridge {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    border-radius: 16px !important;
    padding: 0.85rem 1.15rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 1.25rem !important;
  }
  .hero-donor-bridge .bridge-tag {
    font-size: 0.7rem !important;
  }
  .hero-donor-bridge span:not(.bridge-tag) {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }
}
