/* === style.css === */
@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap);

/* Accessibility: respect user's motion preference — WCAG 2.3.3 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip navigation — WCAG 2.4.1 Level A */
.skip-nav {
  position: absolute;
  top: -999px;
  left: 0;
  padding: 0.75rem 1.5rem;
  background: #F4600C;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  transition: top 0.1s;
}
.skip-nav:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Tutor application — selected state for custom checkbox/radio cards */
input[type="checkbox"].peer:checked + div,
input[type="radio"].peer:checked + div {
  background-color: #fff7ed;
  border-color: #f97316;
  color: #c2410c;
}

/* Tutor application — confetti particles */
@keyframes confettiFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
.confetti {
  position: fixed;
  top: -20px;
  z-index: 9999;
  pointer-events: none;
  animation: confettiFall 3.5s ease-in forwards;
}

/* Success screen fade-in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn { animation: fadeIn 0.5s ease-out forwards; }

/* Error toast slide-up */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-slideUp { animation: slideUp 0.3s ease-out forwards; }
.page-loader  {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,#6b7db3 0%,#a78bfa 50%,#5a6a9a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease
}

.page-loader.loaded  {
  opacity: 0;
  pointer-events: none;
  visibility: hidden
}

.loader-content  {
  text-align: center
}

.loader-logo  {
  width: 200px;
  height: auto;
  animation: pulse-glow 1.5s ease-in-out infinite
}

.loader-bar  {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
  margin-top: 24px;
  overflow: hidden
}

.loader-progress  {
  height: 100%;
  background: linear-gradient(90deg,#ff9b7a,#a78bfa,#ff9b7a);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: shimmer 1.5s linear infinite, loader-fill 2s ease-out forwards
}

@keyframes loader-fill  {
  0%  {
  width: 0%
  }

  100%  {
  width: 100%
  }
}

@keyframes pulse-glow  {
  0%, 100%  {
  transform: scale(1)
  }

  50%  {
  transform: scale(1.03)
  }
}

.scroll-progress  {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg,#ff9b7a,#a78bfa);
  z-index: 9998;
  transition: width .1s linear
}

.cursor-glow  {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle,rgba(255,155,122,.15) 0,transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%,-50%);
  transition: opacity .3s ease
}

.tilt-card  {
  transform-style: preserve-3d;
  transition: transform .5s ease
}

.tilt-card:hover  {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) scale(1.02)
}

.tilt-card-inner  {
  transform: translateZ(20px)
}

.magnetic-btn  {
  transition: transform .3s ease
}

.reveal-hidden  {
  opacity: 0;
  transform: translateY(50px)
}

.reveal-visible  {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .8s ease, transform .8s ease
}

.reveal-left-hidden  {
  opacity: 0;
  transform: translateX(-50px)
}

.reveal-right-hidden  {
  opacity: 0;
  transform: translateX(50px)
}

.reveal-scale-hidden  {
  opacity: 0;
  transform: scale(.9)
}

@keyframes shimmer  {
  0%  {
  background-position: -200% 0
  }

  100%  {
  background-position: 200% 0
  }
}

.shimmer-text  {
  background: linear-gradient(90deg,#fff0,#ff6d00 25%,#fff 50%,#673ab7 75%,#fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite
}

.hover-lift  {
  transition: transform .3s ease, box-shadow .3s ease
}

html.has-scroll-smooth  {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0
}

html.has-scroll-smooth body  {
  overflow: hidden
}

[data-scroll-container]  {
  perspective: 1px;
  min-height: 100vh
}

.fixed, header  {
  z-index: 9999!important
}

.c-scrollbar  {
  z-index: 9999
}

.stagger-1  {
  animation-delay: .1s
}

.stagger-2  {
  animation-delay: .2s
}

.stagger-3  {
  animation-delay: .3s
}

.stagger-4  {
  animation-delay: .4s
}

.stagger-5  {
  animation-delay: .5s
}

.navbar-scrolled  {
  background: rgba(255,255,255,.95)!important;
  box-shadow: 0 10px 40px rgba(0,0,0,.1)
}

body  {
  font-family: Inter, sans-serif;
  background-color: #fafbfc;
  color: #4a5568;
  overflow-x: hidden
}

.bg-cosmic-blue  {
  background-color: #6b7db3
}

.text-cosmic-blue  {
  color: #5a6a9a
}

.bg-supernova-orange  {
  background-color: #ff9b7a
}

.text-supernova-orange  {
  color: #ff8a65
}

.hover\:bg-orange-700:hover  {
  background-color: #ff7043
}

.bg-galaxy-purple  {
  background-color: #a78bfa
}

.text-galaxy-purple  {
  color: #9775e4
}

.bg-circuit-green  {
  background-color: #6ee7b7
}

.text-circuit-green  {
  color: #5dd4a8
}

.bg-rocket-yellow  {
  background-color: #fde68a
}

.text-rocket-yellow  {
  color: #f9d56e
}

.bg-pastel-pink  {
  background-color: #fbb6ce
}

.text-pastel-pink  {
  color: #f687b3
}

.bg-pastel-sky  {
  background-color: #7dd3fc
}

.text-pastel-sky  {
  color: #6bcbf5
}

.hero-gradient  {
  background: radial-gradient(circle at 10% 20%,#6b7db3 0%,#4a5a8a 90%)
}

.glass-nav  {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.8);
  border-left: 1px solid rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.4);
  border-right: 1px solid rgba(255,255,255,.4);
  margin-top: 0;
  box-shadow: 0 4px 20px 0 rgba(31,38,135,.1), inset 0 0 0 1px rgba(255,255,255,.2);
  min-height: 70px;
  height: auto;
  display: flex;
  flex-direction: column
}

.glass-nav nav  {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 70px
}

#mobile-menu  {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,.1);
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-left: 1.5rem!important;
  padding-right: 1.5rem!important;
  padding-bottom: 1.5rem!important;
  padding-top: 1rem!important
}

#mobile-menu:not(.hidden)  {
  display: flex;
  flex-direction: column;
  gap: .5rem
}

#mobile-menu a  {
  display: block;
  padding: .75rem 1rem;
  border-radius: .75rem;
  transition: background-color .2s ease, color .2s ease;
  font-weight: 500
}

#mobile-menu a:hover  {
  background: rgba(255,155,122,.1)
}

#mobile-menu .border-t  {
  border-color: rgba(0,0,0,.1);
  margin-top: .75rem;
  padding-top: .75rem
}

#mobile-menu a[href*="forms.gle"]  {
  margin-top: .5rem;
  padding: 1rem 1.5rem;
  text-align: center;
  display: block;
  width: 100%;
  box-sizing: border-box
}

.nav-logo  {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin-top: -15px;
  margin-bottom: -15px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .15));
  transition: transform .3s ease
}

.nav-logo:hover  {
  transform: scale(1.08)
}

.glass-card {
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.glass-card-dark {
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

.bg-pattern-circuit  {
  background-image: radial-gradient(rgba(26,35,126,.1) 1px,transparent 1px);
  background-size: 30px 30px
}

.bg-pattern-grid  {
  background-size: 50px 50px;
  background-image: linear-gradient(to right,rgba(255,255,255,.05) 1px,transparent 1px), linear-gradient(to bottom,rgba(255,255,255,.05) 1px,transparent 1px)
}

.bg-pattern-dots-white  {
  background-image: radial-gradient(rgba(255,255,255,.1) 1px,transparent 1px);
  background-size: 20px 20px
}

.btn-glow  {
  transition: all .3s ease
}

.btn-glow:hover  {
  box-shadow: none;
  transform: translateY(-2px)
}

.floating-card  {
  animation: float 6s ease-in-out infinite
}

@keyframes float  {
  0%  {
  transform: translateY(0)
  }

  50%  {
  transform: translateY(-20px)
  }

  100%  {
  transform: translateY(0)
  }
}

@keyframes happy-jump  {
  0%, 100%  {
  transform: translateY(0) rotate(0) scale(1)
  }

  15%  {
  transform: translateY(-15px) rotate(-2deg) scale(1.02)
  }

  30%  {
  transform: translateY(0) rotate(0) scale(1)
  }

  45%  {
  transform: translateY(-10px) rotate(1deg) scale(1.01)
  }

  60%  {
  transform: translateY(0) rotate(0) scale(1)
  }
}

.hero-image-jump  {
  transition: all .3s ease
}

.hero-image-jump:hover  {
  animation: happy-jump .8s ease-in-out;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.4)
}

.hero-glow  {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,rgba(255,109,0,.15) 0,rgba(255,109,0,0) 70%);
  border-radius: 50%;
  pointer-events: none
}

.no-scrollbar::-webkit-scrollbar  {
  display: none
}

.no-scrollbar  {
  -ms-overflow-style: none;
  scrollbar-width: none
}

.program-card  {
  transition: all .4s cubic-bezier(.175, .885, .32, 1.275)
}

.hero-with-bg  {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh
}

@media (max-width:768px)  {
  .hero-with-bg  {
  background-attachment: scroll;
    min-height: 70vh;
    padding-top: 6rem
  }
}

.hero-with-bg::before  {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,rgba(107,125,179,.75) 0,rgba(167,139,250,.8) 100%);
  z-index: 1
}

.hero-with-bg>*  {
  position: relative;
  z-index: 2
}

.hero-with-bg .container  {
  position: relative;
  z-index: 10
}

.hero-title  {
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,.7), 0 2px 10px rgba(0,0,0,.5);
  font-weight: 700;
  line-height: 1.1
}

.hero-subtitle  {
  color: #e2e8f0;
  text-shadow: 0 2px 10px rgba(0,0,0,.5), 0 1px 5px rgba(0,0,0,.4)
}

.hero-badge  {
  text-shadow: none
}

.glass-card-premium  {
  background: #ffffff !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.float-animation  {
  animation: floating 6s ease-in-out infinite
}

@keyframes floating  {
  0%  {
  transform: translateY(0)
  }

  50%  {
  transform: translateY(-20px)
  }

  100%  {
  transform: translateY(0)
  }
}

@keyframes shimmer  {
  0%  {
  transform: translateX(-100%)
  }

  100%  {
  transform: translateX(100%)
  }
}

.stagger-grid>div:nth-child(2n)  {
  transform: translateY(40px)
}

@media (max-width:768px)  {
  .stagger-grid>div:nth-child(2n)  {
  transform: translateY(0)
  }
}

.comparison-card  {
  background: linear-gradient(135deg,#fff0,#f1f4ff 100%);
  position: relative;
  overflow: hidden
}

.comparison-card::after  {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,rgba(255,109,0,.05) 0,transparent 70%);
  pointer-events: none
}

.text-shadow-sm  {
  text-shadow: 0 1px 2px rgba(0,0,0,.3)
}

.text-shadow-md  {
  text-shadow: 0 2px 4px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3)
}

.text-shadow-lg  {
  text-shadow: 0 4px 8px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.4)
}

.text-shadow-xl  {
  text-shadow: 0 4px 12px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3)
}

.text-glow-orange  {
  text-shadow: 0 0 20px rgba(255,109,0,.5), 0 0 40px rgba(255,109,0,.3)
}

.text-glow-white  {
  text-shadow: 0 0 10px rgba(255,255,255,.3), 0 0 20px rgba(255,255,255,.2)
}

.text-white-readable  {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.4)
}

.text-gray-light-readable  {
  color: #e5e5e5;
  text-shadow: 0 1px 3px rgba(0,0,0,.3)
}

.text-dark-readable  {
  color: #1e293b
}

.text-muted-readable  {
  color: #64748b
}

.hero-text-primary  {
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.4);
  font-weight: 700
}

.hero-text-secondary  {
  color: #e2e8f0;
  text-shadow: 0 2px 6px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.3)
}

.hero-text-accent  {
  color: #ff6d00;
  text-shadow: 0 0 20px rgba(255,109,0,.4), 0 2px 4px rgba(0,0,0,.3)
}

@keyframes heroFadeUp  {
  0%  {
  opacity: 0;
    transform: translateY(40px)
  }

  100%  {
  opacity: 1;
    transform: translateY(0)
  }
}

@keyframes heroTitleReveal  {
  0%  {
  opacity: 0;
    transform: translateY(50px) scale(.95);
    filter: blur(5px)
  }

  100%  {
  opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0)
  }
}

@keyframes heroTextGlow  {
  0%, 100%  {
  text-shadow: 0 4px 12px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.4)
  }

  50%  {
  text-shadow: 0 4px 20px rgba(255,109,0,.3), 0 6px 16px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.4)
  }
}

.hero-title  {
  animation: heroTitleReveal 1s cubic-bezier(.22,1,.36,1) forwards
}

.hero-subtitle  {
  opacity: 0;
  animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) .3s forwards
}

.hero-badge  {
  opacity: 0;
  animation: heroFadeUp .6s cubic-bezier(.22,1,.36,1) .1s forwards
}

.hero-cta  {
  opacity: 0;
  animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) .5s forwards
}

.hero-emphasis  {
  animation: heroTextGlow 3s ease-in-out infinite
}

.hero-content-left  {
  text-align: left;
  max-width: 800px
}

.card-title  {
  color: #1a237e;
  font-weight: 700;
  line-height: 1.3
}

.card-text  {
  color: #4b5563;
  line-height: 1.6
}

.card-text-light  {
  color: #9ca3af;
  line-height: 1.5
}

.badge-text  {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .75rem
}

a.link-readable  {
  text-decoration: underline;
  text-underline-offset: 2px
}

.footer-text  {
  color: #cbd5e1
}

.footer-text-muted  {
  color: #94a3b8
}

.label-readable  {
  color: #374151;
  font-weight: 600
}

.testimonial-text  {
  color: #4b5563;
  font-style: italic;
  line-height: 1.7
}

.stats-number  {
  color: #1a237e;
  font-weight: 800;
  letter-spacing: -.02em
}

.stats-label  {
  color: #6b7280;
  font-weight: 500
}

.cta-heading  {
  color: #fff;
  text-shadow: 0 4px 12px rgba(0,0,0,.4);
  font-weight: 700
}

.cta-text  {
  color: #d1d5db;
  text-shadow: 0 2px 4px rgba(0,0,0,.3)
}

.overlay-text-protection  {
  position: relative
}

.overlay-text-protection::before  {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,rgba(0,0,0,.1) 0,rgba(0,0,0,.4) 100%);
  pointer-events: none;
  z-index: 1
}

.overlay-text-protection>*  {
  position: relative;
  z-index: 2
}

.bg-readable-dark  {
  background-color: rgba(0,0,0,.7)
}

.bg-readable-light  {
  background-color: rgba(255,255,255,.95)
}

.btn-text-white  {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.2)
}

.btn-text-dark  {
  color: #1a237e
}

.gradient-text-readable  {
  background: linear-gradient(135deg,#ff6d00 0,#ffd600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent
}

.section-heading  {
  color: #1a237e;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em
}

.section-subheading  {
  color: #4b5563;
  line-height: 1.6
}

.pill-text  {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em
}

.nav-link-text  {
  font-weight: 500;
  transition: color .2s ease
}

.nav-link-text:hover  {
  color: #ff6d00
}

input::placeholder, textarea::placeholder  {
  color: #9ca3af;
  opacity: 1
}

::selection  {
  background-color: #ff6d00;
  color: #fff
}

::-moz-selection  {
  background-color: #ff6d00;
  color: #fff
}

@media (max-width:639px)  {
  .hero-with-bg  {
  min-height: 100vh;
    padding-top: 5rem
  }

  .hero-glow  {
  position: absolute!important
  }

  .text-5xl, .text-6xl, .text-7xl, h1  {
  font-size: 2rem!important;
    line-height: 1.3!important
  }

  .text-4xl, h2  {
  font-size: 1.75rem!important
  }

  .text-3xl, h3  {
  font-size: 1.5rem!important
  }

  .hero-with-bg .container  {
  padding-left: 1rem!important;
    padding-right: 1rem!important;
    max-width: 100%!important;
    width: 100%!important;
    display: flex!important;
    flex-direction: column!important;
    align-items: center!important;
    justify-content: center!important;
    text-align: center!important;
    margin-left: 0!important;
    margin-right: 0!important;
    left: 0!important;
    right: 0!important;
    position: relative!important
  }

  .hero-with-bg .container>*  {
  text-align: center!important;
    display: block!important;
    margin-left: auto!important;
    margin-right: auto!important
  }

  .hero-title  {
  font-size: 1.875rem!important;
    line-height: 1.3!important;
    margin-bottom: 1.25rem!important;
    margin-left: auto!important;
    margin-right: auto!important;
    letter-spacing: -.02em;
    max-width: calc(100% - .5rem)!important;
    width: auto!important;
    text-align: center!important;
    padding: .75rem 1rem;
    background: rgba(0,0,0,.3);
    border-radius: .75rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-sizing: border-box;
    display: block!important
  }

  .hero-subtitle  {
  font-size: 1rem!important;
    line-height: 1.75!important;
    margin-bottom: 1.5rem!important;
    margin-left: auto!important;
    margin-right: auto!important;
    max-width: calc(100% - .5rem)!important;
    width: auto!important;
    padding: .75rem 1rem;
    text-align: center!important;
    background: rgba(0,0,0,.25);
    border-radius: .75rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-sizing: border-box;
    display: block!important
  }

  .hero-badge  {
  font-size: .75rem!important;
    padding: .5rem 1rem!important;
    margin-bottom: 1rem!important
  }

  .hero-cta  {
  gap: 1rem!important;
    margin-top: 1.5rem!important;
    width: 100%!important;
    justify-content: center
  }

  .hero-cta a  {
  padding: .875rem 1.5rem!important;
    font-size: .9rem!important;
    width: 100%;
    text-align: center
  }

  .lg\:grid-cols-2  {
  grid-template-columns: 1fr!important
  }

  .btn-glow, a.btn-glow  {
  padding: .75rem 1.5rem!important;
    font-size: .875rem!important
  }

  .glass-card, .glass-card-dark  {
  padding: 1.25rem!important
  }

  .glass-nav  {
  margin: .5rem;
    border-radius: 1rem
  }

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

  .cursor-glow  {
  display: none
  }

  .lg\:flex-row  {
  flex-direction: column!important
  }

  #interests  {
  grid-template-columns: repeat(2,1fr)!important;
    gap: .75rem
  }

  #interests button  {
  padding: .75rem!important
  }

  #interests .w-14  {
  width: 2.5rem!important;
    height: 2.5rem!important
  }

  .grid  {
  gap: 1rem
  }

  section  {
  padding-top: 3rem;
    padding-bottom: 3rem
  }

  .container  {
  padding-left: 1rem;
    padding-right: 1rem
  }
}

@media (min-width:640px) and (max-width:1023px)  {
  .text-5xl, .text-6xl, h1  {
  font-size: 2.5rem!important
  }

  .text-4xl, h2  {
  font-size: 2rem!important
  }

  .md\:grid-cols-4  {
  grid-template-columns: repeat(2,1fr)!important
  }

  .lg\:w-1\/2  {
  width: 100%!important
  }

  #interests  {
  grid-template-columns: repeat(4,1fr)
  }

  section  {
  padding-top: 4rem;
    padding-bottom: 4rem
  }
}

@media (min-width:1024px)  {
  .container  {
  max-width: 1280px
  }

  .hero-with-bg  {
  min-height: 100vh
  }

  .lg\:grid-cols-2  {
  grid-template-columns: repeat(2,1fr)
  }

  .lg\:grid-cols-4  {
  grid-template-columns: repeat(4,1fr)
  }
}

@media (min-width:1280px)  {
  .container  {
  max-width: 1400px
  }

  h1  {
  font-size: 4rem
  }

  h2  {
  font-size: 3rem
  }
}

@media (hover:none)  {
  .hover\:-translate-y-2:hover, .hover\:scale-105:hover  {
  transform: none
  }

  .exp-btn, .interest-btn, a, button  {
  min-height: 44px
  }
}

@media print  {
  .cursor-glow, .hero-glow, .page-loader, .scroll-progress, nav  {
  display: none!important
  }

  body  {
  background: #fff;
    color: #000
  }
}

.whatsapp-float  {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,#25d366 0,#128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 8px 32px rgba(0,0,0,.2);
  z-index: 9000;
  cursor: pointer;
  transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
  animation: whatsappPulse 2s ease-in-out infinite
}

.whatsapp-float:hover  {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 30px rgba(37,211,102,.5), 0 12px 40px rgba(0,0,0,.25)
}

.whatsapp-float:active  {
  transform: scale(.95)
}

.whatsapp-float svg  {
  width: 32px;
  height: 32px;
  fill: white
}

.whatsapp-float .tooltip  {
  position: absolute;
  right: 75px;
  background: #1a237e;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.15)
}

.whatsapp-float .tooltip::after  {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid #1a237e;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent
}

.whatsapp-float:hover .tooltip  {
  opacity: 1;
  visibility: visible;
  right: 80px
}

@keyframes whatsappPulse  {
  0%, 100%  {
  box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 8px 32px rgba(0,0,0,.2), 0 0 0 0 rgba(37,211,102,.4)
  }

  50%  {
  box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 8px 32px rgba(0,0,0,.2), 0 0 0 15px rgba(37,211,102,0)
  }
}

@media (max-width:768px)  {
  .whatsapp-float  {
  bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px
  }

  .whatsapp-float svg  {
  width: 28px;
    height: 28px
  }

  .whatsapp-float .tooltip  {
  display: none
  }
}

.modal-backdrop  {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,23,42,.9);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem
}

.modal-backdrop.active  {
  opacity: 1;
  visibility: visible
}

.modal-content  {
  background: #fff;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(.9);
  opacity: 0;
  transition: all .4s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25)
}

.modal-backdrop.active .modal-content  {
  transform: scale(1);
  opacity: 1
}

.modal-close  {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1);
  transition: transform .2s ease;
  z-index: 10
}

.modal-close:hover  {
  transform: rotate(90deg);
  color: #ff6d00
}

.modal-body  {
  padding: 0
}

.modal-image-container  {
  height: 400px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #f1f5f9
}

.modal-image  {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.modal-details  {
  padding: 2.5rem
}

.modal-header  {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0
}

.modal-title  {
  font-size: 2rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: .5rem;
  line-height: 1.2
}

.modal-meta  {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #64748b;
  font-size: .875rem;
  font-weight: 500
}

.modal-description  {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 2rem
}

.modal-tags  {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem
}

.modal-tag  {
  background: #f1f5f9;
  color: #475569;
  padding: .5rem 1rem;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 600
}

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

.modal-btn  {
  background: #ff6d00;
  color: #fff;
  padding: .75rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all .3s ease
}

.modal-btn:hover  {
  background: #e65100;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(10, 10, 10, 0.12)
}

@media (max-width:768px)  {
  .modal-image-container  {
  height: 250px
  }

  .modal-details  {
  padding: 1.5rem
  }

  .modal-title  {
  font-size: 1.5rem
  }
}

.hero-content-overlap  {
  margin-left: -149%;
  margin-top: 10%;
  width: 200%
}

.hero-visual-overlap  {
  margin-left: -70%
}

@media (max-width:1024px)  {
  .hero-content-overlap  {
  margin-left: 0;
    margin-top: 0;
    width: 100%
  }

  .hero-visual-overlap  {
  margin-left: 0
  }
}

:root  {
  --glass-bg-dark: rgba(13, 17, 23, 0.7);
  --glass-bg-light: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glass-blur: 12px
}

.glass-panel  {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1rem
}

.glass-panel-light  {
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,.15);
  border-radius: 1rem
}

.glass-panel-hover  {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.glass-panel-hover:hover  {
  transform: translateY(-5px);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.3)
}

.arch-carousel-container  {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0;
  perspective: none;
  overflow-x: auto;
  scroll-behavior: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
  cursor: grab
}

.arch-carousel-container:active  {
  cursor: grabbing
}

.arch-carousel-container::-webkit-scrollbar  {
  display: none
}

.arch-card  {
  flex: 0 0 auto;
  width: 380px;
  position: relative;
  opacity: .5;
  transform: scale(.9);
  transition: all .4s cubic-bezier(.25, .46, .45, .94);
  filter: grayscale(80%);
  left: auto!important;
  right: auto!important;
  bottom: auto!important;
  top: auto!important;
  z-index: 10
}

.arch-card.active  {
  opacity: 1!important;
  transform: scale(1.1)!important;
  filter: grayscale(0%)!important;
  z-index: 50!important;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25)
}

@media (max-width:1024px)  {
  .arch-card  {
  width: 320px
  }
}

@media (max-width:640px)  {
  .arch-card  {
  width: 85vw
  }

  .arch-carousel-container  {
  gap: 1rem
  }
}

.glass-input  {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  backdrop-filter: blur(5px)
}

.glass-input:focus  {
  background: rgba(255,255,255,.1);
  border-color: var(--supernova-orange);
  outline: 0
}

.program-card.glass-panel  {
  overflow: hidden
}

.feature-card.glass-panel  {
  padding: 2rem
}

.testimonial-card.glass-panel  {
  padding: 2rem;
  position: relative
}

:root  {
  --glass-bg-dark: rgba(13, 17, 23, 0.7);
  --glass-bg-light: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glass-blur: 12px
}

.glass-panel  {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1rem
}

.glass-panel-light  {
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,.15);
  border-radius: 1rem
}

.glass-panel-hover  {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.glass-panel-hover:hover  {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.3)
}
/* Honeypot Security CSS Patch for Form Fields */
.sr-only, input[name="honeypot_human_check"], .honeypot-field-container, label:has(+ input[name="honeypot_human_check"]) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    opacity: 0;
    pointer-events: none;
    tab-index: -1;
}


/* === section-dividers.css === */
/* ============================================================
 STEMulus Section Dividers
 8 unique SVG-based transition shapes for section boundaries.
 Usage: <div class="divider divider-wave"></div>
 Each divider is ~6080px tall, responsive, and GPU-accelerated.
 ============================================================ */

/* Base divider */
.divider {
 position: relative;
 width: 100%;
 overflow: hidden;
 line-height: 0;
 pointer-events: none;
}

.divider svg {
 display: block;
 width: 100%;
 height: 100%;
}

/* ── 1. Wave ─────────────────────────────────────────────────
 Smooth sine wave — great for hero → next section
 ──────────────────────────────────────────────────────────── */
.divider-wave {
 height: 70px;
 background: transparent;
}

.divider-wave svg {
 position: absolute;
 bottom: 0;
}

/* ── 2. Tilt ─────────────────────────────────────────────────
 Diagonal angled cut — modern and sharp
 ──────────────────────────────────────────────────────────── */
.divider-tilt {
 height: 60px;
 background: transparent;
}

/* ── 3. Peaks ────────────────────────────────────────────────
 Mountain peaks — dynamic, energetic
 ──────────────────────────────────────────────────────────── */
.divider-peaks {
 height: 70px;
 background: transparent;
}

/* ── 4. Drip ─────────────────────────────────────────────────
 Organic blob drip — playful, friendly
 ──────────────────────────────────────────────────────────── */
.divider-drip {
 height: 80px;
 background: transparent;
}

/* ── 5. Zigzag ───────────────────────────────────────────────
 Zigzag teeth — technical, circuit-board feel
 ──────────────────────────────────────────────────────────── */
.divider-zigzag {
 height: 50px;
 background: transparent;
}

/* ── 6. Curves ───────────────────────────────────────────────
 Multi-layered curves — elegant, premium
 ──────────────────────────────────────────────────────────── */
.divider-curves {
 height: 70px;
 background: transparent;
}

/* ── 7. Arrow ────────────────────────────────────────────────
 Centered chevron arrow — directional, purposeful
 ──────────────────────────────────────────────────────────── */
.divider-arrow {
 height: 60px;
 background: transparent;
}

/* ── 8. Fade ─────────────────────────────────────────────────
 Gradient mist dissolve — subtle, soft
 ──────────────────────────────────────────────────────────── */
