/* ================================================================
   Academy Home — experience layer
   Scoped to body.ax-home (templates/academy-page.php only). A visual and interaction redesign on
   top of the normal page: every rule here restyles existing markup; nothing hides content. The
   JS layer (academy-home-x.js) adds decorative, aria-hidden enhancements only.

   Palette: the brand colours from colors.md (primary #a22d75, secondary #2d9ba2, support #2d4ea2,
   subsecondary #26c6da) used as luminous accents on a charcoal/near-black and off-white base.
   ================================================================ */

.ax-home {
  --ax-ink:        #0a0c10;
  --ax-ink-2:      #10141b;
  --ax-ink-3:      #171c25;
  --ax-paper:      #f6f7f9;
  --ax-line-dark:  rgba(255, 255, 255, .08);
  --ax-line-light: rgba(16, 20, 27, .08);
  --ax-text-on-dark:  #eef0f4;
  --ax-muted-on-dark: #a3abb9;
  --ax-accent-on-dark: var(--color-subsecondary);
  --ax-ease: cubic-bezier(.2, .7, .2, 1);
  background: var(--color-bg);
}

/* Dark sections re-point the theme tokens, so every existing component inside them (section
   headers, cards, links) picks up the dark treatment without any markup change. */
.ax-home .hero,
.ax-home .stats-section,
.ax-home .courses-section,
.ax-home .community-section,
.ax-home .cta-section,
.ax-home .site-footer {
  --color-text:       var(--ax-text-on-dark);
  --color-text-muted: var(--ax-muted-on-dark);
  --color-bg:         var(--ax-ink-2);
  --color-surface:    var(--ax-ink-2);
  --color-border:     var(--ax-line-dark);
  --color-shade:      var(--ax-ink-3);
  background: var(--ax-ink);
  color: var(--color-text);
}
.ax-home .hero .section-eyebrow,
.ax-home .courses-section .section-eyebrow,
.ax-home .community-section .section-eyebrow,
.ax-home .hero__eyebrow { color: var(--ax-accent-on-dark); }

/* ── Typography: one family, technology-company hierarchy ─────────── */
.ax-home h1,
.ax-home h2,
.ax-home h3 { font-family: var(--font-primary); letter-spacing: -.025em; }
.ax-home .section-header h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--color-text);
}
.ax-home .section-eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
}
.ax-home .section-subtext { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; }
.ax-home .section { padding-block: clamp(88px, 10vw, 152px); }
@media (max-width: 640px) {
  .ax-home .section { padding-block: 72px; }
}

/* ── Header: dark glass over the whole page ───────────────────────── */
.ax-home .site-header .nav-logo-text { color: #fff; }
.ax-home .site-header .nav-menu > li > a { color: rgba(255, 255, 255, .78); }
.ax-home .site-header .nav-menu > li > a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ax-home .site-header .nav-menu > li.current-menu-item > a,
.ax-home .site-header .nav-menu > li.current-page-ancestor > a { background: rgba(255, 255, 255, .1); color: #fff; }
.ax-home .site-header .nav-toggle__bar { background: #fff; }
.ax-home .site-header.scrolled {
  background: rgba(10, 12, 16, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--ax-line-dark);
}
@media (max-width: 768px) {
  .ax-home .site-header .nav-menu {
    background: rgba(16, 20, 27, .96);
    border-color: var(--ax-line-dark);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .45);
    backdrop-filter: blur(18px);
  }
}
.ax-home :focus-visible { outline: 2px solid var(--color-subsecondary); outline-offset: 3px; }

/* Scroll progress (element added by JS) */
.ax-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: calc(var(--z-nav, 100) + 1);
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-primary), var(--color-subsecondary));
  pointer-events: none;
}

/* ================================================================
   1. HERO — a data environment
   ================================================================ */
.ax-home .hero {
  isolation: isolate;
  min-height: 100svh;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(45, 78, 162, .28), transparent 70%),
    radial-gradient(45% 45% at 88% 80%, rgba(162, 45, 117, .20), transparent 70%),
    var(--ax-ink);
}
/* Measured grid, fading out from the visualisation */
.ax-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--ax-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--ax-line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000 20%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 70% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}
.ax-home .hero::after { /* soft floor, leads the eye into the next section */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  z-index: 0;
  background: linear-gradient(transparent, var(--ax-ink));
  pointer-events: none;
}
.ax-home .hero .container { position: relative; z-index: 2; }
.ax-home .hero__content { max-width: 760px; }
.ax-home .hero__eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ax-home .hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.ax-home .hero__title {
  font-size: clamp(2.1rem, 5vw, 4.9rem);
  text-wrap: balance;
  font-weight: 700;
  line-height: 1;
  max-width: 11.5em;
  letter-spacing: -.045em;
  background: linear-gradient(180deg, #ffffff 30%, #b9c3d6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  padding-bottom: .06em; /* keep descenders inside the clipped background */
}
.ax-home .hero__subtitle {
  font-size: clamp(1.0625rem, 1.5vw, 1.3rem);
  color: var(--ax-muted-on-dark);
  max-width: 52ch;
}
.ax-home .hero__actions { gap: var(--space-3); }
.ax-home .hero .btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
}
.ax-home .hero .btn--secondary:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.ax-home .btn--primary { box-shadow: 0 8px 28px rgba(162, 45, 117, .35); }

/* 3D point cloud (canvas added by JS). The static SVG dashboard stays as the fallback. */
.ax-hero-canvas {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ax-ease);
}
.ax-hero-canvas.is-ready { opacity: 1; }
.ax-3d .ax-home .hero__art { display: none; }

/* Floating 3D glass charts and light glints (added by JS, random each visit) */
.ax-gcharts { /* same box as the globe canvas */
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  perspective: 1100px;
  opacity: 0;
  transition: opacity 1.6s var(--ax-ease) .3s;
}
.ax-gcharts.is-ready { opacity: calc(1 - var(--hs, 0) * .7); }
.ax-rays {
  position: absolute;
  left: 60%;
  top: 50%;
  width: 120vmin;
  height: 120vmin;
  margin: -60vmin 0 0 -60vmin;
  background: repeating-conic-gradient(from 0deg, rgba(38, 198, 218, .09) 0 4deg, transparent 4deg 18deg, rgba(162, 45, 117, .07) 18deg 21deg, transparent 21deg 34deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 10%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 10%, transparent 100%);
}
.ax-gc {
  position: absolute;
  left: 0;
  top: 0;
  perspective: 700px;
  will-change: transform;
}
.ax-gc__tilt { transform-style: preserve-3d; }
.ax-gc__body { position: relative; transform-style: preserve-3d; }
.ax-gc__layer { backface-visibility: visible; }
.ax-gc__layer svg, .ax-gc__layer img { display: block; width: 100%; height: auto; overflow: visible; }
.ax-gc__layer--back img { height: 100%; object-fit: contain; }
.ax-gc__face { position: relative; transform: translateZ(1px); filter: drop-shadow(0 0 12px rgba(38, 198, 218, .3)); }
.ax-gc__layer--back { position: absolute; inset: 0; opacity: .5; filter: brightness(.5) saturate(1.3); }
.ax-gc__layer--back:first-child { filter: brightness(.3); opacity: .8; } /* the back plate */
.ax-gc--panel .ax-gc__layer { padding: 10px; border-radius: 16px; }
.ax-gc--panel .ax-gc__face {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 55%, rgba(38, 198, 218, .08));
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -20px 40px rgba(45, 78, 162, .18);
  filter: none;
}
.ax-gc--panel .ax-gc__layer--back { background: rgba(38, 198, 218, .035); border: 1px solid rgba(143, 227, 238, .22); filter: none; opacity: 1; }
.ax-gc--panel .ax-gc__layer--back:first-child { background: rgba(10, 12, 16, .55); }
.ax-gc--panel .ax-gc__face::after { /* light sweeping across the glass */
  content: "";
  position: absolute;
  inset: -20% auto -20% -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: translateX(-100%) skewX(-18deg);
}
.ax-glint {
  --gs: 1;
  position: absolute;
  width: 34px;
  height: 34px;
  translate: -50% -50%;
  z-index: 30;
  opacity: 0;
  background:
    radial-gradient(circle, #fff 0 1.5px, rgba(143, 227, 238, .8) 3px, transparent 9px),
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, .9) 50%, transparent 100%) center / 100% 1.5px no-repeat,
    linear-gradient(0deg, transparent 0, rgba(255, 255, 255, .9) 50%, transparent 100%) center / 1.5px 100% no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .ax-gc__body { animation: ax-gc-turn 22s linear infinite; }
  .ax-gc--panel .ax-gc__face::after { animation: ax-gc-sweep 7s ease-in-out var(--sd) infinite; }
  .ax-glint { animation: ax-glint 4s ease-in-out infinite; }
  .ax-rays { animation: ax-spin 90s linear infinite; }
}
@keyframes ax-gc-turn { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes ax-gc-sweep { 0%, 60% { transform: translateX(-100%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes ax-glint { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: .2; transform: scale(.8) rotate(55deg); } }
@media (max-width: 1100px) {
  .ax-gcharts { width: 100%; }
  .ax-rays { opacity: .6; }
  .ax-gcharts.is-ready { opacity: calc(.6 - var(--hs, 0) * .4); }
}
@media (max-width: 1100px) {
  .ax-hero-canvas { width: 100%; opacity: 0; }
  .ax-hero-canvas.is-ready { opacity: .45; }
}
.ax-scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--ax-line-dark), rgba(255, 255, 255, .5));
  overflow: hidden;
}
.ax-scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--color-subsecondary);
}
@media (prefers-reduced-motion: no-preference) {
  .ax-scroll-cue::after { animation: ax-cue 2.2s var(--ax-ease) infinite; }
}
@keyframes ax-cue { to { top: 110%; } }
@media (max-width: 640px) { .ax-scroll-cue { display: none; } }

/* Hero SVG fallback recoloured for the dark stage (it uses the theme tokens) */
.ax-home .hero__art .hero-art__panel { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }

