/* ============================================================
   EngCampus — V3 Stylesheet
   ============================================================ */

/* ============================================================
   1. ROOT VARIABLES
   ============================================================ */
:root {
  /* === NEW DESIGN SYSTEM === */
  --brand-emerald:        #00B86B;
  --brand-emerald-deep:   #007A47;
  --brand-emerald-glow:   #2EE89A;
  --brand-gold:           #F5A623;
  --brand-gold-warm:      #FFC857;
  --brand-gold-deep:      #C17B2A;
  --accent-cobalt:        #1E5BFF;
  --accent-coral:         #FF5C4D;
  --bg-cream:             #FAF6EE;
  --bg-cream-deep:        #F1EADC;
  --ink-dark:             #0B1410;
  --ink-soft:             #2A332E;
  --ink-mute:             #6B7570;
  --line:                 rgba(11, 20, 16, 0.10);
  --grad-hero:            linear-gradient(135deg, #00B86B 0%, #007A47 50%, #003D27 100%);
  --grad-gold-shine:      linear-gradient(90deg, #F5A623 0%, #FFC857 50%, #F5A623 100%);
  --grad-text-lux:        linear-gradient(120deg, #007A47 0%, #00B86B 40%, #F5A623 80%, #FFC857 100%);
  --grad-blob-a:          radial-gradient(circle at 30% 30%, #2EE89A 0%, transparent 60%);
  --grad-blob-b:          radial-gradient(circle at 70% 70%, #FFC857 0%, transparent 65%);
  --grad-blob-c:          radial-gradient(circle at 50% 50%, #1E5BFF 0%, transparent 55%);
  --shadow-card:          0 1px 2px rgba(11,20,16,.04), 0 8px 24px rgba(11,20,16,.06), 0 24px 48px rgba(0,122,71,.06);
  --shadow-cta:           0 8px 24px rgba(0,184,107,.35), 0 2px 4px rgba(0,122,71,.20);
  --shadow-cta-hover:     0 16px 40px rgba(0,184,107,.50), 0 4px 8px rgba(0,122,71,.30);
  --fs-hero:  clamp(44px, 7.2vw, 112px);
  --fs-h2:    clamp(32px, 4.5vw, 64px);
  --fs-h3:    clamp(22px, 2vw, 28px);
  --fs-lead:  clamp(17px, 1.4vw, 21px);
  --fs-body:  clamp(15px, 1.1vw, 17px);
  --fs-cap:   13px;
  --fs-ebr:   12px;

  /* === COMPATIBILITY ALIASES (old names → new system) === */
  --green:        var(--brand-emerald-deep);
  --green-dark:   var(--brand-emerald-deep);
  --green-bg:     rgba(0,184,107,0.08);
  --green-border: rgba(0,184,107,0.2);
  --gold:         var(--brand-gold);
  --gold-light:   var(--brand-gold-warm);
  --gold-bg:      rgba(245,166,35,0.08);
  --gold-border:  rgba(245,166,35,0.2);
  --blue:         var(--accent-cobalt);
  --blue-bg:      rgba(30,91,255,0.08);
  --coral:        var(--accent-coral);
  --coral-bg:     rgba(255,92,77,0.08);
  --bg:           var(--bg-cream);
  --bg2:          var(--bg-cream-deep);
  --bg3:          #EDE6D8;
  --ink:          var(--ink-dark);
  --ink2:         var(--ink-soft);
  --muted:        var(--ink-mute);
  --white:        #ffffff;
  --footer-bg:    #0B1410;
  --shadow:       var(--shadow-card);
  --shadow-lg:    0 8px 40px rgba(11,20,16,0.12);
  --shadow-xl:    0 20px 70px rgba(11,20,16,0.18);
  --font-serif:   'Fraunces', Georgia, serif;
  --font-sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-pill:100px;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.06; mix-blend-mode: multiply;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--ink-soft);
  background: var(--bg-cream);
  font-size: 16px;
  font-size: var(--fs-body);
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'wght' 600;
  letter-spacing: -0.035em;
  color: var(--brand-emerald-deep);
  line-height: 1.08;
  font-size: 48px;
  font-size: var(--fs-hero);
}

h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 72, 'SOFT' 30, 'wght' 600;
  letter-spacing: -0.03em;
  color: var(--brand-emerald-deep);
  font-size: var(--fs-h2);
}

h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 36, 'SOFT' 50, 'wght' 600;
  letter-spacing: -0.02em;
  font-size: var(--fs-h3);
}

.txt-gradient-lux {
  background: var(--grad-text-lux);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 8s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   3. KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.6); }
}

/* heroFloat: both translate values combined so float doesn't break centering */
@keyframes heroFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%       { transform: translate(-50%, -50%) translateY(-14px); }
}

@keyframes imgGlow {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(0,184,107,0.35)) drop-shadow(0 8px 32px rgba(26,18,8,0.18)); }
  50%       { filter: drop-shadow(0 0 56px rgba(0,184,107,0.55)) drop-shadow(0 8px 32px rgba(26,18,8,0.18)); }
}

@keyframes heroRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.45; }
  50%       { transform: translate(-50%, -50%) scale(1.06); opacity: 0.12; }
}

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

@keyframes eyebrowShimmer {
  from { left: -60%; }
  to   { left: 120%; }
}

@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 50% 50% 50%; }
  25%       { border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%; }
  50%       { border-radius: 40% 60% 50% 50% / 45% 55% 45% 55%; }
  75%       { border-radius: 55% 45% 60% 40% / 50% 50% 60% 40%; }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

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

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

@keyframes cardFloat1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes cardFloat2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes cardFloat3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}

