.logo-image{display:block}
.site-flash{position:fixed;top:105px;left:50%;z-index:1200;transform:translateX(-50%);width:min(680px,calc(100% - 32px));padding:15px 20px;border:1px solid rgba(34,112,69,.16);border-radius:12px;background:#dff5e9;color:#227045;box-shadow:0 15px 35px rgba(20,55,80,.18);font:600 14px var(--font-display);text-align:center;animation:flash-in .25s ease}.site-flash.error{border-color:rgba(164,47,42,.16);background:#fee9e8;color:#a42f2a}@keyframes flash-in{from{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%,0)}}
header.on-hero:not(.scrolled) .logo-image{filter:brightness(0) invert(1)}
header:not(.on-hero) .logo-image,header.scrolled .logo-image{filter:none}
.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.reference-page{background:var(--white)}
.reference-page::before{content:"";display:block;height:82px;background:var(--navy)}
.reference-section:nth-child(even){background:var(--grey)}
.reference-split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:76px}
.reference-copy h2{font-size:clamp(34px,4vw,52px);line-height:1.12;margin-bottom:16px}
.reference-copy>p{color:#707070;font-size:17px;max-width:600px}
.reference-image{overflow:hidden;border-radius:24px;box-shadow:var(--shadow-soft)}
.reference-image img{width:100%;height:420px;object-fit:cover;transition:.7s var(--ease)}
.reference-image:hover img{transform:scale(1.04)}
.section-intro .reference-copy{order:0}.section-intro .reference-image{order:1}
.section-cards .section-head,.section-values .section-head,.section-timeline .section-head,.section-gallery .section-head{margin-bottom:42px}
.reference-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.reference-card{background:#fff;border:1px solid #e9edf5;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-soft);transition:.35s var(--ease)}
.reference-card:hover{transform:translateY(-7px);box-shadow:var(--shadow-hover)}
.reference-card-image{height:180px;overflow:hidden}.reference-card-image img{width:100%;height:100%;object-fit:cover;transition:.6s var(--ease)}.reference-card:hover img{transform:scale(1.06)}
.reference-card-copy{padding:25px 24px 28px}.reference-card h3{font-size:20px;line-height:1.25;margin-bottom:10px}.reference-card p{color:#777;font-size:14.5px;line-height:1.65}
.reference-checklist{display:grid;gap:14px;margin-top:27px}.reference-checklist li{display:grid;gap:3px;padding:15px 18px;border-left:3px solid var(--yellow);background:var(--cream)}.reference-checklist strong{color:var(--navy);font:700 15px var(--font-display)}.reference-checklist span{color:#777;font-size:14px}
.reference-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.reference-timeline article{position:relative;padding:25px 22px;background:var(--cream);border-radius:18px}.reference-timeline article>span{font:800 28px var(--font-display);color:var(--yellow-dark)}.reference-timeline h3{font-size:18px;margin:10px 0 7px}.reference-timeline p{color:#777;font-size:14px;line-height:1.6}
.reference-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.reference-gallery figure{overflow:hidden;border-radius:18px;background:#fff;box-shadow:var(--shadow-soft)}.reference-gallery img{width:100%;height:230px;object-fit:cover;transition:.5s var(--ease)}.reference-gallery figure:hover img{transform:scale(1.06)}.reference-gallery figcaption{padding:13px 15px;color:var(--navy);font:600 13px var(--font-display)}
.reference-cta{background-color:var(--navy-deep);background-position:center;background-size:cover;color:#fff}.reference-cta-copy{max-width:700px;margin:auto;text-align:center}.reference-cta .eyebrow{justify-content:center}.reference-cta h2{color:#fff;font-size:clamp(34px,4vw,52px);line-height:1.12;margin:9px 0 13px}.reference-cta p{color:rgba(255,255,255,.8);font-size:16px;margin-bottom:26px}
@media(max-width:900px){.reference-split{grid-template-columns:1fr;gap:38px}.reference-image img{height:340px}.reference-cards{grid-template-columns:repeat(2,1fr)}.reference-timeline{grid-template-columns:repeat(2,1fr)}.reference-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.reference-cards,.reference-timeline,.reference-gallery{grid-template-columns:1fr}.reference-image img{height:270px}.reference-copy h2{font-size:34px}.reference-copy>p{font-size:15px}.reference-gallery img{height:220px}}

/* Reference-faithful page compositions */
.bg-grey{background:var(--grey)}
.bg-cream{background:var(--cream)}
.bg-navy{background:var(--navy-deep);color:#fff}
.reference-section.bg-navy,.reference-section.page-stats{background:var(--navy-deep);color:#fff}
.section-standard{padding-top:92px}
.standard-top-grid{display:grid;grid-template-columns:1fr 1fr;gap:76px;align-items:end;margin-bottom:44px}
.standard-top-grid h2{font-size:clamp(36px,4vw,52px);line-height:1.12}
.standard-top-grid p{color:#707070;font-size:17px;max-width:600px}
.standard-top-grid p+p{margin-top:14px}
.standard-tabs{margin-top:0;overflow:hidden;border-radius:24px;box-shadow:var(--shadow-soft)}
.standard-layout{display:grid;grid-template-columns:280px minmax(0,1fr);background:#fff}
.tabs-nav{display:flex;gap:10px;flex-wrap:wrap}
.tabs-nav button{border:1px solid #dce2ef;border-radius:999px;background:#fff;color:var(--navy);padding:12px 18px;font:600 13px var(--font-display);cursor:pointer;transition:.25s var(--ease)}
.tabs-nav button:hover,.tabs-nav button.active{background:var(--yellow);border-color:var(--yellow);color:var(--navy-deep)}
.standard-sidebar{display:grid;align-content:start;gap:0;background:var(--navy);padding:16px}
.standard-sidebar button{border:0;border-radius:12px;background:transparent;color:rgba(255,255,255,.72);text-align:left;padding:17px 18px}
.standard-sidebar button:hover,.standard-sidebar button.active{background:rgba(255,255,255,.13);color:#fff}
.standard-panel{display:none}
.standard-panel.active{display:grid}
.standard-panel{grid-template-columns:1fr 1fr;gap:36px;align-items:center;padding:40px}
.standard-panel h3{font-size:26px;line-height:1.2;margin:12px 0 10px}
.standard-panel p{color:#707070;font-size:15px;line-height:1.7}
.sc-icon{font-size:30px;line-height:1}
.item-icon-emoji{display:inline-block;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:1.08em;line-height:1}
.sc-media{height:300px;overflow:hidden;border-radius:18px}
.sc-media img{width:100%;height:100%;object-fit:cover}
.section-curriculum{padding-bottom:105px}
.section-curriculum .section-head h2{color:#fff}
.section-curriculum .section-head p{color:rgba(255,255,255,.72)}
.curriculum-tabs{margin-top:30px}
.curriculum-tabs>.tabs-nav{justify-content:center;margin-bottom:30px}
.curriculum-panel{display:none}
.curriculum-panel.active{display:block}
.curriculum-intro{text-align:center;color:rgba(255,255,255,.72);margin:-8px auto 24px}
.curric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.curric-card{background:#fff;border-radius:18px;padding:25px 24px;box-shadow:var(--shadow-soft)}
.curric-card h4{font-size:19px;margin-bottom:16px}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pills span,.tag-pill{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:var(--cream);color:var(--navy);font-size:12px;line-height:1.35}
.section-assessment .reference-split{align-items:center}
.section-assessment .reference-copy h2{font-size:clamp(34px,4vw,46px)}
.section-assessment .reference-copy>p{margin-bottom:20px}
.tag-pills{display:flex;flex-wrap:wrap;gap:9px}
.tag-pill{background:#fff;border:1px solid #e1e5ee;color:#555}
.section-amenities{background:#fff}
.section-amenities .section-head{margin-bottom:42px}
.facility-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.facility-item{padding:25px 22px;background:#fff;border:1px solid #e8ebf2;border-radius:17px;box-shadow:var(--shadow-soft)}
.section-amenities .facility-item,.section-facility-tabs .facility-item{background:#fff}
.facility-item .ic{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--cream);font-size:24px;margin-bottom:16px}
.facility-item h4{font-size:18px;line-height:1.25;margin-bottom:8px}
.facility-item p{color:#777;font-size:14px;line-height:1.6}
.section-facility-tabs .section-head{margin-bottom:38px}
.section-facility-tabs>.container>.tabs-wrap>.tabs-nav{margin-bottom:30px}
.facility-panel{display:none}
.facility-panel.active{display:block}
.facility-intro{text-align:center;color:#777;margin:-10px auto 24px}
.section-facility-tabs .facility-grid{grid-template-columns:repeat(4,1fr)}
.page-stats{padding:78px 0;background:var(--navy-deep);color:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat-block{text-align:center;padding:0 24px;position:relative}
.stat-block+.stat-block:before{content:'';position:absolute;left:0;top:7px;height:70px;border-left:1px solid rgba(255,255,255,.2)}
.stat-block .num{font:800 46px/1 var(--font-display);color:var(--yellow)}
.stat-block .lbl{margin-top:10px;font:700 16px var(--font-display);color:#fff}
.stat-block .sub{margin-top:5px;color:rgba(255,255,255,.65);font-size:12px;line-height:1.4}
.person-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.person-card{overflow:hidden;background:#fff;border-radius:18px;box-shadow:var(--shadow-soft)}
.pc-photo{height:220px;overflow:hidden;background:var(--cream)}
.pc-photo img{width:100%;height:100%;object-fit:cover}
.pc-body{padding:20px}
.pc-body h4{font-size:18px;margin-bottom:4px}
.pc-body .role{display:block;color:var(--orange);font:600 12px var(--font-display);margin-bottom:10px}
.pc-body p{color:#777;font-size:13px;line-height:1.6}
.reference-copy>p+p{margin-top:14px}
.reference-section .reference-checklist li{display:flex;align-items:center;gap:10px}

@media(max-width:900px){
  .standard-top-grid,.standard-layout,.standard-panel{grid-template-columns:1fr}
  .standard-sidebar{display:flex;overflow:auto;flex-wrap:nowrap}
  .standard-sidebar button{white-space:nowrap}
  .standard-panel{padding:28px}
  .curric-grid,.facility-grid,.section-facility-tabs .facility-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid,.person-grid{grid-template-columns:repeat(2,1fr);row-gap:34px}
  .stat-block:nth-child(odd):before{display:none}
}
@media(max-width:560px){
  .standard-top-grid{gap:20px}
  .standard-panel{padding:22px}
  .sc-media{height:230px}
  .curric-grid,.facility-grid,.section-facility-tabs .facility-grid{grid-template-columns:1fr}
  .stats-grid,.person-grid{grid-template-columns:1fr}
  .stat-block{padding:0 8px}
  .stat-block:before{display:none}
}

/* Homepage reels and accessible gallery viewer */
.voice-reel-stage{position:relative;min-height:clamp(430px,65vw,560px)}.voice-media video{width:100%;height:100%;object-fit:cover}.voice-media{aspect-ratio:9/14;height:auto;max-height:560px}.voice-card.active{animation:voice-in .35s var(--ease)}.voice-carousel-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:26px}.voice-arrow{width:38px;height:38px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:26px;line-height:1;cursor:pointer}.voice-arrow:hover,.voice-arrow:focus-visible{background:var(--yellow);border-color:var(--yellow);color:var(--navy-deep)}.voice-dots{margin-top:0}.voice-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:var(--yellow);opacity:.35;cursor:pointer}.voice-dots button.active{opacity:1}.voice-dots button:focus-visible{outline:2px solid #fff;outline-offset:3px}@keyframes voice-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.gallery-grid figure{position:relative;cursor:zoom-in}.gallery-grid figure:focus{outline:3px solid var(--yellow);outline-offset:3px}.gallery-grid figcaption{position:absolute;inset:auto 0 0;padding:28px 15px 14px;color:#fff;background:linear-gradient(transparent,rgba(14,28,65,.88));opacity:0;transform:translateY(6px);transition:.25s var(--ease)}.gallery-grid figure:hover figcaption,.gallery-grid figure:focus figcaption{opacity:1;transform:translateY(0)}.gallery-lightbox{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;gap:24px;padding:28px;background:rgba(7,16,38,.94)}.gallery-lightbox[hidden]{display:none}.gallery-lightbox-content{display:grid;justify-items:center;gap:10px;max-width:min(88vw,1000px);max-height:90vh}.gallery-lightbox-content img{max-width:100%;max-height:76vh;width:auto;height:auto;object-fit:contain;border-radius:10px}.gallery-lightbox-content p{color:#fff;font:700 15px var(--font-display);text-align:center}.gallery-lightbox-content span{color:rgba(255,255,255,.65);font-size:12px}.gallery-lightbox-close,.gallery-lightbox-control{border:0;color:#fff;background:rgba(255,255,255,.13);cursor:pointer}.gallery-lightbox-close{position:absolute;top:18px;right:22px;width:42px;height:42px;border-radius:50%;font-size:28px;line-height:1}.gallery-lightbox-control{width:46px;height:58px;border-radius:12px;font-size:44px;line-height:1}.gallery-lightbox-close:hover,.gallery-lightbox-control:hover{background:var(--yellow);color:var(--navy-deep)}body.gallery-open{overflow:hidden}
@media(max-width:760px){.site-flash{top:82px;font-size:12px}.gallery-lightbox{gap:8px;padding:22px 10px}.gallery-lightbox-control{width:34px;height:48px;font-size:34px}.gallery-lightbox-content{max-width:calc(100vw - 80px)}.gallery-lightbox-content img{max-height:70vh}}

/* Gallery images are intentionally caption-free; the viewer uses alt text and
   a simple, touch-friendly image sequence instead. */
.gallery-grid figure{overflow:hidden}
.gallery-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s var(--ease)}
.gallery-grid figure:hover img,.gallery-grid figure:focus img{transform:scale(1.025)}
.gallery-lightbox-content img{touch-action:pan-y;user-select:none}

/* Responsive header and event card refinements */
.logo{display:inline-flex;align-items:center;flex:none}
.logo-image{height:88px;width:auto;object-fit:contain}
.nav-cta .btn{white-space:nowrap}
.event-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.event-card{display:flex;flex-direction:column;min-width:0;height:100%;padding:0;overflow:hidden}
.event-thumb{width:100%;height:184px;object-fit:cover;border-radius:0}
.event-card-body{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:start;gap:18px;padding:24px;flex:1}
.event-card-content{min-width:0}
.event-card h3,.event-card p,.event-card small{overflow-wrap:anywhere}
.event-card small{display:block;line-height:1.45}

@media(max-width:900px){
  .logo{margin-right:auto}
  .logo-image{height:56px}
  .nav-wrap{gap:10px}
  .nav-links{display:none}
  .nav-cta{display:flex;margin:0}
  .nav-cta .btn{font-size:12px;padding:10px 14px;min-height:40px}
}

@media(max-width:560px){
  .event-thumb{height:160px}
  .event-card-body{grid-template-columns:56px minmax(0,1fr);gap:12px;padding:18px}
  .event-date{width:54px;height:64px}
  .event-date strong{font-size:21px}
  .event-card h3{font-size:17px}
  .event-card p{font-size:13px}
  .nav-cta .btn{font-size:11px;padding:9px 12px}
}