/* Elite: keep the existing palette, page composition and school content.
   The body marker is absent on all academic/campus routes. */
.maja-feedback-modal[hidden],.maja-pdf-modal[hidden],.maja-profile-modal[hidden]{display:none!important}
/* Flat block markup must not auto-place its eyebrow and heading in different columns. */
body.maja-elite-refine :is(.maja-about-v2,.about-family-page) .af-section-head{
 display:block;width:100%;max-width:none;min-height:0;margin:0 0 clamp(28px,3vw,40px);
}
body.maja-elite-refine :is(.maja-about-v2,.about-family-page) .af-section-head--wide{text-align:left;margin-inline:0}
body.maja-elite-refine .ps-page:not(.ps-family--academics) .ps-section-head{max-width:none;min-width:0;margin-bottom:clamp(28px,3vw,40px)}
body.maja-elite-refine .section:not(:is(.academics,.campuses,#academics,#campuses)) .section-head{display:block;max-width:none;margin-bottom:clamp(28px,3vw,40px)}
body.maja-elite-refine .section:not(:is(.academics,.campuses,#academics,#campuses)) .section-head>div{max-width:none;min-width:0}
body.maja-elite-refine :is(.maja-about-v2,.about-family-page) .af-section-head>div{max-width:none;min-width:0}
body.maja-elite-refine :is(.maja-about-v2,.about-family-page) .af-section-head h2,
body.maja-elite-refine .ps-page:not(.ps-family--academics) .ps-section-head h2,
body.maja-elite-refine .section:not(:is(.academics,.campuses,#academics,#campuses)) .section-head h2{
 max-width:none;margin:0;text-wrap:wrap;letter-spacing:-.025em;
 /* Match the old master rule's importance, scoped away from protected pages. */
 font-size:clamp(1.85rem,3vw,3rem)!important;line-height:1.16!important;
}
body.maja-elite-refine :is(.af-section-head,.ps-page:not(.ps-family--academics) .ps-section-head)>.eyebrow{margin:0 0 12px}
body.maja-elite-refine :is(.af-section-head,.ps-page:not(.ps-family--academics) .ps-section-head)>p{max-width:76ch;margin:16px 0 0}
body.maja-elite-refine .section:not(:is(.academics,.campuses,#academics,#campuses)) .section-head>p{max-width:76ch;margin:16px 0 0}
body.maja-elite-refine .section:not(:is(.academics,.campuses,#academics,#campuses)) .section-head>:is(.btn,.text-link){margin-top:18px}
/* Values and people keep their existing grids; reduce ornamental spacing. */
body.maja-elite-refine .maja-about-v2 :is(.af-purpose-card,.af-identity-grid>article) .af-card-icon{margin-bottom:28px}
body.maja-elite-refine .maja-about-v2 .af-values-grid>article{min-height:0}
body.maja-elite-refine .maja-about-v2 .af-values-grid>article:before{height:2px;margin-bottom:18px}
body.maja-elite-refine .maja-about-v2 .af-principle-grid h3{margin-top:12px}
body.maja-elite-refine .maja-about-v2 .af-people-list .v6-teacher-card{border-radius:10px;box-shadow:none}
/* Content stays readable before scripts load. Academic/campus sections keep Elite's rules. */
body.maja-elite-refine :is(.maja-about-v2,.about-family-page,.ps-page:not(.ps-family--academics),.section:not(:is(.academics,.campuses,#academics,#campuses))) .reveal{opacity:1;transform:none}
/* One-shot movement only: no hidden content, no scroll handlers, no parallax. */
.elite-enter{animation:majaEliteEnter .42s ease-out both;animation-delay:var(--elite-delay,0ms)}
@keyframes majaEliteEnter{from{translate:0 12px}to{translate:0 0}}
@media(hover:hover) and (pointer:fine){
 body.maja-elite-refine .elite-hover{transition:translate .2s ease,box-shadow .2s ease}
 body.maja-elite-refine .elite-hover:hover{translate:0 -3px}
 body.maja-elite-refine .elite-photo img{transition:scale .35s ease}
 body.maja-elite-refine .elite-photo:hover img{scale:1.018}
}
body.maja-elite-refine :is(.af-section-head,.ps-section-head,.section-head) a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(prefers-reduced-motion:reduce){
 .elite-enter{animation:none}.elite-hover,.elite-photo img{transition:none!important}
 .elite-hover:hover,.elite-photo:hover img{translate:none!important;scale:none!important}
}