@keyframes barGrow {
  from { width: 0%; }
  to   { width: 84%; }
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Logo marquee — translate3d forces GPU compositor layer, eliminating main-thread stutter */
@keyframes scrollForward { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes scrollReverse { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

/* Film wall */
@keyframes filmForward { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes filmReverse { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

@keyframes ringExpand {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%       { transform: translate(-50%, -50%) scale(1.06); opacity: 0.15; }
}

@keyframes particleFloat {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
}

@keyframes shimmerSweep {
  from { left: -60%; }
  to   { left: 120%; }
}

@keyframes progressShimmer {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

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

/* ============================================================
   4. SCROLL-REVEAL CLASSES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.in, .reveal-left.in, .reveal-right.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   5. SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
  background-size: 200% 100%;
  animation: progressShimmer 3s linear infinite;
  z-index: 10000;
  width: 0%;
  pointer-events: none;
  transition: width .1s linear;
}

/* ============================================================
   6. CURSOR
   ============================================================ */
.cursor {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .1s ease, opacity .3s;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background 0.3s ease, color 0.25s ease;
  will-change: transform;
  border: none;
}

.btn-green, .btn--primary {
  background: linear-gradient(135deg, var(--brand-emerald) 0%, var(--brand-emerald-deep) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
  overflow: hidden;
}
.btn-green::after, .btn--primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 35%; height: 200%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}
.btn-green:hover::after, .btn--primary:hover::after {
  animation: shimmerSweep 0.55s ease forwards;
}

.btn-green:hover, .btn--primary:hover {
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-2px);
}

.btn-outline-ink, .btn--ghost {
  background: transparent;
  color: var(--ink-dark);
  border: 1.5px solid var(--ink-dark);
}

.btn-outline-ink:hover, .btn--ghost:hover {
  background: var(--ink-dark);
  color: white;
  transform: translateY(-2px);
}

.btn-gold, .btn--gold {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-warm) 100%);
  color: var(--ink-dark);
  box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}

.btn-gold:hover, .btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245,166,35,0.50);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Gold CTA with shimmer */
.btn-gold-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.btn-gold-cta::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: rgba(255,255,255,0.22);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}
.btn-gold-cta:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(193,123,42,0.35);
}
.btn-gold-cta:hover::after {
  animation: shimmerSweep .5s ease forwards;
}

.btn-outline-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-outline-cta:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ============================================================
   8. SECTION TAG
   ============================================================ */
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 18px;
}
.sec-tag::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--brand-emerald));
  border-radius: 2px;
  flex-shrink: 0;
}
.sec-tag.no-line::before { display: none; }
.sec-tag.green { color: var(--green); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .sec-tag { justify-content: center; }
.section-header .sec-tag::before { display: none; }
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 14px;
}
.section-header h2 em {
  font-style: italic;
  color: var(--gold);
}
.section-header p {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   9. WAVE DIVIDERS
   ============================================================ */
.wave {
  display: block;
  line-height: 0;
  overflow: hidden;
  margin: 0; padding: 0;
}
.wave svg {
  display: block;
  width: 100%;
  height: 72px;
}

/* ============================================================
   10. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: var(--white);
  border-bottom: 1px solid #F0EBE0;
  transition: all .4s cubic-bezier(.22,1,.36,1);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  height: 55px; width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text .brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.logo-text .brand span { color: var(--green); }
.logo-text .tagline {
  font-size: 8px;
  letter-spacing: .18em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-bottom: 3px;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width .3s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
/* Gold underline once user has scrolled past hero */
.navbar.scrolled .nav-links a::after { background: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.call-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.call-link:hover { color: var(--ink); }

.navbar .btn-green {
  padding: 10px 24px;
  font-size: 14px;
}
.navbar .btn-green:hover {
  transform: scale(1.04) translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s ease;
  display: block;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 91px; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--bg3);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: calc(100vh - 91px);
  overflow-y: auto;
}
.mobile-menu.active {
  display: block;
  animation: menuSlideIn 0.25s cubic-bezier(.22,1,.36,1) forwards;
}
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { border-bottom: 1px solid var(--bg3); }
.mobile-menu ul li:last-child { border-bottom: none; }
.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  color: var(--ink2);
  transition: color .2s;
}
.mobile-menu ul li a:hover { color: var(--green); }

/* ============================================================
   11. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: 100px 0 60px;
  background-color: var(--bg-cream);
  background-image: radial-gradient(circle, #D4C4A8 1px, transparent 1px);
  background-size: 28px 28px;
  position: relative;
  overflow: hidden;
  -webkit-isolation: isolate;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__blobs {
  position: absolute;
  inset: -10%;
  z-index: -2;
  filter: blur(60px);
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.5;
  will-change: transform, border-radius;
  animation: blob-morph 22s ease-in-out infinite;
}

.hero__blob--1 {
  background: var(--grad-blob-a);
  top: -15%;
  left: -10%;
  animation-duration: 22s;
}

.hero__blob--2 {
  background: var(--grad-blob-b);
  top: 30%;
  right: -15%;
  animation-duration: 26s;
  animation-direction: reverse;
}

.hero__blob--3 {
  background: var(--grad-blob-c);
  bottom: -20%;
  left: 30%;
  opacity: 0.2;
  animation-duration: 30s;
}

@keyframes blob-morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(0, 0) rotate(0);
  }
  33% {
    border-radius: 30% 70% 50% 50% / 50% 60% 40% 50%;
    transform: translate(4%, -3%) rotate(60deg);
  }
  66% {
    border-radius: 50% 50% 70% 30% / 30% 50% 50% 70%;
    transform: translate(-3%, 4%) rotate(120deg);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  overflow: visible;
}

.hero-content {
  position: relative;
  z-index: 2;
  overflow: visible;
  min-width: 0;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  border: 1.5px solid var(--green-border);
  color: var(--green);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 14px;
  width: fit-content;
  position: relative;
  overflow: hidden;
}
.eyebrow-pill::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 35%; height: 200%;
  background: rgba(255,255,255,0.45);
  transform: skewX(-20deg);
  animation: eyebrowShimmer 4s ease-in-out 2s infinite;
  pointer-events: none;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: 52px;
  font-size: clamp(41px, 5.35vw, 70px);
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--brand-emerald-deep);
  overflow: visible;
}
.hero h1 em {
  background: var(--grad-gold-shine);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
  font-style: italic;
  font-weight: 500;
  display: inline-block;
  /* Extend the box downward so descenders (g, y) are covered by the gradient */
  padding-bottom: 0.18em;
  line-height: 1.0;
}
/* SplitText wraps words in child divs/spans — re-apply gradient to them */
.hero h1 em > *,
.hero h1 em > * > * {
  background: var(--grad-gold-shine);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
  display: inline-block;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.trust-avatars { display: flex; }
.t-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
  letter-spacing: 0;
}
.t-av:first-child { margin-left: 0; }
.trust-row p { font-size: 13px; color: var(--muted); line-height: 1.4; }
.trust-row strong { color: var(--ink); font-weight: 700; }

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
  border-right: 1px solid var(--bg3);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Hero right column — visual wrapper */
