
/* ============================================================
   VMAT ACADEMY — MAIN STYLESHEET
   Design Direction: Premium Cognitive Lab
   ============================================================ */

/* ─── FONTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS VARIABLES ────────────────────────────────────── */
:root {
  /* Brand Colors */
  --vmat-purple:       #6A2CFF;
  --vmat-purple-light: #8B5CF6;
  --vmat-purple-deep:  #4C1FB8;
  --vmat-gold:         #FFC857;
  --vmat-gold-deep:    #E8A82F;

  /* Surfaces */
  --bg-dark:           #08090F;
  --bg-dark-soft:      #12131A;
  --bg-card-dark:      #1A1B22;
  --bg-cream:          #FAFAF7;
  --bg-cream-soft:     #F2F1ED;

  /* Text */
  --text-light:        #E8E8EA;
  --text-light-muted:  #8B8C95;
  --text-dark:         #0A0B12;
  --text-dark-muted:   #6B6C75;

  /* Borders & Effects */
  --border-light:      rgba(255,255,255,0.08);
  --border-dark:       rgba(10,11,18,0.08);
  --glow-purple:       0 0 60px rgba(106,44,255,0.4);
  --glow-gold:         0 0 40px rgba(255,200,87,0.35);

  /* Typography */
  --font-display:      'Fraunces', Georgia, serif;
  --font-body:         'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container:         1280px;
  --container-narrow:  1080px;
  --header-height:     80px;

  /* Motion */
  --ease:              cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:       cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:        all 0.3s var(--ease);
}

/* ─── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
main h1, main h2, main h3, main h4, main h5, main h6, main p, main figure, main figcaption, main blockquote { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main {
  overflow-x: hidden;
}
main img { max-width: 100%; height: auto; display: block; }
main a { color: inherit; text-decoration: none; transition: var(--transition); }
main button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
main ul { list-style: none; }

/* ─── REUSABLE UTILITIES ───────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section {
  padding: 7rem 0;
  position: relative;
}
.section--dark { background: var(--bg-dark); color: var(--text-light); }
.section--dark-soft { background: var(--bg-dark-soft); color: var(--text-light); }
.section--cream { background: var(--bg-cream); color: var(--text-dark); }
.section--cream-soft { background: var(--bg-cream-soft); color: var(--text-dark); }

/* Section labels (small uppercase intro) */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--vmat-purple);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

/* Section headings */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--vmat-purple);
}
.section-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 620px;
  color: var(--text-light-muted);
}
.section--cream .section-lede { color: var(--text-dark-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--vmat-gold);
  color: var(--text-dark);
  box-shadow: var(--glow-gold);
}
.btn--primary:hover {
  background: var(--vmat-gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(255,200,87,0.5);
}
.btn--secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }
.btn--purple {
  background: var(--vmat-purple);
  color: white;
}
.btn--purple:hover { background: var(--vmat-purple-deep); transform: translateY(-2px); }