/* ================================================================
   2. ABOUT — learning → skills → projects → career
   ================================================================ */
.ax-home .section-separator { display: none; }
.ax-home .about-section { background: var(--ax-paper); position: relative; overflow: hidden; }
.ax-home .about-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.ax-home .about-section__body { font-size: 1.0625rem; }
.ax-home .about-section__media { isolation: isolate; }
.ax-home .about-section__img { position: relative; z-index: 1; }
/* ================================================================
   3. ALUMNI — a professional network
   ================================================================ */
.ax-home .alumni-section {
  background:
    radial-gradient(circle at 1px 1px, var(--ax-line-light) 1px, transparent 0) 0 0 / 28px 28px,
    var(--color-bg);
  padding-block: clamp(72px, 8vw, 120px);
}
.ax-home .alumni-logo img {
  filter: grayscale(1) contrast(.9);
  opacity: .62;
  transition: filter .3s var(--ax-ease), opacity .3s var(--ax-ease), transform .3s var(--ax-ease);
}
.ax-home .alumni-logo:hover img { filter: none; opacity: 1; transform: translateY(-2px); }

/* Stats — large numerals on a measured dark band */
.ax-home .stats-section {
  position: relative;
  padding-block: clamp(72px, 8vw, 112px);
  border-block: 1px solid var(--ax-line-dark);
  background:
    linear-gradient(90deg, transparent 0 calc(25% - .5px), var(--ax-line-dark) calc(25% - .5px) calc(25% + .5px), transparent calc(25% + .5px) calc(50% - .5px), var(--ax-line-dark) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px) calc(75% - .5px), var(--ax-line-dark) calc(75% - .5px) calc(75% + .5px), transparent calc(75% + .5px)),
    radial-gradient(50% 120% at 50% 100%, rgba(38, 198, 218, .10), transparent 70%),
    var(--ax-ink);
}
.ax-home .stats-section .counter,
.ax-home .stats-section .stat-suffix {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 35%, #8fe3ee 140%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.ax-home .stats-section .counter { font-size: clamp(3rem, 6vw, 5rem); }
.ax-home .stats-section .stat-label {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ax-muted-on-dark);
  margin-top: var(--space-3);
}
@media (max-width: 768px) { .ax-home .stats-section { background: var(--ax-ink); } }

/* ================================================================
   4. WHY US — differentiators around a central data core
   ================================================================ */
.ax-home .why-choose-us-section { background: var(--ax-paper); overflow: hidden; }
.ax-home .why-us-card {
  background: var(--color-white);
  border-color: var(--ax-line-light);
  box-shadow: 0 1px 1px rgba(16, 20, 27, .03), 0 12px 32px rgba(16, 20, 27, .05);
}
.ax-home .why-us-card__title { font-size: 1.1875rem; letter-spacing: -.015em; }
@media (min-width: 1024px) {
  .ax-home .why-us-grid.ax-orbit {
    grid-template-columns: 1fr minmax(260px, 340px) 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
    column-gap: var(--space-8);
  }
  .ax-home .why-us-grid.ax-orbit > .why-us-card:nth-of-type(1) { grid-area: 1 / 1; }
  .ax-home .why-us-grid.ax-orbit > .why-us-card:nth-of-type(2) { grid-area: 1 / 3; }
  .ax-home .why-us-grid.ax-orbit > .why-us-card:nth-of-type(3) { grid-area: 2 / 1; }
  .ax-home .why-us-grid.ax-orbit > .why-us-card:nth-of-type(4) { grid-area: 2 / 3; }
  .ax-home .why-us-grid.ax-orbit > .ax-core { grid-area: 1 / 2 / 3 / 3; display: grid; }
}
.ax-core { display: none; place-items: center; position: relative; perspective: 900px; }
.ax-core__rings,
.ax-core__rings::before,
.ax-core__rings::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border-radius: 50%;
  border: 1px dashed rgba(45, 78, 162, .22);
}
.ax-core__rings::before,
.ax-core__rings::after { content: ""; inset: 50% auto auto 50%; }
.ax-core__rings::before { width: 220px; height: 220px; margin: -110px 0 0 -110px; border-style: solid; border-color: rgba(45, 155, 162, .18); }
.ax-core__rings::after  { width: 380px; height: 380px; margin: -190px 0 0 -190px; border-color: rgba(162, 45, 117, .14); }
.ax-cube {
  position: relative;
  width: 120px;
  height: 120px;
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(38deg);
}
.ax-cube__face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(45, 78, 162, .45);
  background:
    linear-gradient(rgba(45, 78, 162, .16) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(45, 78, 162, .16) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(135deg, rgba(38, 198, 218, .16), rgba(162, 45, 117, .14));
  backface-visibility: visible;
}
.ax-cube__face:nth-child(1) { transform: translateZ(60px); }
.ax-cube__face:nth-child(2) { transform: rotateY(180deg) translateZ(60px); }
.ax-cube__face:nth-child(3) { transform: rotateY(90deg) translateZ(60px); }
.ax-cube__face:nth-child(4) { transform: rotateY(-90deg) translateZ(60px); }
.ax-cube__face:nth-child(5) { transform: rotateX(90deg) translateZ(60px); }
.ax-cube__face:nth-child(6) { transform: rotateX(-90deg) translateZ(60px); }
.ax-core__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -4px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9);
}
@media (prefers-reduced-motion: no-preference) {
  .ax-core__rings { animation: ax-spin 60s linear infinite; }
  .ax-core__dot { animation: ax-orbit 14s linear infinite; }
  .ax-core__dot:nth-of-type(2) { animation-duration: 22s; animation-direction: reverse; }
  .ax-core__dot:nth-of-type(3) { animation-duration: 30s; }
}
.ax-core__dot:nth-of-type(1) { background: var(--color-primary);  --r: 110px; }
.ax-core__dot:nth-of-type(2) { background: var(--color-secondary); --r: 150px; }
.ax-core__dot:nth-of-type(3) { background: var(--color-support);  --r: 190px; }
.ax-core__dot { transform: rotate(0deg) translateX(var(--r)); }
@keyframes ax-spin  { to { transform: rotate(360deg); } }
@keyframes ax-orbit { from { transform: rotate(0deg) translateX(var(--r)); } to { transform: rotate(360deg) translateX(var(--r)); } }

/* ================================================================
   5. CHOOSE YOUR CAREER — an analytics ecosystem
   ================================================================ */
.ax-home .courses-section {
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 40%;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgba(38, 198, 218, .10), transparent 60%),
    radial-gradient(70% 60% at 50% 0%, rgba(45, 78, 162, .22), transparent 70%),
    var(--ax-ink);
}
.ax-home .courses-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ax-line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--ax-line-dark) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.ax-home .courses-section .container { position: relative; }
/* Cards keep their own light palette on the dark stage */
.ax-home .courses-section .course-card {
  --color-text: #323232;
  --color-text-muted: #666666;
  --color-border: #e5e5e5;
  --color-bg: #ffffff;
  --color-surface: #fafafa;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .5s var(--ax-ease), opacity .35s var(--ax-ease), filter .35s var(--ax-ease), box-shadow .35s var(--ax-ease);
}
@media (hover: hover) and (pointer: fine) {
  .ax-home .courses-section .course-card:hover { box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(38, 198, 218, .35); }
}
.ax-home .courses-section .btn--primary { box-shadow: 0 10px 34px rgba(162, 45, 117, .45); }

/* ================================================================
   6. TESTIMONIALS — typography first
   ================================================================ */
.ax-home .testimonials-section { background: var(--color-bg); }
.ax-home .testimonials-marquee .testimonial-card {
  width: 380px;
  border-color: var(--ax-line-light);
  box-shadow: 0 1px 1px rgba(16, 20, 27, .03), 0 16px 40px rgba(16, 20, 27, .06);
}
.ax-home .testimonials-marquee .testimonial-card__quote {
  font-size: 1.0625rem;
  line-height: 1.6;
  font-style: normal;
  color: #2a2f38;
  letter-spacing: -.005em;
}

/* ================================================================
   7. WHAT OUR STUDENTS BUILD — projects as products
   ================================================================ */