.divider-fade {
 height: 60px;
 background: transparent;
}

/* ── Dark mode adjustments ───────────────────────────────── */
.dark .divider svg path,
.dark .divider svg polygon {
 transition: fill 0.3s ease;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {

 .divider-wave,
 .divider-peaks,
 .divider-curves {
 height: 45px;
 }

 .divider-drip {
 height: 55px;
 }

 .divider-tilt,
 .divider-arrow,
 .divider-zigzag,
 .divider-fade {
 height: 35px;
 }
}

/* === assets/css/visual-enhancements.css === */
/**
 * STEMulus Visual Enhancements CSS
 * Styles for: Before/After Slider, 3D Cards, Animated Growth, Odometer Counters
 */

/* ============================================================
   ENHANCEMENT 1: Before/After Image Comparison Slider
   ============================================================ */
.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 1rem;
    cursor: col-resize;
    user-select: none;
}

.before-after-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after-slider .before-image {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.before-after-slider .after-image {
    z-index: 1;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f97316, #8b5cf6);
    z-index: 10;
    transform: translateX(-50%);
    cursor: col-resize;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f97316 0%, #8b5cf6 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle::after {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    z-index: 11;
}

.slider-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    z-index: 5;
}

.slider-label.before-label {
    left: 1rem;
}

.slider-label.after-label {
    right: 1rem;
}

/* ============================================================
   ENHANCEMENT 2: 3D Tilt Cards with Holographic Shine
   ============================================================ */
.card-3d-tilt {
    position: relative;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.card-3d-tilt:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-shine {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: 10;
}

/* Floating icons for parallax effect */
.parallax-icon {
    position: absolute;
    opacity: 0.15;
    font-size: 2rem;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.1s ease-out;
}

/* ============================================================
   ENHANCEMENT 3: Animated Growth Journey
   ============================================================ */
.growth-animate {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.growth-animate.growth-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Animated SVG paths */
.growth-animate svg path,
.growth-animate svg circle,
.growth-animate svg ellipse {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

.growth-visible svg path,
.growth-visible svg circle,
.growth-visible svg ellipse {
    stroke-dashoffset: 0;
}

/* Pulsing ring for growth icons */
.growth-ring {
    position: relative;
}

.growth-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: growthPulse 2s ease-out infinite;
}

@keyframes growthPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Tree growing animation */
.tree-grow-trunk {
    transform-origin: bottom center;
    animation: trunkGrow 1s ease-out forwards;
}

@keyframes trunkGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.tree-grow-leaf {
    transform-origin: center;
    opacity: 0;
    animation: leafGrow 0.5s ease-out forwards;
}

@keyframes leafGrow {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================================
   ENHANCEMENT 4: Odometer-style Counter Animation
   ============================================================ */
.odometer-counter {
    display: inline-flex;
    align-items: center;
    overflow: visible;
    font-variant-numeric: tabular-nums;
}

.odometer-digit-wrap {
    display: inline-block;
    height: 1em;
    overflow: hidden;
    position: relative;
}

.odometer-digit-roll {
    display: block;
    line-height: 1;
    transform: translateY(0);
    transition: none;
}

.odometer-separator {
    display: inline-block;
}

.odometer-suffix {
    margin-left: 0.1em;
}

.odometer-complete {
    text-shadow: 0 0 20px currentColor;
}

.odometer-glow {
    animation: counterGlow 0.5s ease-out;
}

@keyframes counterGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 0 transparent);
    }

    50% {
        filter: drop-shadow(0 0 20px currentColor);
    }
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
    .before-after-slider {
        aspect-ratio: 4/3;
    }

    .slider-handle::before {
        width: 36px;
        height: 36px;
    }

    .slider-handle::after {
        font-size: 1rem;
    }

    .card-3d-tilt {
        /* Disable 3D effect on touch devices */
        transform: none !important;
    }

    .card-shine {
        display: none;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .growth-animate,
    .odometer-digit-roll,
    .growth-ring::before {
        animation: none !important;
        transition: none !important;
    }

    .growth-animate {
        opacity: 1;
        transform: none;
    }
}

/* === preai-overhaul.css === */
/* @import removed - fonts now loaded via link in HTML (Nunito + DM Sans) */

/* ================================================================
 PRE-AI ERA OVERHAUL - STEMulus
 Awwwards-calibre editorial design system
 Philosophy: Asymmetric grids - Brutalist type - Organic motion
 ================================================================ */

/* ---------------------------------------------------------------
 1. CUSTOM PROPERTIES (Design Tokens)
--------------------------------------------------------------- */
:root {
  --ink: #0a0a0a;
  --chalk: #f5f0e8;
  --warm-white: #faf9f7;
  --orange: #f4600c;
  --deep-navy: #070d1f;
  --slate: #1a2332;
  --violet: #5b2d8e;
  --acid-green: #b5ff45;
  --heading: 'Outfit', sans-serif;
  --body: 'DM Sans', sans-serif;
}

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

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

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--warm-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  font-weight: 700;
}

.serif-accent {
  font-family: var(--heading);
  font-style: italic;
}

.mono-label {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Massive hero text - viewport-relative kinetic sizing */
.hero-word {
  display: block;
  font-family: var(--heading);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
  overflow: hidden;
}

.hero-word span {
  display: block;
}

.hero-line-1 {
  font-size: clamp(64px, 11vw, 168px);
  color: var(--ink);
}

.hero-line-2 {
  font-size: clamp(72px, 13vw, 200px);
  color: var(--orange);
  font-family: var(--heading);
  font-style: italic;
}

.hero-line-3 {
  font-size: clamp(48px, 8vw, 130px);
  color: var(--ink);
}

/* Section headings — break out of containers */
.editorial-heading {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.editorial-heading.break-out {
  margin-inline: -4vw;
}

/* ---------------------------------------------------------------
 6. BROKEN-GRID LAYOUT UTILITIES
--------------------------------------------------------------- */
.full-bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* Asymmetric editorial grid */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.editorial-grid-reverse {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}

/* Curriculum staggered masonry -> Elite Alternating Pathway */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
  row-gap: 5rem;
  margin-top: 3rem;
}

.curriculum-grid .card-tall,
.curriculum-grid .card-offset,
.curriculum-grid .card-bleed {
  grid-row: auto;
  transform: none;
  margin-top: 0;
}

.curriculum-grid .prog-card:nth-child(even) {
  margin-top: 8rem;
}

/* Stats raw typographic row */
.stats-raw {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid currentColor;
}

.stat-block {
  padding: 3rem 2rem;
  border-right: 1px solid currentColor;
}

.stat-block:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--heading);
  font-size: clamp(64px, 9vw, 140px);
  line-height: 1;
  letter-spacing: -0.05em;
  display: block;
}

/* ---------------------------------------------------------------
 7. CLINICAL TECH BADGES & PATHWAYS
--------------------------------------------------------------- */
.tech-badge {
  position: absolute;
  top: -24px;
  right: -16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  letter-spacing: 0.05em;
  z-index: 10;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--orange);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.prog-card:hover .tech-badge {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--orange);
}

.blink-square {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 0;
  animation: terminalBlink 1.5s step-end infinite;
}

@keyframes terminalBlink {

  0%,
  100% {
 opacity: 1;
  }

  50% {
 opacity: 0;
  }
}

@media (max-width: 1024px) {
  .curriculum-grid {
 column-gap: 2rem;
 row-gap: 5rem;
  }
}

@media (max-width: 768px) {
  .curriculum-grid {
 grid-template-columns: 1fr !important;
 row-gap: 4.5rem;
 margin-top: 3rem;
  }

  .curriculum-grid .prog-card:nth-child(even) {
 margin-top: 0;
  }

  .tech-badge {
 right: auto;
 left: 20px;
 top: -20px;
 box-shadow: 4px 4px 0 var(--orange);
 font-size: 0.95rem;
  }
}

/* ---------------------------------------------------------------
 8. NAV — EDITORIAL STYLE
--------------------------------------------------------------- */
.nav-editorial {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

.nav-editorial.nav-hidden {
  transform: translateY(-100%);
}

.nav-editorial a {
  color: #1f2937;
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s, opacity 0.2s;
}

.nav-editorial a:hover {
  opacity: 0.6;
}

.nav-logo-editorial img {
  filter: none;
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav-cta-btn {
  background: var(--orange, #f4600c) !important;
  color: white !important;
  padding: 0.6rem 1.6rem !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(10, 10, 10, 0.08) !important;
}

.nav-cta-btn:hover {
  background: #d4520a!important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.12) !important;
  opacity: 1 !important;
}

/* ---------------------------------------------------------------
 9. HERO SECTION
--------------------------------------------------------------- */
.hero-preai {
  position: relative;
  min-height: 100vh;
  background: var(--warm-white);
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-end;
  padding: 0 5vw 8vh;
  overflow: hidden;
}

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

.hero-text-container {
  position: relative;
  z-index: 2;
  padding-top: 20vh;
}

.hero-sub {
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-sub::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--orange);
}

.hero-cta-row {
  margin-top: 5vh;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-bottom: 2vh;
}

.btn-primary-raw {
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  background: var(--orange);
  padding: 1.1rem 2.8rem;
  text-decoration: none;
  display: inline-block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: background 0.22s ease, transform 0.22s ease;
}

.btn-primary-raw:hover {
  background: #d4520a;
  color: white;
  transform: translateX(4px) translateZ(0);
}

.btn-ghost-raw {
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4A5568;
  text-decoration: none;
  border-bottom: 1.5px solid #1A237E;
  padding-bottom: 2px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost-raw:hover {
  color: #1A237E;
  border-color: #1A237E;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 3rem;
  right: 5vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.35);
  writing-mode: vertical-rl;
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  animation: scrollLineGrow 2s ease-in-out infinite;
}

@keyframes scrollLineGrow {

  0%,
  100% {
 height: 60px;
 opacity: 0.3;
  }

  50% {
 height: 90px;
 opacity: 0.7;
  }
}

/* ---------------------------------------------------------------
 10. EDITORIAL SKILL STATEMENT (replaces marquee)
--------------------------------------------------------------- */
.skill-statement {
  padding: 5rem 5vw;
  background: var(--warm-white);
  display: flex;
  align-items: flex-start;
  gap: 8rem;
}

.skill-label-col {
  width: 200px;
  flex-shrink: 0;
  padding-top: 0.5rem;
}

.skill-tags-col {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.skill-tag {
  font-family: var(--heading);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color 0.2s;
}

.skill-tag:nth-child(3n+1) {
  color: var(--orange);
}

.skill-tag:nth-child(2n) .serif-accent {
  font-family: var(--heading);
  font-style: italic;
}

.skill-divider {
  width: 4px;
  height: 4px;
  background: #9CA3AF;
  border-radius: 50%;
  align-self: center;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
 11. CURRICULUM SECTION
--------------------------------------------------------------- */
.curriculum-section {
  background: #F0F6FF;
  padding: 8rem 5vw;
  overflow: hidden;
}

.curriculum-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}

.curriculum-section .section-header .editorial-heading {
  color: var(--ink);
}

/* Program card — elite raw style */
.prog-card {
  background: transparent;
  border: 1px solid #e5e7eb;
  border-top: 3px solid var(--orange);
  position: relative;
  padding: 3.5rem 2.5rem 2.5rem;
  overflow: visible;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.prog-card::before {
  display: none;
}

.prog-card:hover {
  background: rgba(244, 96, 12, 0.03);
  border-color: var(--orange);
  transform: translateY(-5px);
}

.prog-card-num {
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(10, 10, 10, 0.35);
  margin-bottom: 1.5rem;
}

.prog-card-title {
  font-family: var(--heading);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  flex: 1;
}

.prog-card-ages {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.prog-card-desc {
  font-family: var(--body);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.55);
  margin-bottom: 1.5rem;
}

.prog-card-link {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.prog-card-link:hover {
  gap: 1rem;
}

/* ---------------------------------------------------------------
 12. STATS ROW
--------------------------------------------------------------- */
.stats-section {
  background: var(--chalk);
  padding: 0 5vw;
  overflow-x: auto;
}

.stats-raw {
  color: var(--ink);
}

.stat-num {
  color: var(--ink);
}

.stat-unit {
  font-family: var(--heading);
  font-size: 2.5rem;
  color: var(--orange);
}

.stat-label {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  margin-top: 0.75rem;
}

/* ---------------------------------------------------------------
 13. DIFFERENCE / VALUE PROP (Asymmetric)
--------------------------------------------------------------- */
.difference-section {
  padding: 8rem 5vw;
  background: var(--warm-white);
}

.difference-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 6rem;
  align-items: start;
}

.difference-left blockquote {
  font-family: var(--heading);
  font-size: clamp(28px, 3.5vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-left: 4px solid var(--orange);
  padding-left: 2rem;
  margin-bottom: 3rem;
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.feature-item:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.feature-num {
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  padding-top: 0.3rem;
}

.feature-title {
  font-family: var(--heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-family: var(--body);
  font-size: 0.79rem;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.55);
}

/* ---------------------------------------------------------------
 14. TIMELINE (horizontal scroll)
--------------------------------------------------------------- */
.timeline-section {
  background: #F5F2FA;
  padding: 8rem 0;
  overflow: hidden;
}

.timeline-header {
  padding: 0 5vw;
  margin-bottom: 4rem;
}

.timeline-scroll-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

.timeline-step {
  flex: 0 0 420px;
  padding: 3rem 3.5rem;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-step-num {
  font-family: var(--heading);
  font-size: clamp(60px, 8vw, 90px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(26, 35, 126, 0.08);
}

.timeline-step-title {
  font-family: var(--heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.timeline-step-age {
  color: var(--orange);
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-step-desc {
  font-family: var(--body);
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(10, 10, 10, 0.55);
}

/* ---------------------------------------------------------------
 15. FINAL CTA — Full bleed dark
--------------------------------------------------------------- */
.cta-section {
  background: #FFF8EE;
  padding: 10rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.cta-section .editorial-heading {
  color: var(--ink);
}

.cta-section .serif-accent {
  color: var(--orange);
}

.cta-contact-line {
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(10, 10, 10, 0.45);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cta-email {
  font-family: var(--heading);
  font-size: clamp(22px, 2.5vw, 36px);
  color: var(--orange);
  text-decoration: none;
  letter-spacing: -0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.cta-email:hover {
  border-color: var(--orange);
}

.cta-trust {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.trust-text {
  font-family: var(--body);
  font-size: 0.8rem;
  color: rgba(10, 10, 10, 0.55);
  line-height: 1.6;
}

/* ---------------------------------------------------------------
 16. FOOTER — Newspaper-style
--------------------------------------------------------------- */
.footer-editorial {
  background: #F3F4F6;
  border-top: 1px solid #e5e7eb;
  padding: 5rem 5vw 3rem;
}

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

.footer-brand-name {
  font-family: var(--heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.footer-brand-tag {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.65);
  margin-bottom: 2rem;
}

.footer-col-title {
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  font-family: var(--body);
  font-size: 0.8rem;
  color: rgba(10, 10, 10, 0.8);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  font-family: var(--body);
  font-size: 0.68rem;
  color: rgba(10, 10, 10, 0.65);
  letter-spacing: 0.08em;
}

/* ---------------------------------------------------------------
 17. GSAP REVEAL UTILITIES
--------------------------------------------------------------- */
.reveal-mask {
  overflow: hidden;
  display: block;
}

.reveal-inner {
  display: block;
  transform: translateY(110%);
}

/* ---------------------------------------------------------------
 18. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1024px) {
  .curriculum-grid {
 grid-template-columns: 1fr 1fr;
  }

  .curriculum-grid .card-tall {
 grid-row: auto;
  }

  .curriculum-grid .card-offset,
  .curriculum-grid .card-bleed {
 transform: none;
 margin-top: 0;
  }

  .difference-grid {
 grid-template-columns: 1fr;
 gap: 3rem;
  }

  .cta-section {
 grid-template-columns: 1fr;
 gap: 3rem;
  }

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

  .stats-raw {
 grid-template-columns: 1fr 1fr;
  }

  .stat-block {
 border-bottom: 1px solid currentColor;
  }

  .editorial-heading.break-out {
 margin-inline: 0;
  }

  .skill-statement {
 flex-direction: column;
 gap: 2rem;
  }
}

@media (max-width: 640px) {
  .curriculum-grid {
 grid-template-columns: 1fr;
  }

  .hero-line-1 {
 font-size: clamp(52px, 14vw, 100px);
  }

  .hero-line-2 {
 font-size: clamp(60px, 16vw, 120px);
  }

  .hero-line-3 {
 font-size: clamp(40px, 11vw, 80px);
  }

  .nav-editorial {
 padding: 1rem 1.5rem;
  }

  .hero-preai {
 padding: 0 6vw 6vh;
  }

  .stats-raw {
 grid-template-columns: 1fr 1fr;
  }

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

  .cta-section {
 padding: 5rem 5vw;
  }

  body {
 cursor: auto;
  }

  #cursor-ring,
  #cursor-dot {
 display: none;
  }
}

/* ================================================================
 19. GLOBAL SUBPAGE OVERRIDES
 Forces pre-AI era aesthetic on all existing subpage content
 without touching individual HTML files.
 ================================================================ */

/* ── 19a. TYPOGRAPHY ──────────────────────────────────────────── */

h1,
h2,
h3,
h4 {
  font-family: var(--heading) !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
}

main h1,
section h1,
[role="main"] h1 {
  font-size: clamp(36px, 5.5vw, 64px) !important;
  font-weight: 700 !important;
}

main h2,
section h2 {
  font-size: clamp(26px, 4vw, 44px) !important;
  font-weight: 700 !important;
}

/* Exclude card headers and inline grid titles from the massive global h2 size */
.blog-card h2,
.blog-grid h2,
article h2.card-title,
.program-card h2,
.card h2,
.card-warm__title,
.showcase-item h2,
.testimonial-card h2 {
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

h3 {
  font-size: clamp(18px, 2.2vw, 28px) !important;
  font-weight: 700 !important;
}

h4 {
  font-size: clamp(14px, 1.5vw, 18px) !important;
  font-weight: 600 !important;
}

p,
li,
td,
th,
label,
blockquote,
figcaption {
  font-family: var(--body) !important;
}

p {
  line-height: 1.75 !important;
}

/* Flatten gradient text fills to solid orange */
.text-transparent.bg-clip-text,
[class*="bg-clip-text"] {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: var(--orange) !important;
}

/* ── 19b. RESTORE & ENHANCE ROUNDED CORNERS ──────────────────── */

.rounded-3xl {
  border-radius: 24px !important;
}
.rounded-2xl {
  border-radius: 16px !important;
}
.rounded-xl {
  border-radius: 12px !important;
}
.rounded-lg {
  border-radius: 8px !important;
}
.rounded-md {
  border-radius: 6px !important;
}
.rounded {
  border-radius: 4px !important;
}

/* Global organic styling enhancements */
input, select, textarea, .form-input {
  border-radius: 12px !important;
  transition: all 0.25s ease !important;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--orange) !important;
  box-shadow: none !important;
}
button, .btn-pill-solid, .btn-pill-outline, .nav-cta-btn {
  border-radius: 12px !important;
}
.program-card, [class*="program-card"], .glass-card, .glass-form, .stat-card, .blog-card {
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(10, 10, 10, 0.04) !important;
}

/* Preserve avatar circles */
img.rounded-full {
  border-radius: 50% !important;
}

/* ── 19c. KILL GLASSMORPHISM ──────────────────────────────────── */

.backdrop-blur-2xl,
.backdrop-blur-xl,
.backdrop-blur-md,
.backdrop-blur-sm,
.backdrop-blur,
[class*="backdrop-blur"] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.glass-panel,
.glass-nav,
[class*="glass"]:not(.glass-panel-light):not(.glass-form) {
  background: rgba(10, 10, 10, 0.92) !important;
  border: 1px solid #e5e7eb!important;
  backdrop-filter: none !important;
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.glass-form {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Hide decorative blur orbs */
[class*="blur-["] {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── 19d. FLATTEN BENTO CARDS ─────────────────────────────────── */

.bg-white\/5,
.bg-white\/10 {
  background-color: #131c2e!important;
}

[class*="bg-gradient-to"] {
  background-image: none !important;
}

.bg-slate-900,
.bg-slate-950,
.bg-gray-900,
[class*="from-slate-9"],
[class*="from-gray-9"] {
  background-color: #FAFBFC!important;
}

.bg-gray-50,
.bg-slate-50,
[class*="from-gray-50"],
[class*="from-slate-50"] {
  background-color: var(--warm-white) !important;
}

/* ── 19e. MACRO SECTION WHITESPACE ───────────────────────────── */

body:not(.dashboard-page) section {
  padding-top: clamp(5rem, 8vw, 10rem) !important;
  padding-bottom: clamp(5rem, 8vw, 10rem) !important;
}

.hero-parallax-scene,
section.hero-preai,
.preai-hero-split {
  padding-top: 0 !important;
}

/* ── 19f. BUTTONS → RAW FLAT ─────────────────────────────────── */

a[class*="rounded-full"][class*="bg-supernova-orange"],
a[class*="rounded-full"][class*="bg-orange"],
button[class*="rounded-full"][class*="bg-supernova-orange"],
a[class*="rounded"][class*="bg-gradient"] {
  border-radius: 12px !important;
  background: var(--orange) !important;
  background-image: none !important;
  font-family: var(--body) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

a[class*="rounded-full"][class*="bg-supernova-orange"]:hover,
a[class*="rounded-full"][class*="bg-orange"]:hover {
  background: var(--chalk) !important;
  color: var(--ink) !important;
  transform: translateX(3px) !important;
}

/* ── 19g. IMAGES — SLIGHT DESATURATION ───────────────────────── */

main img,
section img {
  filter: saturate(0.8) contrast(1.04) !important;
  transition: filter 0.4s ease;
}

main img:hover,
section img:hover {
  filter: saturate(1) contrast(1.02) !important;
}

/* ── 19h. CARD LEFT-ACCENT HOVER ─────────────────────────────── */

.program-card,
[class*="program-card"] {
  position: relative;
  transition: background 0.3s !important;
}

.program-card::before,
[class*="program-card"]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}

.program-card:hover::before,
[class*="program-card"]:hover::before {
  transform: scaleY(1);
}

/* ── 19i. FILTER / TAG BUTTONS → MONO LABELS ─────────────────── */

.filter-btn,
[class*="filter-btn"] {
  border-radius: 12px !important;
  font-family: var(--body) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: 1px solid #e5e7eb!important;
}

.filter-btn.active,
.filter-btn[class*="bg-supernova-orange"] {
  background: var(--orange) !important;
  border-color: var(--orange) !important;
  color: white !important;
}

/* ── 19j. STAT NUMBERS ────────────────────────────────────────── */

[data-count-to],
[class*="text-4xl"][class*="font-bold"],
[class*="text-5xl"][class*="font-bold"],
[class*="text-6xl"][class*="font-bold"] {
  font-family: var(--heading) !important;
  letter-spacing: -0.04em !important;
}

/* ── 19k. SUBPAGE HERO TREATMENT ─────────────────────────────── */

section[class*="hero"],
section[class*="min-h-screen"],
section[class*="min-h-\[60vh\]"],
section[class*="min-h-\[70vh\]"] {
  background-color: #FAFBFC!important;
  background-image: none !important;
}

.hero-badge,
[class*="hero-badge"] {
  background: transparent !important;
  border: 1px solid #e5e7eb!important;
  border-radius: 12px !important;
  font-family: var(--body) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  backdrop-filter: none !important;
}

/* ── 19l. RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {

  main h1,
  section h1 {
 font-size: clamp(32px, 8vw, 48px) !important;
  }

  main h2,
  section h2 {
 font-size: clamp(24px, 6vw, 38px) !important;
  }

  section {
 padding-top: clamp(3.5rem, 6vw, 6rem) !important;
 padding-bottom: clamp(3.5rem, 6vw, 6rem) !important;
  }
}

/* ================================================================
 20. CINEMATIC BRAND LOADER (index.html only)
 Full-screen curtain, pure CSS, lifts after 2.4s
 ================================================================ */

#site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderLift 0.85s cubic-bezier(0.76, 0, 0.24, 1) 2.5s forwards;
  pointer-events: none;
}

@keyframes loaderLift {
  0% {
 transform: translateY(0);
  }

  100% {
 transform: translateY(-100%);
  }
}

#loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

#loader-sub {
  font-family: var(--body) !important;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  line-height: 1 !important;
  animation: loaderFadeUp 0.7s ease 0.25s both;
}

#loader-wordmark {
  font-family: var(--heading) !important;
  font-size: clamp(48px, 10vw, 96px) !important;
  font-weight: 700 !important;
  color: #f5f0e8;
  letter-spacing: -0.05em !important;
  line-height: 0.85 !important;
  animation: loaderFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
  margin: 0;
}

#loader-progress {
  width: clamp(160px, 20vw, 300px);
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-top: 0.25rem;
}

#loader-bar {
  height: 100%;
  width: 0%;
  background: #f4600c;
  animation: loaderBarFill 2.1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes loaderBarFill {
  0% {
 width: 0%;
  }

  55% {
 width: 68%;
  }

  80% {
 width: 88%;
  }

  100% {
 width: 100%;
  }
}

#loader-tagline {
  font-family: var(--body) !important;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  line-height: 1 !important;
  animation: loaderFadeUp 0.7s ease 0.65s both;
}

@keyframes loaderFadeUp {
  from {
 opacity: 0;
 transform: translateY(18px);
  }

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

/* ================================================================
 21. CONTRAST FIXES — WCAG AA COMPLIANT
 Corrects every contrast failure introduced by the global overrides.
 Ensures minimum 4.5:1 for body text, 3:1 for large/UI text.
 ================================================================ */

/* ── 21a. DARK TEXT ON NOW-DARK BACKGROUNDS ──────────────────── */
/* After 19d turned light bg sections dark, Tailwind dark-text
 classes become invisible. Force those to chalk/near-white. */

.text-gray-900,
.text-gray-800,
.text-gray-700,
.text-gray-600,
.text-cosmic-blue,
.text-black,
.text-slate-900,
.text-slate-800,
.text-slate-700 {
  color: rgba(245, 240, 232, 0.9) !important;
  /* chalk 90% */
}

/* Medium greys — lift to readable contrast on dark */
.text-gray-500,
.text-gray-400,
.text-slate-500,
.text-slate-400 {
  color: rgba(10, 10, 10, 0.65) !important;
  /* 5.8:1 on #0a0a0a*/
}

/* Light greys that were fine on white — now need lifting on dark */
.text-gray-300,
.text-slate-300,
.text-gray-200 {
  color: rgba(10, 10, 10, 0.8) !important;
}

/* ── 21b. WHITE TEXT ON NOW-LIGHT BACKGROUNDS ─────────────────── */
/* If a section was forced to warm-white (#faf9f7) but child elements
 have text-white, they become invisible. */

/* Use a container query approach: any text-white inside bg sections
 that ended up light gets forced to ink. */
.bg-gray-50 .text-white,
.bg-slate-50 .text-white,
[style*="background:#faf9f7"] .text-white,
[style*="background:#f5f0e8"] .text-white,
.difference-section .text-white,
.skill-statement .text-white {
  color: var(--ink) !important;
}

/* ── 21b-2. RESTORE DARK TEXT IN LIGHT BACKGROUNDS ───────────── */
.bg-white .text-gray-900,
.bg-white .text-gray-800,
.bg-white .text-gray-700,
.bg-white .text-gray-600,
.bg-white .text-slate-900,
.bg-white .text-slate-800,
.bg-white .text-slate-700,
.bg-white .text-slate-600,
.bg-slate-50 .text-gray-900,
.bg-slate-50 .text-gray-800,
.bg-slate-50 .text-gray-700,
.bg-slate-50 .text-gray-600,
.bg-slate-50 .text-slate-900,
.bg-slate-50 .text-slate-800,
.bg-slate-50 .text-slate-700,
.bg-slate-50 .text-slate-600,
.bg-slate-50\/80 .text-gray-900,
.bg-slate-50\/80 .text-gray-800,
.bg-slate-50\/80 .text-gray-700,
.bg-slate-50\/80 .text-slate-700,
.bg-slate-50\/80 .text-slate-800,
.bg-slate-50\/80 .text-white, /* fixes white-on-light overview labels */
.bg-gray-50 .text-gray-900,
.bg-gray-50 .text-gray-800,
.bg-gray-50 .text-gray-700,
.bg-gray-50 .text-gray-600,
.bg-gray-50 .text-slate-900,
.bg-gray-50 .text-slate-800,
.bg-gray-50 .text-slate-700,
.bg-gray-50 .text-slate-600,
details .text-slate-800,
details .text-slate-700,
details .text-slate-600,
details .text-gray-800,
details .text-gray-700,
details .text-gray-600,
details summary,
details p,
details span,
section:not(.dark-section) .text-slate-800,
section:not(.dark-section) .text-slate-700,
section:not(.dark-section) .text-slate-600,
section:not(.dark-section) .text-gray-800,
section:not(.dark-section) .text-gray-700,
section:not(.dark-section) .text-gray-600,
section:not(.dark-section) .text-gray-500,
.curriculum-section .text-slate-800,
.curriculum-section .text-slate-600,
.faq-section .text-slate-800,
.faq-section .text-gray-700,
.faq-section .text-slate-600,
.faq-section .text-gray-600 {
  color: #1a2332!important;
}

/* Also fix select option contrast globally in light sections */
option {
  color: #1a2332!important;
  background-color: #ffffff!important;
}

/* ── 21c. ORANGE CONTRAST FIX ────────────────────────────────── */
/* #f4600con white (#faf9f7) = 3.1:1 — fails for small body text.
 Only allow orange for headings (18px+ bold) and UI labels.
 Force body-sized orange text to a darker burnt orange. */

p .text-supernova-orange,
li .text-supernova-orange,
.text-supernova-orange:not(h1):not(h2):not(h3):not(h4):not(a):not(button):not([class*="mono-label"]):not([class*="stat-"]):not([class*="footer-"]):not([class*="prog-card-"]):not([class*="feature-num"]):not([class*="timeline-"]) {
  color: #c94d00!important;
  /* #c94d00on white = 5.1:1 [Pass] */
}

/* Orange on dark bg is fine — restore */
.bg-slate-900 .text-supernova-orange,
.bg-slate-950 .text-supernova-orange,
[class*="bg-slate-9"] .text-supernova-orange,
section.curriculum-section .text-supernova-orange,
section.hero-preai .text-supernova-orange,
.footer-editorial .text-supernova-orange,
.prog-card .text-supernova-orange,
.stat-block .text-supernova-orange,
.timeline-step .text-supernova-orange,
.nav-editorial .text-supernova-orange {
  color: var(--orange) !important;
  /* full #f4600con dark = 4.7:1 [Pass] */
}

/* ── 21d. LOW-OPACITY TEXT — RAISE FLOOR ─────────────────────── */
/* rgba(255,255,255,0.3) = only 2.8:1 on #0a0a0a, fails AA.
 All ghosted labels must be at least 0.48 opacity on dark. */

.text-white\/30,
.text-white\/20,
[class*="text-white/3"],
[class*="text-white/2"] {
  color: rgba(10, 10, 10, 0.65) !important;
  /* 4.6:1 on #0a0a0a [Pass] */
}

/* 40% is borderline: lift to 55% */
.text-white\/40,
[class*="text-white/4"] {
  color: rgba(10, 10, 10, 0.65) !important;
}

/* 5060%: minor lift */
.text-white\/50,
.text-white\/60,
[class*="text-white/5"],
[class*="text-white/6"] {
  color: rgba(10, 10, 10, 0.8) !important;
}

/* ── 21e. NAV LINKS — ALWAYS READABLE ────────────────────────── */
/* mix-blend-mode: difference works on dark hero but becomes
 invisible on some mid-tone sections. After first scroll the
 nav switches to solid dark glass (handled in JS) — but keep
 the blend-mode links visible either way. */

.nav-editorial a {
  color: white !important;
  /* always white until JS switches bg */
}

/* Once nav gets solid bg (via JS inline style), links must be light */
#main-nav[style*="background"] a:not(.nav-cta-btn) {
  color: rgba(10, 10, 10, 0.8) !important;
}

/* ── 21f. HERO BADGE / MONO LABELS ───────────────────────────── */
/* Small uppercase labels in editorial design must hit 4.5:1 */

.mono-label {
  color: rgba(10, 10, 10, 0.65) !important;
  /* default on dark */
}

/* mono-label on light section */
.skill-statement .mono-label,
.difference-section .mono-label {
  color: rgba(10, 10, 10, 0.5) !important;
  /* 6.0:1 on chalk [Pass] */
}

/* ── 21g. FORM INPUTS & PLACEHOLDERS ─────────────────────────── */
/* After glass kill, inputs might have invisible placeholder text */

input,
textarea,
select {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(10, 10, 10, 0.8) !important;
  border: 1px solid #e5e7eb!important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(10, 10, 10, 0.55) !important;
}

/* Inputs on light sections */
.difference-section input,
.difference-section textarea,
section[class*="bg-gray-50"] input {
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--ink) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

/* ── 21h. STATS SECTION — INK TEXT ON CHALK BG ───────────────── */
/* stats-section has bg: var(--chalk) — text must be dark ink,
 not white (which our global overrides may have introduced). */

.stats-section,
.stats-section .stat-block,
.stats-section .stat-num,
.stats-section .stat-label {
  color: var(--ink) !important;
}

.stats-section .stat-unit {
  color: var(--orange) !important;
}

/* ── 21i. SKILL STATEMENT — INK ON WARM-WHITE ────────────────── */

.skill-statement,
.skill-statement .skill-tag {
  color: var(--ink) !important;
}

.skill-statement .skill-tag:nth-child(3n+1) {
  color: var(--orange) !important;
}

/* ── 21j. DIFFERENCE SECTION — INK ON WARM-WHITE ────────────── */

.difference-section,
.difference-section .feature-title,
.difference-section blockquote {
  color: var(--ink) !important;
}

.difference-section .feature-desc {
  color: rgba(10, 10, 10, 0.6) !important;
  /* 6.8:1 on #faf9f7 [Pass] */
}

/* ── 21k. FOOTER EDITORIAL — CONSISTENT LEGIBILITY ───────────── */

.footer-editorial {
  color: rgba(10, 10, 10, 0.8) !important;
}

.footer-brand-name {
  color: var(--ink) !important;
}

.footer-brand-tag {
  color: rgba(10, 10, 10, 0.55) !important;
}

.footer-col a {
  color: rgba(10, 10, 10, 0.65) !important;
}

.footer-col a:hover {
  color: var(--ink) !important;
}

.footer-legal {
  color: rgba(10, 10, 10, 0.55) !important;
}

/* ── 21l. PROG CARD INTERNALS ─────────────────────────────────── */

.prog-card-title {
  color: var(--ink) !important;
}

.prog-card-desc {
  color: rgba(10, 10, 10, 0.65) !important;
}

.prog-card-ages {
  color: var(--orange) !important;
}

.prog-card-num {
  color: rgba(10, 10, 10, 0.35) !important;
}

/* ── 21m. SUBPAGE CARD BODY TEXT ─────────────────────────────── */
/* program-card text-gray-300 body copy on dark slate */

.program-card p,
[class*="program-card"] p {
  color: rgba(10, 10, 10, 0.65) !important;
}

.program-card h3,
[class*="program-card"] h3 {
  color: #f5f0e8!important;
}

/* ── 21n. BLOG / CONTENT PAGES — BODY READABLE ───────────────── */
/* Long-form prose must be warm-white on dark, not ghost-grey */

article p,
.prose p,
.blog-content p,
.content-body p {
  color: rgba(10, 10, 10, 0.8) !important;
}

article h2,
article h3 {
  color: var(--ink) !important;
}

/* ── 21o. TIMELINE INTERNALS ─────────────────────────────────── */

.timeline-step-title {
  color: var(--ink) !important;
}

.timeline-step-desc {
  color: rgba(10, 10, 10, 0.65) !important;
}

.timeline-step-age {
  color: var(--orange) !important;
}

/* ── 21p. CTA SECTION ─────────────────────────────────────────── */

.cta-section {
  color: var(--ink) !important;
}

.trust-text {
  color: rgba(10, 10, 10, 0.65) !important;
}

.cta-contact-line {
  color: rgba(10, 10, 10, 0.55) !important;
}

/* ── 21q. LOADER TEXT ─────────────────────────────────────────── */

#loader-sub {
  color: rgba(10, 10, 10, 0.55) !important;
}

#loader-tagline {
  color: rgba(10, 10, 10, 0.35) !important;
}

/* ── 21r. RESPONSIVE CONTRAST ────────────────────────────────── */
@media (max-width: 640px) {

  /* Mobile: raise all low-opacity text slightly for smaller sizes */
  .text-white\/30,
  .text-white\/20,
  [class*="text-white/3"],
  [class*="text-white/2"] {
 color: rgba(10, 10, 10, 0.65) !important;
  }

  .text-white\/40,
  [class*="text-white/4"] {
 color: rgba(10, 10, 10, 0.65) !important;
  }
}

/* ================================================================
 22. PRE-AI EDITORIAL HERO — SPLIT LAYOUT
 Full-screen, asymmetric, magazine-grade entrance
 ================================================================ */

/* ── Outer split container ──────────────────────────────────────── */
.preai-hero-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 100svh;
  background-color: #FAFBFC!important;
  overflow: hidden;
  position: relative;
}

/* ── LEFT: text column ──────────────────────────────────────────── */
.preai-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.5rem 5rem 4rem 5rem;
  position: relative;
  z-index: 2;
}

/* Grid-line accent behind text column */
.preai-hero-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
 linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
 linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ── Chapter eyebrow ────────────────────────────────────────────── */
.preai-hero-chapter {
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-1, var(--orange));
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.preai-hero-chapter::after {
  content: '';
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: var(--accent-1, var(--orange));
  opacity: 0.5;
}

/* ── H1 — three-line Nunito ──────────────────────────────── */
.preai-hero-h1 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.preai-hero-h1-line-1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: rgba(26, 35, 50, 0.45);
  font-weight: 500;
}

.preai-hero-h1-line-2 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--ink);
}

.preai-hero-h1-line-3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
  background: linear-gradient(105deg, var(--accent-1, #f4600c) 0%, var(--accent-2, #e8a202) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.preai-hero-h1-line-3 em {
  font-style: normal;
  -webkit-text-fill-color: transparent;
}

/* ── Rule ───────────────────────────────────────────────────────── */
.preai-hero-rule {
  width: 3rem;
  height: 2px;
  background: var(--accent-1, var(--orange));
  margin-bottom: 1.4rem;
}

/* ── Subtitle ───────────────────────────────────────────────────── */
.preai-hero-sub {
  font-family: var(--body);
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(26, 35, 50, 0.75);
  max-width: 32rem;
  margin-bottom: 2.2rem;
}

/* ── CTAs ───────────────────────────────────────────────────────── */
.preai-hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.preai-hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-1, var(--orange));
  color: #fff!important;
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border: 1px solid transparent;
  transition: background 0.2s, transform 0.2s;
}

.preai-hero-cta-primary:hover {
  background: var(--accent-2, #e8a202);
  transform: translateY(-1px);
}

.preai-hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  color: rgba(26, 35, 50, 0.6) !important;
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 35, 50, 0.25);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.preai-hero-cta-ghost:hover {
  color: var(--ink) !important;
  border-color: var(--ink);
}

/* ── Stats row ──────────────────────────────────────────────────── */
.preai-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.preai-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 2rem;
}

.preai-hero-stat-num {
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.preai-hero-stat-lbl {
  font-family: var(--body);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 35, 50, 0.55);
}

.preai-hero-stat-div {
  width: 1px;
  height: 2rem;
  background: rgba(26, 35, 50, 0.12);
  margin-right: 2rem;
}

/* ── Editorial bottom bar ───────────────────────────────────────── */
.preai-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--body);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 35, 50, 0.4);
  padding-top: 0.8rem;
  border-top: 1px solid var(--accent-1, var(--orange));
}

.preai-hero-bar span:last-child {
  color: var(--accent-1, var(--orange));
}

/* ── RIGHT: image column ────────────────────────────────────────── */
.preai-hero-img-col {
  position: relative;
  overflow: hidden;
  /* Ensure the column fills the full grid row for Three.js height */
  align-self: stretch;
  min-height: 100svh;
}

.preai-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(30%) contrast(1.05);
  transition: transform 8s ease;
  transform-origin: center;
}

.preai-hero-split:hover .preai-hero-img {
  transform: scale(1.04);
}

/* Dark-to-transparent gradient overlay (left to right) - hidden in Phase 4 */
.preai-hero-img-overlay {
  display: none !important;
}

/* Orange corner accent line */
.preai-hero-img-corner {
  position: absolute;
  bottom: 3.5rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  border-bottom: 2px solid var(--accent-1, var(--orange));
  border-right: 2px solid var(--accent-1, var(--orange));
  opacity: 0.45;
}

/* ── THREE.JS CINEMATIC CANVAS ──────────────────────────────────── */
.three-canvas-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Transparent — WebGL renderer clears to fully transparent so the
     cream page background bleeds naturally through the model geometry */
  background: transparent;
}