.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Decorative noise texture overlay (premium feel) */
.noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(8,9,15,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(8,9,15,0.92);
  height: 68px;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: white;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vmat-purple) 0%, var(--vmat-purple-deep) 100%);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(106,44,255,0.4);
}
.logo span { color: var(--vmat-gold); font-style: italic; }

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-header .nav-item {
  position: relative;
}
.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(232,232,234,0.9);
  border-radius: 8px;
  transition: var(--transition);
}
.site-header .nav-link:hover { color: white; background: rgba(255,255,255,0.05); }
.site-header .nav-link svg { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.3s; }
.site-header .nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-login {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(232,232,234,0.9);
  padding: 0.5rem 0.75rem;
}
.nav-login:hover { color: white; }
.nav-cta {
  padding: 0.65rem 1.4rem;
  background: var(--vmat-gold);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,200,87,0.25);
}
.nav-cta:hover {
  background: var(--vmat-gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,200,87,0.4);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ─── DROPDOWN MENU ────────────────────────────────────── */
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 240px;
  background: rgba(18,19,26,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 0.65rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-panel a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: rgba(232,232,234,0.9);
  border-radius: 8px;
}
.dropdown-panel a:hover { background: rgba(106,44,255,0.15); color: white; }

/* ─── MEGA MENU ────────────────────────────────────────── */
.mega-panel {
  position: fixed;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(1180px, calc(100vw - 48px));
  background: rgba(18,19,26,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-item:hover .mega-panel,
.nav-item:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.mega-column-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vmat-gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.mega-link {
  display: block;
  padding: 0.65rem 0;
  transition: var(--transition);
}
.mega-link:hover { transform: translateX(4px); }
.mega-link strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.1rem;
}
.mega-link span {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}
.mega-link:hover strong { color: var(--vmat-purple-light); }

/* Mega menu featured card */
.mega-featured {
  background: linear-gradient(135deg, rgba(106,44,255,0.15) 0%, rgba(106,44,255,0.05) 100%);
  border: 1px solid rgba(106,44,255,0.2);
  border-radius: 14px;
  padding: 1.25rem;
  overflow: hidden;
  position: relative;
}
.mega-featured-image {
  width: 100%;
  height: 110px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vmat-purple) 0%, var(--vmat-purple-deep) 100%);
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.mega-featured h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: white;
}
.mega-featured p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.mega-featured .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,9,15,0.5) 0%, rgba(8,9,15,0.3) 50%, rgba(8,9,15,0.95) 100%),
    radial-gradient(ellipse at top, rgba(106,44,255,0.25) 0%, transparent 60%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  padding: 0 24px;
  animation: heroFadeUp 1.2s var(--ease) forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--vmat-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--vmat-gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--vmat-gold) 0%, #FFE5A5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(232,232,234,0.85);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero stats strip at bottom */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(8,9,15,0.95) 0%, transparent 100%);
  padding: 2rem 24px 2.5rem;
}
.hero-stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 500;
  color: var(--vmat-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-top: 0.5rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-indicator::after {
  content: '';
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 100px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================================
   PEDAGOGY SHOWCASE SECTION
   ============================================================ */
.pedagogy {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.pedagogy::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(106,44,255,0.15) 0%, transparent 70%);
  z-index: 0;
}
.pedagogy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pedagogy-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--vmat-purple) 0%, var(--vmat-purple-deep) 100%);
}
.pedagogy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pedagogy-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,9,15,0.4) 100%);
}
.pedagogy-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vmat-gold);
  z-index: 2;
}
.pedagogy-floating-stat {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  z-index: 2;
}
.pedagogy-floating-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: white;
  line-height: 1;
}
.pedagogy-floating-stat span {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   WHY VMAT — Parent thinking points
   ============================================================ */
.why-vmat {
  background: var(--bg-cream);
  color: var(--text-dark);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.why-card {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(106,44,255,0.12);
  border-color: rgba(106,44,255,0.3);
}
.why-card-quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.7;
  color: var(--vmat-purple);
  opacity: 0.15;
  margin-bottom: -1rem;
}
.why-card-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.why-card-text em {
  font-style: italic;
  color: var(--vmat-purple);
}
.why-card-meta {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   PROGRAMS GRID
   ============================================================ */
.programs {
  background: var(--bg-dark-soft);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}
.program-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(106,44,255,0.4);
  box-shadow: 0 20px 50px rgba(106,44,255,0.15);
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vmat-purple), var(--vmat-gold));
  opacity: 0;
  transition: var(--transition);
}
.program-card:hover::before { opacity: 1; }
.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(106,44,255,0.2), rgba(106,44,255,0.05));
  border: 1px solid rgba(106,44,255,0.2);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.program-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}
.program-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.5rem;
}
.program-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vmat-gold);
}

/* ============================================================
   LEADERBOARD SECTION
   ============================================================ */
.leaderboard-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.leaderboard-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,200,87,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.leaderboard-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.leaderboard-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #EF4444;
  margin-bottom: 1.25rem;
}
.leaderboard-live .pulse {
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  position: relative;
}
.leaderboard-live .pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #EF4444;
  border-radius: 50%;
  animation: livePulse 1.5s ease-out infinite;
}
@keyframes livePulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.leaderboard-filters {
  display: flex;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.filter-pill {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--text-light-muted);
  background: transparent;
  transition: var(--transition);
}
.filter-pill.active, .filter-pill:hover {
  background: var(--vmat-purple);
  color: white;
  border-color: var(--vmat-purple);
}

.leaderboard-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.leaderboard-row {
  display: grid;
  grid-template-columns: 60px 60px 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: var(--transition);
}
.leaderboard-row:hover {
  transform: translateX(6px);
  border-color: rgba(255,200,87,0.3);
}
.leaderboard-row.rank-1 {
  background: linear-gradient(135deg, rgba(255,200,87,0.15) 0%, rgba(255,200,87,0.05) 100%);
  border-color: rgba(255,200,87,0.3);
  box-shadow: var(--glow-gold);
}
.leaderboard-row.rank-1 .rank-number { color: var(--vmat-gold); }
.leaderboard-row.rank-2 .rank-number { color: #C0C0C0; }
.leaderboard-row.rank-3 .rank-number { color: #CD7F32; }

.rank-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-light-muted);
  position: relative;
}
.rank-number .crown {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
}

.student-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--vmat-purple), var(--vmat-purple-deep));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}
.rank-1 .student-avatar {
  border-color: var(--vmat-gold);
  box-shadow: 0 0 20px rgba(255,200,87,0.4);
}
.student-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-info { min-width: 0; }
.student-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.15rem;
}
.student-meta {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}
.student-program {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  background: rgba(106,44,255,0.15);
  border: 1px solid rgba(106,44,255,0.25);
  border-radius: 100px;
  color: var(--vmat-purple-light);
  white-space: nowrap;
}

.student-score {
  text-align: right;
}
.student-score-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vmat-gold);
  line-height: 1;
}
.student-score-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-top: 0.25rem;
}