.hero-visual {
  position: relative;
  overflow: visible;
  /* Clear any GSAP clip-path applied inline */
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* Decorative glow rings behind the hero image */
.hero-scene::before,
.hero-scene::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-scene::before {
  width: 430px; height: 430px;
  border: 1.5px solid rgba(0,184,107,0.22);
  animation: heroRingPulse 5s ease-in-out infinite;
}
.hero-scene::after {
  width: 560px; height: 560px;
  border: 1px solid rgba(0,184,107,0.10);
  animation: heroRingPulse 5s ease-in-out 0.9s infinite;
}

/* ============================================================
   11a. HERO SCENE — mosey-style connected organism
   ============================================================ */
.hero-scene {
  position: relative;
  width: 100%;
  height: 629px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* SVG connection layer */
.hero-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.conn-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 1.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.conn-line:nth-child(3) { animation-delay: 0.3s; }
.conn-line:nth-child(5) { animation-delay: 0.6s; }

.conn-dot {
  opacity: 0;
  transform-origin: center;
  animation: dotPop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.dot-1 { animation-delay: 1.2s; }
.dot-2 { animation-delay: 1.5s; }
.dot-3 { animation-delay: 1.8s; }

/* Hero image — blob shape */
.hero-image-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: heroFloat 6s ease-in-out infinite;
  /* Ensure no inherited clip-path creates a box */
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

.hero-img {
  width: 381px;
  height: 508px;
  object-fit: cover;
  object-position: top center;
  border-radius: 60% 40% 55% 45% / 50% 50% 50% 50%;
  box-shadow: 0 24px 56px rgba(26,18,8,0.18);
  animation: blobMorph 8s ease-in-out infinite, imgGlow 5s ease-in-out infinite;
  display: block;
}

/* Floating hero cards */
.hero-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26,18,8,0.1), 0 1px 0 rgba(26,18,8,0.04);
  padding: 14px 18px;
  z-index: 3;
  opacity: 0;
  min-width: 170px;
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), box-shadow 0.3s ease;
  cursor: default;
}
.hero-card:hover {
  transform: translateY(-5px) scale(1.03) !important;
  box-shadow: 0 18px 50px rgba(26,18,8,0.15), 0 1px 0 rgba(26,18,8,0.04);
}

.hc-progress {
  top: 8%; left: 2%;
}
.hc-students {
  bottom: 8%; right: 2%;
}
.hc-iso {
  bottom: 30%; left: 2%;
}

/* Card inner elements */
.hc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hc-bar-track {
  height: 4px;
  background: var(--bg2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.hc-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), #5AAA7F);
  border-radius: 2px;
  animation: barGrow 2s 2s ease-out forwards;
}
.hc-sub { font-size: 11px; color: var(--muted); }
.hc-big {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.hc-chips { display: flex; gap: 5px; margin-top: 8px; }
.hc-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.hc-chip.green { background: var(--green-bg); color: var(--green); }
.hc-chip.gold  { background: var(--gold-bg);  color: var(--gold); }
.hc-row { display: flex; align-items: center; gap: 10px; }
.hc-icon-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hc-label-strong { font-size: 13px; font-weight: 700; color: var(--ink); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  z-index: 5;
}
.scroll-cue span {
  font-size: 9px;
  letter-spacing: .25em;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}
.scroll-line-anim {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green) 0%, transparent 100%);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

/* ============================================================
   12. TRUSTED BY STRIP — logo image marquee
   ============================================================ */
.trusted-strip {
  display: flex;
  align-items: center;
  background: white;
  border-top: 1px solid var(--bg3);
  border-bottom: 1px solid var(--bg3);
  padding: 2.5rem 0;
  overflow: hidden;
}

.trusted-label-col {
  flex-shrink: 0;
  padding: 0 2.5rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trusted-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.trusted-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.trusted-divider-line {
  width: 1px;
  height: 60px;
  background: var(--bg3);
  flex-shrink: 0;
  margin-right: 2rem;
}

.logos-marquee-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.logos-marquee-wrap::before,
.logos-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos-marquee-wrap::before { left: 0; background: linear-gradient(90deg, white, transparent); }
.logos-marquee-wrap::after  { right: 0; background: linear-gradient(-90deg, white, transparent); }

.logos-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
}
.logos-forward { animation: scrollForward 35s linear infinite; }
.logos-reverse { animation: scrollReverse 30s linear infinite; }
.logos-row:hover { animation-play-state: paused; }

.logo-item {
  flex-shrink: 0;
  width: 100px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}
.logo-item:hover { opacity: 1; transform: scale(1.08); }
.logo-item img { max-width: 100%; max-height: 44px; object-fit: contain; }

/* ============================================================
   12b. SCHOOL NAMES TICKER
   ============================================================ */
.schools-ticker {
  position: relative;
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0,184,107,0.04), transparent);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.schools-ticker__row {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.schools-ticker__row + .schools-ticker__row {
  margin-top: 14px;
}

.schools-ticker__track {
  display: flex;
  flex: 0 0 auto;
  gap: 24px;
  padding-right: 24px;
  will-change: transform;
  backface-visibility: hidden;
  margin: 0;
  padding-left: 0;
  list-style: none;
  white-space: nowrap;
  align-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--ink-dark);
}

.schools-ticker__track .sep {
  color: var(--brand-gold);
  font-size: 0.65em;
  transform: translateY(-1px);
  display: inline-block;
}

.schools-ticker__track li:not(.sep):hover {
  color: var(--brand-emerald-deep);
  font-style: italic;
  transition: color 0.25s ease;
}