/* The actual WebGL canvas element Three.js injects */
.three-canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  inset: 0;
}

/* Ultra-subtle scanline shimmer — depth cue, does not darken bg */
.three-canvas-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 4px,
    rgba(0, 0, 0, 0.015) 4px,
    rgba(0, 0, 0, 0.015) 5px
  );
  z-index: 1;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .preai-hero-split {
 grid-template-columns: 1fr;
  }

  .preai-hero-img-col {
 display: none;
 /* hide image on tablet/mobile, text takes full width */
  }

  .preai-hero-text {
 padding: 8rem 2.5rem 4rem;
 min-height: 100svh;
  }

  .preai-hero-h1-line-1 {
 font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .preai-hero-h1-line-2 {
 font-size: clamp(2.0rem, 6.5vw, 2.8rem);
  }

  .preai-hero-h1-line-3 {
 font-size: clamp(1.5rem, 5vw, 2.2rem);
  }
}

@media (max-width: 480px) {
  .preai-hero-text {
 padding: 7rem 1.5rem 3rem;
  }

  .preai-hero-ctas {
 flex-direction: column;
 align-items: flex-start;
  }

  .preai-hero-stats {
 flex-wrap: wrap;
 gap: 1.2rem;
  }

  .preai-hero-stat-div {
 display: none;
  }

  .preai-hero-stat {
 padding-right: 0;
 min-width: 5rem;
  }
}
/* =================================================================
 LIGHT THEME & DARK MODE REMOVAL OVERRIDES (Nunito/DM Sans edition)
 ================================================================= */

