/* Shared visual refinements for all public school pages. */
:root{--shadow:0 16px 44px rgba(13,42,82,.09);--premium-ease:cubic-bezier(.2,.65,.3,1)}
body{background:#fff;-webkit-font-smoothing:antialiased}::selection{background:#f2b93b;color:#071a33}
h1,h2,h3{text-wrap:balance}p{line-height:1.8}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}
.section{padding-block:clamp(56px,6.5vw,96px)}.section.pt-sm{padding-top:48px}.head-row,.head-center{margin-bottom:38px}
.nav{border-bottom:1px solid rgba(13,42,82,.07)}.nav.scrolled{box-shadow:0 8px 28px rgba(13,42,82,.09)}
.page-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#071a33,#173e6d);color:white;padding-block:clamp(62px,7vw,112px);isolation:isolate}
.page-hero::after{content:'';position:absolute;width:440px;height:440px;border:1px solid rgba(242,185,59,.18);border-radius:50%;right:-80px;top:-150px;box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018);z-index:-1}
.page-hero h1{color:#fff;font-size:clamp(2.5rem,5vw,4.3rem);letter-spacing:-.035em}.page-hero p,.page-hero .crumbs{color:#d5e0ef}.page-hero .crumbs a{color:#f2c65b}.page-hero .wrap{position:relative}
.hero-copy h1{letter-spacing:-.04em}.hero-copy p{max-width:650px}.hero-shade{background:linear-gradient(100deg,rgba(4,15,33,.95),rgba(8,28,55,.76),rgba(8,28,55,.35))}
.btn{border-radius:9px;transition:transform .25s var(--premium-ease),box-shadow .25s,background .25s}.btn:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(13,42,82,.16)}.btn:active{transform:translateY(0)}
.media-links>a,.prog,.news-card,.album,.admit-form,.value,.feature{transition:transform .3s var(--premium-ease),box-shadow .3s,border-color .3s}
.media-links>a:hover,.news-card:hover,.album:hover{transform:translateY(-6px);box-shadow:0 24px 52px rgba(13,42,82,.14);border-color:#d5b865}
.media-links>a{position:relative;overflow:hidden}.media-links>a::before{content:'';position:absolute;left:0;top:0;width:100%;height:3px;background:linear-gradient(90deg,#f2b93b,#ffe4a1);transform:scaleX(0);transform-origin:left;transition:transform .35s}.media-links>a:hover::before{transform:scaleX(1)}
.m-item img,.album img,.news-card img{transition:transform .65s var(--premium-ease)}.m-item:hover img,.album:hover img,.news-card:hover img{transform:scale(1.045)}
.admit-form{border:1px solid #dde5ef;border-radius:20px;box-shadow:var(--shadow);padding:clamp(24px,3vw,42px)}.fld input,.fld select,.fld textarea{background:#f8fafc;border-radius:9px;transition:border-color .2s,box-shadow .2s}.fld input:focus,.fld select:focus,.fld textarea:focus{border-color:#b58b2f;box-shadow:0 0 0 4px rgba(242,185,59,.15)}
.empty{padding:64px 24px;border:1px dashed #cad7e7;border-radius:18px;background:#f8fafc}.mosaic{gap:18px}.m-item,.vid{border-radius:14px}
.foot{position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 0,rgba(39,85,136,.3),transparent 55%),#06152b;padding-top:0;border-top:4px solid #e9b740;color:#d2deec}
.footer-invitation{display:flex;align-items:center;justify-content:space-between;gap:40px;padding-block:58px;border-bottom:1px solid rgba(255,255,255,.12)}
.footer-invitation h2{color:#fff;font-size:clamp(2rem,3.5vw,3rem);margin:12px 0}.footer-invitation p{margin:0;color:#bdcde0;max-width:560px}.footer-invitation .eyebrow{color:#f2c65b}.footer-actions{display:flex;flex-wrap:wrap;gap:14px}.footer-actions a{white-space:nowrap}
.foot-in{display:grid;grid-template-columns:1.5fr 1fr .85fr 1.2fr;gap:44px;padding-block:54px}.foot-brand{align-items:flex-start}.foot-brand svg{flex-shrink:0}.foot-brand b{font-size:1.4rem;line-height:1.4}.foot-brand p{font-size:.95rem;max-width:280px;color:#bdcde0}
.foot h4{font-size:.8rem;letter-spacing:.16em;color:#f2c65b;margin-bottom:22px}.foot-in a{color:#c6d4e5;padding-block:5px;line-height:1.5;transition:color .2s,transform .2s;display:block}.foot-in a:hover{color:#fff;transform:translateX(4px)}.foot-in a span[aria-hidden]{color:#e8ba57}
.footer-contact-strip{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;padding-block:24px;border-top:1px solid rgba(255,255,255,.1);font-size:.88rem}.footer-contact-strip a{color:#d0dceb;overflow-wrap:anywhere}.footer-contact-strip i{color:#f2c65b;margin-right:8px}.foot-bottom{padding-block:24px;border-top:1px solid rgba(255,255,255,.1);font-size:.82rem;color:#aabdd4}.totop{border:1px solid rgba(255,255,255,.18);transition:background .2s,transform .2s}.totop:hover{background:#173e6d;transform:translateY(-3px)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.foot-in{grid-template-columns:1.3fr 1fr;gap:36px}.footer-invitation{align-items:flex-start;flex-direction:column;gap:24px}}
@media(max-width:560px){.foot-in{grid-template-columns:1fr 1fr;gap:32px 20px;padding-block:36px}.foot-brand{grid-column:1/-1}.footer-invitation{padding-block:36px}.footer-actions{width:100%;flex-direction:column}.footer-actions .btn{justify-content:center}.foot-in a{font-size:.88rem}.footer-contact-strip{gap:14px 20px}.foot-bottom{gap:20px;align-items:center}.page-hero{padding-block:52px}.section{padding-block:52px}}
@media(prefers-reduced-motion:no-preference){.page-hero::after{animation:premium-orbit 18s ease-in-out infinite alternate}.footer-invitation .eyebrow::before{animation:premium-line 4s ease-in-out infinite alternate}@keyframes premium-orbit{to{transform:translate(-30px,30px)}}@keyframes premium-line{to{width:48px}}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.reveal{opacity:1!important;transform:none!important}}
/* School profile homepage */
.school-profile{background:#f6f8fb;padding-bottom:64px}.profile-cover{height:230px;background-color:#112e53;background-image:radial-gradient(ellipse at 80% 20%,#315b83,transparent 60%),linear-gradient(120deg,#08192e,#17375d);background-size:cover;background-position:center}.profile-cover .wrap{height:100%;display:flex;align-items:center}.profile-cover-label{color:#fff;font-size:.85rem;letter-spacing:.14em;text-transform:uppercase}.profile-identity{position:relative;display:flex;align-items:center;gap:24px;padding:28px 0}.profile-emblem{width:110px;height:110px;flex-shrink:0;display:grid;place-items:center;background:#102f54;color:#f4bf43;border:6px solid #f6f8fb;border-radius:26px;font-size:2.4rem;margin-top:-70px;box-shadow:0 12px 35px #102f5420}.profile-name{flex:1}.profile-name h1{font-size:clamp(1.7rem,3.5vw,2.8rem);line-height:1.12;margin:8px 0}.profile-name p{color:#5b6d83;margin:0}.profile-tabs{display:flex;gap:28px;flex-wrap:wrap;border-top:1px solid #dde4ed;border-bottom:1px solid #dde4ed;padding:18px 0}.profile-tabs a{font-weight:600;color:#17375d}.profile-tabs a:hover{color:#967019}.profile-tabs span{background:#e5ecf4;border-radius:20px;padding:3px 8px;font-size:.75rem}.profile-feature{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:center;padding:44px 0 0;scroll-margin-top:110px}.profile-editorial h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.08;margin:16px 0}.profile-editorial p{color:#5b6d83;max-width:420px}.profile-text-link{display:block;margin-top:18px;font-weight:600;color:#17375d}.profile-screen{background:#0c2443;border-radius:20px;overflow:hidden;box-shadow:0 20px 50px #102f5426}.profile-screen .vid{display:block;width:100%;aspect-ratio:16/9;margin:0;border-radius:20px}.profile-screen .vid video,.profile-screen .vid img{width:100%;height:100%;object-fit:cover}.profile-video-empty{aspect-ratio:16/9;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px;color:#fff}.profile-video-empty>i{font-size:2.5rem;color:#f4bf43;margin-bottom:16px}.profile-video-empty h3{color:#fff}.profile-video-empty p{color:#c0cddd}.profile-video-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.profile-video-row .vid{width:100%;aspect-ratio:16/9}
@media(max-width:760px){.profile-cover{height:170px}.profile-identity{flex-wrap:wrap;gap:16px}.profile-emblem{width:76px;height:76px;font-size:1.7rem;margin-top:-54px;border-radius:20px}.profile-name{min-width:200px}.profile-identity>.btn{margin-left:92px}.profile-tabs{gap:16px;font-size:.88rem}.profile-feature{grid-template-columns:1fr;gap:24px;padding-top:30px}.profile-editorial h2 br{display:none}.profile-video-row{grid-template-columns:1fr}.profile-cover-label{font-size:.7rem}.profile-video-empty{aspect-ratio:auto;min-height:280px}}
.school-profile .profile-cover{height:120px}.school-profile .profile-identity{padding:18px 0}.school-profile .profile-name h1{margin:6px 0}.school-profile .profile-tabs{padding:14px 0}.school-profile .profile-feature{padding-top:28px}
@media(max-width:760px){.school-profile .profile-cover{height:110px}}
/* Classic editorial finish, shared by every public page. */
:root{--ink:#132b3e;--body:#465b6c;--muted:#667785;--line:#e1e5e5;--bg-alt:#f4f5f2;--gold:#d8b66b;--gold-deep:#aa8136;--gold-soft:#f7f0df;--shadow:0 18px 48px rgba(18,43,63,.08)}
body{background:#fdfcf9}h1,h2{letter-spacing:-.025em}h2{font-weight:600}p{line-height:1.85}.eyebrow{font-size:.7rem;letter-spacing:.19em;color:#956d28}.section.alt{background:#f4f5f2}.section:not(.dark){border-top:1px solid rgba(18,43,63,.04)}
.topbar{background:#10283e}.nav{background:rgba(253,252,249,.97)}.brand strong{font-weight:600}.brand small{letter-spacing:.22em}.menu-list>li>a{font-weight:600}.sub{border-top:3px solid #c4a15d;box-shadow:0 18px 50px #132b3e20}.btn{border-radius:5px;padding:13px 22px;font-size:.85rem;letter-spacing:.015em}.btn-navy{background:#15354f;box-shadow:0 7px 18px #15354f18}.btn-gold{background:linear-gradient(135deg,#ead4a0,#d4b066);box-shadow:0 7px 18px #aa813626}.btn-line-dark{border-color:#bcc9d0}.btn:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #a98132;outline-offset:4px}.btn:hover{transform:translateY(-2px)}
.page-hero{background:linear-gradient(115deg,#0d253a,#1f435b);border-bottom:5px solid #d4b066}.page-hero h1{font-weight:500;max-width:850px}.page-hero p{font-size:1rem}.page-hero::after{border-color:#d4b06640}.crumbs{font-size:.78rem;letter-spacing:.035em}.head-row h2,.head-center h2{max-width:800px}.news-card,.album,.prog,.level,.value,.feature,.contact-list li{border-radius:9px;border-color:#e0e5e5;box-shadow:0 6px 24px #132b3e05}.news-card:hover,.album:hover,.prog:hover{box-shadow:0 16px 36px #132b3e12}.album-body h3,.news-card h3{font-family:var(--serif);font-size:1.35rem;font-weight:600;line-height:1.35}.album-body{padding:24px}.prog{padding:30px}.prog h3{font-weight:500}.prog .icon{background:#f7f0df}.admit-form{border-radius:10px;background:#fff;box-shadow:0 18px 55px #132b3e09}.fld input,.fld select,.fld textarea{border-radius:5px;background:#fafbf9}.events{border-radius:9px;border-top:3px solid #c4a15d}.empty{background:#f5f6f3;border-radius:9px}.map{border-radius:10px}.fact b{color:#e5c788}.m-item,.vid{border-radius:9px}.play{background:#e3c589!important;color:#132b3e!important;border:1px solid #f6e7c5}
.school-profile{background:#f5f5f0;padding-bottom:60px}.school-profile .profile-cover{position:relative;height:106px;background-color:#102b41;background-image:radial-gradient(ellipse at 85% 5%,#395e72,transparent 65%),linear-gradient(120deg,#102b41,#183c54);overflow:hidden}.profile-cover::after{content:'';position:absolute;right:8%;top:-135px;width:350px;height:350px;border:1px solid #d8b66b33;border-radius:50%;box-shadow:0 0 0 36px #ffffff03,0 0 0 72px #ffffff03;pointer-events:none}.profile-cover-label{font-size:.7rem;letter-spacing:.18em;position:relative;z-index:1;color:#efe2c7}.school-profile .profile-identity{gap:22px;padding:20px 0}.profile-emblem{width:90px;height:100px;border-radius:8px;border:5px solid #f5f5f0;background:#112b42;box-shadow:0 10px 28px #132b3e18;margin-top:-38px}.profile-name h1{font-family:var(--serif);font-weight:500;font-size:clamp(1.9rem,3.2vw,2.85rem);letter-spacing:-.035em}.profile-name .eyebrow{font-size:.65rem}.profile-name p{font-size:.87rem}.profile-tabs{gap:32px;border-color:#dbe0dd}.profile-tabs a{text-decoration:none;font-size:.82rem;font-weight:600;position:relative;padding:3px 0;color:#536674}.profile-tabs a:hover,.profile-tabs .profile-tab-featured{color:#17374e}.profile-tabs .profile-tab-featured::after{content:'';height:2px;background:#aa8136;position:absolute;left:0;right:0;bottom:-15px}.profile-tabs i{margin-right:6px}.profile-tabs span{background:#e9ece7;color:#526874}.school-profile .profile-feature{grid-template-columns:.85fr 1.15fr;gap:54px;padding-top:32px}.profile-editorial h2{font-size:clamp(2.1rem,3.8vw,3.4rem);font-weight:500;line-height:1.12}.profile-editorial p{font-size:.92rem;max-width:390px}.profile-text-link{text-decoration:none;font-size:.83rem}.profile-film{min-width:0}.profile-film-heading,.profile-film-caption{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:.7rem;color:#667785;padding:0 0 12px}.profile-film-heading>span:first-child{color:#8e6c30;letter-spacing:.12em;text-transform:uppercase}.profile-film-heading i{margin-right:6px}.profile-screen,.profile-screen .vid{border-radius:9px}.profile-screen{border:1px solid #d0b47766;background:#102c43;box-shadow:0 20px 45px #132b3e18}.profile-film-caption{padding:14px 0 0;border-bottom:1px solid #dbe0dd;padding-bottom:13px;font-size:.75rem}.profile-film-caption>span{overflow-wrap:anywhere}.profile-film-caption a{white-space:nowrap;text-decoration:none;font-weight:600;color:#17374e}.profile-video-empty{background:radial-gradient(ellipse at 80% 5%,#34566a55,transparent 70%),linear-gradient(135deg,#112e45,#0b2033);min-height:240px}.profile-video-empty>i{font-size:2rem;color:#d8b66b}.profile-video-empty h3{font-family:var(--serif);font-size:1.65rem;font-weight:500}.profile-video-empty p{font-size:.82rem;margin-top:10px}.profile-video-empty .btn{font-size:.78rem;padding:10px 18px}.profile-photo-journal{padding-top:52px;margin-top:36px;border-top:1px solid #dbe0dd}.profile-photo-journal h2{font-size:2rem}.profile-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.profile-photo-grid .m-item{aspect-ratio:4/3;width:100%;height:auto}.profile-photo-grid img{width:100%;height:100%;object-fit:cover}.profile-photo-journal .head-row{margin-bottom:24px}
.foot{background:radial-gradient(ellipse at 100% 0,#28455744,transparent 55%),#0b2033;border-top-color:#d4b066}.footer-invitation h2{font-weight:500}.foot h4{color:#e3c589;font-size:.7rem;letter-spacing:.18em}.foot-brand b{font-weight:500}.foot-in a{font-size:.87rem}.footer-invitation .eyebrow{color:#e3c589}.footer-contact-strip i{color:#e3c589}
@media(max-width:1080px){.nav{background:#fdfcf9}.menu{background:#fdfcf9}.school-profile .profile-feature{gap:30px}}
@media(max-width:760px){.school-profile .profile-cover{height:98px}.school-profile .profile-identity{gap:14px}.profile-emblem{width:68px;height:78px;margin-top:-30px}.profile-emblem svg{width:45px;height:54px}.profile-name{min-width:0;flex-basis:calc(100% - 82px)}.profile-name h1{font-size:1.8rem}.profile-identity>.btn{margin-left:82px}.profile-tabs{gap:14px 22px}.profile-tabs a{font-size:.78rem}.profile-tabs .profile-tab-featured::after{bottom:-8px}.school-profile .profile-feature{grid-template-columns:1fr;gap:24px}.profile-editorial h2{font-size:2.35rem}.profile-editorial p{max-width:none}.profile-photo-grid{grid-template-columns:repeat(2,1fr);gap:12px}.profile-film-heading{font-size:.65rem}.profile-photo-journal .head-row{align-items:flex-start;gap:14px}.profile-photo-journal h2{font-size:1.8rem}.profile-video-row{gap:14px}.page-hero h1{font-size:2.6rem}.page-hero{padding-block:48px}.section{padding-block:48px}}
@media(prefers-reduced-motion:reduce){.btn:hover,.album:hover,.news-card:hover,.m-item:hover img{transform:none}}
@media(max-width:760px){.profile-film{order:-1}}
/* About: school location immediately before the footer. */
.school-location{background:#f4f5f0;border-top:1px solid #dce2df}.location-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center}.location-copy h2{font-size:clamp(2rem,3.5vw,3rem);font-weight:500;margin-top:14px}.location-copy>p{font-size:.94rem;max-width:430px}.location-details{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:24px 0}.location-details>div{padding:14px 0;border-top:1px solid #d8dfdb}.location-details dt{color:#6a7b83;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase}.location-details dd{margin:5px 0 0;color:#17374e;font-weight:600;font-size:.95rem}.location-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px}.location-actions .profile-text-link{margin:0}.location-copy .location-note{font-size:.77rem;color:#667785;margin-top:22px}.location-map-card{min-width:0;background:#fff;border:1px solid #dbe1de;border-radius:10px;overflow:hidden;box-shadow:0 16px 45px #132b3e0d}.location-map-label,.location-map-caption{display:flex;align-items:center;gap:12px;padding:17px 22px;font-size:.77rem;color:#536674}.location-map-label i{color:#a98132}.location-map-card iframe{display:block;width:100%;height:420px;border:0;background:#e6ebe5}.location-map-caption{justify-content:space-between;border-top:1px solid #dbe1de}.location-map-caption a{text-decoration:none;font-weight:600}
@media(max-width:760px){.location-layout{grid-template-columns:1fr;gap:28px}.location-map-card iframe{height:320px}.location-map-label,.location-map-caption{padding:16px;font-size:.72rem}.location-copy h2 br{display:none}.location-copy>p{max-width:none}.school-location{scroll-margin-top:80px}}
/* Academic pathways and consistent section finishing. */
.academic-nav{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:0 0 36px}.academic-nav a{display:inline-flex;align-items:center;gap:20px;text-decoration:none;border:1px solid #d5dedc;background:#fff;padding:12px 18px;border-radius:5px;color:#17374e;font-size:.8rem;font-weight:600}.academic-nav a:hover{border-color:#aa8136;background:#f7f0df}.academic-pathways{align-items:start}.academic-pathways .level{position:relative;padding:32px;border-top:3px solid #c7a762;border-radius:10px;background:#fff}.academic-pathways .level-a{background:linear-gradient(145deg,#fdfcf9,#edf2ef)}.pathway-icon{height:48px;width:48px;display:grid;place-items:center;background:#f7f0df;border:1px solid #eadbb9;border-radius:8px;color:#9c762d;margin-bottom:22px;font-size:1.2rem}.academic-pathways h3{font-weight:500;font-size:1.9rem;max-width:460px}.academic-pathways .subj{gap:0 20px}.academic-pathways .subj li{font-size:.88rem;padding-block:12px;overflow-wrap:anywhere}.academic-pathways .lv-note{font-size:.86rem;color:#667785}.academic-pathways .cb-code{border-radius:7px;background:#17374e;font-size:2rem}.academic-pathways .combo-row{padding-block:20px}.academic-pathways .subj.sm li{background:#fff;border-color:#dce2dd;border-radius:4px}.pathway-action{margin-top:26px;border-top:1px solid #dbe1de;padding-top:20px;display:flex;flex-direction:column;gap:12px}.pathway-action>span{font-size:.77rem;color:#667785}.academic-assessment{padding-top:64px;margin-bottom:28px;scroll-margin-top:110px}.academic-assessment h2{font-size:2.2rem;margin-top:12px}#olevel,#alevel{scroll-margin-top:110px}.features .feature{padding:28px}.features .feature p{font-size:.88rem}.head-center>p{max-width:750px;margin-inline:auto}.contact-list li{padding:22px}.band-in{border-radius:10px}.split{gap:clamp(28px,5vw,64px)}
@media(max-width:760px){.academic-nav{justify-content:flex-start;margin-bottom:24px}.academic-nav a{font-size:.73rem;padding:10px 12px;gap:10px}.academic-pathways .level{padding:24px}.academic-pathways h3{font-size:1.65rem}.academic-pathways .subj{grid-template-columns:1fr}.academic-assessment{padding-top:40px}.academic-assessment h2{font-size:1.9rem}.academic-pathways .combo-row{align-items:flex-start;flex-wrap:wrap}}