.schools-ticker__row--left  .schools-ticker__track { animation: ticker-left  55s linear infinite; }
.schools-ticker__row--right .schools-ticker__track { animation: ticker-right 70s linear infinite; }

@keyframes ticker-left  { from { transform: translate3d(0, 0, 0); }      to { transform: translate3d(-100%, 0, 0); } }
@keyframes ticker-right { from { transform: translate3d(-100%, 0, 0); }  to { transform: translate3d(0, 0, 0); } }

.schools-ticker:hover .schools-ticker__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .schools-ticker__track { animation: none; }
}

/* ============================================================
   13. PROBLEM / SOLUTION — CINEMATIC STICKY SCROLL
   ============================================================ */

/* Full-viewport cinematic problem panel */
.ps-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #0D0A05;
}

/* Sticky viewport-height frame */
.ps-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* ── PROBLEM PANEL ── */
.ps-problem {
  position: absolute;
  inset: 0;
  background: #0D0A05;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

/* Giant drifting background word */
.ps-bg-word {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 22vw;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  letter-spacing: -0.02em;
  pointer-events: none;
  will-change: transform;
}

.ps-problem-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Eyebrow label */
.ps-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ps-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Headline block: big stat + text side by side */
.ps-headline-block {
  display: flex;
  align-items: flex-end;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.ps-big-stat {
  font-family: 'Fraunces', serif;
  font-variation-settings: 'opsz' 144, 'wght' 800, 'SOFT' 0;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #FF5C4D 0%, #B83828 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  flex-shrink: 0;
}
.ps-headline {
  font-size: clamp(18px, 2.2vw, 28px);
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  line-height: 1.65;
  font-family: var(--font-sans);
  padding-bottom: 0.4rem;
}
.ps-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--white);
  font-size: 1.1em;
}

/* Pain pills — staggered reveal via JS */
.ps-pain-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3rem;
}
.ps-pain-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(232,98,74,0.08);
  border: 1px solid rgba(232,98,74,0.22);
  border-radius: var(--r-pill);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.ps-pain-pill.visible {
  opacity: 1;
  transform: translateY(0);
}
.ps-pain-x {
  color: var(--coral);
  font-weight: 800;
  font-size: 11px;
}

/* Scroll hint */
.ps-scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.28);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ps-cue-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.28);
  border-bottom: 2px solid rgba(255,255,255,0.28);
  transform: rotate(45deg);
  animation: psArrow 1.6s ease-in-out infinite;
}
@keyframes psArrow {
  0%, 100% { opacity: 0.28; transform: rotate(45deg) translate(0,0); }
  50%       { opacity: 0.7;  transform: rotate(45deg) translate(3px,3px); }
}

/* ── OUR SOLUTION — standalone section ── */
.solution-section {
  background: var(--bg);
  padding: 100px 0 110px;
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ps-sol-left { display: flex; flex-direction: column; }

.ps-sol-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.ps-sol-headline {
  font-size: clamp(22px, 2.6vw, 38px);
  margin: 12px 0 14px;
  line-height: 1.2;
  color: var(--ink);
}
.ps-sol-headline em {
  font-style: italic;
  color: var(--green);
}
.ps-sol-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.ps-sol-desc strong { color: var(--ink); }

/* Solution method cards — 2×2 grid via .ps-sol-right */
.ps-method-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--bg3);
  box-shadow: 0 2px 14px rgba(26,18,8,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}
.ps-method-card:hover {
  box-shadow: 0 6px 28px rgba(26,18,8,0.1);
  transform: translateY(-3px);
}
.ps-method-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ps-method-icon.blue  { background: var(--blue-bg);           color: var(--blue); }
.ps-method-icon.green { background: var(--green-bg);          color: var(--green); }
.ps-method-icon.gold  { background: var(--gold-bg);           color: var(--gold); }
.ps-method-icon.coral { background: rgba(232,98,74,0.1);      color: var(--coral); }
.ps-method-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ps-method-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.ps-method-text span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Impact strip inside solution */
.ps-impact-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.25rem;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--bg3);
  overflow: hidden;
}
.ps-impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px;
  flex: 1;
}
.ps-impact-sep {
  width: 1px;
  height: 40px;
  background: var(--bg3);
  flex-shrink: 0;
}
.ps-impact-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.ps-impact-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-align: center;
}

.ps-sol-left {
  opacity: 1;
  transform: none;
}

/* ============================================================
   14. ABOUT / FOUNDER CAROUSEL
   ============================================================ */
.about {
  background: var(--white);
  padding: 100px 0;
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* Founders carousel (left visual) */
.founders-carousel {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
}
.founders-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.founder-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.founder-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.founder-photo-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #C8B090, #A89070);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.founder-initials {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.founder-photo-frame:not(.no-photo) .founder-initials { display: none; }

.founder-name-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.75) 0%, transparent 100%);
  padding: 2.5rem 1.5rem 1.2rem;
  text-align: center;
}
.fn-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.founder-dots {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.f-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.f-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* About right content */
.about-content h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 20px;
  line-height: 1.15;
}
.about-content h2 em {
  font-style: italic;
  color: var(--green);
}

/* Dynamic founder quotes */
.fq {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.fq.active {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  margin-bottom: 16px;
}
.founder-quotes {
  position: relative;
  margin-bottom: 20px;
  min-height: 130px;
}
.about-quote {
  position: relative;
  border-left: 3px solid var(--gold);
  background: var(--gold-bg);
  border-radius: 0 16px 16px 0;
  padding: 22px 24px 22px 28px;
  margin-bottom: 10px;
  overflow: hidden;
}
.about-quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 12px;
  font-family: var(--font-serif);
  font-size: 80px;
  color: rgba(193,123,42,0.15);
  line-height: 1;
  pointer-events: none;
}
.about-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: var(--ink2);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.founder-byline {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  padding-left: 4px;
}
.about-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Mini achievement stats row */
.about-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--bg3);
  overflow: hidden;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  flex: 1;
}
.about-stat-div {
  width: 1px;
  height: 36px;
  background: var(--bg3);
  flex-shrink: 0;
}
.about-stat-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.about-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.board-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.board-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--gold-border);
  color: var(--gold);
  background: var(--gold-bg);
}