/* Global Footer */
.footer-editorial {
  background: var(--chalk, #f5f0e8) !important;
  color: var(--slate, #1a2332) !important;
  border-top: 1px solid rgba(10, 10, 10, 0.1) !important;
}

.footer-brand-name {
  color: var(--slate, #1a2332) !important;
}

.footer-brand-tag {
  color: rgba(10, 10, 10, 0.6) !important;
}

.footer-col a {
  color: rgba(10, 10, 10, 0.65) !important;
}

.footer-col a:hover {
  color: var(--orange, #f4600c) !important;
}

.footer-legal {
  color: rgba(10, 10, 10, 0.5) !important;
}

.footer-bottom a, .footer-bottom p {
  color: var(--slate, #1a2332) !important;
}

.footer-bottom svg {
  color: var(--slate, #1a2332) !important;
}

/* Final CTA Band */
.cta-band {
  background: var(--chalk, #f5f0e8) !important;
  border-top: 1px solid rgba(10, 10, 10, 0.08) !important;
}

.cta-band__heading {
  color: var(--slate, #1a2332) !important;
}

.cta-band__subtext {
  color: rgba(10, 10, 10, 0.7) !important;
}

/* Global Navigation Strip Override */
.nav-editorial {
  mix-blend-mode: normal !important;
  background: rgba(250, 249, 247, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06) !important;
}

.nav-editorial a:not(.nav-cta-btn),
#main-nav a:not(.nav-cta-btn),
#main-nav[style*="background"] a:not(.nav-cta-btn) {
  color: var(--slate, #1a2332) !important;
}

.nav-logo-editorial img,
#main-nav img {
  filter: none !important;
}

/* Custom Cursor Overrides */
#cursor-ring {
  border-color: var(--slate, #1a2332) !important;
}
#cursor-dot {
  background-color: var(--orange, #f4600c) !important;
}

/* =================================================================
 HOMEPAGE HERO LIGHT THEME OVERRIDES
 ================================================================= */
.hero-preai {
  background: var(--chalk, #f5f0e8) !important;
  color: var(--slate, #1a2332) !important;
}

.hero-preai .hero-sub {
  color: var(--slate, #1a2332) !important;
}

.hero-preai h1 span.hero-line-1,
.hero-preai h1 span.hero-line-3 {
  color: var(--slate, #1a2332) !important;
}

.hero-preai h1 span.hero-line-2 {
  color: var(--orange, #f4600c) !important;
  font-family: var(--heading) !important;
}

.hero-preai .hero-scroll-hint {
  color: rgba(26, 35, 50, 0.4) !important;
}

/* Adjust Stats Strip under light background */
#hero-stats-strip {
  border-top: 1px solid rgba(26, 35, 50, 0.1) !important;
  background: var(--warm-white, #faf9f7) !important;
}

#hero-stats-strip > div {
  border-right-color: rgba(26, 35, 50, 0.1) !important;
}

#hero-stats-strip span {
  color: var(--slate, #1a2332) !important;
}

#hero-stats-strip p {
  color: rgba(26, 35, 50, 0.6) !important;
}

/* ── GLOBAL BRIGHT THEME OVERRIDES ─────────────────────────── */

/* Force all dark sections to light cream/warm white */
.section--dark,
.showcase-directory,
.timeline-section,
.cta-section,
[class*="bg-slate-900"],
[class*="bg-slate-950"],
[class*="bg-cosmic-blue"],
[class*="bg-[#070d1f]"],
[class*="bg-[#070D1F]"],
[class*="bg-[#0a0a0a]"],
[class*="bg-[#050508]"],
section[class*="bg-slate-900"],
section[class*="bg-cosmic-blue"],
section[style*="background: #050508"],
section[style*="background:#050508"],
div[style*="background: #F3F4F6"],
div[style*="background: #F3F4F6"] {
  background-color: var(--warm-white, #faf9f7) !important;
  background: var(--warm-white, #faf9f7) !important;
  color: var(--slate, #1a2332) !important;
  border-color: rgba(10, 10, 10, 0.08) !important;
}

/* Force all child text elements of overridden dark sections to be readable dark slate */
[class*="bg-slate-9"] h1, [class*="bg-slate-9"] h2, [class*="bg-slate-9"] h3, [class*="bg-slate-9"] h4, [class*="bg-slate-9"] h5, [class*="bg-slate-9"] h6,
[class*="bg-cosmic-blue"] h1, [class*="bg-cosmic-blue"] h2, [class*="bg-cosmic-blue"] h3, [class*="bg-cosmic-blue"] h4, [class*="bg-cosmic-blue"] h5, [class*="bg-cosmic-blue"] h6,
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5, .section--dark h6,
.showcase-directory h1, .showcase-directory h2, .showcase-directory h3, .showcase-directory h4,
.timeline-section h1, .timeline-section h2, .timeline-section h3, .timeline-section h4,
.cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4,
[class*="bg-slate-9"] p, [class*="bg-cosmic-blue"] p, .section--dark p, .showcase-directory p, .timeline-section p, .cta-section p,
[class*="bg-slate-9"] span, [class*="bg-cosmic-blue"] span, .section--dark span, .showcase-directory span, .timeline-section span, .cta-section span,
[class*="bg-slate-9"] li, [class*="bg-cosmic-blue"] li, .section--dark li, .showcase-directory li, .timeline-section li, .cta-section li,
[class*="bg-slate-9"] a, [class*="bg-cosmic-blue"] a, .section--dark a, .showcase-directory a, .timeline-section a, .cta-section a,
[class*="bg-slate-9"] div, [class*="bg-cosmic-blue"] div, .section--dark div, .showcase-directory div, .timeline-section div, .cta-section div,
[class*="bg-slate-9"] i, [class*="bg-cosmic-blue"] i, .section--dark i, .showcase-directory i, .timeline-section i, .cta-section i {
  color: var(--slate, #1a2332) !important;
}

/* Scope text utility color overrides to light/overridden sections */
[class*="bg-slate-9"] [class*="text-white"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid):not(.wa-float),
[class*="bg-slate-9"] [class*="text-slate-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
[class*="bg-slate-9"] [class*="text-gray-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
[class*="bg-cosmic-blue"] [class*="text-white"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid):not(.wa-float),
[class*="bg-cosmic-blue"] [class*="text-slate-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
[class*="bg-cosmic-blue"] [class*="text-gray-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
.section--dark [class*="text-white"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid):not(.wa-float),
.section--dark [class*="text-slate-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
.section--dark [class*="text-gray-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
.showcase-directory [class*="text-white"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid):not(.wa-float),
.showcase-directory [class*="text-slate-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
.showcase-directory [class*="text-gray-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
.timeline-section [class*="text-white"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid):not(.wa-float),
.timeline-section [class*="text-slate-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
.timeline-section [class*="text-gray-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
.cta-section [class*="text-white"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid):not(.wa-float),
.cta-section [class*="text-slate-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid),
.cta-section [class*="text-gray-"]:not(.btn-pill-solid):not(button):not(a.btn-pill-solid) {
  color: var(--slate, #1a2332) !important;
}

/* Redefine Nunito to point to the new Outfit font */
.font-nunito, [class*="font-nunito"] {
  font-family: var(--heading) !important;
}

/* Exclude buttons and specific white-text badges/widgets from dark slate color */
.btn-pill-solid,
.btn-pill-solid *,
.btn-pill-outline:hover,
.btn-pill-outline:hover *,
.wa-float,
.wa-float * {
  color: #ffffff!important;
}

/* Reset form input fields inside dark glass forms to ensure high contrast white text */
.glass-form input,
.glass-form textarea,
.glass-form select {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff!important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.glass-form label,
.glass-form label * {
  color: rgba(255, 255, 255, 0.8) !important;
}
.glass-form input::placeholder,
.glass-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Force details lists and grid texts to be dark slate */
.timeline-step-title,
.timeline-step-desc,
.showcase-author,
.showcase-date,
.cta-contact-line,
.cta-band__heading,
.cta-band__subtext {
  color: var(--slate, #1a2332) !important;
}

.timeline-step-num {
  color: rgba(10, 10, 10, 0.04) !important;
}

/* Ensure secondary details on cards are slightly lighter dark slate */
.timeline-step-desc,
.showcase-date,
.cta-contact-line,
.cta-band__subtext {
  color: rgba(26, 35, 50, 0.65) !important;
}

/* Keep Orange CTA elements readable (white text on orange background) */
a[class*="bg-supernova-orange"],
a[class*="bg-orange"],
button[class*="bg-supernova-orange"],
button[class*="bg-orange"],
.btn-primary-raw,
.mnav-enroll {
  color: white !important;
}

/* Overrides for opacity cards and dark borders inside sections */
[class*="bg-slate-800"],
[class*="bg-white/5"],
[class*="bg-black/20"],
[class*="bg-black/30"],
[class*="bg-black/40"],
.showcase-item {
  background-color: rgba(10, 10, 10, 0.03) !important;
  border-color: rgba(10, 10, 10, 0.08) !important;
}

[class*="border-white/"],
[class*="border-slate-800"],
[class*="border-white/5"],
[class*="border-white/20"],
.showcase-wrapper,
.timeline-step {
  border-color: rgba(10, 10, 10, 0.08) !important;
}

/* Section Wave / SVG Divider path overrides */
.divider svg path,
.divider svg polygon,
.divider-wave--animated svg path,
.divider-wave--animated svg polygon,
svg[viewBox="0 0 1200 120"] path {
  fill: var(--warm-white, #faf9f7) !important;
  stroke: none !important;
}



/* ═══════════════════════════════════════════════════════════════
 ANTI-FLICKER PATCH v 3.0
 Overrides all mix-blend-mode: difference that cause glitches,
 and ensures all interactive elements use GPU-composited props.
 ═══════════════════════════════════════════════════════════════ */

/* Cursor — no blend mode (was causing button hover flicker) */
#cursor-ring,
#cursor-dot,
.custom-cursor,
.cursor-ring {
  mix-blend-mode: normal !important;
  -webkit-backface-visibility: hidden !important;
  backface-visibility: hidden !important;
}

#cursor-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 2px solid var(--orange, #f4600c) !important;
  background: transparent;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 9999 !important;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease,
 border-radius 0.25s ease, border-color 0.25s ease !important;
  mix-blend-mode: normal !important;
}

#cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--orange, #f4600c) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 9999 !important;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease !important;
  mix-blend-mode: normal !important;
}

body.cursor-link #cursor-ring {
  width: 70px !important;
  height: 70px !important;
  background: rgba(244, 96, 12, 0.12) !important;
  border-color: var(--orange, #f4600c) !important;
}

body.cursor-cta #cursor-ring {
  width: 90px !important;
  height: 90px !important;
  background: var(--orange, #f4600c) !important;
  border-color: var(--orange, #f4600c) !important;
  border-radius: 6px !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

/* All buttons — prevent flicker with backface + translateZ */
a, button,
.btn-pill-solid,
.btn-pill-outline,
.btn-primary-raw,
.btn-ghost-raw,
.btn-glow,
.btn-hero-primary,
.btn-hero-secondary {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* translateZ(0) promotes to GPU layer — prevents repaints during transitions */
  transform: translateZ(0);
  will-change: transform;
}

/* Fix transition jank on nav links */
.nav-editorial a,
.glass-nav a {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}


/* 3D Tactile Buttons */
.btn-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange, #f4600c);
  color: white !important;
  font-family: var(--heading, 'Nunito', sans-serif);
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 0 #c24100, 0 8px 16px rgba(244, 96, 12, 0.3);
  transform: translateY(0);
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  will-change: transform, box-shadow;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #c24100, 0 12px 20px rgba(244, 96, 12, 0.4);
}

.btn-3d:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #c24100, 0 2px 4px rgba(244, 96, 12, 0.3);
}

.btn-3d-secondary {
  background: white;
  color: #0f172a !important;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 0 #cbd5e1, 0 8px 16px rgba(15, 23, 42, 0.05);
}

.btn-3d-secondary:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 0 #94a3b8, 0 12px 20px rgba(15, 23, 42, 0.08);
}

.btn-3d-secondary:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #94a3b8, 0 2px 4px rgba(15, 23, 42, 0.03);
}

.btn-3d-blue {
  background: #2563eb;
  box-shadow: 0 4px 0 #1e40af, 0 8px 16px rgba(37, 99, 235, 0.3);
}
.btn-3d-blue:hover {
  box-shadow: 0 6px 0 #1e40af, 0 12px 20px rgba(37, 99, 235, 0.4);
}
.btn-3d-blue:active {
  box-shadow: 0 0 0 #1e40af, 0 2px 4px rgba(37, 99, 235, 0.3);
}

.btn-3d-green {
  background: #16a34a;
  box-shadow: 0 4px 0 #166534, 0 8px 16px rgba(22, 163, 74, 0.3);
}
.btn-3d-green:hover {
  box-shadow: 0 6px 0 #166534, 0 12px 20px rgba(22, 163, 74, 0.4);
}
.btn-3d-green:active {
  box-shadow: 0 0 0 #166534, 0 2px 4px rgba(22, 163, 74, 0.3);
}

/* ═══════════════════════════════════════════════
 DESIGN ITERATION — PREMIUM ADDITIONS
 3D tilt cards, scroll reveal, micro-animations
═══════════════════════════════════════════════ */

/* 3D Card Tilt Effect */
.card-3d-tilt {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  will-change: transform;
}
.card-3d-tilt:hover {
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.10), 0 4px 16px rgba(0,0,0,0.06);
}

/* Floating badge wiggle */
@keyframes float-badge {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-6px) rotate(1deg); }
  66% { transform: translateY(-3px) rotate(-0.5deg); }
}
.floating-badge {
  animation: float-badge 4s ease-in-out infinite;
}
.floating-badge:nth-child(2) { animation-delay: 0.8s; }
.floating-badge:nth-child(3) { animation-delay: 1.6s; }
.floating-badge:nth-child(4) { animation-delay: 2.4s; }

/* Scroll-reveal base class (animated via IntersectionObserver in JS) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* Card warm — improved contrast & depth */
.card-warm {
  background: #fff;
  border: 1px solid rgba(244,96,12,0.12);
  border-top: 3px solid var(--orange);
  padding: 2.5rem;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.35s, border-color 0.35s;
}
.card-warm:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 20px 60px rgba(10, 10, 10, 0.08);
}
.card-warm__icon {
  font-family: var(--heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}
.card-warm__title {
  font-family: var(--heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.card-warm__text {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.75;
  color: #475569;
}

/* Flow grid — masonry-like stagger */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid .flow-card { transform: none !important; }
}

/* Showcase directory — bento grid */
.showcase-directory {
  padding: 8rem 5vw;
  background: #0f172a;
  overflow: hidden;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 4rem;
}
.showcase-item {
  background: #0f172a;
  overflow: hidden;
  transition: background 0.3s;
}
.showcase-item:hover { background: #1e293b; }
.showcase-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.showcase-item:hover .showcase-img { transform: scale(1.05); }
.showcase-meta {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.showcase-author {
  font-family: var(--heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
}
.showcase-stack {
  font-family: var(--body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}
.showcase-date {
  font-family: var(--body);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
}
.showcase-run {
  font-family: var(--body);
  font-size: 0.68rem;
  color: var(--orange);
  letter-spacing: 0.06em;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: opacity 0.2s;
}
.showcase-run:hover { opacity: 0.7; }

/* Showcase header grid */
.showcase-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

/* Stats band cream */
.stats-band {
  padding: 4rem 5vw;
}
.stats-band__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  text-align: center;
}
.stats-band__num {
  font-family: var(--heading);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stats-band__num span {
  font-size: 0.55em;
  color: rgba(244,96,12,0.6);
}
.stats-band__label {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-top: 0.5rem;
}

/* Section colour helpers */
.section--cream-warm { background: #faf9f7; }
.section--neutral { background: #f8f9fb; }
.section--dark { background: var(--deep-navy); }
.section--cream-sage { background: #f7faf9; }

/* Testimonials */
.testimonials-section { padding: 8rem 5vw; }
.testimonials-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}
.testimonials-section__eyebrow {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.testimonials-section__title {
  font-family: var(--heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
}

/* Testimonial rotator */
.testimonial-rotator { max-width: 1000px; margin: 0 auto; }
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--orange);
  padding: 2rem;
  border-radius: 2px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.testimonial-card--alt { border-top-color: #6366f1; }
.testimonial-card--alt 2 { border-top-color: #22c55e; }
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4600c, #ff9057);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}
.testimonial-role {
  font-family: var(--body);
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.1rem;
}
.testimonial-quote {
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: #334155;
  font-style: italic;
}
.progress-bar-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.progress-bar-item {
  width: 32px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.progress-bar-item.is-active {
  background: var(--orange);
  width: 56px;
}

/* CTA Band */
.cta-band {
  padding: 8rem 5vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-band__eyebrow {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.cta-band__heading {
  font-family: var(--heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.cta-band__subtext {
  font-family: var(--body);
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  line-height: 1.7;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

/* Pill buttons */
.btn-pill-solid {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white !important;
  background: var(--orange);
  padding: 0.9rem 2.25rem;
  text-decoration: none;
  border-radius: 2px;
  border: 1.5px solid var(--orange);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-pill-solid:hover {
  background: #d4520a;
  border-color: #d4520a;
  transform: translateY(-2px);
}
.btn-pill-outline {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white !important;
  background: transparent;
  padding: 0.9rem 2.25rem;
  text-decoration: none;
  border-radius: 2px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-pill-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Editorial highlight underline SVG */
.editorial-highlight {
  position: relative;
  display: inline-block;
}
.editorial-highlight svg {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 14px;
  overflow: visible;
  fill: none;
  stroke-width: 3px;
  stroke-linecap: round;
}
.sr-visible { color: var(--orange) !important; }

/* Secondary / tertiary color vars */
:root {
  --secondary: #0f172a;
  --tertiary: #64748b;
  --radius-lg: 1rem;
  --shadow-warm-lg: 0 30px 80px rgba(0,0,0,0.15);
}

/* ================================================================
 BORDERLESS HOMEPAGE & CLEAN DESIGN OVERHAUL
 Removes harsh border lines, shadows, AI-indicator custom cursors,
 and flashy glows for a premium organic print-style layout.
 ================================================================ */

/* 1. Global Custom Cursor Removal & Standard Fallbacks */
#cursor-ring,
#cursor-dot,
.custom-cursor,
.cursor-ring,
.cursor-glow {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

body, html, * {
  cursor: auto !important;
}

a, button, input, select, textarea, [role="button"] {
  cursor: pointer !important;
}

/* 2. Global AI Glow & Flashy Effect Removal */
.btn-glow,
[class*="glow"],
.cursor-glow,
.hero-glow {
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  background-image: none !important;
}

/* 3. Borderless Homepage Layout Rules */
body.borderless-homepage {
  background-color: #A8ACB0!important; /* Matches video background exactly */
}

/* Remove solid section borders and horizontal rule dividers */
body.borderless-homepage section,
body.borderless-homepage hr,
body.borderless-homepage .preai-hero-rule,
body.borderless-homepage .divider-line {
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  box-shadow: none !important;
}

/* ── The Fixed Video Canvas ────────────────────────────────────── */
#video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;  /* Lowest layer — everything sits above */
  overflow: hidden;
  pointer-events: none;
  background: #080c1c;
}

#video-bg video {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  will-change: transform; /* GPU rasterisation hint */
}

#video-overlay {
  position: absolute;
  inset: 0;
  background:
  /* Left gray feather */
  linear-gradient(
    to right,
    rgba(168, 172, 176, 1.0) 0%,
    rgba(168, 172, 176, 1.0) 32%,
    rgba(168, 172, 176, 0.0) 58%
  ),
  /* Right gray feather — mirrors left, fills empty right-side space */
  linear-gradient(
    to left,
    rgba(168, 172, 176, 1.0) 0%,
    rgba(168, 172, 176, 0.85) 8%,
    rgba(168, 172, 176, 0.0) 32%
  ),
  /* Top nav shadow */
  linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.12) 0%,
    transparent 120px
  ),
  /* Bottom shadow */
  linear-gradient(
    to top,
    rgba(10, 10, 10, 0.08) 0%,
    transparent 30%
  );
  z-index: 1;
}

/* ── Page Content Wrapper ───────────────────────────────────────── */
#page-content {
  position: relative;
  z-index: 10;  /* Scrolls over the fixed video */
  /* NO background here — the scrub spacer section is transparent
 to let the fixed video show through */
}

@media (max-width: 768px) {
  #page-content {
    overflow-x: hidden !important;
  }
}

/* ── Scrub Spacer — container for the hero section ────── */
#scrub-spacer {
  position: relative;
  width: 100%;
}

@media (min-width: 769px) {
  #scrub-spacer {
    height: 100vh !important;
  }
}

@media (max-width: 768px) {
  #scrub-spacer {
 height: auto !important; /* Collapses to natural height on mobile */
 padding-top: 80px !important;
 padding-bottom: 40px !important;
 padding-left: 1rem !important;
 padding-right: 1rem !important;
  }
}

/* ── Hero Panel — left column layout, avoids overlapping centered robot ── */
#hero-panel {
  width: 100%;
  max-width: 600px !important; /* Keep text in the left column, robot has room */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start !important;
  text-align: left !important;
  padding: calc(70px + 4vh) 6vw 4vh !important; /* Clear slim nav, compact top/bottom padding to respect 100vh */
  pointer-events: auto;
  z-index: 2;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  #hero-panel {
 position: sticky !important;
 top: 0 !important;
 height: 100vh !important;
 min-height: 100vh !important;
 background: transparent !important;
  }
}

@media (max-width: 768px) {
  #hero-panel {
 position: relative !important;
 top: auto !important;
 height: auto !important;
 min-height: auto !important;
 background: rgba(255, 248, 238, 0.85) !important; /* Frosted glass warm white panel */
 backdrop-filter: blur(16px) !important;
 -webkit-backdrop-filter: blur(16px) !important;
 border: 1px solid rgba(255, 255, 255, 0.45) !important;
 border-radius: 24px !important;
 padding: 2.5rem 1.75rem !important;
 margin: 1rem auto !important;
 max-width: calc(100% - 2rem) !important;
 box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05) !important;
  }
}

/* ── Scroll Hint ───────────────────────────────────────────────── */
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%  { transform: translateY(8px); }
}

#scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
  color: #1a2332; /* SVG arrow inherits this */
  animation: bounceDown 2.2s ease-in-out infinite;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

#scroll-hint span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a2332;
  opacity: 0.55;
}

/* ── Nav: Transparent frosted glass over video ────────────────── */
.nav-editorial {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav-editorial a:not(.nav-cta-btn) {
  color: #1a2332!important;
}

.nav-editorial a:not(.nav-cta-btn):hover {
  color: #f4600c!important;
  opacity: 1 !important;
}

/* Fully opaque once scrolled past scrub zone */
.nav-editorial.nav-light {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.07) !important;
  box-shadow: 0 1px 20px rgba(0,0,0,0.05) !important;
}

.nav-editorial.nav-light a:not(.nav-cta-btn) {
  color: #1a2332!important;
}

.nav-editorial.nav-light a:not(.nav-cta-btn):hover {
  color: #f4600c!important;
  opacity: 1 !important;
}

/* ── Body scroll lock during intro ────────────────────────────── */
body.video-loading-lock {
  overflow: hidden !important;
}

/* ── Sections in the intro scrub zone are transparent/semi-transparent ── */
#scrub-spacer {
  background: transparent !important;
}

#page-content .skill-statement {
  position: relative;
  z-index: 1;
  background: rgba(250, 249, 247, 0.45) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

#page-content .stats-band {
  position: relative;
  z-index: 1;
  background: rgba(255, 248, 238, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

#page-content .section--neutral {
  position: relative;
  z-index: 1;
  background: rgba(248, 249, 251, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

@media (max-width: 768px) {
  #page-content .skill-statement {
 background: var(--warm-white, #faf9f6) !important;
 backdrop-filter: none !important;
 -webkit-backdrop-filter: none !important;
  }
  #page-content .stats-band {
 background: var(--cream-warm, #fbfaf8) !important;
 backdrop-filter: none !important;
 -webkit-backdrop-filter: none !important;
  }
  #page-content .section--neutral {
 background: var(--neutral-bg, #f6f7f9) !important;
 backdrop-filter: none !important;
 -webkit-backdrop-filter: none !important;
  }
}

/* ── Subsequent content sections slide up as solid sheets to cover the video ── */
#page-content .showcase-directory,
#page-content .academic-programs-band,
#page-content .mentors-band,
#page-content .testimonials-section,
#page-content .timeline-section,
#page-content .cta-band,
#page-content .footer-editorial {
  position: relative;
  z-index: 10; /* Higher stacking context to cleanly overlay the background video */
}

.showcase-directory {
  background: #ffffff!important;
}

.academic-programs-band {
  background: var(--warm-white, #faf9f7) !important;
}

.mentors-band {
  background: #f8f9fb!important;
}

.testimonials-section {
  background: var(--cream-sage, #F2F6F2) !important;
}

.timeline-section {
  background: #ffffff!important;
}

.cta-band {
  background: #FFF8EE!important;
}

.footer-editorial {
  background: #ffffff!important;
}

/* Old scrub-container / scrub-overlay styles — removed (sticky approach deprecated) */

.btn-pill-outline:hover {
  border-color: rgba(26, 35, 126, 0.8) !important;
  background: rgba(26, 35, 126, 0.04) !important;
}

/* Specific styling for the student showcase directory item container to look clean and borderless */
body.borderless-homepage .showcase-item {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}
body.borderless-homepage .showcase-item img {
  border-radius: 0 !important; /* editorial flat images */
  box-shadow: none !important;
}

/* Remove border line transitions or grids */
body.borderless-homepage .flow-grid,
body.borderless-homepage .showcase-grid,
body.borderless-homepage .curriculum-grid {
  gap: 2.5rem !important;
}

/* Left-align hero elements to occupy a clean left-third column, keeping text readable and clear of centered robot */
body.borderless-homepage .hero-body-text {
  max-width: 100% !important;
  margin-inline: 0 !important;
  margin-bottom: 1.5rem !important; /* Compact spacing to prevent vertical overflow */
  text-align: left !important;
}

body.borderless-homepage .hero-cta-group {
  margin-bottom: 1.5rem !important; /* Compact spacing to prevent vertical overflow */
  justify-content: flex-start !important;
}

body.borderless-homepage .hero-trust-row,
body.borderless-homepage .hero-stats-strip-new {
  justify-content: flex-start !important;
}

@media (max-width: 500px) {
  .hero-stats-strip-new {
    padding-left: 0.25rem !important;
  }
}

/* ================================================================
 GSAP VIDEO SCROLL-SCRUBBING STYLES
 ================================================================ */

#scrub-track {
  position: relative;
  width: 100%;
  height: 400vh; /* scroll depth track */
  background: #070d1f;
}

#video-sticky-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  background: #070d1f;
}

#scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

#scrub-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Let scroll pass through */
  z-index: 2;
}

.scrub-overlay-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Each section takes exactly one viewport */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  pointer-events: auto; /* Re-enable clicks inside sections */
}

/* ── Scroll Hint Bounce Animation ──────────────────────────── */
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(8px); }
}

#scroll-hint {
  animation: bounceDown 2s ease-in-out infinite;
  color: #1A237E!important;
}



/* ── Navigation Overrides for Homepage ── */
/* (Consolidated — handled by general .nav-editorial rules above) */

/* ── Prevent fixed navigation bar clipping content across all pages ── */
/* Nav is now ~70px tall. Hero panel gets extra breathing room due to sticky layout */
main > section:first-of-type,
#page-content > section:first-of-type,
.hero-with-bg,
.subpage-header,
.subpage-hero {
  padding-top: 110px !important;
}

/* #hero-panel padding is handled by its own rule above using calc() */

@media (max-width: 768px) {
  main > section:first-of-type,
  #page-content > section:first-of-type,
  .hero-with-bg,
  .subpage-header,
  .subpage-hero,
  #hero-panel {
 padding-top: 90px !important;
  }
}

@media (max-width: 768px) {
  .nav-editorial {
 padding: 0.75rem 1.5rem;
  }
}

/* ── Premium Unified Color Palette Overrides ── */
/* Soft, premium tones that blend seamlessly with the glassmorphic aesthetics */
:root {
  --warm-white: #faf9f6;
  --chalk: #f7f5f0;
  --cream-warm: #fbfaf8;
  --neutral-bg: #f6f7f9;
  --cream-sage: #f2f5f2;
}

.academic-programs-band {
  background: var(--warm-white) !important;
}

.mentors-band {
  background: var(--neutral-bg) !important;
}

.testimonials-section {
  background: var(--cream-sage) !important;
}

.cta-band {
  background: var(--cream-warm) !important;
}

/* ── Hero Typography & Contrast Overrides (light grey background) ── */
.hero-eyebrow {
  color: var(--orange, #f4600c) !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  margin-bottom: 1.25rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.35rem 0.6rem !important;
}

.hero-headline {
  color: #1A237E!important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}

.hero-body-text {
  color: #1E293B!important; /* High contrast slate */
  font-weight: 550 !important; /* Slightly bolder for readability */
  line-height: 1.65 !important;
  font-size: 1.05rem !important;
}

.hero-trust-text {
  color: #334155!important;
  font-size: 0.82rem !important;
}

.hero-trust-text strong {
  color: #1A237E!important;
}

.hero-stat-num {
  color: #1A237E!important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
}

.hero-stat-label {
  color: #475569!important;
  font-weight: 600 !important;
  font-size: 0.7rem !important;
}

/* Removed conflicting hero button styles to resolve blur and hover flickering */

/* ================================================================
 22. GLOBAL PREMIUM DESIGN POLISH & WATERMARK REMOVAL (Antigravity)
 ================================================================ */

/* Crop the background video by 8% zoom to completely hide the Gemini watermark */
#scrub-video {
  transform: translateX(0%) scale(1.05);
  transform-origin: center center !important;
}

/* Fixed position for desktop — robot sits right-of-center, slightly smaller for quality feel */
@media (min-width: 769px) {
  #scrub-video,
  #blink-video {
    transform: translateX(22%) scale(1.05) !important;
    transform-origin: center center !important;
  }
}

/* Standardize slim, premium nav bar height & sizing across all pages */
.nav-editorial {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 60px !important; /* Fixed slim height */
  padding: 0 5vw !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  z-index: 10000 !important;
  box-sizing: border-box !important;
  transition: background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
 border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
 box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  
  /* Subpages & Default Scrolled State: solid warm-white frosted background */
  background: rgba(250, 249, 247, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02) !important;
  mix-blend-mode: normal !important;
}

/* Slim logo image inside navbar */
.nav-logo-editorial {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
}
.nav-logo-editorial img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  background: transparent !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}
.nav-logo-editorial:hover img {
  transform: scale(1.05);
}

/* Nav links default state (dark slate text for readability) */
.nav-editorial a:not(.nav-cta-btn) {
  color: #1a2332!important;
  font-family: var(--body) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  opacity: 0.85 !important;
  transition: color 0.2s ease, opacity 0.2s ease !important;
}
.nav-editorial a:not(.nav-cta-btn):hover {
  color: var(--orange, #f4600c) !important;
  opacity: 1 !important;
}

/* CTA Pill Button adjustment for slim nav */
.nav-cta-btn {
  background: var(--orange, #f4600c) !important;
  color: white !important;
  padding: 0.45rem 1.4rem !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.12em !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(10, 10, 10, 0.08) !important;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta-btn:hover {
  background: #d4520a!important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.12) !important;
}

.nav-cta-btn-secondary {
  background: transparent !important;
  color: var(--orange, #f4600c) !important;
  border: 1.5px solid var(--orange, #f4600c) !important;
  padding: 0.45rem 1.4rem !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  transition: background-color 0.2s, color 0.2s, transform 0.2s !important;
}
.nav-cta-btn-secondary:hover {
  background: var(--orange, #f4600c) !important;
  color: white !important;
  transform: translateY(-1px) !important;
}
body.borderless-homepage .nav-editorial:not(.nav-light) .nav-cta-btn-secondary {
  color: white !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}
body.borderless-homepage .nav-editorial:not(.nav-light) .nav-cta-btn-secondary:hover {
  background: var(--orange, #f4600c) !important;
  border-color: var(--orange, #f4600c) !important;
  color: white !important;
}

/* Homepage-specific: Initial transparent state over video background */
body.borderless-homepage .nav-editorial:not(.nav-light) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
}
body.borderless-homepage .nav-editorial:not(.nav-light) a:not(.nav-cta-btn) {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22) !important;
}
body.borderless-homepage .nav-editorial:not(.nav-light) a:not(.nav-cta-btn):hover {
  color: var(--orange, #f4600c) !important;
}
body.borderless-homepage .nav-editorial:not(.nav-light) .nav-logo-editorial img {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15)) !important;
}

/* Prevent fixed navigation bar clipping content across all subpages */
body:not(.borderless-homepage) {
  padding-top: 60px !important; /* Exactly offsets the 60px fixed header */
}

/* Ensure subpages that have custom hero wrappers clear the nav cleanly */
body:not(.borderless-homepage) .preai-hero-split,
body:not(.borderless-homepage) .hero-parallax-scene {
  padding-top: 0 !important; /* Managed by body padding-top to keep SVH math correct */
}

/* Fix text contrast in lightened sections (previously dark, flattened by overrides) */
.bg-slate-900,
.bg-slate-950,
.bg-gray-900,
.bg-gray-950,
.bg-indigo-900,
.bg-indigo-950,
.bg-indigo-50,
.bg-slate-50,
.bg-gray-50,
[class*="bg-slate-9"],
[class*="bg-gray-9"],
[class*="bg-indigo-9"] {
  color: #2d3748!important; /* Dark readable text */
}

.bg-slate-900 h1, .bg-slate-900 h2, .bg-slate-900 h3, .bg-slate-900 h4,
.bg-slate-950 h1, .bg-slate-950 h2, .bg-slate-950 h3, .bg-slate-950 h4,
.bg-gray-900 h1,  .bg-gray-900 h2,  .bg-gray-900 h3,  .bg-gray-900 h4,
.bg-indigo-900 h1, .bg-indigo-900 h2, .bg-indigo-900 h3, .bg-indigo-900 h4,
.bg-indigo-950 h1, .bg-indigo-950 h2, .bg-indigo-950 h3, .bg-indigo-950 h4,
.bg-indigo-50 h1, .bg-indigo-50 h2, .bg-indigo-50 h3, .bg-indigo-50 h4,
[class*="bg-slate-9"] h1, [class*="bg-slate-9"] h2, [class*="bg-slate-9"] h3, [class*="bg-slate-9"] h4,
[class*="bg-gray-9"] h1,  [class*="bg-gray-9"] h2,  [class*="bg-gray-9"] h3,  [class*="bg-gray-9"] h4,
[class*="bg-indigo-9"] h1, [class*="bg-indigo-9"] h2, [class*="bg-indigo-9"] h3, [class*="bg-indigo-9"] h4 {
  color: #1a2332!important; /* Premium dark slate headings */
}

.bg-slate-900 .text-white,
.bg-slate-950 .text-white,
.bg-gray-900 .text-white,
.bg-indigo-900 .text-white,
.bg-indigo-950 .text-white,
.bg-indigo-50 .text-white,
[class*="bg-slate-9"] .text-white,
[class*="bg-gray-9"] .text-white,
[class*="bg-indigo-9"] .text-white,
.bg-slate-900 .text-gray-200,
.bg-slate-950 .text-gray-200,
.bg-gray-900 .text-gray-200,
.bg-indigo-50 .text-gray-500,
.bg-indigo-50 .text-slate-500 {
  color: #2d3748!important; /* Premium dark readable text */
}

.bg-slate-900 .text-white\/90,
.bg-slate-950 .text-white\/90,
.bg-slate-900 .text-white\/80,
.bg-slate-950 .text-white\/80,
.bg-slate-900 .text-white\/55,
.bg-slate-950 .text-white\/55,
.bg-slate-900 .text-white\/65,
.bg-slate-950 .text-white\/65 {
  color: #4a5568!important; /* Dark grey for secondary descriptors */
}

.bg-slate-900 a:not(.btn-pill-solid):not(.nav-cta-btn),
.bg-slate-950 a:not(.btn-pill-solid):not(.nav-cta-btn),
.bg-indigo-900 a:not(.btn-pill-solid):not(.nav-cta-btn),
.bg-indigo-950 a:not(.btn-pill-solid):not(.nav-cta-btn) {
  color: var(--orange, #f4600c) !important;
}

/* Restore solid background colors for elements whose gradients were stripped */
.bg-gradient-to-br.from-indigo-600,
.bg-gradient-to-br.from-slate-900,
.bg-gradient-to-br.from-blue-600,
.bg-gradient-to-br.from-purple-600,
.bg-gradient-to-br[class*="from-indigo-"],
.bg-gradient-to-br[class*="from-blue-"],
.bg-gradient-to-br[class*="from-purple-"] {
  background-color: #070d1f!important; /* solid deep navy premium brand background */
  color: white !important;
}

.bg-gradient-to-br[class*="from-indigo-"] h3,
.bg-gradient-to-br[class*="from-indigo-"] p,
.bg-gradient-to-br[class*="from-indigo-"] li,
.bg-gradient-to-br[class*="from-indigo-"] span,
.bg-gradient-to-br[class*="from-indigo-"] div {
  color: rgba(255, 255, 255, 0.9) !important;
}

.bg-gradient-to-br[class*="from-indigo-"] h3,
.bg-gradient-to-br[class*="from-indigo-"] .text-4xl,
.bg-gradient-to-br[class*="from-indigo-"] strong {
  color: white !important;
}

/* Green gradient CTAs solid fallback */
.bg-gradient-to-br[class*="from-circuit-"],
.bg-gradient-to-br[class*="from-green-"],
.bg-gradient-to-r[class*="from-green-"] {
  background-color: #0d2a1d!important; /* deep forest green */
  color: white !important;
}
.bg-gradient-to-br[class*="from-circuit-"] h2,
.bg-gradient-to-br[class*="from-circuit-"] p {
  color: white !important;
}

/* Dashboard pages: Cancel the default subpage 60px body padding */
body.dashboard-page {
  padding-top: 0 !important;
}

/* ── CSS 3D Perspective Card Hover ── */
.perspective-3d {
  perspective: 1000px;
}

.card-tilt-3d {
  transition: transform 0.15s ease-out, box-shadow 0.25s ease !important;
  transform-style: preserve-3d;
}

.card-tilt-3d:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
}

.card-tilt-3d > * {
  transform: translateZ(20px); /* Lift children slightly */
}

/* ── Light Glassmorphic Panels Contrast Enhancements ── */
.glass-panel-light,
.glass-panel-light h1,
.glass-panel-light h2,
.glass-panel-light h3,
.glass-panel-light h4,
.glass-panel-light h5,
.glass-panel-light h6,
.glass-panel-light label,
.glass-panel-light p,
.glass-panel-light span,
.glass-panel-light a:not(.btn-pill-solid):not([class*="btn-"]):not([class*="bg-"]),
.glass-panel-light button:not([class*="bg-"]):not([class*="btn-"]):not([class*="wa-float"]) {
  color: #1a2332!important;
}

/* Muted colors for sub-labels and descriptions inside light glassmorphic containers */
.glass-panel-light .text-white\/55,
.glass-panel-light .text-white\/65,
.glass-panel-light .text-white\/50,
.glass-panel-light .text-white\/70,
.glass-panel-light [class*="text-white\/"] {
  color: rgba(26, 35, 50, 0.7) !important;
}

.glass-panel-light .text-gray-600,
.glass-panel-light .text-gray-500 {
  color: rgba(26, 35, 50, 0.75) !important;
}

/* Ensure svg icons inherit correct coloring inside light glassmorphic cards */
.glass-panel-light i.text-white,
.glass-panel-light svg.text-white,
.glass-panel-light .text-white svg,
.glass-panel-light [class*="text-white"] svg {
  color: #1a2332!important;
}

/* Form input styling overrides specifically for light glass panels */
.glass-panel-light .form-input,
.glass-panel-light input[class*="form-input"] {
  background: rgba(10, 10, 10, 0.04) !important;
  border-bottom: 2px solid rgba(10, 10, 10, 0.12) !important;
  color: #1a2332!important;
  font-weight: 500 !important;
}

.glass-panel-light .form-input:focus,
.glass-panel-light input[class*="form-input"]:focus {
  background: rgba(244, 96, 12, 0.04) !important;
  border-bottom: 2px solid #f4600c!important;
  color: #1a2332!important;
}

.glass-panel-light .form-input::placeholder,
.glass-panel-light input[class*="form-input"]::placeholder {
  color: rgba(26, 35, 50, 0.45) !important;
}

.glass-panel-light label.peer-placeholder-shown,
.glass-panel-light .form-input:placeholder-shown ~ label,
.glass-panel-light input[class*="form-input"]:placeholder-shown ~ label {
  color: rgba(26, 35, 50, 0.5) !important;
}

.glass-panel-light .form-input:focus ~ label,
.glass-panel-light input[class*="form-input"]:focus ~ label,
.glass-panel-light .form-input:not(:placeholder-shown) ~ label,
.glass-panel-light input[class*="form-input"]:not(:placeholder-shown) ~ label {
  color: #f4600c!important;
}

/* ── Hero Panel CTA Group Desktop Styling ── */
@media (min-width: 769px) {
  .hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    width: auto !important;
    margin-bottom: 2rem !important;
  }
  .hero-cta-group a {
    width: auto !important;
    min-width: 190px !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ── Hardware-Accelerated Scroll Reveal System ── */
.sr-hidden {
  opacity: 0 !important;
  transform: translateY(24px) scale(0.98) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform !important;
}

.sr-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* ── Immersive Frosted Light Theme Overrides for Homepage Zone B ── */
body.borderless-homepage #skills-section,
body.borderless-homepage .stats-band-new,
body.borderless-homepage .zb-section,
body.borderless-homepage .zb-section--tinted,
body.borderless-homepage .curriculum-section,
body.borderless-homepage .timeline-section,
body.borderless-homepage #timeline-section,
body.borderless-homepage .difference-section,
body.borderless-homepage .stats-section,
body.borderless-homepage .cta-section,
body.borderless-homepage .cta-band-new,
body.borderless-homepage #cta-section {
  background: rgba(250, 249, 247, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #475569 !important;
}

/* Headings contrast overrides */
body.borderless-homepage #skills-section h2,
body.borderless-homepage #skills-section h3,
body.borderless-homepage .stats-band-new h2,
body.borderless-homepage .stats-band-new h3,
body.borderless-homepage .zb-section h2,
body.borderless-homepage .zb-section h3,
body.borderless-homepage .zb-section--tinted h2,
body.borderless-homepage .zb-section--tinted h3,
body.borderless-homepage .curriculum-section h2,
body.borderless-homepage .curriculum-section h3,
body.borderless-homepage .timeline-section h2,
body.borderless-homepage .timeline-section h3,
body.borderless-homepage .difference-section h2,
body.borderless-homepage .difference-section h3,
body.borderless-homepage .stats-section h2,
body.borderless-homepage .stats-section h3,
body.borderless-homepage .cta-section h2,
body.borderless-homepage .cta-section h3,
body.borderless-homepage .cta-band-new h2,
body.borderless-homepage .cta-band-new h3,
body.borderless-homepage .zb-h2,
body.borderless-homepage .timeline-step-title,
body.borderless-homepage .editorial-heading {
  color: #1A237E !important;
}

/* Paragraphs and descriptions contrast overrides */
body.borderless-homepage #skills-section p,
body.borderless-homepage .stats-band-new p,
body.borderless-homepage .zb-section p,
body.borderless-homepage .zb-section--tinted p,
body.borderless-homepage .curriculum-section p,
body.borderless-homepage .timeline-section p,
body.borderless-homepage .difference-section p,
body.borderless-homepage .stats-section p,
body.borderless-homepage .cta-section p,
body.borderless-homepage .cta-band-new p,
body.borderless-homepage .zb-lead,
body.borderless-homepage .zb-mid,
body.borderless-homepage .timeline-step-desc,
body.borderless-homepage .feature-desc,
body.borderless-homepage .prog-card-desc,
body.borderless-homepage .stat-label {
  color: #475569 !important;
}

/* Eyebrows */
body.borderless-homepage .zb-eyebrow,
body.borderless-homepage .cta-band-new__eyebrow {
  color: #f4600c !important;
  font-weight: 700 !important;
}

/* Specific elements inside sections */
body.borderless-homepage .skills-label {
  color: #475569 !important;
}

body.borderless-homepage .skill-pill {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(26, 35, 126, 0.12) !important;
  color: #1A237E !important;
}

body.borderless-homepage .skill-pill:hover {
  background: #fff3ed !important;
  border-color: rgba(244, 96, 12, 0.35) !important;
  color: #f4600c !important;
}

/* Stats band items */
body.borderless-homepage .stats-item {
  border-right: 1px solid rgba(26, 35, 126, 0.08) !important;
}

body.borderless-homepage .stats-item__num {
  color: #1A237E !important;
}

body.borderless-homepage .stats-item__lbl {
  color: #475569 !important;
}

/* Cards & containers glassmorphic light styling */
body.borderless-homepage .why-card,
body.borderless-homepage .prog-cell,
body.borderless-homepage .showcase-new-card,
body.borderless-homepage .testi-card,
body.borderless-homepage .glass-panel-light,
body.borderless-homepage .prog-card,
body.borderless-homepage .testimonial-card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(26, 35, 126, 0.08) !important;
  color: #475569 !important;
  box-shadow: 0 10px 30px rgba(26, 35, 126, 0.04) !important;
}

body.borderless-homepage .why-card:hover,
body.borderless-homepage .prog-cell:hover,
body.borderless-homepage .showcase-new-card:hover,
body.borderless-homepage .testi-card:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(244, 96, 12, 0.3) !important;
  box-shadow: 0 12px 32px rgba(244, 96, 12, 0.08) !important;
  transform: translateY(-2px) !important;
}

body.borderless-homepage .why-card__num {
  background: #f4600c !important;
  color: #ffffff !important;
}

body.borderless-homepage .showcase-new-meta {
  border-top: 1px solid rgba(26, 35, 126, 0.08) !important;
}

body.borderless-homepage .showcase-new-meta__author {
  color: #1A237E !important;
}

body.borderless-homepage .showcase-new-meta__stack {
  color: #475569 !important;
}

body.borderless-homepage .showcase-new-meta__tag {
  background: rgba(244, 96, 12, 0.05) !important;
  border-color: rgba(244, 96, 12, 0.25) !important;
  color: #f4600c !important;
}

body.borderless-homepage #showcase-section div[style*="color:#0d1b2a"],
body.borderless-homepage #showcase-section div[style*="color: #0d1b2a"] {
  color: #1A237E !important;
}

body.borderless-homepage #showcase-section div[style*="color:#94a3b8"],
body.borderless-homepage #showcase-section div[style*="color: #94a3b8"] {
  color: #475569 !important;
}

/* Academic Program specific styling */
body.borderless-homepage .prog-cell__age {
  color: #f4600c !important;
  border-color: rgba(244, 96, 12, 0.25) !important;
  background: rgba(244, 96, 12, 0.05) !important;
}

body.borderless-homepage .prog-card-title,
body.borderless-homepage .feature-title {
  color: #1A237E !important;
}

body.borderless-homepage .prog-card-desc,
body.borderless-homepage .feature-desc {
  color: #475569 !important;
}

body.borderless-homepage .feature-item {
  border-top: 1px solid rgba(26, 35, 126, 0.12) !important;
  border-bottom: 1px solid rgba(26, 35, 126, 0.12) !important;
}

/* Statistics component */
body.borderless-homepage .stats-raw {
  border-top: 1px solid rgba(26, 35, 126, 0.12) !important;
  color: #1A237E !important;
}

body.borderless-homepage .stat-block {
  border-right: 1px solid rgba(26, 35, 126, 0.12) !important;
}

body.borderless-homepage .stat-num {
  color: #1A237E !important;
}

/* Timeline components */
body.borderless-homepage .timeline-step {
  border-right: 1px solid rgba(26, 35, 126, 0.12) !important;
}

body.borderless-homepage .timeline-step-num {
  color: rgba(26, 35, 126, 0.15) !important;
}

body.borderless-homepage .timeline-step-age {
  color: #fb923c !important;
}

/* Testimonials channel & channel label */
body.borderless-homepage .testi-name {
  color: #1A237E !important;
}

body.borderless-homepage .testi-channel {
  color: #475569 !important;
}

body.borderless-homepage .testi-avatar {
  color: #ffffff !important;
}

/* ── Infinite Double-Layer Logo Marquee Ticker ── */
.skills-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
  position: relative;
}

/* Side gradients to fade logos in and out */
.skills-marquee-container::before,
.skills-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20vw;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.skills-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(250, 249, 247, 1), rgba(250, 249, 247, 0));
}
.skills-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(250, 249, 247, 1), rgba(250, 249, 247, 0));
}

.logo-marquee-row {
  display: flex;
  width: max-content;
  gap: 1.5rem;
}

.logo-marquee-track {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  will-change: transform;
}

/* Marquee directional scroll animation loops */
.row-left .logo-marquee-track {
  animation: marquee-scroll-left 45s linear infinite;
}
.row-right .logo-marquee-track {
  animation: marquee-scroll-right 45s linear infinite;
}

/* Marquee runs continuously — hover shows button interactivity, not pause */
/* .skills-marquee-container:hover .logo-marquee-track { animation-play-state: paused; } */

@keyframes marquee-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Elegant logo cards styling */
.logo-card {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(26, 35, 126, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.02);
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.logo-card:hover {
  background: #ffffff;
  border-color: #f4600c;
  box-shadow: 0 8px 24px rgba(244, 96, 12, 0.08);
  transform: translateY(-2px);
}
.logo-card svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.logo-card span {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: #1A237E;
}

/* Light / dark mode adaptation for Roblox logo fill */
.logo-card svg rect {
  stroke: #475569;
}
.logo-card:hover svg rect {
  stroke: #f4600c;
}

/* ── Button Light Sweep Shimmer Effect ── */
.btn-primary-raw,
.btn-pill-solid,
.nav-cta-btn,
.mnav-enroll,
.btn-primary,
.btn-success {
  position: relative;
  overflow: hidden;
}

.btn-primary-raw::after,
.btn-pill-solid::after,
.nav-cta-btn::after,
.mnav-enroll::after,
.btn-primary::after,
.btn-success::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
}

.btn-primary-raw:hover::after,
.btn-pill-solid:hover::after,
.nav-cta-btn:hover::after,
.mnav-enroll:hover::after,
.btn-primary:hover::after,
.btn-success:hover::after {
  left: 150%;
  transition: left 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── Mobile & Tablet Responsiveness for Skills Marquee Ticker ── */
@media (max-width: 768px) {
  .skills-marquee-container {
    gap: 0.85rem;
    padding: 1rem 0;
  }
  
  .skills-marquee-container::before,
  .skills-marquee-container::after {
    width: 15vw; /* Reduce fade width so more content is visible */
  }
  
  .logo-marquee-row {
    gap: 1rem;
  }
  
  .logo-marquee-track {
    gap: 1rem;
  }
  
  .row-left .logo-marquee-track {
    animation-duration: 25s; /* Scroll slightly faster to suit smaller screen width */
  }
  
  .row-right .logo-marquee-track {
    animation-duration: 25s;
  }
  
  .logo-card {
    padding: 0.45rem 1rem;
    gap: 0.5rem;
    border-width: 1px;
  }
  
  .logo-card svg {
    width: 18px;
    height: 18px;
  }
  
  .logo-card span {
    font-size: 0.76rem;
  }
}

/* ── Sophisticated Editorial Marquee Styling ── */
.logo-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.logo-card:hover {
  border-color: rgba(15, 23, 42, 0.25) !important;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06) !important;
  transform: translateY(-2px) !important;
}

#skills-section {
  position: relative;
  background-image: radial-gradient(rgba(26, 35, 126, 0.05) 1.5px, transparent 1.5px) !important;
  background-size: 24px 24px !important;
}

/* ═══════════════════════════════════════════════
   TACTILE 3D UPGRADE & GLOW / SCROLL CLEANUP
   ═══════════════════════════════════════════════ */

/* 1. Global Scroll Indicator / Scroll Hint Removal */
#scroll-hint,
.hero-scroll-hint,
.scroll-indicator,
[id*="scroll-hint"],
[class*="scroll-hint"] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* 2. Global Glow and Shiny Accents Removal */
.btn-glow,
[class*="glow"],
.hero-glow,
.cursor-glow,
#cursor-ring,
#cursor-dot {
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  background-image: none !important;
}

.hero-stat-item {
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.04) !important;
}

/* 3. Overriding Marquee Cards to Remove Glowing Accents */
.logo-card:hover,
.logo-card.card-scratch:hover,
.logo-card.card-python:hover,
.logo-card.card-js:hover,
.logo-card.card-html:hover,
.logo-card.card-ai:hover,
.logo-card.card-arduino:hover,
.logo-card.card-robotics:hover,
.logo-card.card-3d:hover,
.logo-card.card-roblox:hover,
.logo-card.card-pygame:hover {
  border-color: rgba(26, 35, 126, 0.15) !important;
  box-shadow: 0 4px 0 0 rgba(26, 35, 126, 0.12) !important;
}

/* 4. Tactile 3D Press Buttons Override */
.btn-pill-solid,
.nav-cta-btn,
.btn-primary-raw,
.btn-success,
.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: var(--orange, #f4600c) !important;
  color: #ffffff !important;
  border: 1px solid #d4520a !important;
  border-bottom: 4px solid #d4520a !important; /* Base offset layer */
  border-radius: 12px !important;
  transform: translateY(-4px) !important;
  transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.btn-pill-solid:hover,
.nav-cta-btn:hover,
.btn-primary-raw:hover,
.btn-success:hover,
.btn-primary:hover {
  transform: translateY(-6px) !important;
  border-bottom: 6px solid #d4520a !important;
  background-color: var(--orange, #f4600c) !important;
  box-shadow: none !important;
}

.btn-pill-solid:active,
.nav-cta-btn:active,
.btn-primary-raw:active,
.btn-success:active,
.btn-primary:active {
  transform: translateY(0px) !important;
  border-bottom: 1px solid #d4520a !important;
  box-shadow: none !important;
  transition: all 35ms ease-in-out !important;
}

/* Disable sweep overlay shimmer effects that conflict with 3D press rendering */
.btn-primary-raw::after,
.btn-pill-solid::after,
.nav-cta-btn::after,
.btn-primary::after,
.btn-success::after {
  display: none !important;
}

/* Tactile 3D Outline Buttons Override */
.btn-pill-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #ffffff !important;
  color: #1A237E !important;
  border: 1px solid rgba(26, 35, 126, 0.15) !important;
  border-bottom: 4px solid rgba(26, 35, 126, 0.15) !important;
  border-radius: 12px !important;
  transform: translateY(-4px) !important;
  transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: none !important;
}

.btn-pill-outline:hover {
  transform: translateY(-6px) !important;
  border-bottom: 6px solid rgba(26, 35, 126, 0.15) !important;
  background-color: #f8fafc !important;
}

.btn-pill-outline:active {
  transform: translateY(0px) !important;
  border-bottom: 1px solid rgba(26, 35, 126, 0.15) !important;
}

/* 5. Tactile 3D Press Cards Override */
.why-card,
.prog-cell,
.showcase-new-card,
.testi-card,
.prog-card,
.testimonial-card,
.logo-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(26, 35, 126, 0.08) !important;
  border-bottom: 5px solid rgba(26, 35, 126, 0.12) !important;
  border-radius: 12px !important;
  transform: translateY(-4px) !important;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.02) !important;
}

.why-card:hover,
.prog-cell:hover,
.showcase-new-card:hover,
.testi-card:hover,
.prog-card:hover,
.testimonial-card:hover,
.logo-card:hover {
  transform: translateY(-8px) !important;
  border-bottom: 9px solid rgba(26, 35, 126, 0.15) !important;
  box-shadow: 0 8px 25px rgba(26, 35, 126, 0.04) !important;
}

.why-card:active,
.prog-cell:active,
.showcase-new-card:active,
.testi-card:active,
.prog-card:active,
.testimonial-card:active,
.logo-card:active {
  transform: translateY(0px) !important;
  border-bottom: 1.5px solid rgba(26, 35, 126, 0.08) !important;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0) !important;
  transition: all 50ms ease-in-out !important;
}

/* 6. Premium Dark-Gradient Social Proof Section (Redesigned Testimonials) */
#testimonials-section {
  background: linear-gradient(135deg, #070d1f 0%, #120e2e 100%) !important;
  padding: 6rem 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Dotted Micro-Grid on Testimonials Section to match the visual style of the attached image */
#testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
  background-size: 24px 24px !important;
  pointer-events: none;
}

/* Two-column layout container */
.testimonials-container {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3.5rem !important;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .testimonials-container {
    grid-template-columns: 5fr 7fr !important;
    align-items: start !important;
  }
}

/* Left Sidebar (Social Proof description & ratings summary) */
.testimonials-sidebar {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.testimonials-sidebar .eyebrow-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.4rem 0.9rem !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: #38bdf8 !important; /* Vibrant sky-blue */
}

.testimonials-sidebar .eyebrow-badge-dot {
  width: 6px;
  height: 6px;
  background-color: #38bdf8;
  border-radius: 50%;
}

.testimonials-sidebar .gradient-h2 {
  font-family: 'Nunito', sans-serif !important;
  font-size: 2.75rem !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  margin: 1.5rem 0 1rem 0 !important;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.testimonials-sidebar .desc-text {
  color: #94a3b8 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  margin-bottom: 2rem !important;
}

.testimonials-sidebar .rating-summary-box {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  margin-top: 1.5rem !important;
}

.testimonials-sidebar .rating-pill {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 1.15rem 1.45rem !important;
  text-align: left !important;
}

.testimonials-sidebar .rating-pill-num {
  font-family: 'Nunito', sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonials-sidebar .rating-pill-stars {
  display: inline-flex;
  gap: 0.15rem;
}

.testimonials-sidebar .rating-pill-stars i {
  color: #f4600c !important;
  fill: #f4600c !important;
}

.testimonials-sidebar .rating-pill-label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.72rem !important;
  color: #64748b !important;
  margin-top: 0.35rem !important;
  font-weight: 600 !important;
}

/* Right Testimonial Grid */
.testimonials-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Overriding parent review cards for premium print layout inside dark section */
#testimonials-section .testi-card {
  background: #ffffff !important;
  color: #334155 !important;
}

#testimonials-section .testi-verified {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  background-color: #0f172a !important; /* solid black button badge matching reference image */
  color: #ffffff !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 12px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  margin-top: 1.25rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  width: fit-content !important;
  border: none !important;
}

#testimonials-section .testi-verified svg {
  color: #38bdf8 !important; /* matching sky blue icon */
}

/* ────────────────────────────────────────────────────────────────
   GLOBAL LIGHT & GLOW REMOVAL OVERRIDES (No Neon / No Accent Borders)
   ──────────────────────────────────────────────────────────────── */
/* Deactivate pulse animations and blinking dots */
.pulse-dot,
[class*="pulse-dot"],
.animate-pulse {
  animation: none !important;
  box-shadow: none !important;
}

/* Remove card top-border accent colors (Testimonials) */
.testimonial-card--alt,
.testimonial-card--alt-2,
.testimonial-card--alt2,
.fp-chat-card,
[class*="fp-chat-card--"] {
  border-top-color: transparent !important;
}

/* Remove colored card hover borders from Marquee Logo Cards */
.logo-card.card-scratch:hover,
.logo-card.card-python:hover,
.logo-card.card-js:hover,
.logo-card.card-html:hover,
.logo-card.card-ai:hover,
.logo-card.card-arduino:hover,
.logo-card.card-robotics:hover,
.logo-card.card-3d:hover,
.logo-card.card-roblox:hover,
.logo-card.card-pygame:hover {
  border-color: rgba(15, 23, 42, 0.25) !important;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08) !important;
}

/* ═══════════════════════════════════════════════
   MODERN SOLID TEAL FOOTER WITH 3D LOGO & WATERMARK
   ═══════════════════════════════════════════════ */
.footer-editorial {
  background: #faf9f6 !important;
  color: #475569 !important;
  padding: 5rem 5vw 0rem !important; /* Touch the bottom for watermark placement */
  position: relative !important;
  overflow: hidden !important;
  font-family: 'DM Sans', sans-serif !important;
  z-index: 10 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
  gap: 4rem !important;
  margin-bottom: 4rem !important;
  position: relative !important;
  z-index: 5 !important;
}

/* 3D Wrapper column */
.footer-brand-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

.footer-3d-wrapper {
  width: 150px !important;
  height: 150px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1rem !important;
}

/* Link Columns */
.footer-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #1e293b !important;
  margin-bottom: 1rem !important;
  opacity: 0.9 !important;
}

.footer-col a {
  font-size: 0.85rem !important;
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  display: inline-block !important;
}

.footer-col a:hover {
  color: #1e293b !important;
  transform: translateX(4px) !important;
}

/* Footer Bottom Area */
.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  padding: 2rem 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: relative !important;
  z-index: 5 !important;
  margin-bottom: 8rem !important; /* Provide ample breathing space for watermark */
}

.footer-legal-left {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
  letter-spacing: 0.05em !important;
}

.footer-legal-right {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
  letter-spacing: 0.05em !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

/* Giant Watermark Text */
.footer-bg-text {
  position: absolute !important;
  bottom: -2vw !important; /* Slightly crop at the very bottom */
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 13.5vw !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
  color: rgba(71, 85, 105, 0.035) !important; /* Semi-transparent watermark */
  line-height: 0.8 !important;
  user-select: none !important;
  pointer-events: none !important;
  z-index: 1 !important;
  width: 100% !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
    text-align: center !important;
  }
  
  .footer-brand-col {
    align-items: center !important;
  }
  
  .footer-col a:hover {
    transform: none !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    gap: 1.5rem !important;
    text-align: center !important;
    margin-bottom: 5rem !important;
  }
  
  .footer-bg-text {
    font-size: 15vw !important;
    bottom: -1vw !important;
  }
}

/* ================================================================
   23. CURRICULUM ROADMAP OVERHAUL STYLES (Light Winding 3D Road)
   ================================================================ */
.roadmap-light-mode {
  background: #faf9f6;
  position: relative;
  overflow: visible; /* spine nodes & tooltips must not be clipped */
  color: #334155;
  font-family: 'Outfit', sans-serif;
}

/* -- CONTINUOUS ROAD SPINE --
   A single overlay SVG is injected by JS over the entire roadmap
   wrapper, ensuring one seamless road with zero gaps */
#roadmap-spine-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Hide original per-row SVG columns on desktop; JS overlay takes over */
@media (min-width: 1024px) {
  .roadmap-svg-wrap { display: none !important; }
  .road-node-container { display: none !important; }
}

/* Overlay nodes placed & positioned by JS */
.rm-spine-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f1f5f9 30%, #cbd5e1 70%, #64748b 100%);
  box-shadow: 0 8px 24px rgba(0,0,0,.12), inset 0 -3px 8px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: .8rem;
  color: #334155;
  pointer-events: auto;
  cursor: pointer;
  transition: all .4s cubic-bezier(.25,.8,.25,1);
  transform: translate(-50%, -50%);
  z-index: 20;
}
.rm-spine-node:hover,
.rm-spine-node.is-hovered {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 14px 36px rgba(0,0,0,.18), inset 0 -3px 8px rgba(0,0,0,.1);
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e2e8f0 30%, #94a3b8 70%, #334155 100%);
  color: #ffffff;
}

/* Tooltip preview on node hover */
.rm-spine-node-preview {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.8);
  width: 130px;
  background: #ffffff;
  border-radius: 14px;
  padding: 7px;
  box-shadow: 0 12px 28px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.05);
  opacity: 0;
  pointer-events: none;
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  z-index: 100;
  text-align: center;
}
.rm-spine-node-preview img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 9px;
  margin-bottom: 5px;
}
.rm-spine-node-preview p {
  font-size: 9px;
  font-weight: 800;
  color: #334155;
  margin: 0;
  line-height: 1.3;
}
.rm-spine-node:hover .rm-spine-node-preview,
.rm-spine-node.is-hovered .rm-spine-node-preview {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Winding Grid Sections */
.roadmap-section-wrap {
  position: relative;
  width: 100%;
  min-height: 350px;
  margin-bottom: 0;
  z-index: 10;
}

.roadmap-card-outer {
  background: rgba(241,245,249,.75);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  border-radius: 24px;
  padding: 6px;
  transition: all .5s cubic-bezier(.25,.8,.25,1);
  cursor: pointer;
}
.roadmap-card-inner {
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9);
  border-radius: 18px;
  padding: 1.75rem;
  transition: all .5s cubic-bezier(.25,.8,.25,1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.03);
}
.roadmap-card-outer:hover {
  transform: translateY(-4px);
  background: rgba(226,232,240,.8);
  box-shadow: 0 15px 35px rgba(0,0,0,.06);
}
.roadmap-card-outer.is-hovered {
  transform: translateY(-4px);
  background: rgba(203,213,225,.8);
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
}
.roadmap-card-content { position: relative; z-index: 2; }
.roadmap-card-bg-num {
  position: absolute;
  right: -5px;
  top: -15px;
  font-size: 7rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: rgba(0,0,0,.015);
  user-select: none;
  pointer-events: none;
  z-index: 0;
  transition: color .5s ease;
}
.roadmap-card-outer:hover .roadmap-card-bg-num { color: rgba(0,0,0,.03); }
.roadmap-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: contain; /* show full image, no crop */
  object-position: center;
  background: #f8fafc; /* soft neutral bg behind letter-boxed images */
  border-radius: 12px;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 15px rgba(0,0,0,.05), inset 0 0 0 1px rgba(0,0,0,.04);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.roadmap-card-outer:hover .roadmap-card-img {
  transform: scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,.08), inset 0 0 0 1px rgba(0,0,0,.04);
}

