/* Reference-style floating navigation and full-screen video, Bootstrap 5.2. */
body{font-family:'DM Sans',Arial,sans-serif;line-height:1.5}a:hover{color:inherit}h1,h2,h3{color:inherit}.reference-header{position:absolute;top:42px;left:0;width:100%;z-index:1030;padding:0 24px}.reference-navbar{position:relative;max-width:1250px;margin:auto;background:#fff;border-radius:10px;min-height:56px;padding:0 20px;box-shadow:0 4px 20px #00000012}.reference-navbar .offcanvas{flex-grow:1}.reference-navbar .offcanvas-body{justify-content:space-between;gap:140px;padding:0}.reference-navbar .navbar-nav{align-items:center;gap:13px}.reference-navbar .nav-link{font-size:11px;letter-spacing:.3px;text-transform:uppercase;font-weight:600;color:#132b48;padding:18px 0;background:none;border:0;white-space:nowrap}.reference-navbar .nav-link:hover,.reference-navbar .nav-link.show{color:#b08b16}.reference-navbar .dropdown-toggle:after{font-size:9px;vertical-align:middle;margin-left:5px}.reference-navbar .home-link{font-size:25px;line-height:1;padding:10px 0}.reference-navbar .quick-menu{font-size:19px;line-height:1}.reference-navbar .dropdown-menu{border-radius:0;border:0;border-top:3px solid #fecc00;min-width:280px;padding:0;box-shadow:0 10px 30px #0002;--bs-dropdown-link-active-bg:#fecc00;--bs-dropdown-link-active-color:#132b48}.reference-navbar .dropdown-item{font-size:12px;white-space:normal;text-transform:uppercase;padding:12px 18px;border-bottom:1px solid #eee;transition:background .2s,padding .2s;color:#132b48}.reference-navbar .dropdown-item:hover,.reference-navbar .dropdown-item:focus{background:#fecc00;padding-left:23px}.menu-right .dropdown-menu{left:auto;right:0}.center-emblem{position:absolute;left:50%;top:-26px;transform:translateX(-50%);width:138px;height:151px;display:flex;align-items:center;justify-content:center;flex-direction:column;z-index:2;isolation:isolate}.emblem-rays{position:absolute;inset:-5px -8px 0;background:repeating-conic-gradient(from 0deg,#e5c35f66 0deg 2deg,transparent 2deg 10deg);clip-path:circle(48%);z-index:-1;animation:emblem-turn 70s linear infinite}.emblem-shield{width:95px;height:110px;background:#fff9df;border:3px solid #b09236;box-shadow:0 0 0 5px #fff;border-radius:45% 45% 45% 45% / 30% 30% 70% 70%;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;color:#132b48}.emblem-shield>span{font-size:36px;line-height:1}.emblem-shield b{font-family:Georgia,serif;font-size:23px;line-height:1.2}.emblem-shield small{font-size:5px;letter-spacing:.4px}.emblem-ribbon{background:#132b48;color:white;padding:5px 7px;font-size:8px;letter-spacing:.6px;position:absolute;bottom:12px;box-shadow:0 2px 5px #0002;white-space:nowrap}.mobile-school{display:none}.reference-header.is-sticky{position:fixed;top:18px;animation:nav-enter .45s ease both}.reference-header.is-sticky .reference-navbar{background:#fffffff2;backdrop-filter:blur(12px);box-shadow:0 3px 24px #0003}.reference-header.is-sticky .center-emblem{top:-8px;transform:translateX(-50%) scale(.72);transform-origin:center top}.hero{height:100vh;min-height:680px;max-height:1100px}.hero-video{object-fit:cover;z-index:-2;object-position:center}.hero-shade{background:linear-gradient(0deg,#132b486b,transparent 55%),#132b483b}.hero-content{position:absolute;left:5%;right:5%;top:51%;transform:translateY(-35%);text-align:center;padding:0}.hero-content h1{font-family:'DM Sans',Arial,sans-serif;font-size:clamp(38px,5vw,70px);font-weight:600;letter-spacing:-1px;text-transform:uppercase;line-height:1.15;animation:content-enter .9s .15s both}.motto-label{display:block;font-size:13px;letter-spacing:1px;margin-top:24px;animation:content-enter .9s .3s both}.hero-content h2{font-family:Arial,sans-serif;font-size:clamp(27px,4vw,49px);font-weight:700;margin-top:15px;letter-spacing:1px;animation:content-enter .9s .45s both}.hero-content>p{font-size:13px;margin:14px 0 30px;animation:content-enter .9s .6s both}.profile-play{display:flex;align-items:center;justify-content:center;border:1px solid #ffffffa8;border-radius:50%;width:66px;height:66px;background:#ffffff15;color:#fff;margin:0 auto;position:relative;transition:background .3s,transform .3s;animation:content-enter .9s .75s both}.profile-play:before{content:'';position:absolute;inset:-9px;border:1px solid #fff6;border-radius:50%;animation:play-pulse 2.5s infinite}.profile-play:hover{background:#fff;color:var(--green);transform:scale(1.08)}.film-label{display:block;font-size:9px;letter-spacing:2px;margin-top:22px}.hero-bottom{bottom:27px;align-items:center;letter-spacing:1px}.hero-bottom>a{display:flex;align-items:center;gap:14px}.hero-bottom>a span{display:inline-block;animation:scroll-bounce 2s infinite}.video-toggle{font-size:9px;letter-spacing:1px;border:1px solid #fff5;padding:9px 12px;background:#132b482b;color:white}.quick-panel .offcanvas-title,.quick-panel h2{font-family:Georgia,serif;font-size:32px}.quick-panel .offcanvas-body>a{display:block;border-bottom:1px solid #e8bec9;padding:18px 0;font-size:16px}.quick-panel .offcanvas-body>p{font-size:14px;margin-top:35px;color:#354356}.quick-panel{background:#f5f3e9}.modal{z-index:1070}.modal-backdrop{z-index:1060}#profile-video{width:100%;max-height:75vh;display:block;background:#000}#profile-modal .modal-content{border:0;border-radius:8px;overflow:hidden}#profile-modal .modal-title{font-family:inherit;letter-spacing:0}.campus-showcase{background:#fff}.campus-showcase .carousel{border-radius:18px;overflow:hidden}.campus-showcase .carousel-item{position:relative}.campus-showcase .carousel-item:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#132b48b0,transparent 60%)}.campus-showcase .carousel-item img{height:500px;object-fit:cover}.campus-showcase .carousel-caption{z-index:1;text-align:left;bottom:40px}.campus-showcase .carousel-caption h3{font-family:Georgia,serif;font-size:34px}.campus-showcase .carousel-caption p{font-size:14px}.carousel-pause{display:block;margin:15px 0 0 auto;background:none;border:0;font-size:11px;color:var(--green)}.back-top{position:fixed;bottom:25px;right:25px;background:var(--green);border:1px solid #ffffff40;color:white;width:45px;height:45px;border-radius:50%;z-index:1020;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .25s,transform .25s}.back-top.visible{opacity:1;pointer-events:auto;transform:none}.section.reveal-ready .section-top,.section.reveal-ready.about>div,.section.reveal-ready.life>div{opacity:0;transform:translateY(28px);transition:opacity .75s,transform .75s}.section.in-view .section-top,.section.in-view.about>div,.section.in-view.life>div{opacity:1;transform:none}.section.in-view.about>div+div,.section.in-view.life>div+div{transition-delay:.15s}.stage,.notice,.gallery-item{transition:transform .3s,box-shadow .3s,background .3s}.notice:hover{background:#faf3f4}.gallery-item img{transition:filter .4s,transform .6s}.gallery-item{overflow:hidden}.gallery-item:hover img{transform:scale(1.025)}.button{border-radius:30px}.notice-grid{border-radius:12px;overflow:hidden}.welcome-strip{border-radius:35px 35px 0 0;position:relative;margin-top:-25px;z-index:2}.offcanvas-title{font-size:26px;letter-spacing:0}dialog{z-index:1100}h3{line-height:1.4}
@keyframes emblem-turn{to{transform:rotate(360deg)}}@keyframes nav-enter{from{opacity:0;transform:translateY(-80px)}to{opacity:1;transform:none}}@keyframes content-enter{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}@keyframes play-pulse{0%{transform:scale(.96);opacity:.8}100%{transform:scale(1.45);opacity:0}}@keyframes scroll-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}
@media(min-width:1200px){.reference-navbar .offcanvas-header{display:none}.reference-navbar .dropdown-menu.show{animation:dropdown-enter .22s ease}.reference-navbar .dropdown:hover>.dropdown-menu{display:block;animation:dropdown-enter .22s ease}.reference-navbar .dropdown:focus-within>.dropdown-menu{display:block}.reference-navbar .dropdown-menu{margin-top:0}@keyframes dropdown-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
@media(max-width:1199.98px){.reference-header{top:20px;padding:0 20px}.reference-navbar{min-height:64px;padding:10px 18px}.reference-navbar .center-emblem{left:50%;top:-8px;transform:translateX(-50%) scale(.7);transform-origin:center top}.reference-navbar .mobile-school{display:block;font-size:12px;font-weight:700;color:var(--green);max-width:120px;line-height:1.3}.reference-navbar .navbar-toggler{margin-left:auto;font-size:16px;padding:8px}.reference-navbar .offcanvas-body{display:block;padding:15px 24px}.reference-navbar .navbar-nav{display:block}.reference-navbar .nav-link{width:100%;text-align:left;border-bottom:1px solid #faf3f4;padding:15px 0;font-size:13px}.reference-navbar .dropdown-menu{box-shadow:none;border-top-width:2px;min-width:0}.reference-navbar .dropdown-item{font-size:11px}.reference-navbar .offcanvas-header{padding:25px 24px}.reference-navbar .offcanvas-title{font-family:Georgia,serif;font-size:26px}.reference-navbar .home-link{font-size:23px}.reference-navbar .quick-menu{display:none}.reference-header.is-sticky{top:12px}.hero{min-height:650px}.hero-content{top:48%;transform:translateY(-30%)}.reference-navbar .offcanvas{z-index:1050}.reference-navbar .offcanvas-backdrop{z-index:1040}}
@media(max-width:600px){.reference-header{padding:0 12px;top:16px}.reference-navbar{min-height:58px;padding:8px 12px}.reference-navbar .mobile-school{font-size:10px;max-width:90px}.reference-navbar .center-emblem{transform:translateX(-50%) scale(.6);top:-6px}.hero{height:100svh;min-height:640px}.hero-content{left:7%;right:7%;top:46%;transform:translateY(-20%)}.hero-content h1{font-size:38px}.hero-content h2{font-size:30px;line-height:1.5}.motto-label{margin-top:22px;font-size:11px}.hero-content>p{font-size:11px;margin-bottom:30px}.hero-bottom{left:7%;right:7%;bottom:45px}.hero-bottom>a{font-size:8px}.video-toggle{font-size:8px;padding:8px}.profile-play{height:58px;width:58px}.campus-showcase .carousel-item img{height:330px}.campus-showcase .carousel-caption{bottom:25px}.campus-showcase .carousel-caption h3{font-size:25px}.campus-showcase .carousel-caption p{font-size:11px}.campus-showcase .section-top h2{font-size:39px}.section.reveal-ready .section-top,.section.reveal-ready.about>div,.section.reveal-ready.life>div{transform:translateY(18px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.section.reveal-ready .section-top,.section.reveal-ready.about>div,.section.reveal-ready.life>div{opacity:1;transform:none}.carousel-item{transition:none!important}}
/* Readability and safe entrance effects: text is never held at zero opacity. */
.section.reveal-ready .section-top,.section.reveal-ready.about>div,.section.reveal-ready.life>div{opacity:1;transform:none}
.section.in-view .section-top,.section.in-view.about>div,.section.in-view.life>div{animation:readable-section-enter .7s ease backwards}
.hero-content h1,.hero-content h2,.motto-label,.hero-content>p{color:#fff;text-shadow:0 2px 12px #000b,0 1px 3px #0008}
.hero-shade{background:linear-gradient(180deg,#132b4833,#132b4866 45%,#132b4880)}
.notice p,.about-copy p,.life>div>p,.activity-list details p{font-size:15px;color:#354356}
.stage p{font-size:14px;opacity:1}.stage-no{font-size:10px}.stage-detail p{font-size:14px;color:#faf3f4}
.section-top p{font-size:15px;color:#354356}.academics .section-top p{color:#faf3f4}
.hero-content>p{font-size:16px}.film-label{font-size:11px;color:#fff;text-shadow:0 1px 6px #000}.hero-content h1{line-height:1.2}
@keyframes readable-section-enter{from{transform:translateY(25px)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.section.in-view .section-top,.section.in-view.about>div,.section.in-view.life>div{animation:none}}
/* Responsive masthead: keep the school identity inside its allocated space. */
.reference-navbar{min-height:68px}
.reference-navbar .offcanvas-body{gap:176px}
.center-emblem{width:156px;height:150px;top:-20px}
.emblem-ribbon{font-size:10px;letter-spacing:.3px;padding:6px 10px;bottom:7px;background:#132b48;color:#fff;line-height:1.4}
.emblem-shield small{font-size:7px;letter-spacing:0}
.reference-header.is-sticky .center-emblem{top:-20px;transform:translateX(-50%);transform-origin:center}
.hero{display:flex;align-items:center;justify-content:center;padding:190px 5% 110px}
.hero-content{position:relative;inset:auto;transform:none;width:100%;padding:0;max-width:1180px}
.hero-content h1{font-size:clamp(38px,5vw,70px)}
@media(min-width:1200px) and (max-width:1350px){.reference-navbar .navbar-nav{gap:9px}.reference-navbar .nav-link{font-size:10px}.reference-navbar .offcanvas-body{gap:162px}}
@media(max-width:1199.98px){
  .reference-header{top:16px;padding:0 18px}
  .reference-header.is-sticky{top:10px}
  .reference-navbar{display:grid;grid-template-columns:56px minmax(0,1fr) 44px;gap:14px;min-height:82px;padding:10px 16px;align-items:center}
  .reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{position:relative;inset:auto;transform:none;transform-origin:center;width:56px;height:60px;grid-column:1;grid-row:1;order:0}
  .reference-navbar .emblem-shield{width:50px;height:58px;border-width:2px;box-shadow:none}
  .reference-navbar .emblem-shield>span{font-size:21px}
  .reference-navbar .emblem-shield b{font-size:16px}
  .reference-navbar .emblem-shield small,.reference-navbar .emblem-ribbon,.reference-navbar .emblem-rays{display:none}
  .reference-navbar .mobile-school{display:block;grid-column:2;grid-row:1;max-width:none;font-size:16px;line-height:1.35;letter-spacing:.5px;font-weight:700;color:#132b48}
  .reference-navbar .navbar-toggler{grid-column:3;grid-row:1;width:44px;margin:0;padding:9px;font-size:16px}
  .reference-navbar .offcanvas-body{display:block;padding:15px 24px}
  .hero{padding:150px 6% 110px;min-height:680px}
  .hero-content{position:relative;inset:auto;transform:none}
}
@media(max-width:600px){
  .reference-header{padding:0 12px;top:12px}
  .reference-header.is-sticky{top:8px}
  .reference-navbar{grid-template-columns:48px minmax(0,1fr) 40px;gap:10px;min-height:76px;padding:10px 12px}
  .reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{width:48px;height:56px}
  .reference-navbar .emblem-shield{width:46px;height:54px}
  .reference-navbar .mobile-school{font-size:13px;letter-spacing:.3px}
  .reference-navbar .navbar-toggler{width:40px;padding:7px}
  .hero{padding:135px 7% 105px;min-height:680px;height:100svh;max-height:none}
  .hero-content{position:relative;inset:auto;transform:none}
  .hero-content h1{font-size:clamp(30px,8vw,42px);line-height:1.2}
  .hero-content h2{font-size:clamp(25px,6.5vw,32px);line-height:1.5;margin-top:10px}
  .motto-label{margin-top:18px}
  .hero-content>p{font-size:14px;margin:12px 0 26px}
  .film-label{font-size:10px;line-height:1.6;margin-top:20px;letter-spacing:1.2px}
  .hero-bottom{bottom:32px;gap:12px}
}
@media(max-height:600px) and (min-width:601px){.hero{min-height:650px}.reference-header{top:15px}}
/* Featured sections: pronounced side entrances, zoom, and staggered cards. */
.motion-section{overflow:clip}
.section.about.motion-section .about-visual,.section.about.motion-section .about-copy,.section.highlights.motion-section .section-top{animation:none;opacity:1;transform:none;transition:none}
.section.about.motion-active .about-visual{animation:feature-photo-enter 1.1s cubic-bezier(.16,1,.3,1) both}
.section.about.motion-active .about-copy{animation:feature-copy-enter 1.1s cubic-bezier(.16,1,.3,1) .16s both}
.section.about.motion-active .about-visual>img{animation:feature-photo-zoom 2.2s cubic-bezier(.2,.7,.2,1) both;transition:transform .65s ease;border-radius:16px}
.section.about.motion-section .about-visual:hover>img{animation:none;transform:scale(1.045)}
.section.about.motion-section .about-visual{isolation:isolate}
.section.about.motion-section .image-seal{z-index:1;box-shadow:0 12px 30px #132b4826;transition:transform .4s}
.section.about.motion-section .about-visual:hover .image-seal{transform:rotate(0deg) translateY(-8px)}
.section.highlights.motion-active .section-top{animation:feature-heading-enter .85s cubic-bezier(.16,1,.3,1) both}
.section.highlights.motion-section .notice-grid{overflow:visible;border:0;gap:22px}
.section.highlights.motion-section .notice{padding:30px;border:1px solid #e8bec9;border-radius:16px;background:#fff;box-shadow:0 4px 18px #132b4808;transition:transform .35s,box-shadow .35s,border-color .35s}
.section.highlights.motion-active .notice{animation:feature-card-enter .9s cubic-bezier(.16,1,.3,1) backwards}
.section.highlights.motion-active .notice:nth-child(2){animation-delay:.15s}
.section.highlights.motion-active .notice:nth-child(3){animation-delay:.3s}
.section.highlights.motion-section .notice:hover,.section.highlights.motion-section .notice:focus-visible{transform:translateY(-10px) scale(1.025);border-color:#ac273b;box-shadow:0 20px 40px #132b4820}
.section.highlights.motion-section .notice .text-link{transition:transform .3s}
.section.highlights.motion-section .notice:hover .text-link{transform:translateX(6px)}
@keyframes feature-photo-enter{from{transform:translateX(-85px) scale(.88)}to{transform:translateX(0) scale(1)}}
@keyframes feature-copy-enter{from{transform:translateX(85px)}to{transform:translateX(0)}}
@keyframes feature-photo-zoom{from{transform:scale(1.14)}to{transform:scale(1)}}
@keyframes feature-heading-enter{from{transform:translateX(-55px)}to{transform:translateX(0)}}
@keyframes feature-card-enter{from{transform:translateY(60px) scale(.86)}to{transform:translateY(0) scale(1)}}
@media(max-width:800px){.section.highlights.motion-section .notice-grid{gap:16px}.section.highlights.motion-section .notice{padding:26px}.section.about.motion-active .about-copy{animation-name:feature-card-enter}.section.highlights.motion-active .notice:nth-child(2){animation-delay:.1s}.section.highlights.motion-active .notice:nth-child(3){animation-delay:.2s}}
@media(prefers-reduced-motion:reduce){.section.about.motion-active .about-visual,.section.about.motion-active .about-copy,.section.about.motion-active .about-visual>img,.section.highlights.motion-active .section-top,.section.highlights.motion-active .notice{animation:none;transform:none}.section.highlights.motion-section .notice:hover,.section.about.motion-section .about-visual:hover>img,.section.about.motion-section .about-visual:hover .image-seal,.section.highlights.motion-section .notice:hover .text-link{transform:none}}

/* About section: smooth fade, soft zoom, and a readable text sequence. */
.section.about.motion-active .about-visual{animation:about-cinematic-image 1.5s cubic-bezier(.16,1,.3,1) backwards}
.section.about.motion-active .about-copy{animation:none}
.section.about.motion-active .about-visual>img{animation:about-slow-zoom 2s cubic-bezier(.2,.7,.2,1) backwards}
.section.about.motion-active .about-copy>.eyebrow{animation:about-soft-fade 1.1s cubic-bezier(.16,1,.3,1) .12s backwards}
.section.about.motion-active .about-copy>h2{animation:about-heading-fade 1.35s cubic-bezier(.16,1,.3,1) .22s backwards}
.section.about.motion-active .about-copy>p{animation:about-soft-fade 1.25s cubic-bezier(.16,1,.3,1) .38s backwards}
.section.about.motion-active .about-copy>p+p{animation-delay:.52s}
.section.about.motion-active .about-copy>.button{animation:about-soft-fade 1.2s cubic-bezier(.16,1,.3,1) .66s backwards}
.section.about.motion-active .image-seal{animation:about-seal-fade 1.3s cubic-bezier(.16,1,.3,1) .48s backwards}
@keyframes about-cinematic-image{from{opacity:0;transform:translateX(-45px) translateY(25px) scale(.9)}to{opacity:1;transform:translateX(0) translateY(0) scale(1)}}
@keyframes about-slow-zoom{from{transform:scale(1.1)}to{transform:scale(1)}}
@keyframes about-soft-fade{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes about-heading-fade{from{opacity:0;transform:translateX(35px) translateY(12px)}to{opacity:1;transform:translateX(0) translateY(0)}}
@keyframes about-seal-fade{from{opacity:0;transform:translateY(28px) rotate(-13deg) scale(.85)}to{opacity:1;transform:translateY(0) rotate(-6deg) scale(1)}}
@media(max-width:800px){.section.about.motion-active .about-copy{animation:none}.section.about.motion-active .about-copy>h2{animation-name:about-soft-fade}.section.about.motion-active .about-visual{animation-name:about-mobile-image}}
@keyframes about-mobile-image{from{opacity:0;transform:translateY(35px) scale(.93)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.section.about.motion-active .about-visual,.section.about.motion-active .about-visual>img,.section.about.motion-active .about-copy>*,.section.about.motion-active .image-seal{animation:none;opacity:1}}
/* Let AOS alone animate these two panels, exactly as in UniPulse. */
.unipulse-panel .story-photo>img,.unipulse-panel .story-badge,.unipulse-panel .about-visual>img,.unipulse-panel .image-seal,.unipulse-panel .about-copy>*,.unipulse-panel .value-card,.unipulse-panel .value-card:after{animation:none!important}
html:not(.aos-enabled) .unipulse-panel [data-aos]{opacity:1!important;transform:none!important}
.unipulse-panel{overflow:clip}
@media(prefers-reduced-motion:reduce){.unipulse-panel [data-aos]{opacity:1!important;transform:none!important;transition:none!important}}
/* Admissions background film: overlay keeps all foreground copy readable. */
.admissions{isolation:isolate;background:#132b48}
.admissions>.admissions-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none}
.admissions>.admissions-video-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(19,43,72,.84),rgba(19,43,72,.64));pointer-events:none}
.admissions>.eyebrow,.admissions>h2,.admissions>div{position:relative;z-index:1}
.admissions>h2,.admissions p,.admissions>.eyebrow{color:#fff;text-shadow:0 2px 9px #0005}
.admissions>h2 em{color:#e8bec9}
.admissions>.admission-art{display:none}
.admissions-video-toggle{position:absolute;right:30px;top:24px;z-index:2;background:#132b4880;color:#fff;border:1px solid #ffffff70;border-radius:20px;padding:8px 13px;font-size:11px;backdrop-filter:blur(5px)}
@media(max-width:600px){.admissions{padding-top:85px}.admissions-video-toggle{top:20px;right:7%;font-size:10px}.admissions>.admissions-video-shade{background:rgba(19,43,72,.76)}}
/* Footer readability at desktop and mobile sizes. */
footer#contact{background:#faf3f4;color:#132b48;padding:60px 8% 28px}
#contact .footer-main{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr);gap:60px;padding-bottom:40px}
#contact .footer-brand{font-size:24px;white-space:normal;line-height:1.3;gap:15px;max-width:430px}
#contact .footer-brand>span:last-child{min-width:0}
#contact .footer-brand small{font-size:10px;line-height:1.7;letter-spacing:1px;margin-top:8px;color:#132b48}
#contact .footer-brand .crest{flex-shrink:0;width:58px;height:68px}
#contact .footer-brand .crest small{font-size:9px;line-height:1;margin-top:4px;color:#806522}
#contact .footer-main>div>p{font-size:16px;line-height:1.9;color:#354356;margin-top:22px}
#contact .footer-main h3{font-size:18px;font-weight:700;line-height:1.5;margin:0 0 20px;color:#132b48}
#contact .footer-main>div>a:not(.brand),#contact .footer-enquiry{font-size:16px;line-height:1.7;margin-bottom:6px;padding:7px 0;color:#132b48}
#contact .footer-main>div>a:not(.brand):hover,#contact .footer-enquiry:hover{color:#92263a;text-decoration:underline;text-underline-offset:5px}
#contact .footer-bottom{border-top:1px solid #e8bec9;padding-top:24px;font-size:14px;line-height:1.8;align-items:center;color:#132b48}
#contact .footer-bottom a{padding:6px 0;font-weight:600}
#contact .demo-note{font-size:12px;line-height:1.9;color:#354356;max-width:1000px;margin:20px 0 0}
@media(max-width:800px){footer#contact{padding:45px 7% 25px}#contact .footer-main{grid-template-columns:1fr 1fr;gap:30px;padding-bottom:30px}#contact .footer-main>div:first-child{grid-column:1/-1}#contact .footer-brand{font-size:22px}#contact .footer-main h3{font-size:17px}#contact .footer-brand small{font-size:9px}#contact .footer-bottom{font-size:13px;gap:16px;flex-wrap:wrap}#contact .demo-note{font-size:12px}}
@media(max-width:360px){#contact .footer-brand{font-size:19px}#contact .footer-brand small{font-size:9px;letter-spacing:.4px}#contact .footer-main{gap:24px}#contact .footer-main>div>a:not(.brand),#contact .footer-enquiry{font-size:15px}}
/* One continuous background video spans the admission callout and footer. */
.video-footer-wrap{position:relative;isolation:isolate;overflow:hidden;background:#132b48}
.video-footer-wrap>.admissions-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2;pointer-events:none}
.video-footer-wrap>.admissions-video-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(19,43,72,.67),rgba(19,43,72,.87) 65%,rgba(19,43,72,.94))}
.video-footer-wrap>.admissions,.video-footer-wrap>footer#contact{background:transparent;isolation:auto}
.video-footer-wrap>footer#contact{position:relative;border-top:1px solid #ffffff30;color:#fff}
.video-footer-wrap #contact .brand,.video-footer-wrap #contact .footer-main h3,.video-footer-wrap #contact .footer-brand small,.video-footer-wrap #contact .footer-main>div>p,.video-footer-wrap #contact .footer-main>div>a:not(.brand),.video-footer-wrap #contact .footer-enquiry,.video-footer-wrap #contact .footer-bottom,.video-footer-wrap #contact .demo-note{color:#fff}
.video-footer-wrap #contact .footer-brand .crest{background:#fff9e9;color:#8c6d24;border-color:#e1c77f}
.video-footer-wrap #contact .footer-brand .crest small{color:#775719}
.video-footer-wrap #contact .footer-main>div>a:not(.brand):hover,.video-footer-wrap #contact .footer-enquiry:hover{color:#e8bec9}
.video-footer-wrap #contact .footer-bottom{border-color:#ffffff40}
.video-footer-wrap #contact .footer-main>div>p,.video-footer-wrap #contact .demo-note{color:#faf3f4}
@media(max-width:600px){.video-footer-wrap>.admissions-video{object-position:60% center}.video-footer-wrap>.admissions-video-shade{background:linear-gradient(180deg,rgba(19,43,72,.76),rgba(19,43,72,.94))}}
/* Current navigation section and page. */
.reference-navbar .nav-link.active{color:#94263a;font-weight:700;box-shadow:inset 0 -3px #94263a}
.reference-navbar .dropdown-item.active,.reference-navbar .dropdown-item.active:hover{background:#f8e9ed;color:#8f2135;font-weight:700;border-left:3px solid #94263a}
@media(max-width:1199.98px){.reference-navbar .nav-link.active{background:#fcf4f6;padding-left:12px;border-radius:6px;box-shadow:inset 3px 0 #94263a}}
/* Clear, readable navigation labels at every breakpoint. */
.reference-navbar{max-width:1440px;min-height:76px;padding-left:24px;padding-right:24px;background:#fff}
.reference-navbar .nav-link{font-family:'DM Sans',Arial,sans-serif;font-size:13px;font-weight:700;letter-spacing:.2px;color:#132b48;line-height:1.5;padding:23px 0}
.reference-navbar .navbar-nav{gap:19px}
.reference-navbar .offcanvas-body{gap:170px}
.reference-navbar .dropdown-toggle:after{font-size:11px;margin-left:6px}
.reference-navbar .dropdown-item{font-size:14px;font-weight:500;line-height:1.6;padding:13px 18px;color:#132b48}
.reference-navbar .nav-link.active,.reference-navbar .nav-link:hover,.reference-navbar .nav-link.show{color:#92243a}
.reference-header.is-sticky .reference-navbar{background:#fff}
@media(min-width:1200px) and (max-width:1399.98px){.reference-header{padding-left:18px;padding-right:18px}.reference-navbar{padding-left:18px;padding-right:18px}.reference-navbar .navbar-nav{gap:12px}.reference-navbar .nav-link{font-size:12px;letter-spacing:0}.reference-navbar .offcanvas-body{gap:155px}}
@media(max-width:1199.98px){.reference-navbar{padding:10px 16px}.reference-navbar .nav-link{font-size:15px;font-weight:600;line-height:1.6;padding:16px 0}.reference-navbar .dropdown-item{font-size:14px;line-height:1.6;padding:12px 16px}.reference-navbar .mobile-school{font-size:17px}.reference-navbar .navbar-nav{gap:0}}
@media(max-width:600px){.reference-navbar{padding:10px 12px}.reference-navbar .mobile-school{font-size:14px}.reference-navbar .nav-link{font-size:15px}}
/* Official school logo: keep original proportions and avoid cropping. */
.reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{width:142px;height:132px;top:-23px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center}
.reference-navbar .school-logo{display:block;width:118px;height:112px;object-fit:contain;max-width:100%;filter:drop-shadow(0 3px 6px #0002)}
#contact .footer-school-logo{display:block;width:80px;height:76px;object-fit:contain;flex-shrink:0}
@media(max-width:1199.98px){.reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{position:relative;inset:auto;transform:none;width:56px;height:60px;grid-column:1;grid-row:1}.reference-navbar .school-logo{width:56px;height:56px;filter:none}}
@media(max-width:600px){.reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{width:48px;height:56px}.reference-navbar .school-logo{width:48px;height:48px}#contact .footer-school-logo{width:65px;height:62px}}
/* Golden sun rays behind the official school emblem. */
.reference-navbar .center-emblem{isolation:isolate}
.reference-navbar .center-emblem:before{content:'';position:absolute;inset:-10px -8px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#d6ae4999 0deg 2deg,transparent 2deg 15deg);mask-image:radial-gradient(circle,transparent 43%,#000 45%,#000 61%,transparent 70%);-webkit-mask-image:radial-gradient(circle,transparent 43%,#000 45%,#000 61%,transparent 70%);animation:school-sun-spin 55s linear infinite;z-index:-1;pointer-events:none}
.reference-navbar .center-emblem:after{content:'';position:absolute;inset:8px;border-radius:50%;background:radial-gradient(circle,#ffe49d66 0%,#ffe49d33 40%,transparent 72%);z-index:-2;pointer-events:none;animation:school-sun-glow 4s ease-in-out infinite}
.reference-navbar .school-logo{position:relative;z-index:1}
@keyframes school-sun-spin{to{transform:rotate(360deg)}}
@keyframes school-sun-glow{0%,100%{opacity:.55;transform:scale(.95)}50%{opacity:1;transform:scale(1.1)}}
@media(max-width:1199.98px){.reference-navbar .center-emblem:before{inset:-7px;mask-image:radial-gradient(circle,transparent 46%,#000 48%,#000 60%,transparent 70%);-webkit-mask-image:radial-gradient(circle,transparent 46%,#000 48%,#000 60%,transparent 70%)}.reference-navbar .center-emblem:after{inset:0}}
@media(prefers-reduced-motion:reduce){.reference-navbar .center-emblem:before,.reference-navbar .center-emblem:after{animation:none}}
/* Compact navigation with a translucent background after scrolling. */
.reference-navbar{min-height:58px;transition:background-color .3s ease,box-shadow .3s ease}
.reference-navbar .nav-link{padding-top:16px;padding-bottom:16px}
.reference-header.is-sticky .reference-navbar{background:rgba(255,255,255,.87);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 4px 20px #0002}
.reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{height:112px;width:130px;top:-27px}
.reference-navbar .school-logo{width:104px;height:98px}
@media(max-width:1199.98px){.reference-navbar{min-height:66px;padding-top:6px;padding-bottom:6px}.reference-navbar .nav-link{padding-top:15px;padding-bottom:15px}.reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{height:54px;width:54px;top:auto}.reference-navbar .school-logo{width:50px;height:50px}}
@media(max-width:600px){.reference-navbar{min-height:60px;padding-top:5px;padding-bottom:5px}.reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{height:50px;width:48px}.reference-navbar .school-logo{width:46px;height:46px}}
/* Official school logo with circular frame and rotating reference sunburst. */
.reference-navbar .desktop-school-emblem{display:none}
.reference-navbar .center-emblem>.school-logo{display:block;border-radius:50%;background:#fff;box-sizing:border-box;padding:5px;border:2px solid #c6a34a;box-shadow:0 0 0 3px #fff,0 0 0 4px #d9bd70;object-fit:contain;filter:none}
@media(min-width:1200px){
.reference-navbar .center-emblem,.reference-header.is-sticky .reference-navbar .center-emblem{width:104px;height:104px;top:50%;transform:translate(-50%,-50%)}
.reference-navbar .center-emblem>.school-logo{width:96px;height:96px}
.reference-navbar .center-emblem:before{display:block;inset:auto;width:150px;height:150px;left:50%;top:50%;margin-left:-75px;margin-top:-75px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#d6ae49 0deg 1deg,transparent 1deg 7.5deg);mask-image:radial-gradient(circle,transparent 0 46%,#000 47% 69%,transparent 70%);-webkit-mask-image:radial-gradient(circle,transparent 0 46%,#000 47% 69%,transparent 70%);opacity:1;filter:none;animation:school-sun-spin 90s linear infinite}
.reference-navbar .center-emblem:after{display:none}
}
@media(max-width:1199.98px){
.reference-navbar .center-emblem>.school-logo{padding:2px;border-width:1px;box-shadow:0 0 0 2px #fff,0 0 0 3px #d9bd70}
.reference-navbar .center-emblem:before,.reference-navbar .center-emblem:after{display:none}
}
@media(prefers-reduced-motion:reduce){.reference-navbar .center-emblem:before{animation:none}}