:root{--maroon:#711c35;--wine:#53162c;--navy:#14243c;--cream:#f7f2eb;--ink:#1c2635;--gold:#f4bd54;--muted:#6c7280}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'DM Sans',sans-serif;background:#fff}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:Outfit,sans-serif;letter-spacing:-.055em}h2{font-size:clamp(3rem,5.5vw,6.2rem);line-height:1.04;font-weight:750}h2 em,h1 em{font-style:normal;color:var(--maroon)}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;width:100%;height:100%;object-fit:cover}#header{position:absolute;top:0;left:0;width:100%;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:26px clamp(20px,4.5vw,82px);color:#fff}#header.scrolled{position:fixed;background:rgba(20,36,60,.96);backdrop-filter:blur(16px);padding-top:13px;padding-bottom:13px;box-shadow:0 3px 30px #0002}.brand{display:flex;align-items:center;gap:12px;font-family:Outfit;font-size:19px;line-height:1;font-weight:850;letter-spacing:.025em}.brand small{display:block;font-size:9px;letter-spacing:.33em;margin-top:7px}.crest{display:grid;place-items:center;width:48px;height:56px;border:2px solid currentColor;border-radius:12px 12px 20px 20px;font-weight:900;letter-spacing:-.1em;font-size:19px}nav{display:flex;gap:28px;align-items:center;font-size:12px;font-weight:700}nav a:hover{color:var(--gold)}nav .navcta{padding:14px 18px;background:var(--maroon);border-radius:5px;color:#fff}nav .navcta span{margin-left:16px}#menu{display:none;border:0;background:none;color:#fff;font-size:26px}.hero{min-height:860px;height:min(100vh,1050px);position:relative;display:flex;align-items:center;color:#fff;overflow:hidden}.hero-photo,.hero-overlay,.sport-background,.sport-shade,.admissions-overlay{position:absolute;inset:0}.hero-photo{background:url('https://static.wixstatic.com/media/894e1a_d0ed463a553c4e7881911eb1033b1f99~mv2.png') center center/cover}.hero-overlay{background:linear-gradient(90deg,rgba(14,30,50,.91) 0%,rgba(18,30,47,.7) 40%,rgba(16,26,42,.12) 100%),linear-gradient(0deg,rgba(9,23,40,.65),transparent 45%)}.hero-inner{position:relative;z-index:2;margin:90px 8vw 0;max-width:820px}.eyebrow{font-size:11px;letter-spacing:.19em;font-weight:850;color:var(--maroon);display:inline-flex;gap:12px;align-items:center}.eyebrow.light{color:#fff}.eyebrow i{width:7px;height:7px;background:var(--gold);border-radius:50%}.hero h1{font-size:clamp(6rem,11vw,11.5rem);line-height:.82;font-weight:850;margin:35px 0}.hero h1 em{color:#fff;font-weight:450;font-style:italic}.gold{color:var(--gold)}.hero p{font-size:18px;max-width:465px;line-height:1.75;color:#e5e8eb}.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:28px}.btn{display:inline-flex;align-items:center;gap:36px;padding:19px 26px;border-radius:4px;font-weight:800;font-size:13px;transition:.3s}.btn:hover{transform:translateY(-4px)}.btn.bright{background:var(--gold);color:#17263a}.ghost{font-size:13px;font-weight:800;border-bottom:1px solid #fff8;padding-bottom:6px}.ghost span{margin-left:12px}.hero-counter{position:absolute;right:7vw;bottom:60px;z-index:3;text-align:right;display:flex;flex-direction:column}.hero-counter strong{font-family:Outfit;font-size:60px;line-height:1}.hero-counter span{font-size:10px;letter-spacing:.2em}.hero-vertical{position:absolute;left:25px;bottom:60px;z-index:3;writing-mode:vertical-rl;transform:rotate(180deg);font-size:9px;letter-spacing:.18em}.ticker{background:var(--maroon);color:#fff;display:flex;gap:45px;justify-content:space-around;align-items:center;padding:21px;overflow:hidden;white-space:nowrap;font-size:11px;font-weight:850;letter-spacing:.14em}.ticker b{color:var(--gold)}.section{padding:125px clamp(22px,7vw,130px)}.intro{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:center}.intro-copy h2{margin:20px 0 36px}.lead{font-size:21px;font-weight:700;line-height:1.55}.intro-copy>p:not(.lead),.split p,.campus-copy p{font-size:15px;line-height:1.95;color:#636a73;max-width:580px}.textlink{display:inline-block;color:var(--maroon);font-size:13px;font-weight:850;padding:8px 0;border-bottom:2px solid var(--maroon);margin-top:20px}.intro-visual{height:610px;position:relative;border-radius:8px;overflow:hidden}.photo-caption{position:absolute;bottom:0;left:0;right:0;background:#14243cde;color:#fff;padding:25px;display:flex;justify-content:space-between;align-items:end;font-family:Outfit;font-weight:750;font-size:22px;line-height:1.1}.photo-caption b{font:700 9px 'DM Sans';letter-spacing:.1em;color:var(--gold)}.experience{background:var(--navy);color:#fff}.experience-inner{padding-bottom:115px}.section-heading{max-width:780px;margin-bottom:58px}.section-heading h2{margin:25px 0}.section-heading h2 em,.experience h2 em,.sport-content h2 em,.admission-inner h2 em{color:var(--gold)}.section-heading p{max-width:580px;color:#bbc4d0;line-height:1.8;font-size:16px}.feature-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px}.feature{position:relative;height:490px;overflow:hidden;border-radius:5px}.feature img{transition:transform .8s;filter:brightness(.8)}.feature:hover img,.gallery-grid figure:hover img{transform:scale(1.06)}.feature:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0d1a2de8,transparent 70%)}.feature>div{position:absolute;z-index:2;bottom:0;padding:28px}.feature span{color:var(--gold);font-size:10px;letter-spacing:.15em;font-weight:800}.feature h3{font-size:32px;margin:14px 0}.feature p{line-height:1.7;font-size:13px;color:#e1e3e8}.feature b{font-size:12px}.academics{background:var(--cream)}.split{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}.split h2{margin:24px 0}.pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:30px}.pills span{font-weight:800;font-size:10px;letter-spacing:.05em;padding:11px 15px;border:1px solid #c9bbb1;border-radius:30px}.mosaic{height:585px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:12px}.mosaic img{border-radius:5px}.mosaic img:first-child{grid-row:span 2}.sport-block{min-height:760px;position:relative;color:#fff;display:flex;align-items:center}.sport-background{background:url('https://static.wixstatic.com/media/894e1a_e345db3551c845c9b9f87da650dbfae4~mv2.jpg') center/cover}.sport-shade{background:linear-gradient(90deg,#17233aea 0%,#17233ac7 47%,#17233a22 100%)}.sport-content{position:relative;z-index:2;width:100%}.sport-content h2{margin:25px 0}.sport-content p{max-width:510px;line-height:1.9;color:#e6e9ec}.sport-thumbs{display:flex;gap:12px;margin-top:45px}.sport-thumbs img{width:100px;height:85px;border:2px solid #ffffff9c;border-radius:4px}.life{background:#fff}.section-heading.dark p{color:var(--muted)}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gallery-grid figure{margin:0;height:330px;position:relative;overflow:hidden;border-radius:4px}.gallery-grid img{transition:transform .8s}.gallery-grid figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#14243ce8);padding:55px 18px 20px;color:#fff;letter-spacing:.13em;font-weight:800;font-size:10px}.campus{display:grid;grid-template-columns:1fr 1fr;background:#f2e9dd;min-height:630px}.campus-img{min-height:600px}.campus-copy{padding:100px 8vw 65px 8vw;align-self:center}.campus-copy h2{margin:25px 0}.campus-stats{display:flex;gap:50px;margin:32px 0;border-top:1px solid #cabfb2;padding-top:28px}.campus-stats div{display:flex;flex-direction:column}.campus-stats strong{font-family:Outfit;font-size:55px;color:var(--maroon)}.campus-stats span{font-size:10px;font-weight:800;letter-spacing:.1em}.smallnote{font-size:12px!important}.news-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:45px}.news-head h2{margin:20px 0 0}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.news-card{border-radius:5px;overflow:hidden;background:#f7f3ee;border:1px solid #ede8e3;transition:transform .3s}.news-card:hover{transform:translateY(-6px)}.news-card .cover{height:210px;background:linear-gradient(135deg,#651d36,#182a44);display:grid;place-items:center;color:#e7b859;font-family:Outfit;font-size:40px;font-weight:800}.news-card .cover img{height:100%}.news-card .news-body{padding:26px}.news-card .meta{color:var(--maroon);font-size:10px;letter-spacing:.12em;font-weight:800}.news-card h3{font-size:25px;margin:17px 0;line-height:1.2}.news-card p{font-size:13px;color:var(--muted);line-height:1.6}.news-card .more{font-size:12px;font-weight:800;color:var(--maroon)}.muted{color:var(--muted)}.admissions{position:relative;background:var(--wine) url('https://static.wixstatic.com/media/894e1a_59ee439d141d4321af5ee03ce7871749~mv2.jpg') center 55%/cover;color:#fff;text-align:center}.admissions-overlay{background:#311b34d9}.admission-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}.admission-inner h2{font-size:clamp(3.5rem,8vw,8rem);margin:28px 0}.admission-inner p{font-size:17px;line-height:1.8;max-width:560px;color:#e3dbe0}.admission-note{margin-top:25px;font-size:10px;letter-spacing:.16em}footer{background:#132239;color:#fff}.footer-main{padding:90px 7vw;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:55px}.footer-main h4{font-size:11px;letter-spacing:.17em;color:var(--gold)}.footer-main a{display:block;margin:15px 0;font-size:13px;color:#d2d9df}.footer-main p{font-size:13px;line-height:1.9;color:#c2ccd4}.footer-brand{margin-bottom:22px}.footer-bottom{border-top:1px solid #ffffff22;padding:24px 7vw;display:flex;justify-content:space-between;color:#a7b2c0;font-size:10px;letter-spacing:.12em}.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s,transform .7s}.reveal.visible{opacity:1;transform:none}.blog-hero{background:linear-gradient(115deg,#14243c,#6b1c37);color:#fff;padding:190px 7vw 95px}.blog-hero h1{font-family:Outfit;font-size:clamp(3.7rem,8vw,8rem);line-height:.98;letter-spacing:-.06em;margin:25px 0}.blog-hero h1 em{color:var(--gold);font-style:normal}.blog-hero p{color:#d7dbe2;max-width:560px;line-height:1.7}.blog-section{min-height:400px}.filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 36px}.filter{border:1px solid #d8d0c8;background:transparent;border-radius:40px;padding:10px 18px;cursor:pointer;font-weight:750;font-size:12px}.filter.active{background:var(--maroon);border-color:var(--maroon);color:#fff}.loadmore{margin-top:30px;padding:14px 22px;background:var(--maroon);color:white;border:0;cursor:pointer}.post-article{max-width:850px;margin:0 auto;padding:80px 24px 140px}.post-article h1{font-size:clamp(3rem,6vw,5.5rem);line-height:1.04}.post-article .post-body{font-size:18px;line-height:1.95;color:#424b55}.post-article .post-cover{height:440px;margin:35px 0;border-radius:6px;overflow:hidden}.post-article .back{display:inline-block;color:var(--maroon);font-weight:800;margin-bottom:34px}@media(max-width:1100px){nav{gap:13px;font-size:11px}.feature-grid{grid-template-columns:1fr 1fr}.feature.large{grid-column:span 2}.feature{height:390px}}@media(max-width:760px){#header{padding:17px 20px}.brand{font-size:14px}.crest{width:37px;height:45px;font-size:15px}#menu{display:block}nav{display:none;position:absolute;top:80px;left:0;right:0;background:#14243cf5;padding:25px;flex-direction:column;align-items:stretch;gap:21px}nav.open{display:flex}.hero{min-height:730px;height:90vh}.hero-inner{margin:65px 25px 0}.hero h1{font-size:clamp(5.1rem,18vw,8rem)}.hero p{font-size:15px}.hero-counter{bottom:20px;right:25px}.hero-counter strong{font-size:34px}.hero-counter span{font-size:7px}.hero-vertical{display:none}.ticker{gap:22px;justify-content:flex-start}.ticker span{font-size:9px}.section{padding:80px 22px}.intro,.split,.campus{grid-template-columns:1fr;gap:40px}.intro-visual{height:420px}.feature-grid,.news-grid{grid-template-columns:1fr}.feature.large{grid-column:auto}.feature{height:380px}.mosaic{height:360px}.sport-block{min-height:690px}.sport-thumbs img{width:60px;height:60px}.gallery-grid{grid-template-columns:1fr 1fr}.gallery-grid figure{height:230px}.campus-img{min-height:350px}.campus-copy{padding:65px 22px}.news-head{display:block}.footer-main{grid-template-columns:1fr 1fr;gap:30px}.footer-main>div:first-child{grid-column:span 2}.footer-bottom{gap:20px;flex-wrap:wrap}.blog-hero{padding:145px 22px 70px}.post-article .post-cover{height:260px}}

/* New content uses the original visual system; no screenshot compositions embedded. */
.brand-logo{width:49px;height:55px;object-fit:contain;background:white;border-radius:4px;padding:3px;flex:none}
#header nav{gap:clamp(8px,1.2vw,20px);font-size:clamp(9px,.76vw,12px)}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.hero .hero-overlay{z-index:1}.hero-inner,.hero-counter,.hero-vertical{z-index:2}
.hero h1{font-size:clamp(4rem,9vw,9rem);line-height:.95}.hero h1 em{font-style:normal}
.information-panel{background:#f8f5f1}.information-panel h2,.info-split h2,.info-hpaa h2,.info-sport h2{max-width:1100px;margin:24px 0 28px}
.info-lead{max-width:930px;font-size:18px;line-height:1.8;color:#51545a;margin-bottom:38px}
.phase-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-top:34px}.phase-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.phase-grid.leaders-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.phase-grid article{border-top:2px solid var(--maroon);padding:25px 10px 20px 0}.phase-grid article span{font-size:11px;letter-spacing:.09em;font-weight:800;color:var(--maroon)}.phase-grid h3{font-size:clamp(19px,1.8vw,25px);line-height:1.17;margin:15px 0}.phase-grid p,.info-sport p{font-size:14px;line-height:1.75;color:#5a5d65}
.info-split{display:grid;grid-template-columns:1.1fr .9fr;gap:7%;align-items:center}.info-split img{height:600px;object-fit:cover}.info-split p{font-size:15px;line-height:1.85;color:#555b64}.info-hpaa{background:#16283f;color:white}.info-hpaa h2{color:white}.info-hpaa .info-lead,.info-hpaa .phase-grid p{color:#ced7e1}.info-hpaa .phase-grid article{border-color:#c79e65}.info-hpaa .phase-grid span{color:#f4bd54}
.info-sport{background:#fff}.sport-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.sport-info-grid article{background:#f7f4ef;padding-bottom:28px}.sport-info-grid img{height:260px;object-fit:cover}.sport-info-grid h3{padding:22px 24px 0;font-size:26px;margin-bottom:12px}.sport-info-grid p{padding:0 24px}
@media(max-width:1050px){#header nav{gap:8px;font-size:10px}.phase-grid{grid-template-columns:repeat(3,1fr)}.sport-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){#menu{display:block}#header nav{display:none;position:absolute;top:79px;left:0;right:0;background:#14243cf5;padding:22px;flex-direction:column;align-items:stretch;gap:19px;font-size:13px}#header nav.open{display:flex}.phase-grid,.phase-grid.four,.phase-grid.leaders-grid{grid-template-columns:1fr 1fr}.info-split{grid-template-columns:1fr}.info-split img{height:400px}}
@media(max-width:600px){.phase-grid,.phase-grid.four,.phase-grid.leaders-grid,.sport-info-grid{grid-template-columns:1fr}.sport-info-grid img{height:220px}.info-split img{height:290px}.hero h1{font-size:clamp(3.5rem,12vw,6rem)}.hero-video{object-position:60% center}}
@media(prefers-reduced-motion:reduce){.hero-video{display:none}}

/* School sporting-program update — maintains the established visual design. */
.sport-background{background-image:url("https://static.wixstatic.com/media/894e1a_f623f87b1b0f463f8bab166902ff84d2~mv2.jpg");background-position:center 45%}
.sport-shade{background:linear-gradient(90deg,rgba(16,30,49,.95) 0%,rgba(16,30,49,.83) 37%,rgba(16,30,49,.1) 100%)}
.sport-offerings{background:#f7f2eb}
.sport-offerings-header{display:grid;grid-template-columns:1.15fr .85fr;gap:9%;align-items:end;margin-bottom:40px}
.sport-offerings-header h2{font-size:clamp(2.5rem,4.6vw,5rem);max-width:710px;margin:18px 0 0}
.sport-offerings-header p,.sport-offerings-foot p{color:#5f6470;line-height:1.8;font-size:15px;margin:0}
.sport-categories{display:grid;grid-template-columns:1.3fr 1fr;gap:18px}
.sport-category{padding:38px;background:#fff;border-top:4px solid #711c35}
.sport-category.culture{background:#17273e;border-color:#f4bd54;color:#fff}
.category-index{color:#711c35;font-size:11px;letter-spacing:.16em;font-weight:850}
.sport-category.culture .category-index{color:#f4bd54}
.sport-category h3{font-size:clamp(26px,2.5vw,37px);margin:16px 0 27px}
.codes-grid{display:flex;gap:11px;flex-wrap:wrap}
.codes-grid span{font-size:13px;font-weight:750;padding:13px 18px;border:1px solid #ded6ce;border-radius:3px}
.sport-category.culture .codes-grid span{border-color:#ffffff5c}
.sport-offerings-foot{margin-top:30px;display:flex;gap:40px;align-items:center;justify-content:space-between}
.sport-offerings-foot p{max-width:800px}
.sport-offerings-foot .textlink{flex-shrink:0}
@media(max-width:900px){.sport-offerings-header,.sport-categories{grid-template-columns:1fr}.sport-offerings-foot{align-items:flex-start;flex-direction:column;gap:8px}.sport-category{padding:28px 24px}}
@media(max-width:600px){.sport-background{background-position:63% center}.sport-shade{background:linear-gradient(90deg,#14243ce8,#14243c8c)}.codes-grid span{font-size:12px;padding:10px 12px}}

/* Madibaz pathway integration */
.brand-logo{object-fit:contain;mix-blend-mode:screen}
.footer-school-logo{width:55px;height:62px;object-fit:contain;mix-blend-mode:screen}
.footer-brand{display:flex;align-items:center;gap:12px}
.athlete-pathway{background:#fff;border-top:1px solid #e8dfd8}
.athlete-pathway-head{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:end;margin-bottom:42px}
.athlete-pathway-head h2{font-size:clamp(2.7rem,5vw,5rem);line-height:1.05;margin:18px 0 0;max-width:650px}
.athlete-pathway-head p{line-height:1.85;color:#5e6773;margin:0;font-size:16px}
.pathway-layout{display:grid;grid-template-columns:.83fr 1.17fr;gap:28px}
.pathway-intro{padding:42px;background:#18273b;color:white;border-top:4px solid #8d2137}
.pathway-intro .category-index{color:#efb59d}
.pathway-intro h3{font-size:clamp(1.8rem,3vw,3rem);line-height:1.15;margin:18px 0 24px}
.pathway-intro p{color:#d4dbe5;line-height:1.8;font-size:15px}
.pathway-intro .pathway-note{font-size:12px;border-top:1px solid #ffffff33;margin-top:30px;padding-top:18px}
.pathway-benefits{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.pathway-benefits article{padding:28px 27px;background:#f7f2eb;border-top:3px solid #721c35}
.pathway-num{font-size:12px;font-weight:800;color:#8d2137;letter-spacing:.12em}
.pathway-benefits h4{font-size:clamp(1.2rem,1.75vw,1.65rem);line-height:1.2;color:#1c2839;margin:15px 0 12px}
.pathway-benefits p{font-size:14px;line-height:1.75;color:#626978;margin:0}
.pathway-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e6ded6;margin-top:28px;padding-top:25px;gap:20px}
.pathway-footer>span{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#722036}
@media(max-width:900px){.athlete-pathway-head,.pathway-layout{grid-template-columns:1fr}.athlete-pathway-head{gap:18px}.pathway-intro{padding:32px}}
@media(max-width:600px){.pathway-benefits{grid-template-columns:1fr}.pathway-footer{align-items:flex-start;flex-direction:column}.athlete-pathway-head h2{font-size:clamp(2.5rem,10vw,4rem)}}


/* School branding and leadership portrait refinement */
:root{
 --maroon:#711c35;
 --wine:#53162c;
 --navy:#14243c;
 --cream:#f5f5f6;
 --ink:#1c2635;
 --muted:#6c7280;
}
#header{
 background:linear-gradient(180deg,rgba(16,29,49,.42),transparent);
 padding:14px clamp(20px,3.5vw,65px);
 gap:15px;
}
#header.scrolled{
 background:rgba(20,36,60,.96);
 backdrop-filter:blur(16px);
 border-bottom:1px solid #ffffff20;
 padding-top:8px;
 padding-bottom:8px;
}
#header .brand{
 gap:12px;
 flex:0 0 auto;
 font-size:clamp(17px,1.25vw,22px);
}
#header .brand-logo{
 width:78px;
 height:90px;
 object-fit:contain;
 background:transparent !important;
 padding:0 !important;
 border:0 !important;
 border-radius:0 !important;
 box-shadow:none !important;
 mix-blend-mode:normal;
 filter:drop-shadow(0 2px 7px rgba(0,0,0,.15));
 flex:none;
}
#header .brand small{font-size:9px;letter-spacing:.2em}
#header nav{gap:clamp(10px,1.1vw,20px);font-size:clamp(10px,.73vw,12px)}
#header nav a:not(.navcta){white-space:nowrap}
#header nav .navcta{background:#711c35;color:#fff;padding:14px 17px}
#header nav .navcta:hover{background:#862545;color:#fff}
.hero-overlay{
 background:linear-gradient(90deg,rgba(16,30,50,.91) 0%,rgba(20,36,60,.72) 40%,rgba(22,33,50,.16) 100%),linear-gradient(0deg,rgba(12,25,43,.52),transparent 52%);
}
.hero .btn.bright,.admission-inner .btn.bright{background:#711c35;color:#fff}
.hero .btn.bright:hover,.admission-inner .btn.bright:hover{background:#862545}
.experience{background:#14243c}
.experience .section-heading p{color:#c7d0da}
.info-hpaa{background:#1a2c45}
.info-hpaa .phase-grid article{border-color:#8d5870}
.info-hpaa .phase-grid span{color:#e5b7c8}
.sport-shade{background:linear-gradient(90deg,rgba(16,30,49,.94) 0%,rgba(20,36,60,.79) 44%,rgba(20,36,60,.1) 100%)}
.sport-category.culture{background:#17273e;border-color:#711c35}
.sport-category.culture .category-index{color:#e9bacc}
.sport-offerings,.athlete-pathway{background:#f5f5f6}
.pathway-intro{background:#1b2d45;border-top-color:#711c35}
.pathway-intro .category-index{color:#e5b7c8}
.pathway-benefits article{background:#fff}
.campus{background:#eeeef0}
.admissions-overlay{background:rgba(30,31,53,.78)}
footer{background:#14243c;border-top:4px solid #711c35}
.footer-main h4{color:#f0c6d4}
.footer-brand .footer-school-logo{
 width:68px;height:78px;
 background:transparent !important;
 object-fit:contain;mix-blend-mode:normal;
}
.blog-hero{background:linear-gradient(115deg,#14243c 0%,#24324c 66%,#711c35 100%)}
#leadership{background:#f3f4f6}
#leadership .leaders-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:24px;
 align-items:stretch;
 margin-top:40px;
}
#leadership .leader-card{
 padding:0;
 overflow:hidden;
 border:1px solid #e2e4e8;
 border-top:3px solid #711c35;
 background:#fff;
 box-shadow:0 10px 32px rgba(20,36,60,.065);
 display:flex;
 flex-direction:column;
 min-width:0;
}
#leadership .leader-photo{
 width:100%;
 aspect-ratio:4/5;
 overflow:hidden;
 background:linear-gradient(155deg,#e8eaf0 0%,#d7dbe2 78%,#d3d8e1 100%);
 position:relative;
}
#leadership .leader-photo img{
 display:block;
 width:100%;height:100%;
 object-fit:contain;
 object-position:center bottom;
 background:transparent;
}
#leadership .leader-details{padding:27px 27px 31px;flex:1}
#leadership .leader-card span{display:block;font-size:10px;letter-spacing:.11em;color:#711c35;font-weight:850}
#leadership .leader-card h3{font-size:clamp(24px,2.0vw,32px);margin:15px 0;line-height:1.16}
#leadership .leader-card p{font-size:14px;line-height:1.75;color:#636b74;margin:0}
@media(max-width:1280px){
 #header .brand-logo{width:70px;height:82px}
 #header .brand{font-size:18px}
 #header nav{gap:9px;font-size:10px}
}
@media(max-width:1090px){
 #header #menu{display:block}
 #header nav{
  display:none;
  position:absolute;
  top:100%;left:0;right:0;
  background:rgba(20,36,60,.98);
  padding:26px;
  flex-direction:column;
  align-items:stretch;
  gap:20px;
  font-size:14px;
  box-shadow:0 20px 35px rgba(0,0,0,.17);
 }
 #header nav.open{display:flex}
}
@media(max-width:900px){
 #leadership .leaders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 #header{padding:9px 17px}
 #header .brand-logo{width:64px;height:75px}
 #header .brand{font-size:15px;gap:9px}
 #header .brand small{font-size:8px;letter-spacing:.14em}
 #leadership .leaders-grid{grid-template-columns:1fr}
 #leadership .leader-photo{aspect-ratio:4/4.5}
 #leadership .leader-details{padding:24px}
}


/* Expanded Sport & Culture activity directory */
.sport-offerings .sport-categories-expanded{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.sport-categories-expanded .sport-category{
  padding:36px;
  min-width:0;
  background:#fff;
  border-top:4px solid #711c35;
}
.sport-categories-expanded .sport-category.culture{
  background:#17273e;
  border-top-color:#711c35;
  color:white;
}
.sport-categories-expanded .sport-category.academic{
  background:#ebedf1;
  border-top-color:#14243c;
}
.sport-categories-expanded .sport-category.community{
  background:#f0e8e9;
  border-top-color:#711c35;
}
.sport-categories-expanded .sport-category.culture .category-index{color:#f1c8d5}
.sport-categories-expanded .sport-category h3{
  margin:16px 0 24px;
  font-size:clamp(25px,2.3vw,35px);
}
.sport-categories-expanded .codes-grid span{
  border-radius:3px;
  padding:11px 15px;
  line-height:1.4;
  font-size:13px;
}
.sport-categories-expanded .sport-category.academic .codes-grid span{border-color:#bec5d0}
.sport-categories-expanded .sport-category.community .codes-grid span{border-color:#d3bec3}
@media(max-width:760px){
  .sport-offerings .sport-categories-expanded{grid-template-columns:1fr}
  .sport-categories-expanded .sport-category{padding:27px 23px}
}
/* Boarding 2027 announcement section */
.boarding-coming{background:#f1f2f4;padding:110px clamp(22px,7vw,130px);color:#1c2635}
.boarding-coming-inner{display:grid;grid-template-columns:1.35fr .75fr;gap:8%;align-items:center}
.boarding-coming-copy h2{font-size:clamp(3.4rem,6vw,6.4rem);max-width:780px;margin:22px 0 28px;line-height:1.02}
.boarding-coming-copy h2 em{font-style:normal;color:#711c35}
.boarding-coming-copy p{font-size:16px;line-height:1.85;color:#5d6772;max-width:680px}
.boarding-coming-copy .textlink{margin-top:14px}
.boarding-coming-side{background:#14243c;color:white;min-height:370px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(26px,3.8vw,65px);border-top:5px solid #711c35}
.boarding-year{font-family:Outfit,sans-serif;font-size:clamp(5rem,8vw,9rem);line-height:1;font-weight:850;letter-spacing:-.075em;color:#fff}
.boarding-coming-side strong{font:800 clamp(19px,2vw,28px) Outfit,sans-serif;letter-spacing:.16em;margin:18px 0}
.boarding-state{display:inline-block;font-size:11px;letter-spacing:.16em;font-weight:800;color:#f0cbd7;border-top:1px solid #ffffff66;padding-top:19px}
.boarding-disclaimer{font-size:12px;color:#c2cbd5;margin-top:22px;line-height:1.6}
@media(max-width:900px){.boarding-coming-inner{grid-template-columns:1fr;gap:35px}.boarding-coming-side{min-height:260px}.boarding-coming{padding:78px 22px}}

.school-story-subheading{font-size:clamp(25px,2.5vw,36px);font-weight:700;line-height:1.18;letter-spacing:-.035em;color:var(--maroon);margin:0 0 18px}
#about .intro-copy p{max-width:630px}

/* 2027 School Sports Events schedule */
.school-events-2027{background:#f5f6f8;color:#1c2635}
.school-events-heading{margin:0 0 25px}
.school-events-heading-inner{display:flex;align-items:end;justify-content:space-between;gap:35px}
.school-events-heading h2{font-size:clamp(2.8rem,4.5vw,5.1rem);line-height:1.1;margin:16px 0 0}
.school-events-heading h2 em{font-style:normal;color:#711c35}
.school-events-heading p{color:#5f6977;line-height:1.7;font-size:14px;max-width:450px;margin:0}
.schedule-summary{display:flex;gap:26px;flex-wrap:wrap;border-top:2px solid #711c35;border-bottom:1px solid #d9dde4;padding:17px 0;margin-bottom:20px}
.schedule-summary span{font-size:12px;font-weight:650;color:#566171}
.schedule-summary strong{font-size:18px;font-family:Outfit,sans-serif;color:#14243c;margin-right:5px}
.schedule-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;background:#fff;border:1px solid #dce0e6;border-top:4px solid #14243c;box-shadow:0 8px 22px #14243c0a}
.schedule-table{border-spacing:0;border-collapse:separate;width:100%;min-width:1190px;font-size:11px;text-align:left}
.schedule-table th,.schedule-table td{padding:10px 9px;border-right:1px solid #e9ebf0;border-bottom:1px solid #e7eaf0;white-space:nowrap}
.schedule-table thead th{background:#14243c;color:#fff;text-align:center;font-size:10px;font-weight:750;letter-spacing:.015em}
.schedule-table thead tr:first-child th{padding:13px 9px;border-bottom:1px solid #ffffff27;font-size:10px;letter-spacing:.12em}
.schedule-table thead .event-name-head,.schedule-table thead .event-dest-head{text-align:left}
.schedule-table thead .sport-group-head{background:#711c35}
.schedule-table thead tr:nth-child(2) th:nth-child(-n+4){background:#711c35}
.schedule-table tbody th{font-size:11px;font-weight:750;color:#1d2b3e;text-align:left}
.schedule-table tbody td{font-size:11px;text-align:center}
.schedule-table tbody .schedule-destination{text-align:left;color:#5a6573}
.schedule-table tbody tr:nth-child(even){background:#f7f8fa}
.schedule-table tbody tr:hover{background:#f0f2f6}
.schedule-table .schedule-index{color:#697586;font-weight:750}
.schedule-table .schedule-event-name,.schedule-table .event-name-head{position:sticky;left:40px;z-index:2;min-width:190px;max-width:240px}
.schedule-table .schedule-index,.schedule-table .index-head{position:sticky;left:0;z-index:3;width:40px;min-width:40px}
.schedule-table tbody tr:nth-child(odd) .schedule-index,.schedule-table tbody tr:nth-child(odd) .schedule-event-name{background:#fff}
.schedule-table tbody tr:nth-child(even) .schedule-index,.schedule-table tbody tr:nth-child(even) .schedule-event-name{background:#f7f8fa}
.schedule-table thead .index-head,.schedule-table thead .event-name-head{z-index:5;background:#14243c}
.schedule-table .schedule-sport-cell{background:#711c3509}
.schedule-tick{font-size:17px;font-weight:900;color:#711c35;line-height:1}
.schedule-empty{color:#cdd2db}
.schedule-swipe-hint{display:none;color:#5c6675;font-size:12px;margin-top:12px}
@media(max-width:1200px){.schedule-table{min-width:1200px}}
@media(max-width:900px){.school-events-heading-inner{flex-direction:column;align-items:start;gap:14px}.schedule-swipe-hint{display:block}}
@media(max-width:600px){.school-events-heading h2{font-size:clamp(2.6rem,9vw,4rem)}.schedule-summary{gap:13px}.schedule-table th,.schedule-table td{padding:9px 7px}.schedule-table .schedule-event-name,.schedule-table .event-name-head{left:34px;min-width:155px;max-width:175px}.schedule-table .schedule-index,.schedule-table .index-head{width:34px;min-width:34px}}
/* Four-person Academic Leadership layout */
#leadership .leaders-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#leadership .leader-details{padding:23px 20px 27px}
#leadership .leader-card h3{font-size:clamp(21px,1.7vw,29px)}
#leadership .leader-card p strong{color:#14243c;font-weight:800}
@media(max-width:1170px){#leadership .leaders-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:620px){#leadership .leaders-grid{grid-template-columns:1fr}}
/* Uniform academic leadership portrait framing */
#leadership .leader-photo{aspect-ratio:4/5;width:100%;height:auto;flex:none;overflow:hidden;display:grid;place-items:end center;background:linear-gradient(155deg,#e8eaf0 0%,#d7dbe2 78%,#d3d8e1 100%)}
#leadership .leader-photo img{display:block;object-fit:contain;object-position:center bottom;width:100%;height:100%;max-width:none;max-height:none}
@media(max-width:600px){#leadership .leader-photo{aspect-ratio:4/5}}
/* Correct Michael van Huyssteen portrait crop */
#leadership .leader-card:nth-child(4) .leader-photo img{object-fit:cover;object-position:center 19%;}

/* Multi-page navigation and homepage video */
.secondary-page #header{position:relative;background:#14243c;color:white;padding-top:12px;padding-bottom:12px}
.secondary-page #header.scrolled{position:fixed}
.secondary-page .inner-banner{background:linear-gradient(115deg,#14243c 0%,#203750 72%,#711c35 100%);padding:clamp(75px,8vw,125px) clamp(22px,7vw,130px);color:white}
.secondary-page .inner-banner-text{max-width:950px}
.secondary-page .inner-banner h1{font-family:Outfit,sans-serif;font-weight:800;font-size:clamp(3.1rem,7vw,7rem);letter-spacing:-.065em;line-height:1.04;margin:22px 0 20px}
.secondary-page .inner-banner p{font-size:clamp(15px,1.5vw,19px);line-height:1.75;max-width:750px;color:#d9e1e9}
.home-page .hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;display:block;visibility:visible;opacity:1}
.home-page .hero-overlay{z-index:1;pointer-events:none}
.home-page .hero-inner,.home-page .hero-counter,.home-page .hero-vertical{z-index:2}
.home-directory{background:#f4f5f6}
.home-directory h2{margin:20px 0 45px}
.home-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-directory-grid a{display:flex;flex-direction:column;gap:14px;background:white;padding:32px 28px;border-top:4px solid #711c35;transition:transform .25s}
.home-directory-grid a:hover{transform:translateY(-4px)}
.home-directory-grid a span{color:#711c35;font-size:11px;font-weight:800;letter-spacing:.14em}
.home-directory-grid a h3{font-size:clamp(22px,2.2vw,32px);margin:0}
.home-directory-grid a p{color:#5d6977;line-height:1.65;font-size:14px;flex:1}
.home-directory-grid a b{font-size:13px;color:#711c35}
#header nav{gap:clamp(7px,.75vw,15px);font-size:clamp(10px,.68vw,12px)}
#header nav .navcta{padding:12px 13px}
@media(max-width:1450px){#header #menu{display:block}#header nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;background:rgba(20,36,60,.98);padding:24px;gap:19px;font-size:14px}#header nav.open{display:flex}}
@media(max-width:900px){.home-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.home-directory-grid{grid-template-columns:1fr}.secondary-page .inner-banner{padding:60px 22px}}
@media(prefers-reduced-motion:reduce){.home-page .hero-video{display:block}}

/* Boarding interest Wix Form */
.boarding-enquiry{background:#f5f6f8;display:grid;grid-template-columns:.9fr 1.1fr;gap:6%;align-items:start}.boarding-enquiry-intro h2{font-size:clamp(2.5rem,4.2vw,4.7rem);margin:18px 0}.boarding-enquiry-intro p{color:#596778;line-height:1.8;max-width:560px}.boarding-interest-form{background:#fff;padding:clamp(24px,3vw,42px);border-top:4px solid #711c35;box-shadow:0 12px 38px #14243c0c}.boarding-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:26px}.boarding-fields label{font-weight:700;font-size:12px;color:#172940;letter-spacing:.01em;display:flex;flex-direction:column;gap:9px}.boarding-fields label.full{grid-column:1/-1}.boarding-fields input,.boarding-fields select,.boarding-fields textarea{width:100%;min-width:0;border:1px solid #cbd2da;background:#f9fafb;color:#172940;border-radius:3px;padding:13px 15px;font:500 14px DM Sans,sans-serif}.boarding-fields input:focus,.boarding-fields select:focus,.boarding-fields textarea:focus{outline:2px solid #711c35;outline-offset:1px}.boarding-interest-form button{border:0;cursor:pointer}.boarding-interest-form button:disabled{opacity:.7;cursor:progress}.boarding-form-status{font-size:13px;line-height:1.55;color:#14243c;margin:14px 0 0;min-height:1.5em}.boarding-form-status.is-error{color:#a21935}@media(max-width:900px){.boarding-enquiry{grid-template-columns:1fr}}@media(max-width:580px){.boarding-fields{grid-template-columns:1fr}}

/* Expanded Our School HPAA and Contact 2026 */
.campus-stats-expanded{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;border-top:1px solid #d3d6dc;margin:25px 0 12px;padding-top:24px}.campus-stats-expanded>div{min-width:0;padding:0 0 13px}.campus-stats-expanded strong{font-size:clamp(23px,2.8vw,38px);line-height:1.05}.campus-stats-expanded span{font-size:9px;letter-spacing:.07em;line-height:1.6}.campus-lead{font-size:17px;line-height:1.8}.campus-future{font-size:13px;color:#711c35;font-weight:750}.hpaa-program{background:#f5f6f8;color:#172940}.hpaa-program h2{max-width:1150px}.hpaa-program h2 em{color:#711c35}.hpaa-statement{font-size:clamp(22px,2.6vw,36px);margin:26px 0 28px;letter-spacing:-.025em;color:#711c35;line-height:1.3}.hpaa-intro{max-width:1040px}.hpaa-intro p{font-size:clamp(15px,1.3vw,18px);line-height:1.85;color:#465468;margin-bottom:19px}.hpaa-pillar-heading{margin:70px 0 28px;border-top:1px solid #d7dbe1;padding-top:43px}.hpaa-pillar-heading h3{font-size:clamp(26px,3vw,43px);margin:15px 0}.hpaa-pillar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hpaa-pillar{background:white;border-top:4px solid #711c35;padding:clamp(21px,2.6vw,34px);min-height:275px}.hpaa-index{color:#711c35;letter-spacing:.15em;font-weight:850;font-size:12px}.hpaa-pillar h4{font-family:Outfit,sans-serif;font-size:clamp(20px,1.7vw,26px);margin:17px 0;line-height:1.2;color:#14243c}.hpaa-pillar p{font-size:14px;line-height:1.75;color:#566372;margin:0}.hpaa-conclusion{margin:29px 0 0;max-width:920px;font-size:14px;line-height:1.75;color:#526073}.contact-page-content{background:#f5f6f8;display:grid;grid-template-columns:.87fr 1.13fr;gap:7%;align-items:start}.contact-page-details h2{font-size:clamp(3rem,4.5vw,5rem);margin:20px 0}.contact-page-details>p{color:#5b6778;line-height:1.85;max-width:550px;font-size:16px}.contact-link-list{margin-top:39px;display:grid;gap:12px}.contact-link-list>a,.contact-link-list>div{padding:20px 0;border-top:1px solid #d5d9e1;display:flex;flex-direction:column;gap:8px}.contact-link-list span{color:#711c35;font-size:10px;letter-spacing:.14em;font-weight:850}.contact-link-list strong{font-size:clamp(15px,1.35vw,20px);line-height:1.5;font-weight:750;color:#14243c;overflow-wrap:anywhere}.contact-link-list a:hover strong{color:#711c35}.contact-wix-form{background:white;border-top:4px solid #711c35;padding:clamp(25px,3.5vw,50px);box-shadow:0 15px 34px #14243c12}.contact-wix-form h3{font-size:clamp(28px,3vw,39px);margin:13px 0 29px}.contact-wix-form button{border:0;cursor:pointer}.contact-wix-form button:disabled{opacity:.6;cursor:progress}@media(max-width:1100px){.hpaa-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-page-content{grid-template-columns:1fr}}@media(max-width:700px){.hpaa-pillar-grid{grid-template-columns:1fr}.campus-stats-expanded{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-page-content{gap:35px}}

/* Balanced navy + maroon visual refinement Nov 2026 */
:root{--maroon:#7b1b3a;--wine:#5f1831;--navy:#14243c}
/* Navy stays primary; maroon adds warmth at the edges and in focal details. */
.secondary-page .inner-banner{background:linear-gradient(115deg,#14243c 0%,#1d3049 51%,#54223b 82%,#761b3a 100%)}
#header.scrolled{background:linear-gradient(100deg,rgba(20,36,60,.98) 0%,rgba(26,37,58,.98) 71%,rgba(65,24,46,.97) 100%);border-bottom:2px solid rgba(135,35,68,.55)}
.home-page .hero-overlay{background:linear-gradient(90deg,rgba(17,32,53,.91) 0%,rgba(20,36,60,.76) 43%,rgba(69,23,47,.25) 81%,rgba(91,24,51,.25) 100%),linear-gradient(0deg,rgba(14,26,43,.48),transparent 52%)}
.sport-shade{background:linear-gradient(90deg,rgba(16,30,49,.95) 0%,rgba(21,36,59,.81) 47%,rgba(94,25,53,.22) 100%)}
.admissions-overlay{background:linear-gradient(120deg,rgba(23,36,58,.83),rgba(76,24,46,.73))}
.home-directory-grid a{border-top-color:#7b1b3a;background:linear-gradient(160deg,#fff 0%,#fff 79%,#faf3f5 100%)}
.home-directory-grid a:hover{border-top-color:#a22b52;box-shadow:0 16px 32px rgba(100,25,52,.12)}
.home-directory-grid a span,.home-directory-grid a b,.eyebrow{color:#8a2343}
.secondary-page .inner-banner .eyebrow.light,.hero .eyebrow.light{color:#fff}
.campus-stats-expanded strong{color:#751b38}
.campus-stats-expanded>div{border-bottom:1px solid rgba(124,27,58,.11)}
.hpaa-pillar:nth-child(3n+2){border-top-color:#14243c}
.hpaa-pillar:nth-child(3n+3){background:linear-gradient(165deg,#fff 0%,#fdf5f7 100%)}
.hpaa-pillar:hover{box-shadow:0 12px 25px rgba(103,22,52,.09)}
.contact-wix-form,.boarding-interest-form{border-top-color:#862544;box-shadow:0 12px 36px rgba(104,26,57,.09)}
.contact-link-list>a:hover{background:linear-gradient(90deg,rgba(128,28,59,.065),transparent 85%)}
.school-events-2027 .schedule-table thead .sport-group-head{background:#80213f}
.schedule-table .schedule-tick{color:#8a2245}
.sport-categories-expanded .sport-category.community{background:#f5edef}
.sport-categories-expanded .sport-category.academic{border-top-color:#862544}
.btn.bright,#header nav .navcta{background:#7b1b3a;color:#fff}
.btn.bright:hover,#header nav .navcta:hover{background:#9a284b}
.footer-main{background:linear-gradient(108deg,#14243c 0%,#18283f 65%,#362139 100%)}
footer{border-top:4px solid #7b1b3a}
footer h4,.footer-main h4{color:#f0cad6}
@media(max-width:1450px){#header nav.open{background:linear-gradient(115deg,#14243c,#352238)}}
@media(max-width:720px){.home-page .hero-overlay{background:linear-gradient(90deg,rgba(19,33,54,.92),rgba(54,26,49,.62))}.secondary-page .inner-banner{background:linear-gradient(125deg,#14243c 0%,#283048 62%,#66213d 100%)}}

/* Michael van Huyssteen matching portrait scale */
#leadership .leader-photo{aspect-ratio:4 / 5;overflow:hidden;}
#leadership .leader-card:nth-child(4) .leader-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:scale(1.10) translateY(9px);transform-origin:center bottom;transition:none;}

/* 2027 extracurricular program and photograph gallery */
.extracurricular-program{background:#f5f6f8;color:#18273c}
.ec-program-heading{display:grid;grid-template-columns:1fr .85fr;gap:7%;align-items:end;margin-bottom:35px}
.ec-program-heading h2{font-size:clamp(2.8rem,5vw,5.6rem);margin:18px 0 0}
.ec-program-heading h2 em{font-style:normal;color:#7b1b3a}
.ec-program-heading>p{font-size:15px;line-height:1.8;color:#586676;margin:0}
.ec-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:52px}
.ec-photo{position:relative;min-width:0;aspect-ratio:4/3;margin:0;overflow:hidden;background:#dce1e9}
.ec-photo img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ec-photo:hover img{transform:scale(1.035)}
.ec-photo figcaption{position:absolute;bottom:0;left:0;right:0;color:#fff;background:linear-gradient(transparent,rgba(15,26,43,.83));padding:29px 15px 13px;font-size:10px;font-weight:850;letter-spacing:.13em}
.ec-program-toolbar{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}
.ec-program-toolbar h3{font-size:clamp(25px,2.8vw,40px);margin:12px 0 0}
.ec-term-filters{display:flex;gap:6px;flex-wrap:wrap}
.ec-term-filters button{border:1px solid #ccd2dc;background:#fff;color:#20344c;padding:10px 13px;border-radius:2px;font-size:12px;font-weight:750;cursor:pointer}
.ec-term-filters button:hover,.ec-term-filters button.is-active{background:#14243c;color:#fff;border-color:#14243c}
.ec-term-filters button:focus-visible{outline:2px solid #7b1b3a;outline-offset:3px}
.ec-program-count{font-size:12px;color:#667383;margin:0 0 12px}
.ec-program-table-wrap{width:100%;overflow-x:auto;border-top:4px solid #7b1b3a;background:#fff;border-left:1px solid #e0e4eb;border-right:1px solid #e0e4eb}
.ec-program-table{border-spacing:0;border-collapse:separate;width:100%;min-width:920px;font-size:13px}
.ec-program-table th,.ec-program-table td{text-align:left;padding:14px 15px;border-bottom:1px solid #e5e9ef;line-height:1.5;vertical-align:top}
.ec-program-table thead th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;background:#14243c;color:#fff;font-weight:800}
.ec-program-table thead th:last-child{background:#7b1b3a}
.ec-program-table tbody th{color:#18273c;font-weight:800;min-width:195px}
.ec-program-table tbody td{color:#4c5b6e}
.ec-program-table tbody tr:nth-child(even){background:#f8f9fb}
.ec-program-table tbody tr:hover{background:#f5edf0}
.ec-program-table .ec-program-number{color:#8b2850;font-size:11px;letter-spacing:.07em;width:50px}
.ec-program-table tbody td:last-child{width:95px;white-space:nowrap}
.ec-term{display:inline-block;background:#f3e8ec;color:#741b38;padding:5px 10px;font-size:11px;font-weight:850;white-space:nowrap}
.ec-program-row[hidden]{display:none !important}
@media(max-width:1080px){.ec-program-heading{grid-template-columns:1fr;gap:16px}.ec-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-program-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.ec-photo-grid{gap:8px}.ec-photo{aspect-ratio:1/1}.ec-photo figcaption{font-size:9px;padding:25px 10px 10px}.ec-term-filters button{padding:9px 11px}.ec-program-table-wrap{margin-left:0}}
/* Madibaz Football logo within Student-Athlete Pathway */
.pathway-intro .madibaz-logo-row{display:flex;align-items:center;justify-content:flex-start;padding:0 0 24px;margin:0 0 28px;border-bottom:1px solid rgba(255,255,255,.16)}
.pathway-intro .madibaz-football-logo{display:block;width:clamp(185px,22vw,270px);max-width:100%;height:auto;aspect-ratio:1 / 1;object-fit:contain;object-position:center;background:#06192e;border-radius:2px;mix-blend-mode:normal}
@media(max-width:660px){.pathway-intro .madibaz-football-logo{width:205px}}

/* Student-Athlete Pathway visual redesign */
.athlete-pathway-refined{background:#f5f6f8;color:#18273a}
.pathway-refined-header{display:grid;grid-template-columns:1fr .92fr;align-items:end;gap:7%;margin-bottom:32px}
.pathway-refined-header h2{font-size:clamp(2.9rem,5.1vw,5.4rem);line-height:1.08;margin:18px 0 0;letter-spacing:-.055em}
.pathway-refined-header h2 em{font-style:normal;color:#7b1b3a}
.pathway-refined-header p{font-size:15px;line-height:1.85;color:#586679;margin:0}
.pathway-partnership{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(220px,.65fr);gap:5%;align-items:center;background:linear-gradient(105deg,#14243c 0%,#1b3048 70%,#30213a 100%);color:#fff;padding:clamp(28px,4vw,58px);border-top:4px solid #7b1b3a}
.pathway-partnership-kicker{color:#f1bcd0;font-size:11px;font-weight:850;letter-spacing:.16em}
.pathway-partnership-copy h3{color:#fff;font-size:clamp(26px,3.1vw,42px);line-height:1.15;max-width:730px;margin:14px 0 16px;letter-spacing:-.035em}
.pathway-partnership-copy>p{font-size:15px;line-height:1.8;color:#dce4ed;max-width:760px;margin:0}
.pathway-logo-area{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-width:0}
.pathway-logo-area .madibaz-refined-logo{display:block;width:100%;max-width:270px;height:130px;object-fit:cover;object-position:center;mix-blend-mode:lighten;background:transparent;filter:contrast(1.06);border:0;box-shadow:none}
.pathway-logo-area>span{color:#c6d0de;font-size:10px;letter-spacing:.07em;text-align:center;line-height:1.6}
.pathway-refined-subhead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:39px 0 19px}
.pathway-refined-subhead h3{font-size:clamp(25px,2.8vw,38px);margin:0}
.pathway-refined-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.pathway-refined-benefits article{padding:26px 23px;min-height:205px;background:#fff;border-top:3px solid #7b1b3a}
.pathway-refined-benefits article:nth-child(even){border-top-color:#14243c}
.pathway-refined-number{font-size:11px;font-weight:850;letter-spacing:.1em;color:#7b1b3a}
.pathway-refined-benefits h4{font-size:clamp(19px,1.65vw,25px);line-height:1.2;letter-spacing:-.025em;margin:13px 0 12px;color:#18273a}
.pathway-refined-benefits p{font-size:13px;line-height:1.75;color:#627080;margin:0}
.pathway-refined-bottom{display:flex;justify-content:space-between;align-items:center;gap:28px;border-top:1px solid #d8dde4;margin-top:24px;padding-top:23px}
.pathway-refined-bottom p{font-size:12px;color:#667385;line-height:1.65;margin:0;max-width:820px}
.pathway-refined-bottom .textlink{white-space:nowrap;font-size:13px}
@media(max-width:1100px){.pathway-refined-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.pathway-refined-header{grid-template-columns:1fr;gap:20px}}
@media(max-width:720px){.pathway-partnership{grid-template-columns:1fr;gap:20px;padding:28px}.pathway-logo-area{align-items:flex-start}.pathway-logo-area>span{text-align:left}.pathway-refined-benefits{grid-template-columns:1fr}.pathway-refined-benefits article{min-height:auto}.pathway-refined-bottom{align-items:flex-start;flex-direction:column}.pathway-refined-subhead{align-items:flex-start;flex-direction:column;gap:8px}}

/* Autoplay-only mobile hero */
.home-page #school-hero-video{display:block!important;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% center;z-index:0;visibility:visible;opacity:1}

/* Responsive campus video framing — mobile left, desktop unchanged */
/* Desktop retains the existing 60% framing. Only narrow screens move left. */
@media (max-width: 767px){
  .home-page #school-hero-video{object-position:32% center;}
}

/* Five-person leadership row with consistent cutout framing */
@media (min-width:1200px){#leadership .leaders-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}}
@media (min-width:900px) and (max-width:1199px){#leadership .leaders-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media (min-width:610px) and (max-width:899px){#leadership .leaders-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media (max-width:609px){#leadership .leaders-grid{grid-template-columns:1fr;gap:20px}}
#leadership .leader-photo{aspect-ratio:4/5;overflow:hidden}
#leadership .leader-card:nth-child(5) .leader-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:scale(.83);transform-origin:center bottom;filter:none}
@media (min-width:1200px){#leadership .leader-details{padding:19px 15px 24px}#leadership .leader-card h3{font-size:clamp(17px,1.35vw,24px);line-height:1.2;overflow-wrap:break-word}#leadership .leader-card p{font-size:12px;line-height:1.7}#leadership .leader-card span{font-size:9px;line-height:1.45}}

/* Primary School Headmistress profile subtitle */
#leadership .leader-card .leader-role-subtitle{margin:-5px 0 14px;color:#751b38;font-size:12px;font-weight:800;line-height:1.5;}

/* Stable portrait scaling after fifth-card reorder */
#leadership .leader-card:nth-child(4) .leader-photo img{transform:none;object-fit:contain;object-position:center bottom;}
#leadership .leader-card:nth-child(5) .leader-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:scale(1.10) translateY(9px);transform-origin:center bottom;transition:none;}

/* Three key campus facts after facilities program update */
@media(min-width:701px){#campus .campus-stats-expanded{grid-template-columns:repeat(3,minmax(0,1fr))}}