/* Filter pills */
.roadmap-filter-btn { transition: all .3s cubic-bezier(.25,.8,.25,1); }

/* Dimmed state */
.roadmap-stage.is-dimmed {
  opacity: .2 !important;
  filter: grayscale(60%) !important;
}

/* Syllabus drawer */
.roadmap-drawer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s cubic-bezier(.25,.8,.25,1), opacity .5s ease-out;
  border-top: 0 solid rgba(0,0,0,.05);
  margin-top: 0;
}
.roadmap-drawer.is-open {
  max-height: 850px;
  opacity: 1;
  border-top-width: 1px;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

/* Button trail */
.roadmap-button-trail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,.04);
  transition: all .4s cubic-bezier(.25,.8,.25,1);
}
button:hover .roadmap-button-trail,
a:hover .roadmap-button-trail {
  background: rgba(0,0,0,.08);
  transform: scale(1.08);
}

/* Scroll reveal */
.roadmap-reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(.25,.8,.25,1);
}
.roadmap-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .roadmap-section-wrap { height: auto; margin-bottom: 4rem; }
  #roadmap-spine-svg { display: none; }
}

/* SVG connector lines drawn by JS between node and card */
.rm-connector-line {
  stroke: #94a3b8;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  transition: stroke .4s ease, stroke-width .4s ease;
}
.rm-connector-line.is-hovered {
  stroke: #334155;
  stroke-width: 2.5;
  stroke-dasharray: none;
}

/* Active navigation link highlights */
.nav-editorial a.active-nav {
  color: var(--orange, #f4600c) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  position: relative;
}
.nav-editorial a.active-nav::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--orange, #f4600c);
  border-radius: 2px;
}

/* Academic scroll division styles */
.academic-scroll-container {
  display: flex !important;
  flex-direction: row !important;
  gap: 2rem !important;
  overflow-x: auto !important;
  padding: 1.5rem 0.5rem 2.5rem 0.5rem !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none; /* Hide default scrollbar */
}
.academic-scroll-container::-webkit-scrollbar {
  display: none; /* Hide default scrollbar */
}
.academic-scroll-container .roadmap-card-outer {
  flex: 0 0 360px !important;
  max-width: 360px !important;
  scroll-snap-align: center !important;
  box-sizing: border-box !important;
}
@media (max-width: 640px) {
  .academic-scroll-container .roadmap-card-outer {
    flex: 0 0 290px !important;
    max-width: 290px !important;
  }
}