.leaderboard-cta {
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

/* ============================================================
   WORKBOOKS SHOWCASE
   ============================================================ */
.workbooks {
  background: var(--bg-cream-soft);
  color: var(--text-dark);
}
.workbooks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}
.workbook-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.workbook-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(106,44,255,0.15);
}
.workbook-cover {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--vmat-purple) 0%, var(--vmat-purple-deep) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  position: relative;
  overflow: hidden;
}
.workbook-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.workbook-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,9,15,0.3) 100%);
}
.workbook-age-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--vmat-gold);
  color: var(--text-dark);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  z-index: 1;
}
.workbook-body { padding: 1.5rem; }
.workbook-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.workbook-meta {
  font-size: 0.82rem;
  color: var(--text-dark-muted);
  margin-bottom: 1rem;
}
.workbook-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.workbook-price strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--vmat-purple);
}
.workbook-price span {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  text-decoration: line-through;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  background: var(--bg-dark-soft);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
  position: relative;
}
.step-card {
  position: relative;
  padding: 2rem 1.5rem;
}
.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--vmat-purple);
  margin-bottom: 1rem;
  opacity: 0.9;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.55;
}

/* ============================================================
   FOUNDER SECTION
   ============================================================ */
.founder {
  background: var(--bg-cream);
  color: var(--text-dark);
}
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: center;
}
.founder-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--vmat-purple) 0%, var(--vmat-purple-deep) 100%);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-photo::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border: 3px solid var(--vmat-gold);
  border-radius: 24px;
  z-index: -1;
}
.founder-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.founder-title {
  font-size: 0.95rem;
  color: var(--vmat-purple);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.founder-credentials {
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.founder-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  padding-left: 1.5rem;
  border-left: 3px solid var(--vmat-gold);
  margin-bottom: 2rem;
}
.founder-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   ACHIEVEMENTS — Stats Grid
   ============================================================ */
.achievements {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.achievements::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(106,44,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255,200,87,0.08) 0%, transparent 50%);
}
.achievements-content { position: relative; z-index: 1; text-align: center; }
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.achievement-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.achievement-card:hover {
  background: rgba(106,44,255,0.05);
  border-color: rgba(106,44,255,0.2);
  transform: translateY(-4px);
}
.achievement-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--vmat-gold);
  margin-bottom: 0.5rem;
}
.achievement-label {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--bg-cream);
  color: var(--text-dark);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.testimonial-stars {
  color: var(--vmat-gold);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 2rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vmat-purple), var(--vmat-purple-deep));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-dark-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--vmat-purple) 0%, var(--vmat-purple-deep) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,200,87,0.3) 0%, transparent 70%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,200,87,0.2) 0%, transparent 70%);
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 24px; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 1rem;
}
.cta-banner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--vmat-gold);
  margin-bottom: 1.25rem;
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  max-width: 320px;
}
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}
.footer-links a:hover { color: var(--vmat-gold); }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}
.footer-contact-item svg { color: var(--vmat-purple); flex-shrink: 0; margin-top: 2px; }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  color: white;
  font-family: inherit;
  font-size: 0.85rem;
}
.newsletter-form input::placeholder { color: var(--text-light-muted); }
.newsletter-form button {
  padding: 0.7rem 1.2rem;
  background: var(--vmat-purple);
  color: white;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}
.newsletter-form button:hover { background: var(--vmat-purple-deep); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-light-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--vmat-purple);
  border-color: var(--vmat-purple);
  transform: translateY(-2px);
}

/* ============================================================
   MOBILE NAVIGATION OVERLAY
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-dark);
  border-left: 1px solid var(--border-light);
  padding: 6rem 1.5rem 2rem;
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: white;
  padding: 0.5rem 0;
}
.mobile-nav-sub a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text-light-muted);
}
.mobile-nav-cta {
  display: block;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--vmat-gold);
  color: var(--text-dark);
  text-align: center;
  border-radius: 100px;
  font-weight: 600;
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .pedagogy-grid { grid-template-columns: 1fr; gap: 3rem; }
  .founder-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .programs-grid, .workbooks-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .main-nav, .nav-right .nav-login, .nav-right .nav-cta { display: none; }
  .hamburger { display: block; }
  .hero { min-height: 600px; height: auto; padding: 8rem 0 12rem; }
  .scroll-indicator { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 2rem; }
  .leaderboard-head { flex-direction: column; align-items: flex-start; }
  .leaderboard-row {
    grid-template-columns: 40px 50px 1fr;
    grid-template-rows: auto auto;
    gap: 1rem 0.75rem;
    padding: 1rem;
  }
  .leaderboard-row .student-program {
    grid-column: 2 / 4;
    justify-self: start;
    margin-top: -0.5rem;
  }
  .leaderboard-row .student-score {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }
  .rank-number { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .programs-grid, .workbooks-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { justify-content: center; }
  .section { padding: 3.5rem 0; }
  .container, .container-narrow { padding: 0 16px; }
  .why-card { padding: 1.5rem; }
  .why-card-text { font-size: 1.25rem; }
  .course-card__body { padding: 1.5rem 1.25rem 1.5rem; }
  .video-banner__caption--right { padding: 1.25rem 1rem 1.75rem; }
  .video-banner__title--2lines .line-1 { font-size: clamp(1.2rem, 5.2vw, 1.6rem); }
  .video-banner__title--2lines .line-2 { font-size: clamp(1.85rem, 9vw, 2.75rem); }
  .hero.hero--compact .hero-stats--inline { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================
   ADDITIONS — HERO LAYOUT v2 (video on top), WHY VMAT VISUAL,
   AND LEADERBOARD PAGE THEME (dark pink + blue-black)
   ============================================================ */

