/* V139 — Academy: same interactive language as the Services section
   (cursor-follow red spotlight on the dark panels + an auto-rotating
   active highlight), reusing the --mx/--my spotlight technique from
   dir-services and the auto-rotate/pointerenter pattern from the
   Architecture x Education x Technology panels. Purely additive. */

/* cursor-follow spotlight on the two dark Academy panels (class-recap + student-reviews) */
#academy .class-recap,#academy .student-reviews{position:relative}
#academy .class-recap::before,#academy .student-reviews::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(420px circle at var(--amx,70%) var(--amy,30%),rgba(196,43,53,.22),transparent 65%);
  transition:opacity .4s ease;opacity:0;
}
#academy .class-recap:hover::before,#academy .student-reviews:hover::before{opacity:1}
#academy .class-recap>*,#academy .student-reviews>*{position:relative;z-index:1}

/* auto-rotating active highlight, same idiom as .dir-panel.is-active, applied to every card group */
#academy .academy-v12-card.is-active{outline:2px solid var(--red2,#c42b35);outline-offset:-2px;box-shadow:0 24px 46px rgba(0,0,0,.2);transform:translateY(-6px)}
#academy .academy-v12-card.is-active img{transform:scale(1.045)}

.class-recap-day.is-active{transform:translateY(-6px);box-shadow:0 18px 38px rgba(0,0,0,.45);outline:2px solid #c62431;outline-offset:-1px}
.class-recap-day.is-active .class-recap-media video{transform:scale(1.045)}
.class-recap-day.is-active .class-recap-day-copy span{letter-spacing:.26em}

.student-review-card.is-active{box-shadow:0 20px 42px rgba(0,0,0,.35)}
.student-review-card.is-active::before{color:rgba(196,43,53,.24)}

.student-session.is-active{transform:translateY(-5px);box-shadow:0 20px 45px rgba(0,0,0,.12)}
.student-session.is-active img{transform:scale(1.055)}

@media(prefers-reduced-motion:reduce){
  #academy .class-recap::before,#academy .student-reviews::before{transition:none}
  #academy .academy-v12-card.is-active,#academy .academy-v12-card.is-active img,
  .class-recap-day.is-active,.class-recap-day.is-active .class-recap-media video,
  .student-session.is-active,.student-session.is-active img{transform:none}
}
