.school-hero{background:var(--hero-blue);color:#fff;position:relative;isolation:isolate;overflow:hidden}
.school-hero .wrap{min-height:440px;display:flex;align-items:center}
.hero-copy{padding-block:58px 66px;width:51%;z-index:1}
.school-hero img{position:absolute;inset:0 0 0 auto;width:var(--hero-media-width);height:100%;object-fit:cover;clip-path:var(--hero-media-angle)}
.school-hero .lead{color:#e8eeff;font-size:1rem;line-height:1.85;margin-top:18px;max-width:27ch}
.school-hero .page-name{font-weight:750;font-size:.96rem;margin-bottom:14px;color:#edf1ff}
.school-hero h1{font-size:clamp(2rem,4.2vw,5rem);font-weight:900;letter-spacing:-.065em;line-height:1.16}
.school-tabs{background:#fff;border-bottom:1px solid var(--line)}
.school-tabs ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 24px}
.school-tabs a{display:block;padding:16px 0 13px;border-bottom:3px solid transparent;font-size:.91rem;font-weight:750}
.school-tabs a[aria-current=page],.school-tabs a:hover{color:var(--blue);border-color:var(--blue)}
.school-shell{padding-block:50px 72px}
.crumbs{font-size:.83rem;color:var(--muted);margin-bottom:29px}
.crumbs a{text-decoration:underline;text-underline-offset:.2em}
.rich{line-height:1.92}
.rich h2,.rich h3,.rich h4{line-height:1.38;letter-spacing:-.025em}
.rich h2,.section-title{font-size:clamp(1.65rem,3.4vw,2.9rem);font-weight:900;line-height:1.28;letter-spacing:-.055em}
.rich h3{font-size:clamp(1.28rem,2.35vw,1.9rem);font-weight:850}
.rich h4{font-size:1.13rem}
.rich p{color:#344563;margin:10px 0 0}
.rich a:not(.button){color:var(--blue);text-decoration:underline;text-underline-offset:.22em}
.rich img{border-radius:3px}
.rich strong{color:var(--ink)}
.intro{max-width:850px;margin-bottom:37px}
.intro h3{font-size:clamp(1.55rem,3.2vw,2.7rem);font-weight:900}
.intro p{line-height:2}
.story-grid,.people-grid,.photo-grid,.feed-grid,.resource-grid{display:grid;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}
.story{padding:0;background:#fff;display:flex;flex-direction:column;border-bottom:3px solid var(--line)}
.story:hover{border-color:var(--blue)}
.story img{width:100%;height:220px;object-fit:cover}
.story-copy{padding:22px;display:flex;flex:1;flex-direction:column;align-items:start}
.story-copy p{margin:10px 0 17px;line-height:1.75;color:var(--muted)}
.story-copy b{margin-top:auto;color:var(--blue);text-decoration:underline;text-underline-offset:.24em}
.feature{display:grid;grid-template-columns:1.02fr 1fr;align-items:center;gap:clamp(18px,4vw,50px);margin-block:0 25px;background:#fff;padding:clamp(17px,3.5vw,44px)}
.feature img{width:100%;aspect-ratio:16/10;object-fit:cover}
.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:36px}
.photo-grid img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/9}
.detail-block{padding:25px;background:#fff;margin:15px 0 30px;border-top:3px solid var(--blue)}
.qualification-grid,.divideColumn{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.qualification-grid article,.divideColumn .divide2,.divideColumn .divide3{background:#fff;padding:clamp(14px,2.1vw,24px)}
.resultsTitl{margin-top:48px;margin-bottom:20px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.style4b{margin:26px 0 12px}
.attendance_record{margin-bottom:12px}
.attendance_record:has(.divide3){grid-template-columns:repeat(3,minmax(0,1fr))}
.attendance_record p{margin:0;color:var(--blue);font-weight:750}
.attendance_record .count{font-size:clamp(1.65rem,4vw,3rem);font-weight:900;letter-spacing:-.06em}
.bgBlue .divide2{border-top:3px solid var(--blue)}
.bgGreen .divide2{border-top:3px solid #148579}
.divideColumn h4:not(:first-child){margin-top:20px}
.rich table{width:100%;border-collapse:collapse;line-height:1.55}
.rich td,.rich th{padding:9px 6px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top}
.rich table th{white-space:nowrap;color:var(--blue)}
.people-grid{margin-top:20px;grid-template-columns:repeat(2,minmax(0,1fr))}
.person{padding:clamp(15px,2.8vw,28px);border-top:3px solid var(--blue);background:#fff;display:grid;grid-template-columns:120px 1fr;column-gap:20px;align-items:start}
.person img{width:120px;height:135px;object-fit:cover;object-position:center 30%}
.person h3 span{font-size:.88rem;color:var(--blue);font-weight:750}
.person p{line-height:1.8}
.facility-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0 0 30px;padding:0;border-bottom:2px solid #b4c4ed}
.facility-route a{position:relative;display:block;padding:10px 12px 15px;color:var(--blue);font-weight:820}
.facility-route a::after{content:"";position:absolute;left:12px;bottom:-6px;width:10px;height:10px;border-radius:50%;background:var(--blue)}
.facility{background:#fff;padding:clamp(17px,3.4vw,38px);margin-bottom:20px}
.facility .photo-grid{margin:16px 0 0}
.facility .photo-grid:has(img:only-child){grid-template-columns:minmax(0,820px)}
.school-cta{background:#1739b8;color:#fff;padding:clamp(20px,4vw,40px);display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:50px}
.school-cta .button{flex:none}
.page-links{margin-top:21px;display:flex;gap:12px;flex-wrap:wrap}
.page-links a{padding:9px 14px;background:#fff;border:1px solid var(--line)}
.school-related{margin-top:40px}
.school-related h3{margin:15px 0 12px}
.feed-grid a{background:#fff;padding:11px;display:flex;align-items:center;gap:9px;font-size:.84rem}
.feed-grid img{width:62px;height:62px;object-fit:cover}
.resource-grid img{width:100%;aspect-ratio:3/1;object-fit:contain;background:#fff}
@media(max-width:850px){.person{grid-template-columns:1fr}.person img{margin-bottom:12px}.story img{height:155px}}
@media(max-width:650px){
.school-hero .wrap{min-height:0}.hero-copy{width:100%;padding-block:21px 29px}.school-hero img{position:relative;inset:auto;display:block;width:100%;height:clamp(175px,52vw,265px);clip-path:var(--hero-mobile-angle)}
.school-hero h1{font-size:clamp(2rem,8vw,3rem)}.school-hero .lead{max-width:none;margin-top:9px}
.school-tabs ul{gap:0 12px}.school-tabs a{font-size:.83rem;padding:9px 0 7px}
.school-shell{padding-block:33px 48px}.story-grid,.people-grid,.feature,.qualification-grid,.divideColumn,.feed-grid{grid-template-columns:1fr}
.attendance_record,.attendance_record:has(.divide3){grid-template-columns:repeat(2,minmax(0,1fr))}
.person{grid-template-columns:78px 1fr;gap:12px}.person img{width:78px;height:91px}
.story img{height:180px}.school-cta{display:block}.school-cta a{margin-top:13px}
.facility-route a{font-size:.86rem;padding-inline:6px}.facility-route a::after{left:6px}
}
.school-tabs ul.wrap{margin-inline:auto}
.school-hero .lead{max-width:43ch}
.school-hero .page-name span{display:inline-block;margin-left:8px;color:#d9e4ff;font-size:.84rem;font-weight:500}
.crumbs + .page-links{margin:0 0 22px}
@media(max-width:380px){.person{grid-template-columns:1fr}.person img{width:100px;height:114px}}

/* School overview */
.outline-hero .wrap { min-height: 516px; }
.outline-intro {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(25px, 5vw, 70px);
  margin-bottom: 47px;
}
.outline-intro-photo { margin: 0; padding-top: 10px; border-top: 4px solid var(--blue); }
.outline-intro-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 55% center; }
.outline-intro-photo figcaption, .outline-license-gallery figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; font-weight: 650; line-height: 1.55; }
.outline-license-gallery { margin-top: 27px; padding-top: 21px; border-top: 1px solid var(--line); }
.outline-gallery-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px 20px; margin-top: 15px; }
.outline-gallery-grid figure { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.outline-gallery-main { grid-row: span 2; }
.outline-gallery-main img, .outline-gallery-document img { width: 100%; object-fit: cover; }
.outline-gallery-main img { flex: 1; min-height: 0; aspect-ratio: 4 / 3; object-position: center; }
.outline-gallery-document a { display: block; overflow: hidden; border-radius: 3px; }
.outline-gallery-document img { aspect-ratio: 2 / 1; }
@media (max-width: 760px) {
  .outline-intro { grid-template-columns: 1fr; gap: 17px; }
  .outline-intro-photo img { aspect-ratio: 16 / 9; }
  .outline-gallery-main { grid-column: 1 / -1; grid-row: auto; }
  .outline-gallery-main img { aspect-ratio: 16 / 9; }
  .outline-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .outline-hero .wrap { min-height: 0; }
  }

/* Keep the diagonal crop fixed while the hero photo fades in. */
@media (prefers-reduced-motion: no-preference) {
  .school-hero img.photo-arrived { animation-name: hero-image-arrival; }
}

.person:last-child:nth-child(odd) { grid-column:1 / -1; }
.person:last-child:nth-child(odd) p { max-width:76ch; }

@media (min-width: 651px) and (max-width: 920px) {
  .school-hero .hero-copy { width: 46%; }
  .school-hero .actions { max-width: 90%; }
}
@media (min-width: 1200px) {
  .school-hero h1 { font-size: clamp(3.5rem, 4.75vw, 5rem); }
}

/* Keep the established visual scale when page sections use level-two headings. */
.rich .intro .outline-intro-copy > h2 {
  font-size:clamp(1.55rem,3.2vw,2.7rem);
  font-weight:900;
}
.rich .facility > h2 { font-size:clamp(1.14rem,2.2vw,1.4rem); }