/* === Hero v2: video full-width directly under menu === */
.hero.hero--video-top {
  position: relative;
  min-height: auto;
  height: auto;
  padding: 0;
  background: var(--bg-dark);
  display: block;
}

.hero--video-top .hero-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;        /* cinematic widescreen ratio */
  background: linear-gradient(135deg, #1a1240, #050818);
  overflow: hidden;
}

.hero--video-top .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Colorful fallback image — shown when video doesn't load */
.hero--video-top .hero-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: linear-gradient(135deg, #6A2CFF 0%, #4A1FB8 50%, #08090F 100%);
  z-index: 1;
}

/* Hide fallback when video is actually playing */
.hero--video-top .hero-video:not([poster=""]) + .hero-video-fallback {
  z-index: 0;
}

.hero--video-top .hero-content--below {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
  background: transparent;
  color: var(--text-light);
}

.hero--video-top .hero-content--below .hero-title {
  margin: 1.25rem auto 1rem;
}

.hero--video-top .hero-content--below .hero-subtitle {
  margin: 0 auto 2rem;
  max-width: 720px;
}

.hero--video-top .hero-content--below .hero-ctas {
  justify-content: center;
}

.hero--video-top .hero-stats--inline {
  position: relative;
  margin-top: 0;
  padding: 2rem 1.5rem 4rem;
  background: linear-gradient(180deg, transparent, rgba(106,44,255,0.08));
}

@media (max-width: 768px) {
  .hero--video-top .hero-video-wrap { aspect-ratio: 4 / 3; }
  .hero--video-top .hero-content--below { padding: 2.5rem 1.25rem 1.5rem; }
}

/* === Why VMAT visual (the robot kid cutout) === */
.why-visual {
  display: flex;
  justify-content: center;
  margin: 2.5rem auto 0;
  max-width: 360px;
}
.why-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(106, 44, 255, 0.25));
}

/* Pedagogy image — drop shadow instead of card frame, since bg is removed */
.pedagogy-visual img {
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,0.35));
}

/* ============================================================
   LEADERBOARD PAGE — DARK PINK + BLUE-BLACK THEME
   ============================================================ */
.theme-pink-blueblack {
  --lb-pink:       #ec407a;
  --lb-pink-deep:  #c2185b;
  --lb-pink-soft:  rgba(236,64,122,0.15);
  --lb-blueblack:  #060a1f;
  --lb-blueblack2: #0d1233;
  --lb-text:       #f4f6ff;
  --lb-text-mute:  rgba(244,246,255,0.65);

  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(236,64,122,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(40,30,90,0.55), transparent 60%),
    var(--lb-blueblack);
  color: var(--lb-text);
}

.theme-pink-blueblack .lb-page-hero {
  padding: 5rem 0 2rem;
  text-align: center;
}

.theme-pink-blueblack .lb-live-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.18em; font-weight: 700;
  text-transform: uppercase;
  color: var(--lb-pink);
  background: var(--lb-pink-soft);
  border: 1px solid rgba(236,64,122,0.4);
  padding: 0.5rem 1rem; border-radius: 999px;
}

.theme-pink-blueblack .lb-page-hero .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lb-pink);
  box-shadow: 0 0 0 0 rgba(236,64,122,0.7);
  animation: pulse-pink 2s infinite;
}
@keyframes pulse-pink {
  0%   { box-shadow: 0 0 0 0 rgba(236,64,122,0.7); }
  70%  { box-shadow: 0 0 0 14px rgba(236,64,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(236,64,122,0); }
}

.theme-pink-blueblack .lb-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  margin: 1.25rem 0 1rem;
  letter-spacing: -0.02em;
  color: var(--lb-text);
}
.theme-pink-blueblack .lb-page-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--lb-pink), #ff80ab);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-pink-blueblack .lb-page-lede {
  max-width: 640px; margin: 0 auto;
  font-size: 1.1rem; line-height: 1.6;
  color: var(--lb-text-mute);
}