.ax-home .course-outcomes-section { background: var(--ax-paper); position: relative; overflow: hidden; }
.ax-home .course-outcomes-section.ax-projects {
  background:
    radial-gradient(50% 45% at 50% 62%, rgba(45, 78, 162, .14), transparent 70%),
    radial-gradient(30% 30% at 15% 20%, rgba(162, 45, 117, .10), transparent 70%),
    radial-gradient(30% 30% at 85% 25%, rgba(45, 155, 162, .12), transparent 70%),
    var(--ax-paper);
}
.ax-home .course-outcomes-section.ax-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--ax-line-light) 1px, transparent 1px), linear-gradient(90deg, var(--ax-line-light) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 55%, #000, transparent 80%);
          mask-image: radial-gradient(70% 60% at 50% 55%, #000, transparent 80%);
  pointer-events: none;
}
.ax-home .course-outcomes-section .container { position: relative; }
.ax-home .ax-projects .student-blog-grid { gap: clamp(20px, 2.4vw, 36px); perspective: 1400px; }
.ax-home .ax-projects .sb-card { border-radius: 18px; background: #fff; }
.ax-frame {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: linear-gradient(#fbfbfd, #f1f2f5);
  border-bottom: 1px solid var(--ax-line-light);
  flex-shrink: 0;
}
.ax-frame i { width: 9px; height: 9px; border-radius: 50%; background: #e2e4e9; }
.ax-frame i:nth-child(1) { background: #f2b8c6; }
.ax-frame i:nth-child(2) { background: #f5dc8a; }
.ax-frame i:nth-child(3) { background: #a9dfd4; }
.ax-frame span { margin-left: auto; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: #8a92a2; }
.ax-home .ax-projects .sb-card__image { border-bottom: 1px solid var(--ax-line-light); background: #fff; }
.ax-home .ax-projects .sb-card:hover { box-shadow: 0 2px 2px rgba(16, 20, 27, .04), 0 40px 80px -20px rgba(45, 78, 162, .28), 0 0 0 1px rgba(45, 78, 162, .18); }
.ax-home .sb-card {
  border: 1px solid var(--ax-line-light);
  box-shadow: 0 1px 1px rgba(16, 20, 27, .03), 0 18px 44px rgba(16, 20, 27, .07);
  transform-style: preserve-3d;
  transition: transform .5s var(--ax-ease), box-shadow .35s var(--ax-ease);
}
.ax-home .sb-card__image { overflow: hidden; }
.ax-home .sb-card__image img { transition: transform .9s var(--ax-ease); }
@media (hover: hover) and (pointer: fine) {
  .ax-home .sb-card:hover { box-shadow: 0 2px 2px rgba(16, 20, 27, .04), 0 32px 64px rgba(16, 20, 27, .14); }
  .ax-home .sb-card:hover .sb-card__image img { transform: scale(1.06); }
}
.ax-home .sb-card__title { letter-spacing: -.015em; }
@media (min-width: 1024px) {
  .ax-home .course-outcomes-section .sb-card__image { aspect-ratio: 16 / 10; }
  .ax-home .course-outcomes-section .sb-card__image img { object-position: top center; }
}
/* ================================================================
   8. COMMUNITY — a connected ecosystem
   ================================================================ */
.ax-home .community-section { position: relative; overflow: hidden; }
.ax-home .community-section .container { position: relative; z-index: 1; }
.ax-home .community-section .community-card {
  background: var(--ax-ink-2);
  border: 1px solid var(--ax-line-dark);
  color: var(--ax-text-on-dark);
  transition: border-color .3s var(--ax-ease), background .3s var(--ax-ease), translate .3s var(--ax-ease);
}
.ax-home .community-section .community-card:hover { border-color: rgba(38, 198, 218, .45); background: var(--ax-ink-3); translate: 0 -3px; }
.ax-home .community-section .community-card__name { color: #fff; }
.ax-home .community-section .community-card__count,
.ax-home .community-section .community-card__join { color: var(--ax-muted-on-dark); }
.ax-links { /* connection lines behind the community grid (SVG added by JS) */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.ax-links path { fill: none; stroke: rgba(38, 198, 218, .22); stroke-width: 1; stroke-dasharray: 3 7; }
.ax-links circle { fill: var(--color-subsecondary); }
@media (prefers-reduced-motion: no-preference) {
  .ax-links path { animation: ax-flow 12s linear infinite; }
}
@keyframes ax-flow { to { stroke-dashoffset: -200; } }

/* ================================================================
   9. CTA — the page simplifies
   ================================================================ */
.ax-home .cta-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(112px, 14vw, 200px);
  background:
    radial-gradient(40% 70% at 50% 110%, rgba(162, 45, 117, .35), transparent 70%),
    #050608;
  border-top: 1px solid var(--ax-line-dark);
}
.ax-home .cta-block { flex-direction: column; text-align: center; justify-content: center; gap: var(--space-8); }
.ax-home .cta-block__content h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  color: #fff; /* solid: the heading is split into per-word masks for its reveal */
}
.ax-home .cta-block__content p { color: var(--ax-muted-on-dark); font-size: 1.125rem; max-width: 56ch; margin-inline: auto; }
.ax-home .cta-block__actions { justify-content: center; }
.ax-home .cta-section .btn--primary,
.ax-home .cta-section a.btn--primary:link,
.ax-home .cta-section a.btn--primary:visited { background: #fff; color: #0a0c10; border-color: #fff; box-shadow: 0 12px 40px rgba(255, 255, 255, .12); }
.ax-home .cta-section .btn--primary:hover { background: transparent; color: #fff; }

/* ================================================================
   10. FOOTER — structured and quiet
   ================================================================ */
.ax-home .site-footer {
  background:
    linear-gradient(var(--ax-line-dark) 1px, transparent 1px) 0 0 / 100% 96px,
    #050608;
  border-top: 1px solid var(--ax-line-dark);
  padding-top: clamp(64px, 7vw, 96px);
}
.ax-home .footer-col__title { font-family: var(--font-mono); font-weight: 500; letter-spacing: .18em; color: #fff; }
.ax-home .footer-grid { border-bottom: 1px solid var(--ax-line-dark); }

/* ================================================================
   Motion helpers (classes set by JS; content is visible without them)
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .ax-hero-canvas { transition: none; }
}

/* ================================================================
   Scroll storytelling (body.ax-motion — GSAP present, motion allowed)
   ================================================================ */
/* Word-by-word heading reveal (spans added by JS; the heading text is unchanged). */
.ax-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.ax-w > span { display: inline-block; transform-origin: 0 100%; will-change: transform; }

/* ── Why us (desktop, motion): a pinned story on a dark stage ── */
.ax-home .why-choose-us-section.ax-why {
  --color-text: var(--ax-text-on-dark);
  --color-text-muted: var(--ax-muted-on-dark);
  --why-accent: #a22d75;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 88px 56px;
  color: var(--color-text);
  background:
    radial-gradient(38% 60% at 72% 55%, color-mix(in srgb, var(--why-accent) 26%, transparent), transparent 70%),
    radial-gradient(30% 40% at 90% 10%, rgba(45, 78, 162, .18), transparent 70%),
    var(--ax-ink);
  transition: background .6s var(--ax-ease);
}
.ax-home .why-choose-us-section.ax-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--ax-line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--ax-line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 70% at 70% 55%, #000, transparent 80%);
          mask-image: radial-gradient(60% 70% at 70% 55%, #000, transparent 80%);
  pointer-events: none;
}
.ax-home .ax-why > .container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.ax-home .ax-why .section-header { grid-area: 1 / 1; text-align: left; margin-bottom: var(--space-8); }
.ax-home .ax-why .section-header .section-subtext { margin-inline: 0; }
.ax-home .ax-why .section-eyebrow { color: var(--ax-accent-on-dark); }
.ax-home .ax-why .why-us-grid.ax-slides {
  grid-area: 1 / 2 / 3 / 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: min(560px, 68vh);
  margin: 0;
  gap: 0;
  position: relative;
}
.ax-home .ax-why .why-us-grid.ax-slides > * { grid-area: 1 / 1; }
.ax-home .ax-why .why-us-card {
  width: min(520px, 100%);
  padding: clamp(32px, 3.2vw, 44px);
  background: rgba(16, 20, 27, .72);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
.ax-home .ax-why .why-us-card::before { transform: scaleX(1); background: var(--why-accent); }
.ax-home .ax-why .why-us-card__icon { background: rgba(255, 255, 255, .06); color: #fff; width: 56px; height: 56px; }
.ax-home .ax-why .why-us-card__title { color: #fff; font-size: clamp(1.5rem, 2.1vw, 2rem); letter-spacing: -.03em; }
.ax-home .ax-why .why-us-card__desc { color: var(--ax-muted-on-dark); font-size: clamp(1.0625rem, 1.15vw, 1.1875rem); line-height: 1.65; }
/* Index of the four points — click to jump */
.ax-why-index { grid-area: 2 / 1; list-style: none; margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 2px; align-self: start; }
.ax-why-index button {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: rgba(255, 255, 255, .38);
  font: inherit;
  transition: color .3s var(--ax-ease), transform .3s var(--ax-ease);
}
.ax-why-index button:hover { color: rgba(255, 255, 255, .7); }
.ax-why-index button.is-active { color: #fff; transform: translateX(6px); }
.ax-why-index__n { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; color: inherit; }
.ax-why-index button.is-active .ax-why-index__n { color: var(--why-accent); }
.ax-why-index__t { font-size: clamp(1.125rem, 1.5vw, 1.375rem); font-weight: 600; letter-spacing: -.02em; }
.ax-why-rail { grid-area: 2 / 1; justify-self: start; width: 2px; height: 100%; max-height: 220px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.ax-why-rail span { display: block; width: 100%; height: 100%; background: var(--why-accent); transform-origin: 50% 0; transform: scaleY(0); }
/* The data core behind the active card */
.ax-home .ax-why .ax-core { display: grid; place-items: center; width: 100%; height: 100%; z-index: 0; perspective: 1100px; }
.ax-home .ax-why .ax-cube { width: 230px; height: 230px; translate: 38% -20%; }
.ax-home .ax-why .ax-cube__face {
  border: 1px solid color-mix(in srgb, var(--why-accent) 70%, transparent);
  background:
    linear-gradient(color-mix(in srgb, var(--why-accent) 22%, transparent) 1px, transparent 1px) 0 0 / 23px 23px,
    linear-gradient(90deg, color-mix(in srgb, var(--why-accent) 22%, transparent) 1px, transparent 1px) 0 0 / 23px 23px,
    color-mix(in srgb, var(--why-accent) 8%, transparent);
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--why-accent) 30%, transparent);
  transition: border-color .5s var(--ax-ease), box-shadow .5s var(--ax-ease);
}
.ax-home .ax-why .ax-cube__face:nth-child(1) { transform: translateZ(115px); }
.ax-home .ax-why .ax-cube__face:nth-child(2) { transform: rotateY(180deg) translateZ(115px); }
.ax-home .ax-why .ax-cube__face:nth-child(3) { transform: rotateY(90deg) translateZ(115px); }
.ax-home .ax-why .ax-cube__face:nth-child(4) { transform: rotateY(-90deg) translateZ(115px); }
.ax-home .ax-why .ax-cube__face:nth-child(5) { transform: rotateX(90deg) translateZ(115px); }
.ax-home .ax-why .ax-cube__face:nth-child(6) { transform: rotateX(-90deg) translateZ(115px); }
.ax-home .ax-why .ax-core__rings,
.ax-home .ax-why .ax-core__rings::before,
.ax-home .ax-why .ax-core__rings::after { border-color: rgba(255, 255, 255, .08); }
.ax-home .ax-why .ax-core__rings { width: 520px; height: 520px; margin: -260px 0 0 -260px; }
.ax-home .ax-why .ax-core__rings::before { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
.ax-home .ax-why .ax-core__rings::after { width: 660px; height: 660px; margin: -330px 0 0 -330px; }
.ax-home .ax-why .ax-core__dot { box-shadow: 0 0 12px currentColor; }
.ax-home .ax-why .ax-core__dot:nth-of-type(1) { --r: 190px; color: #a22d75; }
.ax-home .ax-why .ax-core__dot:nth-of-type(2) { --r: 260px; color: #2d9ba2; }
.ax-home .ax-why .ax-core__dot:nth-of-type(3) { --r: 330px; color: #26c6da; }

/* ── Horizontal 3D scrollers (Courses everywhere, Why us below desktop) ── */
.ax-home .courses-section.ax-swipe { --slab-w: min(380px, 78vw); }
.ax-home .courses-section.ax-swipe .course-scroll-track,
.ax-home .why-us-grid.ax-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  gap: clamp(20px, 3vw, 40px);
  margin-inline: calc(50% - 50vw);
  padding: 48px calc(50vw - var(--slab-w) / 2) 56px;
  cursor: grab;
  outline: none;
  position: relative; /* card offsets are measured against the row */
}
.ax-home .courses-section.ax-swipe .course-scroll-track::-webkit-scrollbar,
.ax-home .why-us-grid.ax-row::-webkit-scrollbar { display: none; }
.ax-home .courses-section.ax-swipe .course-scroll-track.is-dragging,
.ax-home .why-us-grid.ax-row.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ax-home .courses-section.ax-swipe .course-scroll-track:focus-visible { box-shadow: inset 0 0 0 2px rgba(38, 198, 218, .5); }

/* Hardcover book: the course card is the front cover; back cover, spine and page block give it depth. */
.ax-home .courses-section.ax-swipe { --t: 30px; }
.ax-home .courses-section .course-scroll-track > .ax-slab {
  position: relative;
  flex: 0 0 var(--slab-w);
  min-width: 0;
  display: flex;
  scroll-snap-align: center;
  transform-style: preserve-3d;
  will-change: transform;
}
.ax-book { --bk: #a22d75; --bk-dark: #5a1541; }
.ax-book--1 { --bk: #2d9ba2; --bk-dark: #174f53; }
.ax-book--2 { --bk: #2d4ea2; --bk-dark: #172a5c; }
.ax-home .courses-section .ax-slab > .course-card {
  flex: 1;
  transform: translateZ(calc(var(--t) / 2));
  transform-origin: 0 50%;
  transition: filter .25s var(--ax-ease), transform .6s var(--ax-ease), box-shadow .3s var(--ax-ease);
  filter: brightness(calc(.55 + var(--ax-fade, 1) * .45)) saturate(calc(.5 + var(--ax-fade, 1) * .5));
  border-radius: 4px var(--radius-lg) var(--radius-lg) 4px;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
  will-change: auto;
}
/* The front book opens a little on hover, showing its first page */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ax-home .courses-section .ax-book.is-front:hover > .course-card { transform: translateZ(calc(var(--t) / 2)) rotateY(-24deg); box-shadow: 30px 20px 50px -10px rgba(0, 0, 0, .55); }
}
.ax-book__back {
  position: absolute;
  inset: 0;
  border-radius: 4px var(--radius-lg) var(--radius-lg) 4px;
  transform: translateZ(calc(var(--t) / -2));
  background: linear-gradient(135deg, var(--bk), var(--bk-dark));
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .8);
}
.ax-book__spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--t);
  transform-origin: 0 50%;
  transform: translateZ(calc(var(--t) / 2)) rotateY(90deg);
  border-radius: 3px;
  background:
    linear-gradient(180deg, transparent 9%, rgba(255, 255, 255, .55) 9%, rgba(255, 255, 255, .55) 9.6%, transparent 9.6%, transparent 13%, rgba(255, 255, 255, .35) 13%, rgba(255, 255, 255, .35) 13.4%, transparent 13.4%, transparent 86.6%, rgba(255, 255, 255, .35) 86.6%, rgba(255, 255, 255, .35) 87%, transparent 87%, transparent 90.4%, rgba(255, 255, 255, .55) 90.4%, rgba(255, 255, 255, .55) 91%, transparent 91%),
    linear-gradient(90deg, var(--bk-dark), var(--bk) 45%, var(--bk-dark));
  backface-visibility: visible;
}
.ax-book__pages {
  position: absolute;
  backface-visibility: visible;
  box-shadow: inset 0 0 6px rgba(120, 100, 70, .35);
}
.ax-book__pages--r {
  top: 5px;
  bottom: 5px;
  right: 3px;
  width: calc(var(--t) - 4px);
  transform-origin: 100% 50%;
  transform: translateZ(calc(var(--t) / 2 - 2px)) rotateY(-90deg);
  background: repeating-linear-gradient(90deg, #fbf7ee 0 1.5px, #e4dac4 1.5px 2.5px);
}
.ax-book__pages--t,
.ax-book__pages--b {
  left: 8px;
  right: 3px;
  height: calc(var(--t) - 4px);
  background: repeating-linear-gradient(0deg, #fbf7ee 0 1.5px, #e4dac4 1.5px 2.5px);
}
.ax-book__pages--t { top: 5px; transform-origin: 50% 0; transform: translateZ(calc(var(--t) / 2 - 2px)) rotateX(-90deg); }
.ax-book__pages--b { bottom: 5px; transform-origin: 50% 100%; transform: translateZ(calc(var(--t) / 2 - 2px)) rotateX(90deg); }
.ax-book__leaf { /* first page, seen when the cover opens */
  position: absolute;
  inset: 5px 3px 5px 6px;
  border-radius: 2px 10px 10px 2px;
  transform: translateZ(calc(var(--t) / 2 - 2px));
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(45, 78, 162, .12) 27px 28px),
    linear-gradient(90deg, #e9e1cf, #fbf7ee 12%, #fbf7ee);
}
.ax-book__hinge { /* cover wraps round the spine, then a crease */
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  width: 18px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bk-dark) 0, var(--bk) 4px, var(--bk-dark) 6px, rgba(0, 0, 0, .22) 7px, rgba(255, 255, 255, .45) 11px, rgba(0, 0, 0, .12) 14px, transparent 18px);
}
.ax-slab__sheen {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, .1) 100%);
  mix-blend-mode: screen;
}
@media (max-width: 640px) { .ax-home .courses-section.ax-swipe { --t: 20px; } }

/* Why us below desktop: the same dark glass, as a swipeable 3D row */
@media (max-width: 1023px) {
  .ax-home .why-choose-us-section.ax-why-swipe {
    --color-text: var(--ax-text-on-dark);
    --color-text-muted: var(--ax-muted-on-dark);
    --slab-w: min(360px, 82vw);
    color: var(--color-text);
    background:
      radial-gradient(60% 40% at 50% 60%, rgba(162, 45, 117, .22), transparent 70%),
      radial-gradient(50% 30% at 80% 20%, rgba(45, 78, 162, .2), transparent 70%),
      var(--ax-ink);
  }
  .ax-home .ax-why-swipe .section-eyebrow { color: var(--ax-accent-on-dark); }
  .ax-home .ax-why-swipe .why-us-grid { margin-top: 0; }
  .ax-home .ax-why-swipe .why-us-card {
    flex: 0 0 var(--slab-w);
    scroll-snap-align: center;
    padding: 28px 24px;
    background: rgba(22, 27, 36, .85);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08);
    will-change: transform;
  }
  .ax-home .ax-why-swipe .why-us-card::before { transform: scaleX(1); }
  .ax-home .ax-why-swipe .why-us-card__icon { background: rgba(255, 255, 255, .07); color: #fff; }
  .ax-home .ax-why-swipe .why-us-card__title { color: #fff; font-size: 1.25rem; }
  .ax-home .ax-why-swipe .why-us-card__desc { color: var(--ax-muted-on-dark); font-size: 1rem; }
}

/* Course reel controls: arrows + a dot per course */
.ax-reel-ui { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: var(--space-6); position: relative; z-index: 2; }
.ax-reel-ui__arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ax-ease), border-color .2s var(--ax-ease), opacity .2s;
}
.ax-reel-ui__arrow:hover:not(:disabled) { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.ax-reel-ui__arrow:disabled { opacity: .3; cursor: default; }
.ax-reel-ui__arrow--next svg { transform: scaleX(-1); }
.ax-reel-ui__dots { display: flex; gap: 4px; }
.ax-reel-ui__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.ax-reel-ui__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .3); transition: width .3s var(--ax-ease), background .3s var(--ax-ease); }
.ax-reel-ui__dots button.is-active::before { width: 24px; background: var(--color-subsecondary); }
.ax-home .courses-section .course-card { cursor: pointer; }

/* ── Testimonials: 3D curve ── */
@media (max-width: 640px) { /* phone list: centred with the page gutter */
  .ax-home .testimonials-section .testimonials-marquee { padding: 8px 16px; }
  .ax-home .testimonials-section .testimonials-marquee__track { padding-inline: 0; align-items: center; }
  .ax-home .testimonials-section .testimonials-marquee .testimonial-card { width: 100%; max-width: 440px; margin-inline: auto; }
}
/* Celebration: confetti canvas, drifting light, sparkling stars */
.ax-home .testimonials-section.ax-celebrate { position: relative; overflow: hidden; isolation: isolate; }
.ax-home .ax-celebrate::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(30% 25% at 15% 30%, rgba(162, 45, 117, .10), transparent 70%),
    radial-gradient(28% 24% at 85% 25%, rgba(38, 198, 218, .12), transparent 70%),
    radial-gradient(35% 30% at 50% 85%, rgba(245, 197, 66, .10), transparent 70%);
}
.ax-confetti { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.ax-home .ax-celebrate .star-rating svg { filter: drop-shadow(0 0 0 rgba(245, 197, 66, 0)); }
@media (prefers-reduced-motion: no-preference) {
  .ax-home .ax-celebrate::before { animation: ax-drift 18s ease-in-out infinite alternate; }
  .ax-home .ax-celebrate .star-rating svg { animation: ax-twinkle 2.8s ease-in-out infinite; }
  .ax-home .ax-celebrate .star-rating svg:nth-child(2) { animation-delay: .2s; }
  .ax-home .ax-celebrate .star-rating svg:nth-child(3) { animation-delay: .4s; }
  .ax-home .ax-celebrate .star-rating svg:nth-child(4) { animation-delay: .6s; }
  .ax-home .ax-celebrate .star-rating svg:nth-child(5) { animation-delay: .8s; }
}
@keyframes ax-drift { to { transform: translate3d(4%, -3%, 0) rotate(6deg); } }
@keyframes ax-twinkle {
  0%, 70%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(245, 197, 66, 0)); }
  80% { transform: scale(1.3) rotate(12deg); filter: drop-shadow(0 0 6px rgba(245, 197, 66, .9)); }
}
.ax-home .testimonials-marquee.ax-curve { padding-block: var(--space-8); }
.ax-home .testimonials-marquee.ax-curve .testimonial-card { will-change: transform; backface-visibility: hidden; }

/* ── Section navigator ── */
.ax-dots {
  position: fixed;
  z-index: calc(var(--z-nav, 100) - 1);
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.ax-dots ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ax-dots a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 28px;
  height: 28px;
  text-decoration: none;
}
.ax-dots a::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: transform .25s var(--ax-ease), background .25s var(--ax-ease);
}
.ax-dots.on-light a::after { background: rgba(16, 20, 27, .28); }
.ax-dots a[aria-current="true"]::after { background: var(--color-subsecondary); transform: scale(1.5); }
.ax-dots.on-light a[aria-current="true"]::after { background: var(--color-primary); }
.ax-dots__label {
  position: absolute;
  right: 34px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 12, 16, .88);
  opacity: 0;
  translate: 6px 0;
  pointer-events: none;
  transition: opacity .2s var(--ax-ease), translate .2s var(--ax-ease);
}
.ax-dots a:hover .ax-dots__label,
.ax-dots a:focus-visible .ax-dots__label { opacity: 1; translate: 0 0; }
.ax-jump { display: none; }
@media (max-width: 1023px) {
  .ax-dots { display: none; }
  .ax-jump {
    display: block;
    position: fixed;
    z-index: calc(var(--z-nav, 100) - 1);
    right: 16px;
    bottom: 16px;
    font-size: 14px;
  }
  .ax-jump summary {
    list-style: none;
    cursor: pointer;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    background: rgba(10, 12, 16, .9);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    backdrop-filter: blur(12px);
  }
  .ax-jump summary::-webkit-details-marker { display: none; }
  .ax-jump summary::before { content: ""; width: 14px; height: 10px; background: linear-gradient(currentColor 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor 0 0) 0 50% / 70% 2px no-repeat, linear-gradient(currentColor 0 0) 0 100% / 100% 2px no-repeat; }
  .ax-jump ol {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: min(78vw, 300px);
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: 18px;
    background: rgba(16, 20, 27, .97);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  }
  .ax-jump a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: #eef0f4; text-decoration: none; }
  .ax-jump a:hover, .ax-jump a:focus-visible { background: rgba(255, 255, 255, .08); }
}

/* ── Stacked sheet transitions (desktop, set by JS) ── */
.ax-stack > section { position: relative; }
/* also matched once GSAP wraps a pinned section in its .pin-spacer */
.ax-stack > .ax-sheet,
.ax-stack > .pin-spacer > .ax-sheet {
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, .28);
}
.ax-stack > .ax-sheet.ax-pinned,
.ax-stack > .pin-spacer > .ax-sheet.ax-pinned { border-radius: 0; } /* full-bleed while it holds */
.ax-dim {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: #05060a;
  opacity: 0;
  pointer-events: none;
}
.ax-stack > section > .container,
.ax-stack > .pin-spacer > section > .container { transform-origin: 50% 30%; }

/* ── Courses: the centred book says "View Course" instead of the arrow ── */
.ax-book .course-card__header-arrow { transition: width .35s var(--ax-ease), padding .35s var(--ax-ease), background .25s, color .25s; white-space: nowrap; overflow: hidden; }
.ax-book .ax-view { display: none; font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.ax-book.is-front .course-card__header-arrow { width: auto; height: 32px; padding: 0 14px; gap: 6px; border-radius: 999px; background: #fff; color: var(--color-secondary); }
.ax-book.is-front .course-card__header-arrow svg { display: none; }
.ax-book.is-front .ax-view { display: inline; }

/* ── Course outcomes: every card reaches its destination ── */
.ax-achieve { z-index: 4; }
.ax-home .course-outcomes-section .sb-card__image { position: relative; }
.ax-dest { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ax-dest__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 3px rgba(38, 198, 218, .9)); }
.ax-dest__pin {
  position: absolute;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .28), rgba(16, 20, 27, .72) 70%);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 12px 28px rgba(16, 20, 27, .35), 0 0 0 4px rgba(245, 197, 66, .22), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.ax-dest__pin svg { width: 38px; height: 38px; overflow: visible; }
.ax-dest__ring { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(245, 197, 66, .85); opacity: 0; }
@media (max-width: 640px) { .ax-dest__pin { width: 48px; height: 48px; margin: -24px 0 0 -24px; } .ax-dest__pin svg { width: 30px; height: 30px; } }

.ax-dest-live .sb-card:not(.is-reached) .ax-dest__draw { stroke-dasharray: 100; stroke-dashoffset: 100; }
.ax-dest-live .sb-card:not(.is-reached) .ax-dest__pin { opacity: 0; transform: scale(0); }
.ax-dest-live .sb-card.is-reached .ax-dest__draw { stroke-dasharray: 100; animation: ax-d-draw 1.3s cubic-bezier(.6, 0, .3, 1) var(--dl, 0s) both; }
.ax-dest-live .sb-card.is-reached .ax-dest__pin { animation: ax-d-pop .6s cubic-bezier(.3, 1.6, .5, 1) calc(var(--dl, 0s) + 1.15s) both; }
.ax-dest-live .sb-card.is-reached .ax-dest__ring { animation: ax-d-ring 1.6s ease-out calc(var(--dl, 0s) + 1.4s) 2 both; }
.ax-dest-live .sb-card.is-reached .ax-dest__ring + .ax-dest__ring { animation-delay: calc(var(--dl, 0s) + 1.75s); }
.ax-dest-live .sb-card.is-reached .e-rise { animation: ax-d-rise .7s cubic-bezier(.3, 1.4, .5, 1) calc(var(--dl, 0s) + 1.35s) both; }
.ax-dest-live .sb-card.is-reached .e-fly { animation: ax-d-fly .45s cubic-bezier(.5, 0, .9, .6) calc(var(--dl, 0s) + 1.3s) both; }
.ax-dest-live .sb-card.is-reached .e-drop { animation: ax-d-drop .8s cubic-bezier(.3, 1.5, .5, 1) calc(var(--dl, 0s) + 1.25s) both; }
.ax-dest-live .sb-card.is-reached .e-spin { transform-box: fill-box; transform-origin: center; animation: ax-d-spin 1s ease-out calc(var(--dl, 0s) + 1.3s) both; }
.ax-dest-live .sb-card.is-reached .e-shine { animation: ax-d-shine 2.4s ease-in-out calc(var(--dl, 0s) + 2s) infinite; }
.ax-dest-live .sb-card.is-reached .e-wave { transform-box: fill-box; transform-origin: 0 50%; animation: ax-d-wave 1.4s ease-in-out calc(var(--dl, 0s) + 1.8s) infinite alternate; }
.ax-dest-live .sb-card.is-reached .ax-dest__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(245, 197, 66, .6); animation: ax-d-ring 3s ease-out calc(var(--dl, 0s) + 4s) infinite; opacity: 0; }
@keyframes ax-d-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes ax-d-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ax-d-ring { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(2.1); } }
@keyframes ax-d-rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ax-d-fly { from { transform: translate(22px, -22px); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes ax-d-drop { from { transform: translateY(-26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ax-d-spin { from { transform: rotateY(0deg) scale(.4); } to { transform: rotateY(720deg) scale(1); } }
@keyframes ax-d-shine { 0%, 70%, 100% { opacity: 0; } 80% { opacity: 1; } }
@keyframes ax-d-wave { from { transform: skewY(0deg) scaleX(1); } to { transform: skewY(-6deg) scaleX(.9); } }


/* ── About: analytics particles, kept faint behind the copy ── */
.ax-home .about-section > .container { position: relative; z-index: 1; }
.ax-field { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.ax-home .about-section .ax-field {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(0, 0, 0, .3) 48%, #000 72%);
          mask-image: linear-gradient(90deg, rgba(0, 0, 0, .3) 0, rgba(0, 0, 0, .3) 48%, #000 72%);
}
@media (max-width: 900px) { .ax-home .about-section .ax-field { -webkit-mask-image: none; mask-image: none; opacity: .45; } }

/* ── Alumni: heading on the right, logos rolling up in columns on the left ── */
.ax-home .alumni-section.ax-alumni-v { overflow: hidden; }
.ax-alumni-v .clients-track {
  height: 340px;
  margin: var(--space-8) auto 0;
  max-width: 640px;
  padding-inline: 16px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.ax-alumni-v .clients-track__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: auto; animation: none; transform: none; align-items: start; }
.ax-lcol { min-width: 0; }
.ax-lcol__track { animation: ax-logos-up 40s linear infinite; will-change: transform; backface-visibility: hidden; } /* own GPU layer: smooth sub-pixel motion */
.ax-alumni-v .clients-track:hover .ax-lcol__track { animation-play-state: paused; }
.ax-alumni-v .ax-lcol .alumni-logo {
  width: 100%;
  height: 86px;
  margin: 0 0 14px;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ax-line-light);
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(16, 20, 27, .03), 0 10px 24px rgba(16, 20, 27, .05);
}
.ax-alumni-v .ax-lcol .alumni-logo img { max-width: 78%; max-height: 46px; }
@keyframes ax-logos-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@media (prefers-reduced-motion: reduce) { .ax-lcol__track { animation: none; } }
@media (min-width: 900px) {
  .ax-home .alumni-section.ax-alumni-v {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 1fr auto 1fr;
    column-gap: clamp(40px, 5vw, 88px);
    padding-inline: max(24px, calc(50vw - 600px));
    align-items: center;
  }
  .ax-alumni-v > .container { grid-column: 2; max-width: none; margin: 0; padding-inline: 0; text-align: left; }
  .ax-alumni-v > .container:first-child { grid-row: 2; }
  .ax-alumni-v > .container:last-child:not(:first-child) { grid-row: 3; align-self: start; margin-top: var(--space-6) !important; }
  .ax-alumni-v .section-header { text-align: left; margin: 0; max-width: 34rem; }
  .ax-alumni-v .section-header .section-subtext { margin-inline: 0; }
  .ax-alumni-v .clients-track { grid-column: 1; grid-row: 1 / 4; height: 520px; max-width: none; width: 100%; margin: 0; padding: 0; }
}

/* ── Stats: rising trend lines, a live pulse and a shimmer; the numbers themselves are unchanged ── */
.ax-stats-live .stat-item { position: relative; padding-bottom: 44px; }
.ax-trend { position: absolute; left: 12%; right: 12%; bottom: 0; height: 36px; pointer-events: none; opacity: .75; }
.ax-trend svg { width: 100%; height: 100%; display: block; }
.ax-live { display: inline-block; width: 9px; height: 9px; margin-left: 8px; vertical-align: super; border-radius: 50%; background: #26c6da; box-shadow: 0 0 0 0 rgba(38, 198, 218, .6); }
@media (prefers-reduced-motion: no-preference) {
  .ax-trend__line { stroke-dasharray: 100; animation: ax-trend 4.5s ease-in-out var(--sk, 0s) infinite; }
  .ax-live { animation: ax-live 1.8s ease-out var(--sk, 0s) infinite; }
  .ax-stats-live .counter { background-image: linear-gradient(100deg, #fff 30%, #8fe3ee 45%, #fff 60%); background-size: 260% 100%; animation: ax-shimmer 5s ease-in-out var(--sk, 0s) infinite; }
}
@keyframes ax-trend { 0% { stroke-dashoffset: 100; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes ax-live { 0% { box-shadow: 0 0 0 0 rgba(38, 198, 218, .6); } 100% { box-shadow: 0 0 0 12px rgba(38, 198, 218, 0); } }
@keyframes ax-shimmer { 0%, 60% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ── Outcomes: slanted lines drifting and crossing behind the cards ── */
.ax-home .ax-projects > .container { position: relative; z-index: 1; }
.ax-streaks { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ax-streaks::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(-62deg, transparent 0 46px, rgba(45, 78, 162, .045) 46px 47px);
  animation: ax-slant 38s linear infinite;
}
.ax-streaks span {
  position: absolute;
  left: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(45, 78, 162, .45), rgba(38, 198, 218, .6), transparent);
  transform: rotate(-14deg) translateX(-120%);
  animation: ax-streak 12s linear infinite;
}
.ax-streaks span.is-cross { background: linear-gradient(90deg, transparent, rgba(162, 45, 117, .4), transparent); animation-name: ax-streak-x; }
@keyframes ax-slant { to { transform: translate(94px, 0); } }
@keyframes ax-streak { from { transform: rotate(-14deg) translateX(-120%); } to { transform: rotate(-14deg) translateX(360%); } }
@keyframes ax-streak-x { from { transform: rotate(12deg) translateX(360%); } to { transform: rotate(12deg) translateX(-120%); } }
@media (prefers-reduced-motion: reduce) { .ax-streaks::before, .ax-streaks span { animation: none; } .ax-streaks span { display: none; } }

/* ── Community: people mesh canvas behind the cards ── */
.ax-field--community { z-index: 0; }
.ax-home .community-section .ax-links { z-index: 0; }

/* ── Why us: expanding panels (no pinning) ── */
.ax-home .why-choose-us-section.ax-why2 {
  --color-text: var(--ax-text-on-dark);
  --color-text-muted: var(--ax-muted-on-dark);
  color: var(--color-text);
  background:
    radial-gradient(50% 50% at 20% 30%, rgba(162, 45, 117, .18), transparent 70%),
    radial-gradient(45% 45% at 85% 70%, rgba(45, 78, 162, .22), transparent 70%),
    var(--ax-ink);
}
.ax-why2 .section-eyebrow { color: var(--ax-accent-on-dark); }
.ax-why2 .section-header h2 { color: #fff; }
.ax-why2 .section-header .section-subtext { color: var(--ax-muted-on-dark); }
.ax-home .ax-why2 .ax-panels > .why-us-card, .ax-home .ax-why2 .why-us-card__icon { text-align: left; margin-inline: 0; }
.ax-home .ax-why2 .why-us-grid.ax-panels { display: flex; gap: 14px; margin-top: var(--space-10); perspective: 1400px; }
.ax-home .ax-why2 .ax-panels > .why-us-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  padding: 28px 24px 32px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 60%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: none;
  opacity: 1;
  outline: none;
  transition: flex-grow .7s var(--ax-ease), background .4s var(--ax-ease), border-color .4s var(--ax-ease), transform .5s var(--ax-ease), box-shadow .5s var(--ax-ease);
}
.ax-home .ax-why2 .ax-panels > .why-us-card:focus-visible { box-shadow: 0 0 0 2px var(--why-accent); }
.ax-home .ax-why2 .why-us-card::before { transform: scaleX(1); background: var(--why-accent); opacity: .35; transition: opacity .4s; }
.ax-home .ax-why2 .why-us-card.is-open::before { opacity: 1; }
.ax-panel__n {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 18px;
}
.ax-home .ax-why2 .why-us-card__icon { background: rgba(255, 255, 255, .07); color: #fff; width: 52px; height: 52px; transition: background .4s, color .4s, transform .5s var(--ax-ease); }
.ax-home .ax-why2 .why-us-card__title { color: #fff; font-size: 1.125rem; letter-spacing: -.015em; margin-top: 18px; transition: font-size .5s var(--ax-ease); }
.ax-home .ax-why2 .why-us-card__desc { color: var(--ax-muted-on-dark); font-size: 1.0625rem; line-height: 1.65; }
.ax-panel__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(60% 60% at var(--gx, 70%) var(--gy, 30%), color-mix(in srgb, var(--why-accent) 45%, transparent), transparent 70%);
  transition: opacity .5s var(--ax-ease);
}
.ax-panel__timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--why-accent); transform: scaleX(0); transform-origin: 0 50%; opacity: 0; }
.ax-home .ax-why2 .why-us-card.is-open {
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03) 65%);
  border-color: color-mix(in srgb, var(--why-accent) 55%, transparent);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.ax-home .ax-why2 .why-us-card.is-open .ax-panel__glow { opacity: 1; }
.ax-home .ax-why2 .why-us-card.is-open .ax-panel__n { color: var(--why-accent); }
.ax-home .ax-why2 .why-us-card.is-open .why-us-card__icon { background: var(--why-accent); color: #fff; }

@media (min-width: 900px) {
  .ax-home .ax-why2 .why-us-grid.ax-panels { height: 440px; }
  .ax-home .ax-why2 .ax-panels > .why-us-card { display: flex; flex-direction: column; align-items: flex-start; }
  .ax-home .ax-why2 .ax-panels > .why-us-card.is-open { flex-grow: 3.2; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(10px); }
  .ax-home .ax-why2 .why-us-card__desc { max-width: 44ch; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .5s var(--ax-ease); margin-top: auto; }
  .ax-home .ax-why2 .why-us-card.is-open .why-us-card__desc { opacity: 1; transform: none; transition-delay: .25s; }
  .ax-home .ax-why2 .why-us-card.is-open .why-us-card__title { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
  .ax-home .ax-why2 .why-us-card:not(.is-open):hover { background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
  .ax-panel__n { font-size: clamp(2.5rem, 4vw, 4rem); font-family: var(--font-primary); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: rgba(255, 255, 255, .12); }
  .ax-home .ax-why2 .why-us-card.is-open .ax-panel__n { color: color-mix(in srgb, var(--why-accent) 70%, #fff); }
  .ax-why2.is-running .why-us-card.is-open .ax-panel__timer { opacity: .9; animation: ax-why-timer 6s linear forwards; }
  .ax-why2:not(.is-running) .why-us-card.is-open .ax-panel__timer { animation: ax-why-timer 6s linear forwards; animation-play-state: paused; opacity: .5; }
}
@keyframes ax-why-timer { to { transform: scaleX(1); } }

/* Below 900px: a stacked accordion */
@media (max-width: 899px) {
  .ax-home .ax-why2 .why-us-grid.ax-panels { flex-direction: column; gap: 10px; margin-top: var(--space-8); }
  .ax-home .ax-why2 .ax-panels > .why-us-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    flex: none;
  }
  .ax-panel__n { margin: 0; grid-column: 3; grid-row: 1; }
  .ax-home .ax-why2 .why-us-card__icon { grid-column: 1; grid-row: 1; width: 44px; height: 44px; margin: 0; }
  .ax-home .ax-why2 .why-us-card__title { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.0625rem; }
  .ax-home .ax-why2 .why-us-card__desc {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 1rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height .5s var(--ax-ease), opacity .35s, margin .5s var(--ax-ease);
  }
  .ax-home .ax-why2 .why-us-card.is-open .why-us-card__desc { max-height: 16em; opacity: 1; margin-top: 14px; }
  .ax-panel__timer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ax-home .ax-why2 .ax-panels > .why-us-card, .ax-home .ax-why2 .why-us-card__desc { transition: none; }
}


/* ── Outcomes: the border traces a lap on hover, then glows ── */
.ax-home .course-outcomes-section .sb-card { position: relative; }
.ax-trace { position: absolute; inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); z-index: 5; pointer-events: none; overflow: visible; }
.ax-trace.is-rev { transform: scaleX(-1); }
.ax-trace rect { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 0 100; stroke-dashoffset: var(--trace-s, 0); }
.ax-trace__comet { stroke-width: 4; filter: drop-shadow(0 0 6px var(--trace-c, #26c6da)); opacity: 0; }
.ax-dest-live .sb-card.is-reached .ax-trace__line { animation: ax-trace-draw 1.5s cubic-bezier(.6, 0, .3, 1) both, ax-trace-glow 2.4s ease-in-out 1.5s infinite alternate; }
.ax-dest-live .sb-card.is-reached .ax-trace__comet { animation: ax-trace-comet 1.5s cubic-bezier(.6, 0, .3, 1) both; }
.ax-dest-live .sb-card.is-reached { box-shadow: 0 0 0 1px transparent, 0 30px 70px -24px color-mix(in srgb, var(--trace-c, #26c6da) 45%, transparent); transition: box-shadow .8s var(--ax-ease) .9s; }
@keyframes ax-trace-draw { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 100 0; } }
@keyframes ax-trace-comet {
  0% { opacity: 1; stroke-dasharray: 6 94; stroke-dashoffset: var(--trace-s, 0); }
  90% { opacity: 1; }
  100% { opacity: 0; stroke-dasharray: 6 94; stroke-dashoffset: calc(var(--trace-s, 0) - 94); }
}
@keyframes ax-trace-glow { from { filter: drop-shadow(0 0 0 transparent); } to { filter: drop-shadow(0 0 6px var(--trace-c, #26c6da)); } }

/* ── Courses: 3D savings badge on the picked book (real coupon figures) ── */
.ax-save {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 8;
  width: 158px;
  pointer-events: none;
  transform: scale(0);
  transform-origin: 0 0;
  opacity: 0;
}
.ax-save__face {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 16px 12px;
  border-radius: 18px;
  text-align: left;
  color: #1c1405;
  background: linear-gradient(135deg, #fff3c4 0%, #f5c542 45%, #e0a82e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(160, 100, 10, .35), 0 24px 44px -12px rgba(0, 0, 0, .6), 0 0 32px rgba(245, 197, 66, .45);
  overflow: hidden;
  transform: translateZ(1px);
}
.ax-save__face::after { /* light sweep */
  content: "";
  position: absolute;
  inset: -30% auto -30% -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent);
  transform: skewX(-18deg);
}
.ax-save__edge { position: absolute; inset: 5px 0 -6px; border-radius: 18px; background: linear-gradient(180deg, #c48a12, #8a5d08); } /* the badge's thickness */
.ax-save__k { white-space: nowrap; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.ax-save__amt { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ax-save__row { display: flex; gap: 8px; align-items: baseline; font-size: .78rem; }
.ax-save__row s { opacity: .6; }
.ax-save__row b { font-weight: 700; }
.ax-save__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ax-save__pct { font-size: .62rem; white-space: nowrap; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 999px; background: #1c1405; color: #f5c542; }
.ax-book.is-front .ax-save { opacity: 1; transform: none; }
.ax-book.is-front .course-card.has-save .course-card__ribbon { opacity: 0; transition: opacity .3s; } /* the badge carries the same % */
@media (prefers-reduced-motion: no-preference) {
  .ax-book.is-front .ax-save { animation: ax-save-in .6s cubic-bezier(.3, 1.4, .5, 1) .2s both; }
  .ax-book.is-front .ax-save__face { animation: ax-save-flash 2.4s ease-in-out 1s infinite; }
  .ax-book.is-front .ax-save__face::after { animation: ax-save-sweep 2.4s ease-in-out 1s infinite; }
}
@keyframes ax-save-flash {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(160, 100, 10, .35), 0 24px 44px -12px rgba(0, 0, 0, .6), 0 0 18px rgba(245, 197, 66, .35); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(160, 100, 10, .35), 0 24px 44px -12px rgba(0, 0, 0, .6), 0 0 46px rgba(245, 197, 66, .9); }
}
@keyframes ax-save-in {
  from { opacity: 0; transform: perspective(500px) rotateX(-70deg) scale(.5); }
  to { opacity: 1; transform: none; }
}
@keyframes ax-save-sweep { 0%, 55% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(520%) skewX(-18deg); } }
@media (max-width: 1023px) { /* phones and tablets: a slim pill on the same corner */
  .ax-save { top: 10px; left: 10px; width: max-content; }
  .ax-save__face { grid-auto-flow: column; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 999px; }
  .ax-save__edge { border-radius: 999px; inset: 3px 0 -4px; }
  .ax-save__top { gap: 6px; }
  .ax-save__amt { font-size: .95rem; }
  .ax-save__amt::before { content: "Save "; font-size: .72rem; font-weight: 700; letter-spacing: 0; }
  .ax-save__k, .ax-save__row { display: none; }
  .ax-save__face { padding: 5px 10px 5px 6px; gap: 7px; }
}

/* Off-screen sections: every CSS animation inside is paused (toggled by JS) */
.ax-home .ax-off, .ax-home .ax-off *, .ax-home .ax-off *::before, .ax-home .ax-off *::after { animation-play-state: paused !important; }

/* ================================================================
   Phones and tablets (< 1024px): light version. No CSS animation except the
   alumni logo columns (the section's layout, GPU-only); courses are a plain slide.
   ================================================================ */
@media (max-width: 1023px) {
  .ax-home *:not(.ax-lcol__track),
  .ax-home *::before,
  .ax-home *::after { animation: none !important; }
  .ax-home .courses-section.ax-lite .course-scroll-track > .ax-slab { transform-style: flat; will-change: auto; }
  .ax-home .courses-section.ax-lite .ax-slab > .course-card { transform: none; filter: none; border-radius: var(--radius-lg); transition: none; }
  .ax-home .ax-lite .ax-save { transform: none; } /* savings badge: static */
  .ax-home .ax-stats-live .ax-trend__line { stroke-dasharray: none; }
}

/* Phones and tablets: testimonials as a plain swipe row showing every featured one */
@media (max-width: 1023px) {
  .ax-home .testimonials-section .testimonials-marquee.ax-tswipe { --tw: min(340px, 84vw); max-height: none; overflow: visible; padding: 0; }
  .ax-home .testimonials-section .testimonials-marquee.ax-tswipe::before,
  .ax-home .testimonials-section .testimonials-marquee.ax-tswipe::after,
  .ax-home .testimonials-section .testimonials-marquee.ax-tswipe .testimonials-marquee__dup { display: none; }
  .ax-home .testimonials-section .testimonials-marquee.ax-tswipe .testimonials-marquee__track {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: auto;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 8px calc(50vw - var(--tw) / 2) 16px;
    transform: none;
    animation: none;
    outline: none;
  }
  .ax-home .testimonials-section .testimonials-marquee.ax-tswipe .testimonials-marquee__track::-webkit-scrollbar { display: none; }
  .ax-home .testimonials-section .testimonials-marquee.ax-tswipe .testimonial-card { flex: 0 0 var(--tw); width: var(--tw); max-width: none; margin: 0; scroll-snap-align: center; }
  .ax-home .testimonials-section .ax-reel-ui { margin-top: var(--space-4); }
  .ax-home .testimonials-section .ax-reel-ui__arrow { color: var(--color-text); background: #fff; border-color: rgba(16, 20, 27, .14); }
  .ax-home .testimonials-section .ax-reel-ui__arrow:hover:not(:disabled) { background: #f3f4f6; border-color: rgba(16, 20, 27, .3); }
  .ax-home .testimonials-section .ax-reel-ui__dots { flex-wrap: wrap; justify-content: center; max-width: 70vw; }
  .ax-home .testimonials-section .ax-reel-ui__dots button::before { background: rgba(16, 20, 27, .2); }
  .ax-home .testimonials-section .ax-reel-ui__dots button.is-active::before { background: var(--color-primary); }
}

/* ================================================================
   LIGHT THEME (2026-09-30) — the whole Academy Home on white.
   Re-points the dark-stage tokens above to light values, then restyles the few rules that
   hard-code light-on-dark colours. Delete this block to get the dark version back.
   Type floor: small labels here are raised to at least 14px (0.875rem).
   ================================================================ */
.ax-home {
  --ax-ink:            #fbfbfd;
  --ax-ink-2:          #ffffff;
  --ax-ink-3:          #f3f4f7;
  --ax-line-dark:      rgba(16, 20, 27, .08);
  --ax-text-on-dark:   #15171c;
  --ax-muted-on-dark:  #585c64;
  --ax-accent-on-dark: var(--color-cat-tools-accent);
  --ax-heading:        #15171c;
  --ax-soft-shadow:    0 1px 2px rgba(16, 20, 27, .04), 0 14px 36px rgba(16, 20, 27, .08);
}

/* Header: the standard light header */
.ax-home .site-header .nav-logo-text { color: var(--color-primary); }
.ax-home .site-header .nav-menu > li > a { color: var(--color-text); }
.ax-home .site-header .nav-menu > li > a:hover,
.ax-home .site-header .nav-menu > li.current-menu-item > a,
.ax-home .site-header .nav-menu > li.current-page-ancestor > a { background: var(--color-primary-10); color: var(--color-primary); }
.ax-home .site-header .nav-toggle__bar { background: var(--color-black); }
.ax-home .site-header.scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 rgba(16, 20, 27, .07), 0 4px 16px rgba(16, 20, 27, .06); }
@media (max-width: 768px) {
  .ax-home .site-header .nav-menu { background: #fff; border-color: var(--color-border); box-shadow: 0 8px 32px rgba(0, 0, 0, .12); }
}
.ax-home :focus-visible { outline-color: var(--color-primary); }

/* Type floor */
.ax-home .section-eyebrow,
.ax-home .hero__eyebrow { font-size: .875rem; letter-spacing: .14em; font-weight: 600; }
.ax-home .stats-section .stat-label { font-size: .875rem; letter-spacing: .12em; }
.ax-frame span { font-size: .875rem; }
.ax-why-index__n { font-size: .875rem; }
.ax-panel__n { font-size: .875rem; }
.ax-dots__label { font-size: .875rem; }
.ax-book .ax-view { font-size: .875rem; }
.ax-save { width: auto; min-width: 158px; }
.ax-save__k { font-size: .875rem; letter-spacing: .1em; }
.ax-save__row { font-size: .875rem; }
.ax-save__pct { font-size: .875rem; }
@media (max-width: 1023px) {
  .ax-save__amt { font-size: 1rem; }
  .ax-save__amt::before { font-size: .875rem; }
}

/* Hero */
.ax-home .hero {
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(38, 198, 218, .14), transparent 70%),
    radial-gradient(45% 45% at 88% 70%, rgba(162, 45, 117, .10), transparent 70%),
    linear-gradient(180deg, #fbfbfd, #fff);
}
.ax-home .hero__title { background: linear-gradient(180deg, var(--ax-heading) 45%, var(--color-support) 150%); -webkit-background-clip: text; background-clip: text; }
.ax-home .hero .btn--secondary { color: var(--ax-heading); border-color: rgba(16, 20, 27, .18); background: #fff; }
.ax-home .hero .btn--secondary:hover { color: var(--color-primary); border-color: var(--color-primary); background: #fff; }
.ax-home .btn--primary { box-shadow: 0 8px 22px rgba(162, 45, 117, .28); }
.ax-gc--panel .ax-gc__face {
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(246, 247, 249, .8) 55%, rgba(38, 198, 218, .10));
  border-color: rgba(16, 20, 27, .10);
  box-shadow: 0 18px 40px -16px rgba(45, 78, 162, .30), inset 0 1px 0 #fff;
}
.ax-gc--panel .ax-gc__layer--back { background: rgba(45, 78, 162, .05); border-color: rgba(45, 78, 162, .18); }
.ax-gc--panel .ax-gc__layer--back:first-child { background: rgba(45, 78, 162, .08); }
.ax-gc__face { filter: drop-shadow(0 8px 18px rgba(45, 78, 162, .22)); }
.ax-gc__layer--back, .ax-gc__layer--back:first-child { filter: none; }
.ax-glint { display: none; }
.ax-scroll-cue { background: linear-gradient(rgba(16, 20, 27, .06), rgba(16, 20, 27, .3)); }
.ax-home .hero__art .hero-art__panel { filter: drop-shadow(0 18px 40px rgba(16, 20, 27, .12)); }

/* Stats */
.ax-home .stats-section { background: linear-gradient(90deg, transparent 0 calc(25% - .5px), var(--ax-line-dark) calc(25% - .5px) calc(25% + .5px), transparent calc(25% + .5px) calc(50% - .5px), var(--ax-line-dark) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px) calc(75% - .5px), var(--ax-line-dark) calc(75% - .5px) calc(75% + .5px), transparent calc(75% + .5px)), radial-gradient(50% 120% at 50% 100%, rgba(38, 198, 218, .10), transparent 70%), #fff; }
@media (max-width: 768px) { .ax-home .stats-section { background: #fff; } }
.ax-home .stats-section .counter,
.ax-home .stats-section .stat-suffix { background-image: linear-gradient(180deg, var(--ax-heading) 40%, var(--color-secondary) 150%); }
@media (prefers-reduced-motion: no-preference) {
  .ax-stats-live .counter { background-image: linear-gradient(100deg, var(--ax-heading) 30%, var(--color-secondary) 45%, var(--ax-heading) 60%); }
}

/* Courses: white cards on a pale stage */
.ax-home .courses-section .course-card { border-color: rgba(16, 20, 27, .10); box-shadow: 0 30px 60px -28px rgba(16, 20, 27, .28); }
@media (hover: hover) and (pointer: fine) {
  .ax-home .courses-section .course-card:hover { box-shadow: 0 40px 80px -30px rgba(16, 20, 27, .32), 0 0 0 1px rgba(45, 155, 162, .4); }
}
.ax-home .courses-section .ax-slab > .course-card { filter: saturate(calc(.6 + var(--ax-fade, 1) * .4)); opacity: calc(.55 + var(--ax-fade, 1) * .45); border-color: rgba(16, 20, 27, .10); box-shadow: inset 0 1px 0 #fff; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ax-home .courses-section .ax-book.is-front:hover > .course-card { box-shadow: 30px 20px 50px -14px rgba(16, 20, 27, .3); }
}
.ax-book__back { box-shadow: 0 50px 80px -34px rgba(16, 20, 27, .35); }
.ax-reel-ui__arrow { color: var(--ax-heading); background: #fff; border-color: rgba(16, 20, 27, .16); }
.ax-reel-ui__arrow:hover:not(:disabled) { background: #f3f4f6; border-color: rgba(16, 20, 27, .32); }
.ax-reel-ui__dots button::before { background: rgba(16, 20, 27, .2); }
.ax-reel-ui__dots button.is-active::before { background: var(--color-primary); }

/* Why us (all three layouts) */
.ax-home .ax-why .why-us-card {
  background: rgba(255, 255, 255, .9);
  border-color: rgba(16, 20, 27, .08);
  box-shadow: 0 40px 90px -40px rgba(16, 20, 27, .30);
}
.ax-home .ax-why .why-us-card__icon,
.ax-home .ax-why-swipe .why-us-card__icon,
.ax-home .ax-why2 .why-us-card__icon { background: rgba(16, 20, 27, .05); color: var(--ax-heading); }
.ax-home .ax-why .why-us-card__title,
.ax-home .ax-why-swipe .why-us-card__title,
.ax-home .ax-why2 .why-us-card__title,
.ax-why2 .section-header h2 { color: var(--ax-heading); }
.ax-why-index button { color: rgba(21, 23, 28, .45); }
.ax-why-index button:hover { color: rgba(21, 23, 28, .75); }
.ax-why-index button.is-active { color: var(--ax-heading); }
.ax-why-rail { background: rgba(16, 20, 27, .1); }
.ax-home .ax-why .ax-core__rings,
.ax-home .ax-why .ax-core__rings::before,
.ax-home .ax-why .ax-core__rings::after { border-color: rgba(16, 20, 27, .08); }
@media (max-width: 1023px) {
  .ax-home .ax-why-swipe .why-us-card { background: #fff; border-color: rgba(16, 20, 27, .08); box-shadow: var(--ax-soft-shadow); }
}
.ax-home .ax-why2 .ax-panels > .why-us-card { background: #fff; border-color: rgba(16, 20, 27, .08); box-shadow: var(--ax-soft-shadow); }
.ax-home .ax-why2 .why-us-card.is-open { background: #fff; box-shadow: 0 40px 80px -36px rgba(16, 20, 27, .32); }
.ax-home .ax-why2 .why-us-card.is-open .why-us-card__icon { color: #fff; }
.ax-panel__n { color: rgba(21, 23, 28, .5); }
@media (min-width: 900px) {
  .ax-home .ax-why2 .why-us-card:not(.is-open):hover { background: #fafbfc; }
  .ax-panel__n { color: rgba(21, 23, 28, .12); }
  .ax-home .ax-why2 .why-us-card.is-open .ax-panel__n { color: var(--why-accent); }
}
@media (max-width: 899px) { .ax-panel__n { font-size: .875rem; } }

/* Community */
.ax-home .community-section .community-card { background: #fff; box-shadow: var(--ax-soft-shadow); }
.ax-home .community-section .community-card:hover { background: #fff; border-color: rgba(45, 155, 162, .5); }
.ax-home .community-section .community-card__name { color: var(--ax-heading); }
.ax-links path { stroke: rgba(45, 155, 162, .35); }

/* CTA: a light closing band with the brand button */
.ax-home .cta-section {
  background:
    radial-gradient(40% 70% at 50% 110%, rgba(162, 45, 117, .12), transparent 70%),
    radial-gradient(35% 60% at 10% 0%, rgba(38, 198, 218, .12), transparent 70%),
    var(--ax-ink);
}
.ax-home .cta-block__content h2 { color: var(--ax-heading); }
.ax-home .cta-section .btn--primary,
.ax-home .cta-section a.btn--primary:link,
.ax-home .cta-section a.btn--primary:visited { background: var(--color-primary); color: #fff; border-color: var(--color-primary); box-shadow: 0 12px 30px rgba(162, 45, 117, .3); }
.ax-home .cta-section .btn--primary:hover,
.ax-home .cta-section a.btn--primary:hover { background: #8c2665; border-color: #8c2665; color: #fff; }

/* Footer: the same charcoal footer as the rest of the site */
.ax-home .site-footer { background: var(--color-black); border-top: 0; }
.ax-home .footer-grid { border-bottom-color: rgba(255, 255, 255, .1); }

/* Page chrome: section dots, jump menu, sheet transitions */
.ax-dots a::after { background: rgba(16, 20, 27, .28); }
.ax-dots a[aria-current="true"]::after { background: var(--color-primary); }
@media (max-width: 1023px) {
  .ax-jump summary { color: var(--ax-heading); background: rgba(255, 255, 255, .95); border-color: rgba(16, 20, 27, .12); box-shadow: 0 10px 30px rgba(16, 20, 27, .15); }
  .ax-jump ol { background: #fff; border-color: rgba(16, 20, 27, .1); box-shadow: 0 20px 50px rgba(16, 20, 27, .18); }
  .ax-jump a { color: var(--ax-heading); }
  .ax-jump a:hover, .ax-jump a:focus-visible { background: #f3f4f7; }
}
.ax-stack > .ax-sheet,
.ax-stack > .pin-spacer > .ax-sheet { box-shadow: 0 -24px 60px rgba(16, 20, 27, .10); }
.ax-dim { background: #f3f4f7; }
@media (max-width: 1023px) {
  .ax-home .courses-section.ax-lite .ax-slab > .course-card { opacity: 1; }
}
