/* About the academy: isolated styles; Montserrat and palette inherited from the site. */
#team.academy-section{background:#fff;scroll-margin-top:100px}
#team .academy-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:80px;align-items:center}
#team .academy-copy .eyebrow{font-size:11px;color:var(--blue);letter-spacing:.15em;margin-bottom:18px}
#team .academy-copy h2{font-size:clamp(38px,4vw,62px);line-height:1.05;color:var(--deep)}
#team .academy-title-rule{display:block;width:68px;height:5px;border-radius:3px;background:var(--yellow);margin:25px 0 28px}
#team .academy-copy>p{font-size:15px;line-height:1.9;color:var(--muted);margin:0 0 20px}
#team .academy-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:32px}
#team .academy-values article{position:relative;isolation:isolate;min-width:0;padding-top:20px}
#team .academy-values article::before{content:"01";position:absolute;top:0;left:0;z-index:-1;color:#FFD90C;opacity:.108;font-size:clamp(100px,8vw,144px);font-weight:800;line-height:1;letter-spacing:-.065em;pointer-events:none;user-select:none}
#team .academy-values article:nth-child(2)::before{content:"02"}
#team .academy-values article:nth-child(3)::before{content:"03"}


#team .academy-values h4{font-size:21px;font-weight:800;line-height:1.35;letter-spacing:-.025em;color:var(--deep);margin:0;min-height:2.7em}
#team .academy-values p{font-size:15px;color:var(--muted);line-height:1.75;margin:14px 0 0}
#team .academy-founder{margin:0;min-width:0;max-width:490px;justify-self:end;width:100%}
#team .academy-founder>img{width:100%;aspect-ratio:4/4.7;height:auto;object-fit:cover;object-position:center 20%;border-radius:22px;display:block}
#team .academy-founder figcaption{position:relative;background:rgba(0,60,120,.70);border:1px solid rgba(255,255,255,.22);border-radius:16px;padding:23px 24px;margin:-72px 18px 0 24px;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 8px 28px rgba(2,39,94,.12);backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%)}
#team .academy-founder blockquote{margin:0;padding-left:0;border:0}
#team .academy-founder blockquote p{font-size:14px;font-weight:500;line-height:1.8;color:#fff;margin:0}
#team .academy-founder-name{display:block;text-align:right;font-size:15px;font-weight:800;line-height:1.5;color:#fff;margin:16px 0 3px 0}
#team .academy-founder-role{display:block;text-align:right;font-size:11px;color:#c6d7ef;line-height:1.7;margin-left:0}
#team .academy-team{border-top:0;margin-top:52px;padding-top:33px}
#team .academy-team-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px}
#team .academy-team-heading h3{font-size:clamp(27px,2.4vw,35px);line-height:1.2;color:var(--deep)}
#team .academy-team-heading p{font-size:13px;line-height:1.8;color:var(--muted);margin:9px 0 0}
#team .academy-controls{display:flex;gap:10px;flex:none}
#team .academy-controls button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:white;color:var(--blue);border:1px solid #cbdcf1;border-radius:50%;transition:background .2s,border-color .2s}
#team .academy-controls button:hover:enabled{background:var(--yellow);border-color:var(--yellow)}
#team .academy-controls button:disabled{opacity:.35;cursor:default}
#team .academy-controls svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#team .academy-track{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(160px,15vw,220px);gap:18px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#b5cce8 transparent;padding:2px 0 14px;margin:0;list-style:none;max-width:100%}
#team .academy-person{min-width:0;scroll-snap-align:start}
#team .academy-person img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:top center;border-radius:13px;background:#edf4fc}
#team .academy-person h4{font-size:15px;font-weight:800;line-height:1.45;letter-spacing:-.025em;color:var(--deep);margin:13px 0 5px;overflow-wrap:anywhere}
#team .academy-person p{font-size:11px;line-height:1.7;color:var(--muted);margin:0;overflow-wrap:anywhere}
@media(max-width:1100px){#team .academy-intro{gap:40px;grid-template-columns:1.1fr 1fr}#team .academy-copy>p{font-size:14px}#team .academy-values{gap:14px}#team .academy-founder figcaption{padding:20px;margin-left:16px;margin-right:12px}#team .academy-founder blockquote p{font-size:13px}}
@media(max-width:800px){#team .academy-intro{grid-template-columns:1fr;gap:33px}#team .academy-founder{max-width:500px;justify-self:center}#team .academy-values{gap:22px}#team .academy-copy>p{font-size:14px}#team .academy-team{margin-top:38px}#team .academy-track{grid-auto-columns:180px;gap:15px}}
@media(max-width:480px){#team .academy-copy h2{font-size:40px}#team .academy-title-rule{margin:20px 0 23px}#team .academy-values{grid-template-columns:1fr;gap:18px;margin-top:25px}#team .academy-founder figcaption{margin:-45px 9px 0;padding:20px 17px}#team .academy-founder blockquote{padding-left:0}#team .academy-founder blockquote p{font-size:13px}#team .academy-founder-name,#team .academy-founder-role{margin-left:0}#team .academy-team-heading{align-items:start;gap:15px}#team .academy-team-heading h3{font-size:26px}#team .academy-team-heading p{font-size:12px}#team .academy-controls{gap:6px}#team .academy-controls button{width:36px;height:36px}#team .academy-track{grid-auto-columns:160px;gap:13px}}
@media(prefers-reduced-motion:reduce){#team .academy-track{scroll-behavior:auto}#team .academy-controls button{transition:none}}

/* Static team grid: seven cards followed by six, without carousel scrolling. */
#team .academy-track{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(7,minmax(0,1fr));gap:26px 18px;overflow:visible;scroll-snap-type:none;padding:2px 0 0}
#team .academy-person{scroll-snap-align:none}
@media(max-width:1100px){#team .academy-track{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){#team .academy-track{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){#team .academy-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 13px}}

#team .academy-copy h2{margin-bottom:28px}

#team .academy-copy{align-self:start}

#team .academy-principles-title{font-size:22px;line-height:1.35;color:#02275E;margin:30px 0 18px;letter-spacing:-.025em}
#team .academy-values{margin-top:0}

#team .academy-values h4{color:#02275E}
#team .academy-values p{color:#0B1B33}
#team .academy-values h4,#team .academy-values p{overflow-wrap:anywhere}
@media(max-width:480px){#team .academy-values{margin-top:0}#team .academy-principles-title{font-size:20px}}

/* The introduction is blue; the teachers gallery retains its original surface. */
#team.academy-section{padding-top:0;overflow-x:clip}
#team.academy-section{padding-bottom:47.5px}
@media(max-width:800px){#team.academy-section{padding-bottom:32.5px}}
#team .academy-intro{position:relative;isolation:isolate;padding-top:80px;padding-bottom:64px}
#team .academy-intro::before{content:"";position:absolute;inset:0 -100vw;background:#02275e;z-index:-1;pointer-events:none}
#team .academy-intro .academy-copy h2,#team .academy-intro .academy-principles-title{color:#FFD90C}
#team .academy-intro .academy-values h4{color:#fff}
#team .academy-intro .academy-copy>p,#team .academy-intro .academy-values p{color:#c6d7ef}

@media(max-width:800px){#team .academy-intro{padding-top:48px;padding-bottom:44px}}

@media(max-width:600px){#team .academy-values{grid-template-columns:minmax(0,1fr);gap:32px}#team .academy-values h4{min-height:0}#team .academy-values article::before{font-size:110px}}

#team .academy-intro .academy-copy>p.academy-kazakhstan{color:#FFD90C;font-weight:700}

#team .academy-person p.academy-achievement{margin-top:9px;padding:8px 9px;border-radius:7px;background:rgba(255,217,12,.5);color:#02275e}