/* Academic scroll navigation buttons */
.academic-scroll-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px; /* geometric non-pill */
  background: #ffffff;
  border: 1px solid rgba(26, 35, 126, 0.08);
  color: #1a2332;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 10, 10, 0.03);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}
.academic-scroll-btn:hover {
  border-color: var(--orange, #f4600c);
  color: var(--orange, #f4600c);
  transform: scale(1.05);
}
.academic-scroll-btn:active {
  transform: scale(0.95);
}

/* ═══════════════════════════════════════════════
   3D HOLOGRAPHIC SPINNING COIN SYSTEM
   Premium CSS-only Y-axis slow spinning coin with
   dynamic holographic shimmer & radial glow
   ═══════════════════════════════════════════════ */
.footer-3d-wrapper {
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.footer-hologram-coin {
  position: relative;
  width: 110px;
  height: 110px;
  transform-style: preserve-3d;
  animation: coin-spin 12s linear infinite;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-hologram-coin:hover {
  animation-play-state: paused;
  transform: rotateY(30deg) rotateX(15deg) scale(1.12);
}

.coin-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.coin-front, .coin-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(244, 96, 12, 0.45);
  box-shadow: 0 0 25px rgba(244, 96, 12, 0.25), inset 0 0 15px rgba(244, 96, 12, 0.15);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.coin-front::after, .coin-back::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.3) 40%,
    rgba(244, 96, 12, 0.4) 50%,
    rgba(255, 255, 255, 0.3) 60%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(-45deg);
  animation: coin-shimmer 5s ease-in-out infinite;
}

.coin-back {
  transform: rotateY(180deg);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.25), inset 0 0 15px rgba(37, 99, 235, 0.15);
}

.coin-front img, .coin-back img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.footer-hologram-coin:hover .coin-front img,
.footer-hologram-coin:hover .coin-back img {
  transform: scale(1.08);
}

.coin-glow {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: radial-gradient(circle, rgba(244, 96, 12, 0.25) 0%, rgba(244, 96, 12, 0.08) 50%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translateZ(-25px);
  filter: blur(10px);
  animation: glow-pulse 5s ease-in-out infinite alternate;
}

@keyframes coin-spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes coin-shimmer {
  0%, 100% { transform: translate(-30%, -30%) rotate(-45deg); }
  50% { transform: translate(30%, 30%) rotate(-45deg); }
}

@keyframes glow-pulse {
  0% { opacity: 0.5; transform: translateZ(-25px) scale(0.92); }
  100% { opacity: 1; transform: translateZ(-25px) scale(1.08); }
}

/* ═══════════════════════════════════════════════
   3D CAROUSEL HOVER — subtle only, no Y offset, no glow
   The JS 3D transform handles placement; CSS only
   refines the active state feedback.
   ═══════════════════════════════════════════════ */
#carousel-perspective {
  perspective: 1200px !important;
}

/* Active card: slightly more opaque + border ring */
.carousel-card.active .card-shell {
  box-shadow: 0 8px 28px rgba(0,0,0,.10) !important;
  outline: 2px solid rgba(244,96,12,0.22) !important;
  outline-offset: 2px !important;
}

/* All non-active cards: slightly dimmed */
.carousel-card:not(.active) .card-shell {
  opacity: 0.82 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.06) !important;
}

/* NO Y-axis offset on hover at all – JS handles positioning */
.carousel-card:hover,
.carousel-card:focus {
  /* intentionally empty – do NOT add translateY here */
  outline: none !important;
}

/* Card image fill – no crop */
.card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  display: block !important;
}

/* ================================================================
   FIXES — 2026-08-11
   1. Lucide SVG icons — guarantee visible size independent of Tailwind
   2. Hero stat cards — restore dark text on mobile/tablet (warm-white panel bg)
   ================================================================ */

/* 1. Lucide icons: w-4/w-5 Tailwind classes may not resolve if Tailwind build
      is incomplete. Pin width/height directly on the generated <svg> elements
      inside logo-card so they always render at the intended 20px. */
.logo-card svg,
.logo-card [data-lucide] {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  display: inline-block;
}

/* Also cover nav/CTA and general data-lucide usage site-wide */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

/* w-4 class fallback (16px) */
.w-4, [data-lucide].w-4 { width: 16px !important; height: 16px !important; }
/* w-5 class fallback (20px) */
.w-5, [data-lucide].w-5 { width: 20px !important; height: 20px !important; }
/* h-4/h-5 fallback */
.h-4 { height: 16px !important; }
.h-5 { height: 20px !important; }

/* 2. Hero stat cards: on mobile the panel has a warm-white background so the
      white text from the desktop video-float style becomes invisible.
      These overrides restore dark, high-contrast text for ≤768px. */
@media (max-width: 768px) {
  #hero-panel .hero-stat-num,
  #hero-panel .hero-stats-strip-new .hero-stat-num {
    color: #1A237E !important;
    text-shadow: none !important;
  }
  #hero-panel .hero-stat-label,
  #hero-panel .hero-stats-strip-new .hero-stat-label {
    color: #475569 !important;
    text-shadow: none !important;
  }
  #hero-panel .hero-stat-num span {
    color: #1A237E !important;
    opacity: 1 !important;
  }
  /* Stat container — restore subtle border on warm-white panel */
  #hero-panel .hero-stat-item {
    padding: 8px 10px !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,0.55) !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06) !important;
  }
}

/* Tablet 769–1024px: panel is transparent over video — add text-shadow to
   guarantee stat legibility against any video frame colour */
@media (min-width: 769px) and (max-width: 1024px) {
  #hero-panel .hero-stat-num {
    text-shadow: 0 1px 8px rgba(0,0,0,0.6) !important;
  }
  #hero-panel .hero-stat-label {
    text-shadow: 0 1px 6px rgba(0,0,0,0.55) !important;
  }
}

/* ================================================================
   BUTTON RESPONSIVENESS FIXES
   ================================================================ */

/* hero-cta-group — stack vertically on mobile, row on desktop */
@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 360px !important;
    gap: 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-cta-group a,
  .hero-cta-group button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    min-width: unset !important;
    font-size: 0.9rem !important;
    padding: 0.85rem 1.25rem !important;
  }
}

/* Prevent translateY(-4px) from being clipped in nav and tight containers */
.nav-editorial .nav-cta-btn,
nav .nav-cta-btn {
  transform: translateY(0) !important; /* nav has no room for lift offset */
  position: relative;
  overflow: visible;
}
.nav-editorial .nav-cta-btn:hover,
nav .nav-cta-btn:hover {
  transform: translateY(-2px) !important;
}
.nav-editorial .nav-cta-btn:active,
nav .nav-cta-btn:active {
  transform: translateY(0) !important;
}

/* btn-pill-solid / btn-pill-outline — full-width on small screens */
@media (max-width: 480px) {
  .btn-pill-solid,
  .btn-pill-outline {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  /* CTA band button row — stack on mobile */
  .cta-band-new .cta-btn-solid,
  .cta-band-new .cta-btn-ghost-white,
  .cta-band .btn-pill-solid,
  .cta-band .btn-pill-outline,
  section[aria-label="Enroll"] .btn-pill-solid,
  section[aria-label="Enroll"] .btn-pill-outline {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    text-align: center !important;
  }
}

/* Ensure nav CTA button text never wraps */
.nav-cta-btn {
  white-space: nowrap !important;
}

/* Tablet: keep hero CTAs readable between 480-768 */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-cta-group {
    max-width: 400px !important;
  }
  .hero-cta-group a {
    font-size: 0.95rem !important;
    padding: 0.9rem 1.5rem !important;
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* === assets/css/carousel-3d.css === */
/* ═══════════════════════════════════════════════
   3D CURVED CAROUSEL STYLE SYSTEM
   Designed for premium cinematic depth & smooth motion
   ═══════════════════════════════════════════════ */

/* Skills Section Wrapper */
#skills-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(250, 249, 247, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* 3D Perspective Viewport */
#carousel-perspective {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  perspective-origin: 50% 28%;
  overflow: visible;
}

/* Cylinder Track */
#carousel-track {
  position: relative;
  width: 340px;
  height: 260px;
  transform-style: preserve-3d;
  transition: transform 0.1s linear;
  will-change: transform;
}

/* Card Outer Container */
.carousel-card {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease;
  will-change: transform, opacity;
}

/* Blurred Ambient Reflection/Shadow under card */
.carousel-card::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 5%;
  width: 90%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(7, 13, 31, 0.38) 0%, rgba(7, 13, 31, 0) 70%);
  filter: blur(5px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

/* Double-Bezel Card Architecture (Outer Bezel) */
.card-shell {
  width: 100%;
  height: 100%;
  padding: 6px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(26, 35, 126, 0.08);
  border-radius: 16px; /* modern sleek box corner */
  box-shadow: 0 12px 36px rgba(7, 13, 31, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-sizing: border-box;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.33, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.33, 1), background 0.4s ease, border-color 0.4s ease;
}

.carousel-card:hover .card-shell {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(244, 96, 12, 0.3);
  box-shadow: 0 20px 48px rgba(244, 96, 12, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  transform: translateY(-8px);
}

/* Inner Bezel / Card Core */
.card-core {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 12px; /* concentric padding compensation */
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  transform-style: preserve-3d;
}

/* Card Background Graphic */
.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
  object-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.33, 1);
}

.carousel-card:hover .card-img {
  transform: scale(1.08);
}

/* Card Content Overlay & Gradient Mesh */
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 13, 31, 0.92) 0%,
    rgba(7, 13, 31, 0.45) 45%,
    rgba(7, 13, 31, 0.05) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  box-sizing: border-box;
  color: #ffffff;
  z-index: 2;
}

/* Card Typography */
.card-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0px;
  color: #ffffff;
  line-height: 1.2;
}

/* 3D Depth Card Attenuation (NO grayscale/blur filters) */
.carousel-card:not(.active) {
  opacity: 0.65; /* Slightly faded for depth, but NO filters */
  filter: none !important; /* Removed grayscale/blur filter */
  pointer-events: auto;
}

.carousel-card.hidden-card {
  opacity: 0 !important;
  pointer-events: none !important;
  filter: none !important; /* Removed filter */
}

/* Controls Wrapper */
.carousel-controls-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  gap: 1.5rem;
}

/* Sleek Rounded Square Nav Buttons (Replaced circle/pills) */
.carousel-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 8px; /* Replaced circle with sleek rounded square */
  background: #ffffff;
  border: 1.5px solid rgba(26, 35, 126, 0.08);
  color: #1A237E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.04);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.33, 1);
  outline: none;
}

.carousel-btn:hover {
  background: #ffffff;
  border-color: #f4600c;
  color: #f4600c;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(244, 96, 12, 0.15);
}

.carousel-btn:active {
  transform: scale(0.94);
}

/* Counter Style */
#carousel-counter {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.1em;
}

#active-num {
  font-weight: 800;
  font-size: 1.15rem;
  color: #1A237E;
}

/* Dynamic Button-in-Button CTA - Sleek rounded corner, no pill-shape */
.dynamic-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #f4600c;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 0.65rem 0.65rem 1.6rem;
  border-radius: 12px; /* Sleek rounded corner, replaced 9999px pill */
  box-shadow: 0 8px 20px rgba(244, 96, 12, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.33, 1);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.dynamic-cta-button:hover {
  background: #e05205;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(244, 96, 12, 0.3);
}

.dynamic-cta-button:active {
  transform: translateY(-1px) scale(0.97);
}

.cta-arrow-circle {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px; /* Replaced circle with sleek square inside */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.33, 1), background 0.4s ease;
  color: #ffffff;
  flex-shrink: 0;
}

.dynamic-cta-button:hover .cta-arrow-circle {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE LAYOUT SYSTEM (Mobile Fallback)
   ═══════════════════════════════════════════════ */

@media (max-width: 767px) {
  #skills-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  #carousel-perspective {
    perspective: none !important;
    perspective-origin: center !important;
    height: auto !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1.5rem 3rem 1.5rem !important;
    justify-content: flex-start !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
  }
  
  #carousel-perspective::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
  }
  
  #carousel-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.25rem !important;
    width: max-content !important;
    height: auto !important;
    transform: none !important;
    transform-style: flat !important;
    transition: none !important;
    padding: 0 !important;
  }
  
  .carousel-card {
    position: relative !important;
    width: 240px !important;
    height: 180px !important;
    transform: none !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
    scroll-snap-align: center;
  }
  
  .carousel-card:not(.active) {
    opacity: 1 !important;
    filter: none !important;
  }
  
  .carousel-card::after {
    bottom: -30px !important;
    opacity: 0.6 !important;
  }

  .carousel-card:hover .card-shell {
    transform: translateY(-4px) !important;
  }

  /* Control Adjustments */
  .carousel-controls-wrapper {
    margin-top: 0.5rem;
  }
  
  .carousel-btn-container {
    display: none !important; /* Hide arrows on touch device */
  }

  .dynamic-cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 0.6rem 0.6rem 1.4rem;
  }
  
  .cta-arrow-circle {
    width: 2rem;
    height: 2rem;
  }
}


/* === assets/css/card-enhancements.css === */
/* ═══════════════════════════════════════════════════════════════════════════
   STEMulus — Premium Card Enhancement Layer
   Adds depth, tilt, shine, and motion to all card surfaces across the site.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Shared card premium base ─────────────────────────────────────────────── */
.card-premium {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02);
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease;
  will-change: transform;
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
}

.card-premium:hover {
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 12px 28px rgba(15, 23, 42, 0.06),
    0 32px 64px rgba(244, 96, 12, 0.04);
  transform: perspective(1200px) translateY(-6px) rotateX(2deg);
}

/* ── Holographic shine overlay ────────────────────────────────────────────── */
.card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: inherit;
}

.card-premium:hover::before {
  opacity: 1;
}

/* ── For-Parents: Steps ───────────────────────────────────────────────────── */
.fp-step {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02) !important;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease !important;
  transform-style: preserve-3d;
}

.fp-step:hover {
  transform: perspective(1000px) translateY(-8px) rotateX(2deg) rotateY(-1deg) !important;
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.06) !important;
}

.fp-step::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(244, 96, 12, 0.02) 60%,
    rgba(250, 204, 21, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: inherit;
}

.fp-step:hover::before {
  opacity: 1;
}

/* Step number glow on hover */
.fp-step:hover .fp-step__num {
  color: rgba(244, 96, 12, 0.12);
  transition: color 0.4s ease;
}

/* ── For-Parents: Safety Cards ────────────────────────────────────────────── */
.fp-safety-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02) !important;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease !important;
  transform-style: preserve-3d;
}

.fp-safety-card:hover {
  transform: perspective(1000px) translateY(-8px) rotateX(2deg) rotateY(-1deg) !important;
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.06) !important;
}

.fp-safety-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent,
    rgba(244, 96, 12, 0.02),
    transparent,
    rgba(250, 204, 21, 0.02),
    transparent
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  animation: card-rotate-bg 8s linear infinite paused;
}

.fp-safety-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes card-rotate-bg {
  to { transform: rotate(360deg); }
}

/* ── For-Parents: Chat Cards ──────────────────────────────────────────────── */
.fp-chat-card {
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02) !important;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease !important;
  transform-style: preserve-3d;
}

.fp-chat-card:hover {
  transform: perspective(1000px) translateY(-6px) rotateX(1.5deg) !important;
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.06) !important;
}

/* ── Blog: Article Cards ──────────────────────────────────────────────────── */
#blog-grid-container > article {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02);
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease;
  transform-style: preserve-3d;
}

#blog-grid-container > article:hover {
  transform: perspective(1000px) translateY(-8px) rotateX(2deg) rotateY(-1deg);
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 24px 52px rgba(15, 23, 42, 0.07);
}

#blog-grid-container > article::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

#blog-grid-container > article:hover::before {
  opacity: 1;
}

/* Blog article image zoom on hover */
#blog-grid-container > article > div:first-child img {
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

#blog-grid-container > article:hover > div:first-child img {
  transform: scale(1.06);
}

/* ── Contact: Info Cards ──────────────────────────────────────────────────── */
[data-stagger] > div > .rounded-xl {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  background: #ffffff !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02) !important;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease !important;
  transform-style: preserve-3d;
}

[data-stagger] > div > .rounded-xl:hover {
  transform: perspective(1000px) translateY(-8px) rotateX(2deg) !important;
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.06) !important;
}

/* Icon bounce on card hover */
[data-stagger] > div > .rounded-xl:hover .rounded-full {
  transform: scale(1.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Homepage: Why Cards ──────────────────────────────────────────────────── */
.why-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02) !important;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease !important;
  transform-style: preserve-3d;
}

.why-card:hover {
  transform: perspective(1000px) translateY(-8px) rotateX(2deg) rotateY(-1deg) !important;
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.06) !important;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: inherit;
}

.why-card:hover::before {
  opacity: 1;
}

/* Homepage: Why-card number pulse on hover */
.why-card:hover .why-card__num {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(244, 96, 12, 0.3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* ── Homepage: Showcase Cards ─────────────────────────────────────────────── */
.showcase-new-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02) !important;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease !important;
  transform-style: preserve-3d;
}

.showcase-new-card:hover {
  transform: perspective(1000px) translateY(-8px) rotateX(2deg) !important;
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 24px 52px rgba(15, 23, 42, 0.07) !important;
}

.showcase-new-card img {
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.showcase-new-card:hover img {
  transform: scale(1.06);
}

/* ── Homepage: Testimonial Cards ──────────────────────────────────────────── */
.testi-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02) !important;
  transition:
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease !important;
  transform-style: preserve-3d;
}

.testi-card:hover {
  transform: perspective(1000px) translateY(-6px) rotateX(1.5deg) !important;
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.06) !important;
}

/* ── Programs: Roadmap Cards ──────────────────────────────────────────────── */
.roadmap-card-outer.card-3d-tilt {
  border-radius: 20px !important;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.03),
    0 12px 40px rgba(15, 23, 42, 0.02);
  overflow: hidden;
  transition:
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.4s ease;
}

.roadmap-card-outer.card-3d-tilt:hover {
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 24px 52px rgba(15, 23, 42, 0.07);
}

/* ── Section reveal ([data-reveal] containers) ───────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.75s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards INSIDE [data-reveal]: stagger with animation, triggered when parent becomes visible */
[data-reveal].is-visible .fp-step,
[data-reveal].is-visible .fp-safety-card,
[data-reveal].is-visible .fp-chat-card {
  animation: cardRiseIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

[data-reveal].is-visible .fp-step:nth-child(2),
[data-reveal].is-visible .fp-safety-card:nth-child(2),
[data-reveal].is-visible .fp-chat-card:nth-child(2) { animation-delay: 0.07s; }

[data-reveal].is-visible .fp-step:nth-child(3),
[data-reveal].is-visible .fp-safety-card:nth-child(3),
[data-reveal].is-visible .fp-chat-card:nth-child(3) { animation-delay: 0.14s; }

[data-reveal].is-visible .fp-step:nth-child(4),
[data-reveal].is-visible .fp-safety-card:nth-child(4) { animation-delay: 0.21s; }

[data-reveal].is-visible .fp-step:nth-child(5),
[data-reveal].is-visible .fp-safety-card:nth-child(5) { animation-delay: 0.28s; }

[data-reveal].is-visible .fp-step:nth-child(6),
[data-reveal].is-visible .fp-safety-card:nth-child(6) { animation-delay: 0.35s; }

@keyframes cardRiseIn {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

/* ── Standalone card reveal (cards NOT inside [data-reveal]) ─────────────── */
.card-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger standalone cards by sibling position */
.card-reveal:nth-child(2) { transition-delay: 0.07s; }
.card-reveal:nth-child(3) { transition-delay: 0.14s; }
.card-reveal:nth-child(4) { transition-delay: 0.21s; }
.card-reveal:nth-child(5) { transition-delay: 0.28s; }
.card-reveal:nth-child(6) { transition-delay: 0.35s; }

/* ── Dashboard mockup enhancement ─────────────────────────────────────────── */
.fp-dash-mock {
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 20px 50px rgba(15, 23, 42, 0.08),
    12px 12px 0 rgba(13, 27, 42, 0.04) !important;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
}

.fp-dash-mock:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow:
    0 8px 20px rgba(15, 23, 42, 0.08),
    0 32px 64px rgba(15, 23, 42, 0.10),
    16px 16px 0 rgba(13, 27, 42, 0.05) !important;
}

/* ── Checklist enhancement ─────────────────────────────────────────────────── */
.fp-checklist li {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.fp-checklist li:hover {
  background: rgba(244, 96, 12, 0.03);
  transform: translateX(4px);
}

/* ── Reduced motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .card-reveal,
  .card-premium,
  .fp-step,
  .fp-safety-card,
  .fp-chat-card,
  .why-card,
  .showcase-new-card,
  .testi-card,
  #blog-grid-container > article,
  [data-stagger] > div > .rounded-xl,
  .roadmap-card-outer.card-3d-tilt,
  .fp-dash-mock {
    transition: none !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
  }
  .fp-safety-card::before {
    animation: none !important;
  }
}

/* ── Mobile: Reduce intensity ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .fp-step:hover,
  .fp-safety-card:hover,
  .fp-chat-card:hover,
  #blog-grid-container > article:hover,
  [data-stagger] > div > .rounded-xl:hover {
    transform: translateY(-4px) !important;
  }
}


/* === hero-parallax.css === */
/* ================================================================
 HERO PARALLAX — Mouse-tracking depth illusion
 STEMulus v 3.0 — cinematic immersive hero
 ================================================================ */

/* ── Hero Scene Container ─────────────────────────────────────── */
.hero-parallax-scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #FFF8EE;
  display: flex;
  align-items: stretch;
}

/* ── Two-column layout ─────────────────────────────────────────── */
.hero-parallax-left {
  position: relative;
  z-index: 10;
  width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vh 4vw 10vh 5vw;
  padding-top: calc(10vh + 80px); /* account for fixed nav */
}

.hero-parallax-right {
  position: relative;
  width: 48%;
  overflow: hidden;
}

/* ── Parallax Stage (right side) ───────────────────────────────── */
.parallax-stage {
  position: absolute;
  inset: -8%;  /* bleed out so edges don't show when tilting */
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.08s linear;
}

/* ── Image Layers ──────────────────────────────────────────────── */
.parallax-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Background gradient layer — slowest */
.parallax-layer--bg {
  background: radial-gradient(ellipse at 60% 50%, rgba(244, 96, 12, 0.12) 0%, transparent 65%),
 radial-gradient(ellipse at 30% 80%, rgba(91, 45, 142, 0.08) 0%, transparent 55%),
 radial-gradient(ellipse at 80% 20%, rgba(26, 35, 126, 0.06) 0%, transparent 50%);
  z-index: 1;
}

/* Floating blobs — medium speed */
.parallax-layer--blobs {
  z-index: 2;
  pointer-events: none;
}

.parallax-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.parallax-blob--1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(244, 96, 12, 0.6), transparent);
  top: 5%; right: 10%;
}
.parallax-blob--2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(91, 45, 142, 0.5), transparent);
  bottom: 15%; left: 8%;
}
.parallax-blob--3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(26, 35, 126, 0.4), transparent);
  top: 40%; right: 5%;
}

/* Main hero image — medium-fast */
.parallax-layer--image {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
  display: block;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}

/* Floating badges — fastest (most depth) */
.parallax-layer--badges {
  z-index: 10;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #1f2937;
  white-space: nowrap;
  will-change: transform;
  transition: transform 0.09s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: badge-float 4s ease-in-out infinite;
}

.floating-badge__icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.badge--1 { top: 12%; left: 2%; animation-delay: 0s; }
.badge--2 { bottom: 22%; left: 0%; animation-delay: 1s; }
.badge--3 { top: 55%; right: 2%; animation-delay: 2s; }
.badge--4 { top: 8%; right: 5%; animation-delay: 0.5s; }

@keyframes badge-float {
  0%, 100% { translate: 0 0px; }
  50%  { translate: 0 -8px; }
}

/* ── Hero Text Typography ──────────────────────────────────────── */
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange, #f4600c);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--orange, #f4600c);
  border-radius: 2px;
}

.hero-headline {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #1A237E;
  margin-bottom: 1.5rem;
}

.hero-headline .accent-word {
  font-family: 'Nunito', sans-serif;
  font-style: italic;
  font-weight: 700;
  color: var(--orange, #f4600c);
  position: relative;
  display: inline-block;
}

/* Underline squiggle */
.hero-headline .accent-word::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M0 4 Q15 0 30 4 Q45 8 60 4 Q75 0 90 4 Q105 8 120 4' stroke='%23f4600c' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center;
  background-size: 60px 8px;
  opacity: 0.7;
}

.hero-body-text {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4A5568;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

/* ── CTA Buttons (hero) ────────────────────────────────────────── */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange, #f4600c);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* GPU-composite only properties — no flicker */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 20px rgba(244, 96, 12, 0.35);
}

.btn-hero-primary:hover {
  background: #d4520a;
  transform: translateY(-3px) translateZ(0);
  box-shadow: 0 8px 30px rgba(244, 96, 12, 0.45);
  color: white;
}

.btn-hero-primary:active {
  transform: translateY(-1px) translateZ(0);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: #1A237E;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(26, 35, 126, 0.35);
  cursor: pointer;
  /* GPU-composite only — no flicker */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.btn-hero-secondary:hover {
  border-color: #1A237E;
  background: rgba(26, 35, 126, 0.06);
  transform: translateY(-3px) translateZ(0);
  color: #1A237E;
}

.btn-hero-secondary .wa-icon {
  width: 20px; height: 20px;
  fill: #25D366;
}

/* ── Trust Row ─────────────────────────────────────────────────── */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-trust-avatars {
  display: flex;
  align-items: center;
}

.hero-trust-avatars .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2.5px solid white;
  margin-left: -10px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4600c, #FFB366);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  font-family: 'Nunito', sans-serif;
}

.hero-trust-avatars .avatar:first-child {
  margin-left: 0;
}

.hero-trust-text {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  color: #6B7280;
  line-height: 1.4;
}

.hero-trust-text strong {
  color: #1f2937;
  font-weight: 700;
}

/* ── Stats strip inside hero ───────────────────────────────────── */
.hero-stats-strip-new {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1A237E;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-num span {
  color: var(--orange, #f4600c);
}

.hero-stat-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9CA3AF;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-parallax-scene {
 flex-direction: column;
 min-height: auto;
  }

  .hero-parallax-left {
 width: 100%;
 padding: calc(90px + 4vh) 6vw 4vh;
 order: 1;
  }

  .hero-parallax-right {
 width: 100%;
 height: 50vw;
 min-height: 280px;
 max-height: 420px;
 order: 0;
  }

  .parallax-stage {
 inset: 0;
  }

  .parallax-hero-img {
 border-radius: 0;
 width: 100%;
 height: 100%;
 object-position: center 20%;
  }

  .hero-headline {
 font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .floating-badge {
 font-size: 0.72rem;
 padding: 8px 12px;
  }

  .badge--1 { top: 8%; left: 4%; }
  .badge--2 { display: none; }
  .badge--3 { top: auto; bottom: 12%; right: 4%; }
  .badge--4 { top: 8%; right: 4%; }

  .hero-stats-strip-new {
 gap: 1.2rem;
 margin-top: 2rem;
  }
}

@media (max-width: 560px) {
  .hero-cta-group {
 flex-direction: column;
 align-items: flex-start;
  }

  .hero-trust-row {
 flex-direction: column;
 align-items: flex-start;
  }
}

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


/* === responsive.css === */
/* ================================================================
 STEMULUS — GLOBAL RESPONSIVE STYLESHEET
 Mobile-first overrides for all 27 pages
 Breakpoints: 480px (phone) | 768px (tablet) | 1024px (desktop+)
 ================================================================ */

/* ----------------------------------------------------------------
 0. BASE — prevent horizontal overflow site-wide
 ---------------------------------------------------------------- */
html,
body {
 overflow-x: hidden;
 max-width: 100vw;
}

img,
video,
iframe,
embed,
object,
canvas {
 max-width: 100%;
}

/* ----------------------------------------------------------------
 1. CUSTOM CURSOR — disable completely on touch devices
 ---------------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
 body {
 cursor: auto !important;
 }

 #cursor-ring,
 #cursor-dot,
 .custom-cursor,
 .cursor-ring,
 .cursor-glow {
 display: none !important;
 }
}

/* ----------------------------------------------------------------
 2. HAMBURGER BUTTON STYLES
 (button element is injected by mobile-nav.js)
 ---------------------------------------------------------------- */
#nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 100003 !important; /* Positioned above drawer */
  flex-shrink: 0;
  border-radius: 50%;
  transition: background 0.3s ease;
}

#nav-hamburger:hover {
  background: rgba(10, 10, 10, 0.06);
}

#nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--slate, #1a2332);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  transform-origin: center;
}

/* Animate to close icon when open */
#nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------------
 3. MOBILE FULL-SCREEN NAV DRAWER (GLASSMORPHIC & MINIMALIST)
 ---------------------------------------------------------------- */
#mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 249, 247, 0.85) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  z-index: 100001 !important; /* Below the nav bar / hamburger */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 6rem 2rem 4rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  
  /* Modern fade & slight scale-down animation */
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-nav-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

#mobile-nav-drawer a {
  color: var(--slate, #1a2332) !important;
  text-decoration: none;
  font-family: var(--heading, 'Outfit'), sans-serif;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: -0.01em;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  border: none !important;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.25s ease,
              background-color 0.25s ease;
  display: inline-block;
  text-align: center;
  width: auto;
  max-width: 90%;
  -webkit-tap-highlight-color: transparent;
  
  /* Stagger animation starting point */
  opacity: 0;
  transform: translateY(20px);
}

/* Slide up links in sequence when open */
#mobile-nav-drawer.open a {
  opacity: 1;
  transform: translateY(0);
}

#mobile-nav-drawer.open a:nth-child(1) { transition-delay: 0.05s; }
#mobile-nav-drawer.open a:nth-child(2) { transition-delay: 0.10s; }
#mobile-nav-drawer.open a:nth-child(3) { transition-delay: 0.15s; }
#mobile-nav-drawer.open a:nth-child(4) { transition-delay: 0.20s; }
#mobile-nav-drawer.open a:nth-child(5) { transition-delay: 0.25s; }
#mobile-nav-drawer.open a:nth-child(6) { transition-delay: 0.30s; }
#mobile-nav-drawer.open a:nth-child(7) { transition-delay: 0.35s; }

#mobile-nav-drawer a:hover,
#mobile-nav-drawer a:focus {
  background: rgba(244, 96, 12, 0.08) !important;
  color: var(--orange, #f4600c) !important;
}

#mobile-nav-drawer .mnav-enroll {
  margin-top: 1.5rem;
  background: var(--orange, #f4600c) !important;
  color: #fff !important;
  text-align: center;
  padding: 0.9rem 2.5rem !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: auto;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(244, 96, 12, 0.2);
}

#mobile-nav-drawer .mnav-enroll:hover,
#mobile-nav-drawer .mnav-enroll:focus {
  background: #d4520a !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(244, 96, 12, 0.35);
}

/* Hide the old close button - hamburger handles it now */
#mnav-close-btn {
  display: none !important;
}

/* Style active body state nav bar overlay */
body.mobile-nav-open .nav-editorial {
  background: rgba(250, 249, 247, 0.85) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08) !important;
}

body.mobile-nav-open .nav-editorial #nav-hamburger span {
  background: var(--slate, #1a2332) !important;
}


/* ----------------------------------------------------------------
 4. NAV — COLLAPSE LINKS ON MOBILE, SHOW HAMBURGER
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 #nav-hamburger {
 display: flex !important;
 }

 /* Hide the two flex children (links + buttons) of nav-editorial,
 but NOT the logo anchor and NOT our injected hamburger */
 .nav-editorial>div {
 display: none !important;
 }

 .nav-editorial {
 padding: 0 1.2rem !important;
 height: 60px !important;
 display: flex !important;
 align-items: center !important;
 justify-content: space-between !important;
 mix-blend-mode: normal !important;
 z-index: 100002 !important; /* Ensure nav sits above the drawer */
 }

 body:not(.borderless-homepage) .nav-editorial,
 body.borderless-homepage .nav-editorial.nav-light {
 background: rgba(250, 249, 247, 0.95) !important;
 backdrop-filter: blur(12px) !important;
 -webkit-backdrop-filter: blur(12px) !important;
 border-bottom: 1px solid rgba(10, 10, 10, 0.06) !important;
 }

 body.borderless-homepage .nav-editorial:not(.nav-light) {
 background: transparent !important;
 backdrop-filter: none !important;
 -webkit-backdrop-filter: none !important;
 border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
 box-shadow: none !important;
 }

 /* White hamburger lines on transparent home nav */
 body.borderless-homepage .nav-editorial:not(.nav-light) #nav-hamburger span {
 background: #ffffff!important;
 }

 /* Logo: don't over-filter */
 .nav-logo-editorial img {
 width: 32px !important;
 height: 32px !important;
 filter: none !important;
 }
}

/* ----------------------------------------------------------------
 5. TYPOGRAPHY — tighten minimum sizes for small screens
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 .editorial-heading {
 font-size: clamp(26px, 8vw, 72px) !important;
 line-height: 1 !important;
 letter-spacing: -0.02em !important;
 margin-inline: 0 !important;
 /* kill negative margin bleed-out */
 }

 .editorial-heading.break-out {
 margin-inline: 0 !important;
 }

 /* Hero headline: force each span to its own block line */
 #hero-section h1 {
 line-height: 1.05 !important;
 margin: 0 !important;
 }

 .hero-word {
 display: block !important;
 overflow: visible !important;
 line-height: 1.05 !important;
 }

 .reveal-inner {
 display: block !important;
 }

 .hero-line-1 {
 font-size: clamp(28px, 9vw, 100px) !important;
 }

 .hero-line-2 {
 font-size: clamp(32px, 11vw, 130px) !important;
 }

 .hero-line-3 {
 font-size: clamp(26px, 7.5vw, 85px) !important;
 }

 .stat-num {
 font-size: clamp(38px, 10vw, 80px) !important;
 }

 .skill-tag {
 font-size: clamp(18px, 5vw, 36px) !important;
 }

 .prog-card-title {
 font-size: clamp(18px, 4.5vw, 30px) !important;
 }

 h1,
 h2,
 h3 {
 word-break: break-word;
 overflow-wrap: break-word;
 }
}

@media (max-width: 480px) {
 .editorial-heading {
 font-size: clamp(22px, 8.5vw, 46px) !important;
 }

 .hero-word {
 line-height: 1.1 !important;
 overflow: visible !important;
 }

 .hero-line-1 {
 font-size: clamp(26px, 10vw, 56px) !important;
 }

 .hero-line-2 {
 font-size: clamp(30px, 12vw, 72px) !important;
 }

 .hero-line-3 {
 font-size: clamp(22px, 9vw, 50px) !important;
 }
}

/* ----------------------------------------------------------------
 6. ASYMMETRIC EDITORIAL GRIDS → STACK
 ---------------------------------------------------------------- */
@media (max-width: 1024px) {

 .editorial-grid,
 .editorial-grid-reverse,
 .difference-grid {
 grid-template-columns: 1fr !important;
 gap: 2.5rem !important;
 }
}

/* ----------------------------------------------------------------
 7. CURRICULUM GRID
 ---------------------------------------------------------------- */
@media (max-width: 1024px) {
 .curriculum-grid {
 grid-template-columns: 1fr 1fr !important;
 }

 /* Kill the stagger transforms on tablet */
 .curriculum-grid .card-offset {
 transform: none !important;
 }

 .curriculum-grid .card-bleed {
 margin-top: 0 !important;
 }

 .curriculum-grid .card-tall {
 grid-row: auto !important;
 }
}

@media (max-width: 600px) {
 .curriculum-grid {
 grid-template-columns: 1fr !important;
 }
}

/* ----------------------------------------------------------------
 8. STATS ROW
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 .stats-raw {
 grid-template-columns: 1fr 1fr !important;
 overflow-x: hidden;
 }

 .stat-block {
 padding: 2rem 1rem !important;
 border-right: none !important;
 border-bottom: 1px solid currentColor;
 }

 .stat-block:nth-child(even) {
 border-right: none !important;
 }

 .stat-block:nth-last-child(-n+2) {
 border-bottom: none;
 }
}

@media (max-width: 480px) {
 .stats-raw {
 grid-template-columns: 1fr !important;
 }

 .stat-block:last-child {
 border-bottom: none;
 }
}

/* ----------------------------------------------------------------
 9. SKILL STATEMENT
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 .skill-statement {
 flex-direction: column !important;
 gap: 2rem !important;
 padding: 3rem 1.2rem !important;
 }

 .skill-label-col {
 width: 100% !important;
 flex-shrink: unset !important;
 }
}

/* ----------------------------------------------------------------
 10. SECTIONS — reduce excessive padding on mobile
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 .curriculum-section {
 padding: 4rem 1.2rem !important;
 }

 .difference-section {
 padding: 4rem 1.2rem !important;
 }

 .stats-section {
 padding: 0 1.2rem !important;
 }

 .hero-preai {
 padding-left: 1.2rem !important;
 padding-right: 1.2rem !important;
 }

 .cta-section {
 padding: 4rem 1.2rem !important;
 }

 /* Section header inside curriculum */
 .curriculum-section .section-header {
 flex-direction: column !important;
 align-items: flex-start !important;
 gap: 1.5rem !important;
 margin-bottom: 3rem !important;
 }

 /* Remove negative margin bleed patterns */
 .full-bleed {
 width: 100% !important;
 margin-inline: 0 !important;
 }
}

@media (max-width: 480px) {
 .curriculum-section {
 padding: 2.5rem 1rem !important;
 }

 .difference-section {
 padding: 2.5rem 1rem !important;
 }

 .hero-preai {
 padding-left: 1rem !important;
 padding-right: 1rem !important;
 }

 .hero-text-container {
 padding-top: 14vh !important;
 }
}

/* ----------------------------------------------------------------
 11. HERO CTA ROW
 ---------------------------------------------------------------- */
@media (max-width: 640px) {
 .hero-cta-row {
 flex-direction: column !important;
 align-items: stretch !important;
 gap: 1rem !important;
 margin-top: 3vh !important;
 }

 .btn-primary-raw {
 display: block !important;
 text-align: center !important;
 width: 100% !important;
 padding: 1.1rem 1rem !important;
 }
}

/* ----------------------------------------------------------------
 12. FOOTER
 ---------------------------------------------------------------- */
@media (max-width: 1024px) {
 .footer-grid {
 grid-template-columns: 1fr 1fr !important;
 gap: 2rem !important;
 }
}

@media (max-width: 640px) {
 .footer-grid {
 grid-template-columns: 1fr 1fr !important;
 gap: 2rem 1.2rem !important;
 }

 .footer-grid > :first-child {
 grid-column: span 2 !important;
 margin-bottom: 0.5rem !important;
 }

 .footer-editorial {
 padding: 3rem 1.2rem 2rem !important;
 }

 .footer-bottom {
 flex-direction: column !important;
 gap: 0.4rem !important;
 text-align: center !important;
 }
}

/* ----------------------------------------------------------------
 13. PROGRAM CARDS
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 .prog-card {
 padding: 1.5rem !important;
 }
}

/* ----------------------------------------------------------------
 14. ENROLL PAGE — sidebar + form stack on tablet/mobile
 ---------------------------------------------------------------- */
@media (max-width: 1024px) {

 /* Override the lg:grid-cols-5 Tailwind grid on the main enroll layout */
 .lg\:grid-cols-5 {
 grid-template-columns: 1fr !important;
 }
}

@media (max-width: 768px) {
 .glass-form {
 padding: 1.5rem !important;
 margin: 0 !important;
 border-radius: 1.2rem !important;
 }
}

/* ----------------------------------------------------------------
 15. TAILWIND GRID PATTERN OVERRIDES
 Handles common grid-cols-2/3/4 used across all pages
 ---------------------------------------------------------------- */
@media (max-width: 640px) {

 /* Force single column */
 .grid-cols-2:not([class*="lg\:grid-cols"]),
 .sm\:grid-cols-2,
 .md\:grid-cols-2 {
 grid-template-columns: 1fr !important;
 }

 .grid-cols-3,
 .sm\:grid-cols-3,
 .md\:grid-cols-3 {
 grid-template-columns: 1fr !important;
 }

 .grid-cols-4,
 .sm\:grid-cols-4,
 .md\:grid-cols-4 {
 grid-template-columns: 1fr !important;
 }

 .grid-cols-5 {
 grid-template-columns: 1fr !important;
 }

 .grid-cols-6 {
 grid-template-columns: 1fr !important;
 }
}

@media (max-width: 768px) {
 .lg\:grid-cols-2 {
 grid-template-columns: 1fr !important;
 }

 .lg\:grid-cols-3 {
 grid-template-columns: 1fr !important;
 }

 .lg\:grid-cols-4 {
 grid-template-columns: 1fr !important;
 }

 .lg\:grid-cols-5 {
 grid-template-columns: 1fr !important;
 }

 .lg\:grid-cols-6 {
 grid-template-columns: 1fr 1fr !important;
 }
}

/* ----------------------------------------------------------------
 16. TAILWIND FLEX DIRECTION OVERRIDES
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 .lg\:flex-row {
 flex-direction: column !important;
 }

 /* Keep children from shrinking to nothing */
 .lg\:w-1\/2 {
 width: 100% !important;
 }

 .lg\:w-1\/3 {
 width: 100% !important;
 }

 .lg\:w-2\/3 {
 width: 100% !important;
 }
}

/* ----------------------------------------------------------------
 17. BUTTONS & TAP TARGETS
 ---------------------------------------------------------------- */
@media (max-width: 768px) {

 button,
 input[type="submit"],
 input[type="button"],
 a.btn,
 .btn-primary-raw {
 min-height: 44px;
 }

 /* Full-width the main enroll CTA on small screens */
 a[href*="enroll"][class*="rounded"],
 a[href*="enroll.html"][class*="rounded"] {
 display: block !important;
 text-align: center !important;
 }
}

/* ----------------------------------------------------------------
 18. TABLES — prevent horizontal blowout
 ---------------------------------------------------------------- */
table {
 display: block;
 width: 100%;
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
}

/* ----------------------------------------------------------------
 19. SCROLL HINT — hide on mobile (saves space)
 ---------------------------------------------------------------- */
@media (max-width: 640px) {
 .hero-scroll-hint {
 display: none !important;
 }
}

/* ----------------------------------------------------------------
 20. GRAIN ANIMATION — lower frequency on mobile
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 #grain {
 animation-duration: 4s !important;
 }
}

/* ----------------------------------------------------------------
 21. PROGRAMS / PRICING / BLOG GRID OVERRIDES (Tailwind pages)
 ---------------------------------------------------------------- */
@media (max-width: 768px) {

 /* Programs page grid */
 #programs-grid,
 .programs-grid {
 grid-template-columns: 1fr !important;
 }

 /* Pricing cards */
 .pricing-grid {
 grid-template-columns: 1fr !important;
 }

 /* Blog grid */
 #blog-grid-container,
 .blog-grid {
 grid-template-columns: 1fr !important;
 }

 /* Contact two-col layout */
 .contact-grid {
 grid-template-columns: 1fr !important;
 }
}

/* ----------------------------------------------------------------
 22. MOBILE UTILITIES
 ---------------------------------------------------------------- */
@media (max-width: 640px) {

 /* Remove large negative margins that can cause overflow */
 [style*="margin-left: -"] {
 margin-left: 0 !important;
 }

 [style*="margin-right: -"] {
 margin-right: 0 !important;
 }

 /* Ensure paddings don't overflow */
 [class*="px-"] {
 max-width: 100% !important;
 }
}

/* ----------------------------------------------------------------
 23. PREAI-HERO SPLIT — already has responsive CSS in preai-overhaul.css
 but add extra phone-specific touch
 ---------------------------------------------------------------- */
@media (max-width: 480px) {
 .preai-hero-text {
 padding: 6rem 1.2rem 3rem !important;
 }

 .preai-hero-ctas {
 flex-direction: column !important;
 align-items: stretch !important;
 }

 .preai-hero-cta-primary {
 text-align: center !important;
 }
}

/* ----------------------------------------------------------------
 24. MISC COMPONENT FIXES
 ---------------------------------------------------------------- */
/* Ensure inline-block badges don't wrap mid-word */
.badge,
[class*="rounded-full"][class*="px-"] {
 white-space: nowrap;
}

/* Dashboard / admin table scrolling */
.overflow-x-auto {
 overflow-x: auto !important;
 -webkit-overflow-scrolling: touch;
}

/* Sidebar layouts in dashboard pages */
@media (max-width: 768px) {
 .sidebar {
 display: none !important;
 }

 .main-content {
 width: 100% !important;
 margin-left: 0 !important;
 }
}

/* Remove horizontal scroll risk from fixed wide elements */
@media (max-width: 640px) {
 .w-screen {
 width: 100% !important;
 }

 .min-w-\[600px\] {
 min-width: 0 !important;
 }
}

/* ----------------------------------------------------------------
 INDEX PAGE — inline-style element overrides
 ---------------------------------------------------------------- */

/* Hero stats strip: 3-col → stack on very small screens */
@media (max-width: 500px) {
 .hero-stats-strip-new {
 flex-direction: column !important;
 gap: 1.5rem !important;
 align-items: flex-start !important;
 border-top: 1px solid rgba(0,0,0,0.08) !important;
 padding-top: 1.5rem !important;
 padding-left: 0.25rem !important;
 margin-top: 1rem !important;
 }

 .hero-stat-item {
 border-bottom: 1px dashed rgba(10, 10, 10, 0.08) !important;
 width: 100% !important;
 padding-bottom: 0.8rem !important;
 padding-left: 0.75rem !important;
 }

 .hero-stat-item:last-child {
 border-bottom: none !important;
 padding-bottom: 0 !important;
 }
}

@media (min-width: 501px) and (max-width: 768px) {
 .hero-stats-strip-new {
 flex-wrap: wrap !important;
 gap: 1.5rem !important;
 }
}

/* CTA buttons in the "Ready to Start?" section — stack on phone */
@media (max-width: 640px) {
 .hero-cta-stacked {
 flex-direction: column !important;
 align-items: stretch !important;
 gap: 1rem !important;
 }

 .hero-cta-stacked .btn-primary-raw,
 .hero-cta-stacked .btn-ghost-raw {
 display: block !important;
 text-align: center !important;
 width: 100% !important;
 }
}

/* ── Timeline section: horizontal GSAP-driven on ALL screen sizes ── */
.timeline-section {
 padding: 4rem 0 !important;
}

/* Horizontal flex row for GSAP to translate */
.timeline-scroll-track {
 display: flex;
 flex-wrap: nowrap;
 width: max-content !important;
 gap: 0;
 will-change: transform;
}

.timeline-step {
 flex: 0 0 380px !important;
 min-width: 380px !important;
 width: 380px !important;
 padding: 2.5rem 2rem;
 border-left: 1px solid #e5e7eb;
 box-sizing: border-box;
}

.timeline-step:first-child {
 border-left: none;
}

.timeline-step-num {
 font-family: 'Nunito', sans-serif;
 font-size: 3rem;
 font-weight: 700;
 color: rgba(10, 10, 10, 0.6);
 letter-spacing: -0.04em;
 line-height: 1;
 margin-bottom: 1rem;
}

.timeline-step-age {
 font-family: 'DM Sans', sans-serif;
 font-size: 0.72rem;
 text-transform: uppercase;
 letter-spacing: 0.12em;
 color: var(--orange, #f4600c);
 margin-bottom: 0.5rem;
}

.timeline-step-title {
 font-family: 'Nunito', sans-serif;
 font-size: 1.4rem;
 font-weight: 700;
 color: rgba(10, 10, 10, 0.6);
 letter-spacing: -0.02em;
 margin-bottom: 0.75rem;
}

.timeline-step-desc {
 font-family: 'DM Sans', sans-serif;
 font-size: 0.8rem;
 line-height: 1.7;
 color: rgba(10, 10, 10, 0.6);
 max-width: 320px;
}

.timeline-header {
 padding: 5rem 5vw 3rem;
}

/* ── Tablet: slightly narrower cards ── */
@media (max-width: 1024px) {
 .timeline-section {
 padding: 3rem 0 !important;
 }

 .timeline-step {
 flex: 0 0 320px !important;
 min-width: 320px !important;
 width: 320px !important;
 padding: 2rem 1.5rem;
 }

 .timeline-step-num {
 font-size: 2.5rem;
 }
}

/* ── Mobile: cards sized to ~80vw so one fills most of the screen ── */
@media (max-width: 768px) {
 .timeline-section {
 padding: 2rem 0 !important;
 }

 .timeline-step {
 flex: 0 0 85vw !important;
 min-width: 85vw !important;
 width: 85vw !important;
 padding: 2rem 1.5rem;
 }

 /* Mobile Swipe Hint */
 .mobile-swipe-hint {
 display: flex !important;
 align-items: center;
 justify-content: flex-end;
 gap: 0.5rem;
 padding: 0 1.2rem 1rem;
 color: var(--ink);
 opacity: 0.5;
 font-family: 'DM Sans', sans-serif;
 font-size: 0.65rem;
 letter-spacing: 0.1em;
 animation: hintPulse 2s ease-in-out infinite;
 }

 .mobile-swipe-hint svg {
 width: 16px;
 height: 16px;
 stroke: var(--orange);
 animation: hintSlide 2s ease-in-out infinite;
 }

 @keyframes hintPulse {

 0%,
 100% {
 opacity: 0.3;
 }

 50% {
 opacity: 0.7;
 }
 }

 @keyframes hintSlide {

 0%,
 100% {
 transform: translateX(0);
 }

 50% {
 transform: translateX(4px);
 }
 }

 /* Reset scroll track container for GSAP Pinning */
 .timeline-scroll-track {
 display: flex;
 flex-wrap: nowrap;
 width: max-content;
 gap: 1.5rem;
 /* Ensure consistent gap between cards on mobile */
 padding-bottom: 2rem;
 }

 .timeline-step-num {
 font-size: 2rem;
 }

 .timeline-step-title {
 font-size: 1.15rem;
 }

 .timeline-step-desc {
 max-width: 100%;
 }

 /* Padding for the new Mobile Filter Trigger Bar */
 main {
 padding-bottom: 80px;
 }

 .timeline-header {
 padding: 3rem 1.2rem 2rem;
 }
}

/* ----------------------------------------------------------------
 16b. STUDENT SHOWCASE — BASE STYLES (DESKTOP FIRST)
 ---------------------------------------------------------------- */

/* Section wrapper */
.showcase-directory {
 padding: 6rem 5vw;
 background: #F3F4F6;
 border-top: 1px solid #e5e7eb;
}

/* Header: 2-column on desktop, stacked on mobile (pure CSS, no Tailwind) */
.showcase-header-grid {
 display: grid;
 grid-template-columns: 1fr 380px;
 gap: 3rem;
 align-items: flex-end;
 margin-bottom: 4rem;
 border-bottom: 1px solid #e5e7eb;
 padding-bottom: 2rem;
}

/* Project card grid */
.showcase-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 2px;
 background: rgba(255, 255, 255, 0.04);
 border: 1px solid #e5e7eb;
}

/* Individual project card */
.showcase-item {
 background: #F3F4F6;
 display: flex;
 flex-direction: column;
 transition: background 0.25s ease;
 position: relative;
 overflow: hidden;
}

.showcase-item:hover {
 background: rgba(255, 255, 255, 0.03);
}

/* Image wrapper — fixed aspect ratio */
.showcase-wrapper {
 width: 100%;
 aspect-ratio: 16 / 9;
 overflow: hidden;
 background-color: #FAFBFC;
 border-bottom: 1px solid #e5e7eb;
 flex-shrink: 0;
}

.showcase-img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 filter: grayscale(30%) contrast(1.05);
 transition: filter 0.4s ease, transform 0.5s ease;
}

.showcase-item:hover .showcase-img {
 filter: grayscale(0%) contrast(1.1);
 transform: scale(1.03);
}

/* Metadata panel underneath image */
.showcase-meta {
 padding: 1.2rem 1.4rem 1.6rem;
 display: flex;
 flex-direction: column;
 gap: 0.35rem;
 flex: 1;
 position: relative;
}

.showcase-author {
 font-family: 'DM Sans', sans-serif;
 font-size: 0.72rem;
 font-weight: 700;
 color: var(--ink);
 letter-spacing: 0.08em;
 text-transform: uppercase;
}

.showcase-stack {
 font-family: 'DM Sans', sans-serif;
 font-size: 0.7rem;
 color: rgba(10, 10, 10, 0.6);
 letter-spacing: 0.05em;
}

.showcase-date {
 font-family: 'DM Sans', sans-serif;
 font-size: 0.65rem;
 color: rgba(10, 10, 10, 0.6);
 letter-spacing: 0.05em;
 margin-top: 0.25rem;
}

/* CTA run button */
.showcase-run {
 font-family: 'DM Sans', sans-serif;
 font-size: 0.72rem;
 font-weight: 700;
 color: var(--orange);
 letter-spacing: 0.12em;
 text-transform: uppercase;
 margin-top: 1rem;
 padding: 0.6rem 0;
 border-top: 1px dashed rgba(244, 96, 12, 0.25);
 display: flex;
 align-items: center;
 gap: 0.5rem;
 cursor: pointer;
 opacity: 0.7;
 transition: opacity 0.2s ease;
}

/* .showcase-run::before removed to prevent duplicate play icon */

.showcase-item:hover .showcase-run {
 opacity: 1;
}

/* ----------------------------------------------------------------
 TABLET (max-width: 1024px) — 2-column grid but header stacks
 ---------------------------------------------------------------- */
@media (max-width: 1024px) {
 .showcase-header-grid {
 grid-template-columns: 1fr;
 gap: 2rem;
 }
}

/* ----------------------------------------------------------------
 TABLET SMALL (max-width: 768px) — Handled in Section 17 below
 ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
 17. LIVE SERVER DIRECTORY (STUDENT SHOWCASE) MOBILE
 ---------------------------------------------------------------- */
@media (max-width: 768px) {
 .showcase-directory {
 padding: 4rem 1.2rem;
 }

 .showcase-grid {
 grid-template-columns: 1fr;
 gap: 2.5rem;
 margin-top: 2rem;
 }

 .showcase-item {
 margin: 0 -1.2rem;
 /* Edge-to-edge on mobile */
 border-left: none;
 border-right: none;
 }

 /* Keep the image in full color on mobile since hover isn't reliable */
 .showcase-img {
 filter: grayscale(0%) contrast(1.1);
 }

 .showcase-meta {
 padding: 1.2rem;
 }

 .showcase-author {
 font-size: 1.1rem;
 /* Larger for tap targets */
 }

 .showcase-stack {
 font-size: 0.85rem;
 }

 .showcase-date {
 font-size: 0.8rem;
 }

 /* Always show the CTA on mobile */
 .showcase-run {
 opacity: 1;
 transform: translateY(0);
 margin-top: 1.5rem;
 padding: 0.8rem;
 border: 1px dashed rgba(255, 255, 255, 0.2);
 justify-content: center;
 width: 100%;
 }
}

/* ----------------------------------------------------------------
 18. MOBILE BUTTON ACCESSIBILITY (Touch Targets)
 ---------------------------------------------------------------- */