/* Re-theme the leaderboard section components on this page */
.theme-pink-blueblack .leaderboard-section { background: transparent; padding-top: 2rem; }
.theme-pink-blueblack .section-title,
.theme-pink-blueblack .section-lede { color: var(--lb-text); }
.theme-pink-blueblack .section-title em {
  background: linear-gradient(90deg, var(--lb-pink), #ff80ab);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-pink-blueblack .filter-pill {
  background: rgba(244,246,255,0.05);
  color: var(--lb-text-mute);
  border: 1px solid rgba(244,246,255,0.12);
}
.theme-pink-blueblack .filter-pill:hover { background: rgba(236,64,122,0.15); color: var(--lb-text); }
.theme-pink-blueblack .filter-pill.active {
  background: linear-gradient(135deg, var(--lb-pink), var(--lb-pink-deep));
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 18px rgba(236,64,122,0.35);
}

.theme-pink-blueblack .leaderboard-row {
  background: rgba(13, 18, 51, 0.7);
  border: 1px solid rgba(244,246,255,0.08);
  backdrop-filter: blur(8px);
  color: var(--lb-text);
}
.theme-pink-blueblack .leaderboard-row:hover {
  border-color: rgba(236,64,122,0.5);
  background: rgba(20, 25, 60, 0.85);
  transform: translateX(4px);
}

.theme-pink-blueblack .leaderboard-row.rank-1 {
  background: linear-gradient(135deg, rgba(236,64,122,0.18), rgba(13,18,51,0.85));
  border: 1px solid rgba(236,64,122,0.5);
  box-shadow: 0 16px 40px rgba(236,64,122,0.25);
}
.theme-pink-blueblack .leaderboard-row.rank-2,
.theme-pink-blueblack .leaderboard-row.rank-3 {
  background: linear-gradient(135deg, rgba(236,64,122,0.1), rgba(13,18,51,0.8));
}

.theme-pink-blueblack .rank-number {
  background: linear-gradient(135deg, var(--lb-pink), var(--lb-pink-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-pink-blueblack .student-name { color: var(--lb-text); }
.theme-pink-blueblack .student-meta { color: var(--lb-text-mute); }
.theme-pink-blueblack .points-stars { color: var(--lb-pink); }
.theme-pink-blueblack .points-number { color: var(--lb-text); }

.theme-pink-blueblack .avatar-fallback {
  background: linear-gradient(135deg, var(--lb-pink), var(--lb-pink-deep));
  color: #fff;
}

/* ============================================================
   FULL-WIDTH VIDEO BANNER (air balloon) — below hero
   ============================================================ */
.video-banner {
  position: relative;
  width: 100%;
  margin: 0;
  background: var(--bg-dark);
  overflow: hidden;
  aspect-ratio: 21 / 9;       /* wide cinematic strip */
  max-height: 70vh;
}
.video-banner__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .video-banner { aspect-ratio: 16 / 9; }
}

/* ============================================================
   COMMUNITY BAND — classroom photo with text
   ============================================================ */
.community-band {
  background: linear-gradient(135deg, #FAFAF7 0%, #f3eaff 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.community-band::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(106,44,255,0.18), transparent 70%);
  pointer-events: none;
}
.community-band__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.community-band__text .section-title { margin: 1rem 0; }
.community-band__text .section-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--vmat-purple), #b388ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.community-band__image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(106,44,255,0.28));
}
@media (max-width: 900px) {
  .community-band__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* ============================================================
   VIDEO BANNER OVERLAY — caption stays, balloon flies behind
   ============================================================ */
.video-banner {
  position: relative;
  isolation: isolate;  /* contain z-index stacking */
}

/* Dark gradient scrim — keeps white text readable over the sky video */
.video-banner__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8, 9, 15, 0.55) 0%,
      rgba(8, 9, 15, 0.20) 35%,
      rgba(8, 9, 15, 0.20) 65%,
      rgba(8, 9, 15, 0.65) 100%
    ),
    radial-gradient(ellipse at center, rgba(8,9,15,0.10) 0%, rgba(8,9,15,0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Caption — centered, sits perfectly still while video plays behind */
.video-banner__caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  color: #fff;
  pointer-events: none;
}

.video-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  max-width: 1100px;
  text-shadow:
    0 4px 24px rgba(0, 0, 0, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.45);
}
.video-banner__title em {
  font-style: italic;
  background: linear-gradient(90deg, #FFC857, #ffe199);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  /* keep some shadow even on the gradient text */
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.45));
}

.video-banner__subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  font-weight: 400;
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* Mobile: tighten and stack */
@media (max-width: 768px) {
  .video-banner { aspect-ratio: 4 / 5; max-height: none; }
  .video-banner__title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .video-banner__subtitle { font-size: 1rem; }
  .video-banner__subtitle br { display: none; }
}

/* ============================================================
   HERO COMPACT — slim eyebrow + CTAs + stats band below video
   ============================================================ */
.hero.hero--compact {
  background: var(--bg-dark);
  padding: 0.5rem 0 0;
  min-height: 0;
  height: auto;
  display: block;
}
.hero.hero--compact .hero-content--below {
  padding: 0 1.5rem 1rem;
  text-align: center;
}
.hero.hero--compact .hero-eyebrow {
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.hero.hero--compact .hero-ctas {
  justify-content: center;
  margin: 0;
}
.hero.hero--compact .hero-stats--inline {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  margin-top: 0;
  padding: 1.75rem 24px 3.5rem;
  background: linear-gradient(180deg, transparent, rgba(106,44,255,0.08));
}

/* ============================================================
   WHY VMAT VISUAL — full-scene photo as rounded card
   (overrides the earlier cutout drop-shadow style)
   ============================================================ */
.why-visual {
  display: flex;
  justify-content: center;
  margin: 2.5rem auto;
  max-width: 720px;
}
.why-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  box-shadow:
    0 30px 60px -20px rgba(106, 44, 255, 0.35),
    0 10px 30px -10px rgba(0, 0, 0, 0.2);
  filter: none;
}