/* ============================================================
   15. HOW IT WORKS — STICKY SCROLL
   ============================================================ */
.how-it-works {
  background: var(--white);
  padding: 100px 0;
}
.how-sticky-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.how-sticky-left {
  position: sticky;
  top: 120px;
}
.how-sticky-left h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  margin-bottom: 14px;
}
.how-sticky-left h2 em {
  font-style: italic;
  color: var(--gold);
}
.how-sticky-left > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.step-progress-track {
  width: 2px;
  height: 180px;
  background: rgba(193,123,42,.15);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.step-progress-fill {
  width: 100%;
  height: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: height .5s cubic-bezier(.22,1,.36,1);
}

.how-scroll-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0 60px;
}
.step-card {
  background: var(--white);
  border: 1.5px solid var(--bg3);
  border-radius: 20px;
  padding: 28px 28px 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all .35s cubic-bezier(.22,1,.36,1);
  cursor: default;
}
.step-card.active {
  border-color: var(--gold-border);
  box-shadow: 0 8px 32px rgba(193,123,42,0.12);
  transform: translateX(8px);
}
.step-num {
  font-family: 'Fraunces', serif;
  font-feature-settings: 'tnum';
  font-size: clamp(80px, 10vw, 160px);
  font-weight: 300;
  line-height: 0.85;
  color: var(--accent-cobalt);
  opacity: 0.18;
  display: block;
  margin-bottom: -20px;
  flex-shrink: 0;
  transition: all .3s ease;
}
.step-card.active .step-num {
  opacity: 0.35;
  color: var(--brand-emerald-deep);
}
.step-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.step-body p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   16. WHAT'S INCLUDED
   ============================================================ */
.included {
  background: var(--bg2);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.included::before {
  content: 'INCLUDED';
  position: absolute;
  font-family: var(--font-serif);
  font-size: 14vw;
  font-weight: 700;
  color: rgba(26,18,8,0.03);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.included .container { position: relative; z-index: 1; }

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.inc-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1.5px solid var(--bg3);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px) scale(.97);
  transition: opacity .6s cubic-bezier(.22,1,.36,1),
              transform .6s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s ease;
}
.inc-card.in {
  opacity: 1;
  transform: none;
}

/* Large background number */
.inc-card::after {
  content: attr(data-num);
  position: absolute;
  bottom: -10px;
  right: 12px;
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 700;
  color: rgba(26,18,8,0.04);
  line-height: 1;
  pointer-events: none;
}

.inc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.inc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26,18,8,0.1);
}
.inc-card:hover::before { transform: scaleX(1); }

.inc-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ii-blue   { background: var(--blue-bg);  color: var(--blue); }
.ii-gold   { background: var(--gold-bg);  color: var(--gold); }
.ii-green  { background: var(--green-bg); color: var(--green); }
.ii-coral  { background: rgba(232,98,74,.1); color: var(--coral); }

.inc-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); font-weight: 700; }
.inc-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   17. LEARNING OUTCOMES — bold alphabet cards (light section)
   ============================================================ */
.outcomes-section {
  background: var(--white);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.outcomes-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--font-serif);
  font-size: 22vw;
  font-weight: 700;
  color: rgba(26,18,8,0.025);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.outcomes-header {
  text-align: center;
  margin-bottom: 4rem;
}
.outcomes-header .sec-tag { justify-content: center; }
.outcomes-header .sec-tag::before { display: none; }
.outcomes-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--ink);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}
.outcomes-header h2 em { font-style: italic; font-weight: 300; color: var(--gold); }
.outcomes-header p { font-size: 1rem; color: var(--muted); }

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

/* Big letter cards */
.oc-card {
  position: relative;
  border-radius: 24px;
  padding: 2.2rem 2rem 2rem;
  overflow: hidden;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  border: 1.5px solid transparent;
}
.oc-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 24px 60px rgba(26,18,8,0.12);
}