@media (max-width: 480px) {

 .btn-primary-raw,
 .btn-ghost-raw {
 width: 100%;
 min-height: 56px;
 /* Fat touch target for mobile */
 display: flex;
 justify-content: center;
 align-items: center;
 text-align: center;
 padding-left: 1rem;
 padding-right: 1rem;
 }
}

/* ----------------------------------------------------------------
 19. DASHBOARDS (ADMIN & TUTOR) MOBILE RESPONSIVENESS OVERRIDES
 ---------------------------------------------------------------- */
@media (max-width: 1023px) {
 /* Hide admin sidebar by default & add slide transition */
 #sidebar,
 #tutor-sidebar {
 transform: translateX(-100%) !important;
 transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
 z-index: 100002 !important;
 display: flex !important; /* Force flex so it displays when sliding in */
 }

 #sidebar.open,
 #tutor-sidebar.open {
 transform: translateX(0) !important;
 box-shadow: 0 0 40px rgba(0, 0, 0, 0.15) !important;
 }

 /* Collapse main content margins */
 main,
 #dashboard-container main,
 body:not(.borderless-homepage) main {
 margin-left: 0 !important;
 width: 100% !important;
 padding-left: 1.5rem !important;
 padding-right: 1.5rem !important;
 }

 /* Ensure table containers scroll instead of stretching parent */
 .overflow-x-auto {
 max-width: 100% !important;
 overflow-x: auto !important;
 display: block !important;
 }

 header {
 padding-left: 1.5rem !important;
 padding-right: 1.5rem !important;
 }

 /* Strengthen overlay on mobile for robot silhouette */
 #video-overlay {
 background: rgba(250, 248, 242, 0.6) !important;
 }
}

/* ----------------------------------------------------------------
 20. FLOATING WHATSAPP BUTTON (GLOBAL)
 ---------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  display: block;
}
@media (max-width: 768px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
}

/* === assets/css/responsive-overhaul.css === */
/* ── Global WhatsApp Floating Button SVG Explosion Protection ── */
a.wa-float, .wa-float {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 9999 !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  background: #25D366 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

a.wa-float:hover, .wa-float:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6) !important;
}

a.wa-float svg, .wa-float svg {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  fill: #FFFFFF !important;
  color: #FFFFFF !important;
  display: block !important;
  margin: 0 auto !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  a.wa-float, .wa-float {
    bottom: 16px !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
  }
  a.wa-float svg, .wa-float svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
  }
}

/* ── Playful 3D Curriculum Cards & Perspective Tilt ── */
#skills-section {
  perspective: 1000px;
}

.skills-marquee-container {
  transform-style: preserve-3d;
}

.logo-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 10px 20px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
}

.logo-card:hover {
  transform: translateY(-8px) rotateX(6deg) rotateY(-3deg) scale(1.05) !important;
  box-shadow: 0 20px 35px -8px rgba(244, 96, 12, 0.2), 0 8px 16px -4px rgba(0, 0, 0, 0.06) !important;
  border-color: #F4600C !important;
}

.logo-card i {
  transition: transform 0.3s ease !important;
}

.logo-card:hover i {
  transform: scale(1.2) rotate(6deg) !important;
}

/* ═══════════════════════════════════════════════════════════════
   STEMULUS GLOBAL RESPONSIVENESS & WIDGET COORDINATOR
   Guarantees 100% Touch Target Compliance & Zero Widget Collisions
   ═══════════════════════════════════════════════════════════════ */

/* ── Global Brand Logo Display Fix ── */
.nav-logo-editorial,
.nav-logo,
.portal-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  text-decoration: none !important;
  background: transparent !important;
}

img[src*="logo.png"],
img[src*="logo"],
.nav-logo-editorial img,
.nav-logo img,
.portal-brand-logo img,
header img[src*="logo"],
footer img[src*="logo"],
aside img[src*="logo"] {
  height: 36px !important;
  width: 36px !important;
  max-width: 36px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  display: inline-block !important;
}

.nav-logo-editorial span,
.nav-logo span,
.portal-brand-logo span {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.35rem !important;
  color: #0F172A !important;
  letter-spacing: -0.02em !important;
  line-height: 1 !important;
}

/* ── 1. Floating Widget Coordinator (< 640px Mobile Viewports) ── */
@media (max-width: 640px) {
  /* Pill Toolbar: Pinned center bottom */
  .pill-toolbar {
    position: fixed !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 100 !important;
    padding: 0.35rem 0.85rem !important;
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  }

  .toolbar-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  /* Mulu Mascot Widget: Shifted above pill toolbar on bottom-right */
  #mulu-widget,
  .mulu-floating-widget {
    bottom: 75px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 95 !important;
  }

  .mulu-body {
    width: 70px !important;
    height: 70px !important;
  }

  .mulu-speech-bubble,
  .mulu-bubble {
    max-width: 210px !important;
    font-size: 11px !important;
    padding: 8px 12px !important;
  }

  /* WhatsApp Float Button: Shifted to bottom-left to avoid Mulu & Toolbar */
  .whatsapp-float,
  #whatsapp-widget {
    left: 16px !important;
    right: auto !important;
    bottom: 16px !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 90 !important;
  }

  .whatsapp-float svg {
    width: 26px !important;
    height: 26px !important;
  }
}

/* ── 2. Universal Touch Target Compliance (Minimum 44px) ── */
@media (max-width: 768px) {
  button:not(.btn-icon-only),
  a.btn-3d,
  a.action-btn-item,
  .toolbar-btn,
  .roadmap-filter-btn,
  .mulu-btn,
  .star-btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="select"],
  select {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    min-height: 44px;
  }
}

/* ── 3. Table Responsive Scrolling & Sticky Freeze ── */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .table-responsive table {
    min-width: 600px;
  }
}

/* ── 4. Modal Overflow & Height Safety ── */
.modal-content,
#qrcode-modal .glass-card,
#tutor-report-modal > div,
#parent-reschedule-modal > div,
#parent-cert-modal > div {
  max-height: 85vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* ── 5. Admin & Tutor Drawer Overlay Utilities ── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ================================================================
   PORTAL MOBILE-FIRST RESPONSIVE — All Portals
   ================================================================ */

/* Sidebar: force off-screen on mobile for all portals */
@media (max-width: 1023px) {
  #sidebar, aside#sidebar {
    transform: translateX(-100%) !important;
    position: fixed !important;
    width: 256px !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 50 !important;
  }
  #sidebar.open, aside#sidebar.open {
    transform: translateX(0) !important;
  }
  .lg\:ml-64, [class*="lg:ml-64"] {
    margin-left: 0 !important;
  }
}
@media (min-width: 1024px) {
  #sidebar, aside#sidebar {
    transform: translateX(0) !important;
    visibility: visible !important;
  }
}

/* Portal tables: horizontal scroll on mobile */
@media (max-width: 768px) {
  .overflow-x-auto { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  table { font-size: 0.8rem; }
  table th, table td { padding: 8px 10px !important; white-space: nowrap; }
  .glass-card, .dash-card { padding: 1rem !important; }
}

/* Portal grid stacking on mobile */
@media (max-width: 640px) {
  .grid-cols-4, [class*="grid-cols-4"] { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-cols-3, [class*="grid-cols-3"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 400px) {
  .grid-cols-4, [class*="grid-cols-4"],
  .grid-cols-3, [class*="grid-cols-3"],
  .grid-cols-2, [class*="grid-cols-2"] { grid-template-columns: 1fr !important; }
}

/* Form grids inside modals: single column on mobile */
@media (max-width: 640px) {
  .qb-form-grid { grid-template-columns: 1fr !important; }
  .form-grid-2, [class*="grid-cols-2"]:not(.qb-pref-row) { grid-template-columns: 1fr !important; }
}

/* Modal full-width on phones */
@media (max-width: 600px) {
  [class*="max-w-md"], [class*="max-w-lg"], [class*="max-w-xl"] {
    max-width: 95vw !important;
    margin: 0.75rem auto !important;
  }
  [class*="rounded-none"] { border-radius: 12px !important; }
}

/* Touch targets: minimum 44px */
@media (max-width: 768px) {
  .nav-link, .btn-3d, [class*="btn-"], button[type="submit"] {
    min-height: 44px !important;
  }
}

/* Admin nav inner on mobile */
@media (max-width: 640px) {
  [class*="nav-inner"] { padding: 0.5rem 0.75rem !important; }
}

/* Email queue action buttons: stack on small screens */
@media (max-width: 500px) {
  .flex.items-start.justify-between { flex-direction: column !important; gap: 0.75rem !important; }
  .flex.items-start.justify-between > .flex { flex-wrap: wrap !important; }
}

/* Safe-area padding for iOS bottom bar */
.pill-toolbar, [id*="mobile-booking-bar"] {
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0)) !important;
}


/* === assets/css/motion-engine.css === */
/* ═══════════════════════════════════════════════════════════════
   STEMULUS CINEMATIC MOTION ENGINE (CSS)
   Hardware-Accelerated GSAP ScrollTrigger & Motion Choreography
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Magnetic Custom Cursor ── */
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(244, 96, 12, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  will-change: transform;
}

#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #F4600C;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: transform;
}

#cursor-ring.active {
  width: 54px;
  height: 54px;
  background-color: rgba(244, 96, 12, 0.08);
  border-color: #F4600C;
}

@media (max-width: 1024px) {
  #cursor-ring, #cursor-dot { display: none !important; }
}

/* ── 2. Scroll-Linked Story Reveals ── */
.reveal-story {
  opacity: 0;
  transform: translateY(35px);
  will-change: transform, opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  will-change: transform, opacity;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  will-change: transform, opacity;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  will-change: transform, opacity;
}

/* ── 3. Glowing SVG Road Connector Pulse ── */
.road-pulse-dot {
  animation: road-pulse 2.2s ease-in-out infinite;
}

@keyframes road-pulse {
  0% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 4px #F4600C); }
  50% { transform: scale(1.6); opacity: 0.6; filter: drop-shadow(0 0 12px #F4600C); }
  100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 4px #F4600C); }
}

/* ── 4. Card Tilt & Elevation Physics ── */
.motion-card-tilt {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, box-shadow;
}

.motion-card-tilt:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

/* ── 5. KPI Counter & Progress Fill Sheen ── */
.kpi-number-roll {
  display: inline-block;
  will-change: contents;
}

.progress-bar-glow {
  position: relative;
  overflow: hidden;
}

.progress-bar-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: bar-sheen 3s ease-in-out infinite;
}

@keyframes bar-sheen {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* ── 6. Reduced Motion Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  .reveal-story, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .road-pulse-dot { animation: none; }
  .progress-bar-glow::after { animation: none; }
  .motion-card-tilt { transition: none; }
  .motion-card-tilt:hover { transform: none; }
  #cursor-ring, #cursor-dot { display: none !important; }
}


/* === assets/css/ui-3d-layer.css === */
/* ═══════════════════════════════════════════════════════════════════════════
   STEMulus — 3D Minimalist UI Layer  v1.0
   ─────────────────────────────────────────────────────────────────────────
   Design language: floating frosted planes · thin geometric borders ·
   warm-white depth system · long soft shadows · micro-relief on every
   interactive surface. Works with the brand's orange / navy / chalk palette.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 0. Global depth tokens ─────────────────────────────────────────────── */
:root {
  --d0:  0 1px 2px rgba(15,23,42,0.04);
  --d1:  0 2px 6px rgba(15,23,42,0.05), 0 8px 24px rgba(15,23,42,0.04);
  --d2:  0 4px 12px rgba(15,23,42,0.06), 0 18px 40px rgba(15,23,42,0.05);
  --d3:  0 8px 24px rgba(15,23,42,0.07), 0 32px 64px rgba(15,23,42,0.06);
  --d-orange: 0 6px 20px rgba(244,96,12,0.18), 0 2px 6px rgba(244,96,12,0.12);
  --d-orange-lg: 0 12px 36px rgba(244,96,12,0.22), 0 4px 10px rgba(244,96,12,0.14);
  --surface:     #ffffff;
  --surface-warm:#fffbf7;
  --surface-tint:#fff7f0;
  --border-hair: rgba(15,23,42,0.06);
  --border-soft: rgba(15,23,42,0.10);
  --border-orange: rgba(244,96,12,0.20);
  --radius-card: 20px;
  --radius-pill: 999px;
  --radius-icon: 14px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 1. Navigation — frosted bar with geometric underline ────────────────── */
.nav-editorial {
  background: rgba(250, 249, 247, 0.82) !important;
  backdrop-filter: blur(18px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4) !important;
  border-bottom: 1px solid var(--border-hair) !important;
  box-shadow: var(--d1) !important;
}

.nav-cta-btn {
  background: #f4600c !important;
  color: #fff !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.55rem 1.4rem !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.02em !important;
  box-shadow: var(--d-orange) !important;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease !important;
}

.nav-cta-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: var(--d-orange-lg) !important;
}

/* ── 2. Hero split — canvas column frosted panel ────────────────────────── */
.preai-hero-split {
  position: relative;
}

.preai-hero-img-col {
  position: relative;
}

/* Soft depth ring behind 3D canvas */
.preai-hero-img-col::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(244, 96, 12, 0.07) 0%,
    rgba(250, 204, 21, 0.04) 50%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

/* Hero stat chips — 3D pill look */
.preai-hero-stat {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: 12px !important;
  padding: 0.5rem 1rem !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease !important;
}

.preai-hero-stat:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--d2) !important;
}

/* Chapter label depth */
.preai-hero-chapter {
  background: linear-gradient(135deg, rgba(244,96,12,0.08), rgba(244,96,12,0.04)) !important;
  border: 1px solid var(--border-orange) !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.28rem 0.85rem !important;
  display: inline-block !important;
  box-shadow: 0 2px 8px rgba(244,96,12,0.06) !important;
}

/* ── 3. Index hero stat strip ────────────────────────────────────────────── */
.hero-stat-item {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: 14px !important;
  padding: 0.9rem 1.4rem !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease !important;
}

.hero-stat-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--d2) !important;
}

/* ── 4. Index: Skills marquee cards ─────────────────────────────────────── */
.logo-card {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: 16px !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease !important;
}

.logo-card:hover {
  transform: translateY(-5px) scale(1.04) !important;
  box-shadow: var(--d2) !important;
}

/* ── 5. Index: Why-STEMulus cards ────────────────────────────────────────── */
.why-card {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease !important;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: perspective(900px) translateY(-8px) rotateX(1.5deg) !important;
  box-shadow: var(--d3) !important;
}

/* Number bubble */
.why-card__num {
  box-shadow: var(--d-orange) !important;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease !important;
}

.why-card:hover .why-card__num {
  transform: scale(1.15) rotate(-5deg) !important;
  box-shadow: var(--d-orange-lg) !important;
}

/* ── 6. Index: Showcase cards ───────────────────────────────────────────── */
.showcase-new-card {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease !important;
}

.showcase-new-card:hover {
  transform: perspective(900px) translateY(-8px) rotateX(2deg) !important;
  box-shadow: var(--d3) !important;
}

.showcase-new-card img {
  transition: transform 0.7s var(--ease-out-expo) !important;
}

.showcase-new-card:hover img {
  transform: scale(1.07) !important;
}

/* Meta tag badge */
.showcase-new-meta__tag {
  background: rgba(244,96,12,0.08) !important;
  color: #f4600c !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.15rem 0.55rem !important;
  font-size: 0.67rem !important;
  font-weight: 700 !important;
  border: 1px solid rgba(244,96,12,0.14) !important;
}

/* ── 7. Index: Testimonial cards ─────────────────────────────────────────── */
.testi-card {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.testi-card:hover {
  transform: perspective(900px) translateY(-6px) rotateX(1.5deg) !important;
  box-shadow: var(--d2) !important;
}

/* Quote mark accent */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  right: 14px;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(244,96,12,0.06);
  pointer-events: none;
}

/* ── 8. Index: Stats band ────────────────────────────────────────────────── */
.stats-item {
  transition: background 0.3s ease, transform 0.4s var(--ease-out-expo) !important;
}

.stats-item:hover {
  background: rgba(244,96,12,0.02) !important;
  transform: translateY(-2px) !important;
}

/* ── 9. Index: Programs grid cells ──────────────────────────────────────── */
.prog-cell {
  background: var(--surface) !important;
  border-radius: 14px !important;
  box-shadow: var(--d0) !important;
  transition: background 0.3s ease, transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease !important;
  border: 1px solid var(--border-hair) !important;
}

.prog-cell:hover {
  background: var(--surface-tint) !important;
  transform: translateY(-4px) !important;
  box-shadow: var(--d2) !important;
}

/* ── 10. Index: CTA section ─────────────────────────────────────────────── */
.cta-btn-solid, .btn-pill-solid, .fp-btn-primary {
  border-radius: var(--radius-pill) !important;
  box-shadow: var(--d-orange) !important;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease !important;
  font-weight: 700 !important;
}

.cta-btn-solid:hover, .btn-pill-solid:hover, .fp-btn-primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: var(--d-orange-lg) !important;
}

.cta-btn-ghost-white, .btn-pill-outline, .fp-btn-ghost {
  border-radius: var(--radius-pill) !important;
  border: 1.5px solid rgba(15,23,42,0.18) !important;
  transition: transform 0.35s var(--ease-spring), background 0.3s ease, border-color 0.3s ease !important;
  font-weight: 700 !important;
}

.cta-btn-ghost-white:hover, .btn-pill-outline:hover, .fp-btn-ghost:hover {
  transform: translateY(-2px) !important;
  background: rgba(15,23,42,0.04) !important;
  border-color: rgba(15,23,42,0.30) !important;
}

/* ── 11. Blog: Article cards ─────────────────────────────────────────────── */
#blog-grid-container > article {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.4s ease !important;
}

#blog-grid-container > article:hover {
  transform: perspective(900px) translateY(-8px) rotateX(2deg) !important;
  box-shadow: var(--d3) !important;
}

#blog-grid-container > article > div:first-child {
  overflow: hidden;
}

#blog-grid-container > article > div:first-child img {
  transition: transform 0.7s var(--ease-out-expo) !important;
}

#blog-grid-container > article:hover > div:first-child img {
  transform: scale(1.06) !important;
}

/* Category pill */
#blog-grid-container > article p:first-child {
  background: rgba(244,96,12,0.06);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.6rem;
  display: inline-block;
}

/* ── 12. Blog: Filter category buttons ───────────────────────────────────── */
#posts > div > div > button {
  border-radius: var(--radius-pill) !important;
  border: 1px solid var(--border-soft) !important;
  transition: background 0.25s ease, transform 0.3s var(--ease-spring), box-shadow 0.3s ease !important;
}

#posts > div > div > button:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--d1) !important;
}

/* ── 13. Contact: Info cards ─────────────────────────────────────────────── */
[data-stagger] .rounded-xl {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.4s ease !important;
}

[data-stagger] .rounded-xl:hover {
  transform: perspective(900px) translateY(-8px) rotateX(2deg) !important;
  box-shadow: var(--d3) !important;
}

/* Icon circle */
[data-stagger] .rounded-full {
  background: rgba(244,96,12,0.08) !important;
  border: 1px solid rgba(244,96,12,0.10) !important;
  box-shadow: 0 2px 8px rgba(244,96,12,0.06) !important;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease !important;
}

[data-stagger] .rounded-xl:hover .rounded-full {
  transform: scale(1.1) rotate(-5deg) !important;
  box-shadow: var(--d-orange) !important;
}

/* ── 14. Contact: Form inputs ────────────────────────────────────────────── */
.form-input {
  background: rgba(15,23,42,0.02) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 12px !important;
  box-shadow: var(--d0) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.form-input:focus {
  background: var(--surface) !important;
  border-color: rgba(244,96,12,0.40) !important;
  box-shadow: 0 0 0 4px rgba(244,96,12,0.08), var(--d0) !important;
}

/* Contact form panel 3D card */
.contact-form-panel {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d2) !important;
  padding: 2.5rem !important;
}

/* ── 15. For-Parents: Step cards ─────────────────────────────────────────── */
.fp-step {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.fp-step:hover {
  transform: perspective(900px) translateY(-8px) rotateX(2deg) !important;
  box-shadow: var(--d3) !important;
}

/* Step icon */
.fp-step__icon {
  border-radius: var(--radius-icon) !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease !important;
}

.fp-step:hover .fp-step__icon {
  transform: scale(1.12) rotate(-5deg) !important;
  box-shadow: var(--d2) !important;
}

/* Ghost step number */
.fp-step__num {
  position: relative;
  z-index: 0;
  transition: color 0.4s ease !important;
}

.fp-step:hover .fp-step__num {
  color: rgba(244,96,12,0.10) !important;
}

/* ── 16. For-Parents: Safety cards ───────────────────────────────────────── */
.fp-safety-card {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.fp-safety-card:hover {
  transform: perspective(900px) translateY(-8px) rotateX(2deg) !important;
  box-shadow: var(--d3) !important;
}

/* Floating card number label — 3D embossed */
.fp-safety-card__num {
  background: linear-gradient(135deg, rgba(244,96,12,0.06), rgba(244,96,12,0.02)) !important;
  border: 1px solid rgba(244,96,12,0.12) !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.1rem 0.55rem !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.12em !important;
  color: #f4600c !important;
  display: inline-block !important;
  margin-bottom: 1.25rem !important;
}

/* Icon */
.fp-safety-card__icon {
  border-radius: var(--radius-icon) !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease !important;
}

.fp-safety-card:hover .fp-safety-card__icon {
  transform: scale(1.12) rotate(-5deg) !important;
  box-shadow: var(--d2) !important;
}

/* ── 17. For-Parents: Chat cards ─────────────────────────────────────────── */
.fp-chat-card {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.fp-chat-card:hover {
  transform: perspective(900px) translateY(-6px) rotateX(1.5deg) !important;
  box-shadow: var(--d2) !important;
}

/* Chat bubble depth */
.fp-bubble--incoming {
  background: rgba(241,245,249,0.8) !important;
  border: 1px solid rgba(15,23,42,0.06) !important;
  border-radius: 0 14px 14px 14px !important;
  box-shadow: var(--d0) !important;
}

.fp-bubble--outgoing {
  background: rgba(255,237,213,0.9) !important;
  border: 1px solid rgba(244,96,12,0.10) !important;
  border-radius: 14px 0 14px 14px !important;
  box-shadow: var(--d0) !important;
}

/* Avatar chip */
.fp-chat-avatar {
  border-radius: 12px !important;
  box-shadow: var(--d1) !important;
}

/* ── 18. For-Parents: Dashboard mockup ───────────────────────────────────── */
.fp-dash-mock {
  background: var(--surface) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d2), 8px 8px 0 rgba(244,96,12,0.06) !important;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s ease !important;
}

.fp-dash-mock:hover {
  transform: perspective(900px) translateY(-6px) rotate(-0.5deg) !important;
  box-shadow: var(--d3), 12px 12px 0 rgba(244,96,12,0.08) !important;
}

/* Bar (title bar of mockup) */
.fp-dash-mock__bar {
  background: #0d1b2a !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

/* Data rows */
.fp-dash-row {
  background: rgba(250,249,247,0.6) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: 10px !important;
  transition: background 0.2s ease !important;
}

.fp-dash-row:hover {
  background: var(--surface-tint) !important;
}

/* Progress block */
.fp-dash-progress {
  border: 1px solid rgba(244,96,12,0.14) !important;
  border-radius: 10px !important;
  background: rgba(255,243,237,0.7) !important;
}

/* ── 19. For-Parents: Checklist ──────────────────────────────────────────── */
.fp-checklist li {
  border-radius: 10px !important;
  padding: 0.45rem 0.75rem !important;
  transition: background 0.25s ease, transform 0.3s var(--ease-out-expo) !important;
}

.fp-checklist li:hover {
  background: rgba(244,96,12,0.04) !important;
  transform: translateX(5px) !important;
}

/* Check circle */
.fp-check {
  border-radius: 50% !important;
  box-shadow: 0 2px 6px rgba(244,96,12,0.20) !important;
  flex-shrink: 0 !important;
}

/* ── 20. For-Parents: FAQ accordion ──────────────────────────────────────── */
.fp-faq details {
  border-bottom: 1px solid var(--border-hair) !important;
  border-radius: 0 !important;
}

.fp-faq summary {
  border-radius: 8px !important;
  padding-left: 0.5rem !important;
  margin-left: -0.5rem !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.fp-faq summary:hover {
  background: rgba(244,96,12,0.03) !important;
}

/* ── 21. Programs: Roadmap cards ─────────────────────────────────────────── */
.roadmap-card-outer {
  background: var(--surface) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--d1) !important;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease, border-color 0.4s ease !important;
}

.roadmap-card-outer:hover {
  box-shadow: var(--d3) !important;
}

/* Phase intro headers */
.roadmap-phase-intro {
  background: linear-gradient(135deg, rgba(244,96,12,0.04), rgba(15,23,42,0.02)) !important;
  border: 1px solid var(--border-hair) !important;
  border-radius: 16px !important;
  box-shadow: var(--d0) !important;
}

/* ── 22. Section backgrounds — subtle warm depth planes ─────────────────── */

/* Alternate section tint — gives page layered depth */
section.bg-slate-50,
section.py-20.bg-slate--50,
.fp-split + .fp-split {
  background: var(--surface-warm) !important;
}

/* Sections on contact/blog that are bg-white */
section.bg-white,
.bg-white {
  background: var(--surface) !important;
}

/* ── 23. CTA band — elevated warm glass ──────────────────────────────────── */
.cta-band, .cta-band-new, .fp-cta {
  background: linear-gradient(
    135deg,
    rgba(255, 247, 240, 0.98) 0%,
    rgba(255, 251, 247, 0.98) 100%
  ) !important;
  border-top: 1px solid rgba(244,96,12,0.10) !important;
  border-bottom: 1px solid rgba(244,96,12,0.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 -1px 0 rgba(244,96,12,0.06) !important;
}

/* ── 24. Footer — subtle bottom plane ────────────────────────────────────── */
.footer-editorial {
  border-top: 1px solid var(--border-hair) !important;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.6) !important;
}

/* ── 25. Global section headings — depth underline ───────────────────────── */
.fp-section-h em,
.preai-hero-h1 em,
.zb-h2 em,
.editorial-heading em {
  background: linear-gradient(90deg, #f4600c, #fa8c3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* ── 26. 3D hero canvas wrap — ambient glow ──────────────────────────────── */
.three-canvas-wrap {
  position: relative !important;
  filter: drop-shadow(0 0 40px rgba(244,96,12,0.06)) !important;
}

/* ── 27. Scroll progress bar ─────────────────────────────────────────────── */
.scroll-progress {
  background: linear-gradient(90deg, #f4600c 0%, #facc15 60%, #f4600c 100%) !important;
  box-shadow: 0 0 8px rgba(244,96,12,0.40) !important;
  height: 2.5px !important;
}

/* ── 28. Eyebrow labels — pill treatment ─────────────────────────────────── */
.fp-eyebrow,
.preai-hero-chapter,
.cta-band__eyebrow,
.cta-band-new__eyebrow,
.fp-cta__eyebrow {
  letter-spacing: 0.12em !important;
}

/* ── 29. Stats section values — kinetic weight ───────────────────────────── */
.fp-dash-row__val,
.stat-num,
.hero-stat-num,
.preai-hero-stat-num {
  font-family: 'Outfit', 'Nunito', sans-serif !important;
  font-weight: 900 !important;
}

/* ── 30. Mobile reductions ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .why-card:hover,
  .showcase-new-card:hover,
  .testi-card:hover,
  .fp-step:hover,
  .fp-safety-card:hover,
  .fp-chat-card:hover,
  #blog-grid-container > article:hover,
  [data-stagger] .rounded-xl:hover,
  .roadmap-card-outer:hover {
    transform: translateY(-4px) !important;
  }
}

/* ── 31. Reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .three-canvas-wrap canvas {
    display: block !important;
  }
}