/* ============================================================
   FEATURED COURSES — two flagship programs side by side
   ============================================================ */
.featured-courses {
  padding: 6rem 0;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(106,44,255,0.05), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(255,200,87,0.06), transparent 60%),
    var(--bg-light, #FAFAF7);
  position: relative;
}

.featured-courses__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.featured-courses__head .eyebrow { justify-content: center; }
.featured-courses__head .section-title { margin: 1rem 0; }
.featured-courses__head .section-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--vmat-purple), #b388ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.featured-courses__head .section-lede {
  max-width: 560px;
  margin: 0 auto;
}

.featured-courses__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.course-card {
  display: block;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 20px 50px -20px rgba(0, 0, 0, 0.15),
    0 5px 18px -5px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s;
  border: 1px solid rgba(106, 44, 255, 0.08);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 35px 70px -25px rgba(106, 44, 255, 0.35),
    0 15px 30px -10px rgba(0, 0, 0, 0.12);
}

.course-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.course-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.course-card:hover .course-card__image img { transform: scale(1.05); }

.course-card__age {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(8, 9, 15, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.course-card--fluency .course-card__age {
  background: linear-gradient(135deg, #FFC857, #ff9d4a);
  color: #2a1a00;
}
.course-card--genius .course-card__age {
  background: linear-gradient(135deg, var(--vmat-purple), #4a1fb8);
  color: #fff;
}

.course-card__body { padding: 2rem 1.75rem 2rem; }

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text-dark, #1a1a1a);
}

.course-card__lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-dark-muted, #555);
  margin: 0 0 1.5rem;
}
.course-card__lede em {
  font-style: italic;
  font-weight: 600;
  color: var(--vmat-purple);
}
.course-card--fluency .course-card__lede em { color: #c47100; }

.course-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--vmat-purple);
  transition: gap 0.25s;
}
.course-card--fluency .course-card__cta { color: #c47100; }
.course-card:hover .course-card__cta { gap: 0.85rem; }

@media (max-width: 800px) {
  .featured-courses { padding: 4rem 0; }
  .featured-courses__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .course-card__title { font-size: 1.5rem; }
}

/* ============================================================
   VIDEO BANNER v3 — text on the right, balloon clear on left
   ============================================================ */

/* OVERRIDES: lighten the old full-width scrim so the balloon shows */
.video-banner__scrim {
  /* old full-overlay scrim is too heavy — replaced by side-only version below */
  display: none;
}

/* New side-only gradient: clear on the left, soft fade behind right-side text */
.video-banner__scrim--right {
  display: block;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 15, 0)    0%,
      rgba(8, 9, 15, 0)    35%,
      rgba(8, 9, 15, 0.30) 55%,
      rgba(8, 9, 15, 0.65) 85%,
      rgba(8, 9, 15, 0.75) 100%
    );
  z-index: 1;
  pointer-events: none;
}

/* Right-anchored caption */
.video-banner__caption--right {
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  padding-right: clamp(2rem, 5vw, 5rem);
  padding-left: 1.5rem;
}
.video-banner__caption--right .video-banner__title,
.video-banner__caption--right .video-banner__subtitle {
  max-width: 560px;
  margin-left: auto;
  margin-right: 0;
}

/* On mobile, switch back to center + bottom for readability over narrow video */
@media (max-width: 768px) {
  .video-banner__scrim--right {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 15, 0)   0%,
        rgba(8, 9, 15, 0)   30%,
        rgba(8, 9, 15, 0.55) 70%,
        rgba(8, 9, 15, 0.80) 100%
      );
  }
  .video-banner__caption--right {
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 1.5rem 1.25rem 2rem;
  }
  .video-banner__caption--right .video-banner__title,
  .video-banner__caption--right .video-banner__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   TESTIMONIALS v2 — featured + grid + spotlight + kid videos
   ============================================================ */
.testimonials.testimonials--v2 {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(106,44,255,0.06), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(255,200,87,0.07), transparent 60%),
    var(--bg-light, #FAFAF7);
  padding: 6rem 0;
}