/* Color variants */
.oc-card[data-color="green"]  { background: #E8F5EE; border-color: #C0E0CE; }
.oc-card[data-color="gold"]   { background: #FDF3E3; border-color: #EDD9A3; }
.oc-card[data-color="blue"]   { background: #EAF2FC; border-color: #B5D4F4; }
.oc-card[data-color="coral"]  { background: #FDF0EC; border-color: #F5C4B3; }
.oc-card[data-color="purple"] { background: #F3EFFE; border-color: #CFC5F6; }
.oc-card[data-color="amber"]  { background: #FDF3E3; border-color: #FAC775; }

.oc-card.featured {
  background: var(--gold);
  border-color: var(--gold);
}
.oc-card.featured .oc-letter  { color: rgba(255,255,255,0.12); }
.oc-card.featured .oc-icon-wrap svg { stroke: white; }
.oc-card.featured .oc-icon-wrap { background: rgba(255,255,255,0.2); }
.oc-card.featured h5 { color: white; }

/* Giant background letter */
.oc-letter {
  position: absolute;
  bottom: -0.2em;
  right: -0.05em;
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: transform 0.4s ease;
}
.oc-card[data-color="green"]  .oc-letter { color: rgba(45,123,79,0.12); }
.oc-card[data-color="gold"]   .oc-letter { color: rgba(193,123,42,0.12); }
.oc-card[data-color="blue"]   .oc-letter { color: rgba(27,95,168,0.12); }
.oc-card[data-color="coral"]  .oc-letter { color: rgba(201,75,42,0.12); }
.oc-card[data-color="purple"] .oc-letter { color: rgba(83,74,183,0.12); }
.oc-card[data-color="amber"]  .oc-letter { color: rgba(186,117,23,0.12); }

/* Featured override — must come after data-color rules to win cascade */
.oc-card.featured .oc-letter { color: rgba(255,255,255,0.18); }

.oc-card:hover .oc-letter { transform: scale(1.08) rotate(-3deg); }

/* Icon wrap */
.oc-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.oc-icon-wrap svg { width: 22px; height: 22px; }

.oc-card[data-color="green"]  .oc-icon-wrap { background: rgba(45,123,79,0.15); }
.oc-card[data-color="green"]  .oc-icon-wrap svg { stroke: #2D7B4F; }
.oc-card[data-color="gold"]   .oc-icon-wrap { background: rgba(193,123,42,0.15); }
.oc-card[data-color="gold"]   .oc-icon-wrap svg { stroke: #C17B2A; }
.oc-card[data-color="blue"]   .oc-icon-wrap { background: rgba(27,95,168,0.15); }
.oc-card[data-color="blue"]   .oc-icon-wrap svg { stroke: #1B5FA8; }
.oc-card[data-color="coral"]  .oc-icon-wrap { background: rgba(201,75,42,0.15); }
.oc-card[data-color="coral"]  .oc-icon-wrap svg { stroke: #C94B2A; }
.oc-card[data-color="purple"] .oc-icon-wrap { background: rgba(83,74,183,0.15); }
.oc-card[data-color="purple"] .oc-icon-wrap svg { stroke: #534AB7; }
.oc-card[data-color="amber"]  .oc-icon-wrap { background: rgba(186,117,23,0.15); }
.oc-card[data-color="amber"]  .oc-icon-wrap svg { stroke: #BA7517; }

/* Featured (gold solid) — must come AFTER data-color rules to win the cascade */
.oc-card.featured .oc-icon-wrap { background: rgba(255,255,255,0.28); }
.oc-card.featured .oc-icon-wrap svg { stroke: #fff; }

.oc-card h5 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  z-index: 1;
  line-height: 1.3;
  margin-bottom: 6px;
}
.oc-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.oc-card.featured .oc-desc { color: rgba(255,255,255,0.75); }

/* ============================================================
   18. TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--white);
  padding: 100px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.t-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1.5px solid var(--bg3);
  padding: 30px 26px;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.t-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,18,8,0.1);
}
.t-card.featured {
  background: var(--gold-bg);
  border-color: var(--gold-border);
}
.t-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}
.t-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.75;
  margin-bottom: 22px;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-av-lg {
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t-author h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.t-author p { font-size: 12px; color: var(--gold); font-weight: 600; }

/* ============================================================
   19. CERTIFICATIONS
   ============================================================ */
.certifications {
  background: var(--white);
  padding: 80px 0;
}
.certifications h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 48px;
}
.certs-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cert-card {
  background: var(--white);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--r-md);
  padding: 26px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  min-width: 170px;
  transition: all .25s ease;
}
.cert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cert-icon {
  width: 50px; height: 50px;
  background: var(--gold-bg);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.cert-card span { font-size: 13px; font-weight: 600; color: var(--ink2); }

/* ============================================================
   20. GALLERY — living film wall
   ============================================================ */
.gallery-section {
  background: var(--ink);
  padding: 6rem 0 0;
  overflow: hidden;
}
.gallery-header {
  text-align: center;
  margin-bottom: 3.5rem;
  color: white;
}
.gallery-header .sec-tag { color: var(--gold); justify-content: center; }
.gallery-header .sec-tag::before { display: none; }
.gallery-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 44px);
  color: white;
  margin: 0.5rem 0 0.8rem;
}
.gallery-header h2 em { color: var(--gold); font-style: italic; font-weight: 300; }
.gallery-header p { color: rgba(255,255,255,0.5); font-size: 1rem; }

.film-wall {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.film-strip {
  display: flex;
  gap: 1rem;
  width: max-content;
  align-items: center;
  will-change: transform;
  backface-visibility: hidden;
}
.strip-forward { animation: filmForward 40s linear infinite; }
.strip-reverse { animation: filmReverse 32s linear infinite; }
.film-wall:hover .film-strip { animation-play-state: paused; }

.film-frame {
  flex-shrink: 0;
  width: 260px;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.film-frame.tall { height: 220px; }
.film-strip img, .film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: saturate(0.6) brightness(0.92);
}
.film-strip:hover img {
  filter: saturate(0.3) brightness(0.8);
}
.film-strip img:hover, .film-frame img:hover {
  filter: saturate(1.1) brightness(1.0) !important;
}
.film-frame:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1.0) !important;
}
.film-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.85);
}
.film-frame:hover .film-placeholder {
  transform: scale(1.06);
  filter: brightness(1);
}
.film-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(193,123,42,0);
  transition: background 0.3s;
  border-radius: 16px;
}
.film-frame:hover::after { background: rgba(193,123,42,0.08); }

.gallery-hint {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
  padding: 1.5rem 0 2rem;
  text-transform: uppercase;
}

/* ============================================================
   21. CTA SECTION (DARK JEWEL)
   ============================================================ */
.cta-section {
  background: var(--ink);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(193,123,42,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ringExpand 4s ease-in-out infinite;
  pointer-events: none;
}
.ring-1 { width: 300px; height: 300px; animation-delay: 0s; }
.ring-2 { width: 520px; height: 520px; animation-delay: 1.3s; }
.ring-3 { width: 740px; height: 740px; animation-delay: 2.6s; }

.cta-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-content { position: relative; z-index: 2; }
.cta-section .sec-tag { justify-content: center; color: var(--gold); }
.cta-section h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--white);
  margin-bottom: 18px;
}
.cta-section h2 em {
  font-style: italic;
  color: var(--gold-light);
}
.cta-section > .cta-content > p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   22. CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--bg2);
  padding: 100px 0;
}
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-info h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px;
}
.contact-info > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon-box {
  width: 44px; height: 44px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.contact-item p { font-size: 14px; color: var(--ink2); line-height: 1.65; }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 26px; margin-bottom: 26px; color: var(--ink); }
#formMessage {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 14px;
  display: none;
}
#formMessage.success {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(45,123,79,0.2);
  display: block;
}
#formMessage.error {
  background: rgba(232,98,74,0.1);
  color: var(--coral);
  border: 1px solid rgba(232,98,74,0.2);
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: span 2; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--bg3);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(193,123,42,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.contact-form .btn-gold {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  padding: 15px;
  font-size: 15px;
}

/* ============================================================
   23. FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-icon { background: #fff; border-radius: 8px; padding: 6px 10px; }
.footer-brand .logo-text .brand { color: var(--white); }
.footer-brand > p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 22px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all .25s ease;
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-column h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color .2s;
}
.footer-column ul li a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-credit { color: rgba(255,255,255,0.28) !important; }
.footer-credit a { color: var(--gold); text-decoration: none; transition: opacity .2s; }
.footer-credit a:hover { opacity: 0.75; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ============================================================
   23b. ANIMATED ICONS
   ============================================================ */

/* --- Keyframes --- */
@keyframes iconPop {
  0%   { transform: scale(0) rotate(-15deg); }
  60%  { transform: scale(1.25) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes iconWiggle {
  0%,100% { transform: rotate(0deg); }
  15%     { transform: rotate(-14deg); }
  35%     { transform: rotate(12deg); }
  55%     { transform: rotate(-9deg); }
  75%     { transform: rotate(6deg); }
}

@keyframes iconSpin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(200deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes iconBounce {
  0%,100% { transform: translateY(0); }
  30%     { transform: translateY(-9px); }
  55%     { transform: translateY(-4px); }
  75%     { transform: translateY(-7px); }
}

@keyframes iconFly {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  45%  { transform: translate(8px, -10px) rotate(20deg); opacity: 0.7; }
  75%  { transform: translate(12px, -5px) rotate(12deg); opacity: 0.4; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

@keyframes iconFlicker {
  0%,100% { transform: scaleY(1) scaleX(1); }
  20%     { transform: scaleY(1.12) scaleX(0.93); }
  40%     { transform: scaleY(0.93) scaleX(1.07); }
  60%     { transform: scaleY(1.1) scaleX(0.95); }
  80%     { transform: scaleY(0.96) scaleX(1.04); }
}

@keyframes iconPulse {
  0%,100% { transform: scale(1); }
  40%     { transform: scale(1.22); }
  70%     { transform: scale(1.1); }
}

@keyframes iconFlip {
  0%   { transform: rotateY(0deg); }
  45%  { transform: rotateY(90deg); }
  100% { transform: rotateY(0deg); }
}

@keyframes stepNumPop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* --- Inc-card icon: bounce in on card reveal --- */
.inc-card.in .inc-icon {
  animation: iconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) both;
}
.inc-card:nth-child(1).in .inc-icon { animation-delay: 0.15s; }
.inc-card:nth-child(2).in .inc-icon { animation-delay: 0.25s; }
.inc-card:nth-child(3).in .inc-icon { animation-delay: 0.35s; }
.inc-card:nth-child(4).in .inc-icon { animation-delay: 0.45s; }
.inc-card:nth-child(5).in .inc-icon { animation-delay: 0.55s; }
.inc-card:nth-child(6).in .inc-icon { animation-delay: 0.65s; }

/* --- Inc-card icon: contextual hover animations --- */
.inc-card:nth-child(1):hover .inc-icon svg { animation: iconWiggle 0.65s ease; }   /* Campus Enabler — person */
.inc-card:nth-child(2):hover .inc-icon svg { animation: iconFlip 0.65s ease; }     /* Workbooks — book */
.inc-card:nth-child(3):hover .inc-icon svg { animation: iconBounce 0.6s ease; }    /* Props Kit — layers */
.inc-card:nth-child(4):hover .inc-icon svg { animation: iconPulse 0.6s ease; }     /* Assessments — clipboard */
.inc-card:nth-child(5):hover .inc-icon svg { animation: iconSpin 0.75s ease; }     /* Jamboree — trophy */
.inc-card:nth-child(6):hover .inc-icon svg { animation: iconFly 0.75s ease; }      /* Marketing — paper plane */

/* --- Outcomes card icon: hover animations --- */
.oc-card[data-color="green"]:hover  .oc-icon-wrap svg { animation: iconPulse 0.7s ease; }    /* Critical Thinking — lightbulb */
.oc-card.featured:hover             .oc-icon-wrap svg { animation: iconBounce 0.6s ease; }   /* Communication — speech bubble */
.oc-card[data-color="blue"]:hover   .oc-icon-wrap svg { animation: iconSpin 0.7s ease; }     /* Confidence — award */
.oc-card[data-color="coral"]:hover  .oc-icon-wrap svg { animation: iconWiggle 0.65s ease; }  /* Teamwork — people */
.oc-card[data-color="purple"]:hover .oc-icon-wrap svg { animation: iconFlip 0.65s ease; }    /* Linguistic — T */
.oc-card[data-color="amber"]:hover  .oc-icon-wrap svg { animation: iconFlicker 0.65s ease; } /* Passion — flame */

/* --- Oc-card icon: pop in on scroll reveal --- */
.oc-card.in .oc-icon-wrap {
  animation: iconPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.2s both;
}

/* --- Step number: pop when card becomes active --- */
.step-card.active .step-num {
  animation: stepNumPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

/* --- Cert-card icon: spin on hover --- */
.cert-card:hover .cert-icon svg { animation: iconSpin 0.75s ease; }

/* --- Contact info icons: bounce on hover --- */
.contact-item:hover .contact-icon-box svg { animation: iconBounce 0.55s ease; }

/* ============================================================
   24. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  html, body { overflow-x: hidden; }
  .nav-links, .call-link, .nav-right .btn-green { display: none; }
  .hamburger { display: flex; }

  .hero .container { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; }
  .trust-row { justify-content: center; }
  .hero-scene { height: 340px; display: flex; justify-content: center; align-items: center; }
  .hero-image-blob {
    position: relative; top: auto; left: auto;
    transform: none; animation: none;
    clip-path: none !important;
  }
  .hero-img { width: 230px; height: 300px; animation: blobMorph 8s ease-in-out infinite; }
  .hc-progress { top: 6%; left: 4%; }
  .hc-students { bottom: 6%; right: 4%; }
  .hc-iso { bottom: 28%; left: 4%; }

  /* Trust row + stats center on tablet */
  .hero-stats { justify-content: center; }
  .trust-row { justify-content: center; }

  .trusted-strip { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; }
  .trusted-label-col { padding: 0; align-items: center; text-align: center; }
  .trusted-divider-line { width: 60px; height: 1px; margin: 0; }

  .solution-section { padding: 72px 0 80px; }
  .solution-inner { grid-template-columns: 1fr; gap: 40px; }
  .ps-sol-right { grid-template-columns: 1fr 1fr; }
  .ps-headline-block { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .ps-big-stat { font-size: 100px; }
  .ps-pain-wrap { flex-direction: column; align-items: flex-start; overflow: visible; }
  .ps-pain-pill { white-space: normal; }
  .ps-sol-desc, .ps-sol-headline, .ps-impact-strip { max-width: 100%; overflow-wrap: break-word; word-break: break-word; }
  .ps-impact-strip { flex-wrap: wrap; gap: 12px; }
  .ps-impact-sep { display: none; }

  .about .container { grid-template-columns: 1fr; }
  .contact .container { grid-template-columns: 1fr; }

  .how-sticky-container { grid-template-columns: 1fr; }
  .how-sticky-left { position: relative; top: 0; margin-bottom: 32px; }
  .step-progress-track { display: none; }
  .how-scroll-right { padding: 0 0 30px; }

  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  /* General text overflow prevention */
  h1, h2, h3, h4, p { overflow-wrap: break-word; word-break: break-word; }
  .hero .container > * { min-width: 0; }
}

/* ============================================================
   25. RESPONSIVE — MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  /* Prevent horizontal scroll */
  html, body { overflow-x: hidden; max-width: 100vw; }

  .container { padding: 0 16px; }

  .hero { padding: 90px 0 50px; min-height: auto; overflow: hidden; display: block; }
  .hero .container { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; gap: 20px; }
  .hero-content { order: 1; text-align: center; }
  .hero-visual { order: 2; }
  .hero h1 { font-size: 32px; line-height: 1.1; overflow: visible; margin-bottom: 10px; }
  .hero-subtitle { font-size: 13px; margin-bottom: 16px; }
  .hero-cta { -webkit-flex-direction: column; flex-direction: column; align-items: center; margin-bottom: 14px; }
  .hero-cta .btn { width: 100%; justify-content: center; max-width: 300px; }
  .trust-row { -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 12px; }

  .hero-scene { height: 240px; display: -webkit-box; display: -webkit-flex; display: flex; justify-content: center; align-items: center; }
  .hero-image-blob { position: relative; top: auto; left: auto; -webkit-transform: none; transform: none; -webkit-animation: none; animation: none; clip-path: none !important; }
  .hero-img { width: 180px; height: 235px; -webkit-animation: blobMorph 8s ease-in-out infinite; animation: blobMorph 8s ease-in-out infinite; }
  .hero-card { display: none; }
  .hero-connections { display: none; }

  .hero-stats { gap: 0; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .hero-stat { padding: 6px 10px; min-width: 0; }
  .stat-num { font-size: 22px; }

  /* Section padding reduction for mobile */
  .solution-section { padding: 56px 0 64px; }
  .solution-inner { grid-template-columns: 1fr; gap: 32px; }
  .ps-sol-right { grid-template-columns: 1fr; }
  .ps-eyebrow { font-size: 11px; }
  .ps-headline { font-size: 20px; }
  .ps-sol-headline { font-size: 22px; }
  .ps-method-card { padding: 14px; }
  .ps-impact-item { -webkit-flex: 1 1 40%; flex: 1 1 40%; }
  .ps-impact-num { font-size: 26px; }

  .about { padding: 64px 0; }
  .founders-carousel { height: 340px; }
  .founders-track { height: 100%; }

  .how-it-works { padding: 64px 0; }
  .how-scroll-right { gap: 14px; }
  .step-num { font-size: 60px; }

  .included { padding: 64px 0; }
  .included-grid { grid-template-columns: 1fr; }
  .inc-card { padding: 24px 20px 20px; }

  .outcomes-section { padding: 4rem 0; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 1rem; }
  .oc-card { padding: 1.5rem 1.25rem 1.25rem; }
  .oc-letter { font-size: 5rem; }

  .testimonials { padding: 64px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .certifications { padding: 56px 0; }
  .certs-row { -webkit-flex-direction: column; flex-direction: column; align-items: center; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .contact-form { padding: 24px 20px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { -webkit-flex-direction: column; flex-direction: column; text-align: center; }

  .cta-actions { -webkit-flex-direction: column; flex-direction: column; align-items: center; }
  .step-card.active { -webkit-transform: none; transform: none; }

  .cta-ring { -webkit-transform: translate(-50%, -50%) scale(0.6); transform: translate(-50%, -50%) scale(0.6); }
  .cta-section { padding: 80px 0; }

  .wave svg { height: 48px; }

  .film-frame { width: 190px; height: 130px; }
  .film-frame.tall { height: 165px; }

  /* Section header text fixes */
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }
  .outcomes-header h2 { font-size: 26px; }
  .contact-info h2 { font-size: 24px; }

  /* Ensure text never overflows */
  p, h1, h2, h3, h4, h5, span, li {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* ============================================================
   25b. RESPONSIVE — VERY SMALL PHONES (≤ 375px, old Android)
   ============================================================ */
@media (max-width: 375px) {
  .hero h1 { font-size: 28px; }
  .hero-img { width: 155px; height: 205px; }
  .hero-scene { height: 215px; }

  .ps-big-stat { font-size: 64px; }
  .hero-stats { justify-content: center; }
  .hero-stat { padding: 6px 8px; }
  .stat-num { font-size: 20px; }

  .nav-links, .call-link { display: none; }
  .navbar .btn-green { font-size: 13px; padding: 8px 16px; }

  .btn { padding: 13px 22px; font-size: 14px; }
  .btn-gold-cta { padding: 13px 24px; font-size: 14px; }

  .contact-form { padding: 20px 16px; }

  /* Old Android: disable expensive blend-modes that may cause rendering issues */
  body::before { display: none; }
}

/* ============================================================
   26. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .inc-card { opacity: 1 !important; transform: none !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
  .hero-card { opacity: 1 !important; }
}