.testimonials__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}
.testimonials__head .section-title { margin: 1rem 0; }
.testimonials__head .section-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--vmat-purple), #b388ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === FEATURED voice — large card with photo + quote === */
.tm-featured {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #faf7ff 100%);
  border: 1px solid rgba(106,44,255,0.12);
  border-radius: 32px;
  padding: 2.5rem;
  margin: 0 auto 3rem;
  max-width: 1100px;
  box-shadow:
    0 30px 80px -30px rgba(106,44,255,0.30),
    0 8px 24px -8px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.tm-featured::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,200,87,0.20), transparent 70%);
  pointer-events: none;
}
.tm-featured__photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.25);
}
.tm-featured__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tm-featured__badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--vmat-purple), #4a1fb8);
  color: #fff;
  border-radius: 999px;
}
.tm-featured__body {
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.tm-quote-mark {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 0.6;
  color: var(--vmat-purple);
  opacity: 0.20;
  margin-bottom: 0.5rem;
}
.tm-featured__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--text-dark, #1a1a1a);
  margin: 0 0 1.75rem;
}
.tm-featured__quote em { color: var(--vmat-purple); font-style: italic; font-weight: 600; }
.tm-attrib strong {
  display: block;
  font-family: var(--font-body, var(--font-display));
  font-size: 1.1rem;
  color: var(--text-dark, #1a1a1a);
}
.tm-attrib span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: var(--text-dark-muted, #555);
}

/* === Parent grid: 3 columns === */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.tm-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 12px 30px -15px rgba(0,0,0,0.12);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(106,44,255,0.25);
  box-shadow: 0 24px 50px -20px rgba(106,44,255,0.22);
}
.tm-card__top {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.tm-card__top img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.tm-card__name strong {
  display: block; font-size: 1.02rem; line-height: 1.2;
  color: var(--text-dark, #1a1a1a);
}
.tm-card__name span {
  display: block; margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--vmat-purple);
  font-weight: 600;
}
.tm-card__quote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-dark-muted, #444);
}

/* === Student Spotlight (Pallavi) === */
.tm-spotlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, #08090F 0%, #1a1240 100%);
  color: #fff;
  border-radius: 32px;
  padding: 2.5rem;
  margin: 0 auto 4rem;
  max-width: 900px;
  position: relative;
  overflow: hidden;
}
.tm-spotlight::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255,200,87,0.14), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(106,44,255,0.22), transparent 70%);
  pointer-events: none;
}
.tm-spotlight > * { position: relative; z-index: 1; }
.tm-spotlight__photo {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.6);
}
.tm-spotlight__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-spotlight__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255,200,87,0.16);
  color: #FFC857;
  border: 1px solid rgba(255,200,87,0.4);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.tm-spotlight__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
}
.tm-spotlight__result {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin: 0 0 1.5rem;
}
.tm-rank {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  background: linear-gradient(90deg, #FFC857, #ffe199);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.tm-result-meta {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
}
.tm-spotlight__caption {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 480px;
}

/* === Kid video voices === */
.tm-videos { max-width: 1100px; margin: 0 auto; }
.tm-videos__head { text-align: center; margin-bottom: 2.5rem; }
.tm-videos__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0.6rem 0 0;
  color: var(--text-dark, #1a1a1a);
}
.tm-videos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.tm-video {
  margin: 0;
  background: #08090F;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 25px 60px -20px rgba(106,44,255,0.30),
    0 8px 20px -8px rgba(0,0,0,0.20);
}
.tm-video video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #08090F;
}
.tm-video__caption {
  padding: 1.25rem 1.5rem 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #1a1240 0%, #08090F 100%);
}
.tm-video__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}
.tm-video__caption span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,200,87,0.85);
  margin-bottom: 0.6rem;
}
.tm-video__caption em {
  display: block;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

/* === Responsive === */
@media (max-width: 900px) {
  .tm-featured { grid-template-columns: 1fr; gap: 1.75rem; padding: 1.75rem; }
  .tm-featured__photo { max-width: 280px; margin: 0 auto; }
  .tm-grid { grid-template-columns: 1fr; }
  .tm-spotlight { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; padding: 2rem 1.5rem; }
  .tm-spotlight__photo { max-width: 240px; margin: 0 auto; }
  .tm-spotlight__caption { margin: 0 auto; }
  .tm-spotlight__result { align-items: center; }
  .tm-videos__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REAL LOGO IMAGE — header + footer
   ============================================================ */
.logo.logo--image {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.25rem 0;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* logo art is on white in source; bg is now transparent so it works on dark + light */
}
@media (max-width: 768px) {
  .logo-img { height: 40px; }
}
/* Footer logo (against dark footer bg) */
.logo-img--footer {
  height: 56px;
  /* The gold + khaki logo reads well on dark; small drop shadow lifts it */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

/* ============================================================
   FOUNDER PHOTO — full-bleed cutout instead of framed card
   (the cutout has transparent background now)
   ============================================================ */
.founder-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.founder-photo img {
  width: 100%;
  max-width: 460px;
  height: auto;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter:
    drop-shadow(0 24px 48px rgba(106,44,255,0.30))
    drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}
/* Subtle purple glow behind the cutout */
.founder-photo::before {
  content: "";
  position: absolute;
  inset: 10% 5% 0;
  background: radial-gradient(ellipse at center, rgba(106,44,255,0.22), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   ANIMATED BALLOON SCENE — fallback behind the video
   ============================================================ */
.balloon-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.balloon-scene svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* The real video sits ABOVE the scene; transparent until it loads */
.video-banner__video {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Clouds drift slowly left → right */
@keyframes drift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(2100px); }
}
.cloud--1 { animation: drift 60s linear infinite; }
.cloud--2 { animation: drift 80s linear infinite; animation-delay: -25s; }
.cloud--3 { animation: drift 95s linear infinite; animation-delay: -55s; }

/* Main hot-air balloon: rises diagonally across the scene, then loops */
@keyframes balloon-fly {
  0%   { transform: translate(180px, 580px) scale(1); }
  50%  { transform: translate(800px, 350px) scale(1.05); }
  100% { transform: translate(1500px, 120px) scale(0.9); }
}
.balloon--main {
  animation: balloon-fly 30s linear infinite;
  transform-origin: center;
}
/* Gentle sway on top of the flight path */
@keyframes balloon-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
.balloon--main path,
.balloon--main rect,
.balloon--main line,
.balloon--main ellipse {
  transform-origin: center;
  animation: balloon-sway 4s ease-in-out infinite;
}

/* Small accent balloons drift slowly in the distance */
@keyframes balloon-small1 {
  0%   { transform: translate(1700px, 280px); }
  100% { transform: translate(-200px, 240px); }
}
@keyframes balloon-small2 {
  0%   { transform: translate(1700px, 460px); }
  100% { transform: translate(-200px, 420px); }
}
.balloon--small1 { animation: balloon-small1 45s linear infinite; animation-delay: -10s; }
.balloon--small2 { animation: balloon-small2 60s linear infinite; animation-delay: -30s; }

/* ============================================================
   2-LINE HEADLINE
   ============================================================ */
.video-banner__title--2lines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-wrap: balance;
}
.video-banner__title--2lines .line-1 {
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.video-banner__title--2lines .line-2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.video-banner__title--2lines em {
  font-style: italic;
  background: linear-gradient(90deg, #FFC857, #ffe199);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.45));
}

/* ============================================================
   VIDEO BANNER — show FULL frame (no crop, ground + sky visible)
   The uploaded balloon is 960×540 = 16:9; match that exactly.
   ============================================================ */
.video-banner {
  aspect-ratio: 16 / 9 !important;
  max-height: none !important;
}
.video-banner__video {
  object-fit: contain !important;  /* show full frame, never crop */
  background: transparent;          /* letterbox falls back to balloon-scene */
}
.balloon-scene {
  /* When video has letterboxing, the animated scene fills the gap */
  z-index: 0;
}

@media (max-width: 768px) {
  .video-banner { aspect-ratio: 4 / 5 !important; }
  .video-banner__video { object-fit: cover !important; }
}

@media (max-width: 480px) {
  .video-banner { aspect-ratio: 9 / 16 !important; }
}

/* ============================================================
   FOUNDER PHOTO — FINAL FIX: show full head + shoulders + suit
   Override the original template's aspect-ratio crop
   ============================================================ */
.founder-photo {
  aspect-ratio: auto !important;          /* don't force 4:5 */
  overflow: visible !important;           /* let the image extend naturally */
  background: transparent !important;     /* drop the purple gradient bg */
  border-radius: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;                    /* center vertically, no top-crop */
}
.founder-photo img {
  width: 100%;
  max-width: 460px;
  height: auto !important;                /* respect natural aspect ratio */
  object-fit: contain !important;         /* never crop */
}
/* Suppress the original template's decorative gold border square */
.founder-photo::before { display: none !important; }
/* Restore the soft purple glow as a non-clipping aura */
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 8% 5% 0;
  background: radial-gradient(ellipse at center, rgba(106,44,255,0.22), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   FOUNDER PHOTO — display as a clean rounded portrait card
   (photo has its own studio background — no cutout needed)
   ============================================================ */
.founder-photo {
  aspect-ratio: 4/5 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #08090F !important;
  display: block !important;
  position: relative !important;
  box-shadow:
    0 30px 60px -25px rgba(106, 44, 255, 0.40),
    0 12px 30px -10px rgba(0, 0, 0, 0.25);
}
.founder-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center top !important;  /* keep the head fully visible */
  filter: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}
/* Gold accent square decoration in the corner */
.founder-photo::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: -16px;
  right: -16px;
  width: 110px;
  height: 110px;
  border: 3px solid #FFC857;
  border-radius: 20px;
  inset: auto;
  background: transparent !important;
  z-index: 1;
  pointer-events: none;
}
.founder-photo::after { display: none !important; }

.tm-video__poster-only { position: relative; aspect-ratio: 16 / 9; background: #08090F; }
.tm-video__poster-only img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; }
.tm-video__play-badge { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%); text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.tm-video__play-badge svg { background: rgba(106,44,255,0.85); border-radius: 50%; padding: 14px; width: 56px; height: 56px; box-shadow: 0 8px 20px rgba(0,0,0,0.35); }
.tm-video__play-badge span { font-size: 0.78rem; letter-spacing: 0.05em; font-weight: 600; text-transform: uppercase; }

/* ─── DYNAMIC CURSES GRID ───────────────────────────────── */
.dynamic-courses {
  padding: 6rem 0;
  background: var(--bg-cream-soft);
  position: relative;
}
.dynamic-courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 992px) {
  .dynamic-courses__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .dynamic-courses__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ─── HOMEPAGE FOOTER FIXES ─────────────────────────────── */
/* Removes the 90px margin-top gap above the footer and matches the background to the page's premium dark theme */
.bg-dark {
  margin-top: 0 !important;
  background-color: var(--bg-dark) !important;
}

