/* Homepage sections inspired by the supplied concept, using O'Reilly's existing palette. */
.school-home .school-home__profile-fact{display:flex;margin:30px 0 8px;padding:18px 0;align-items:center;gap:22px;border-top:1px solid var(--sh-line);border-bottom:1px solid var(--sh-line)}
.school-home .school-home__profile-fact>strong{color:var(--sh-navy);font-family:var(--font-secondary);font-size:clamp(2.6rem,4vw,3.7rem);font-weight:700;line-height:1}
.school-home .school-home__profile-fact>span{display:grid;gap:4px;padding-left:22px;border-left:1px solid var(--sh-line)}
.school-home .school-home__profile-fact b{color:var(--sh-ink);font-size:14px;font-weight:700}
.school-home .school-home__profile-fact small{color:#656072;font-size:14px;line-height:1.5}
.school-home .school-home__quick-links{position:relative;z-index:2;margin:-2px auto 0;padding:0 0 34px;background:#fff}
.school-home .school-home__quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--sh-line);border-radius:18px;background:#fff;box-shadow:0 18px 48px rgba(24,15,66,.08)}
.school-home .school-home__quick-grid>a{display:flex;min-height:112px;padding:24px 26px;align-items:center;justify-content:space-between;gap:18px;color:var(--sh-ink);text-decoration:none;transition:background-color .25s ease,color .25s ease}
.school-home .school-home__quick-grid>a+a{border-left:1px solid var(--sh-line)}
.school-home .school-home__quick-grid>a:hover,.school-home .school-home__quick-grid>a:focus-visible{background:var(--sh-ivory);color:var(--sh-purple)}
.school-home .school-home__quick-grid strong,.school-home .school-home__quick-grid small{display:block}
.school-home .school-home__quick-grid strong{font-size:17px;font-weight:700;line-height:1.35}
.school-home .school-home__quick-grid small{margin-top:7px;color:#656072;font-size:14px;line-height:1.45}
.school-home .school-home__quick-arrow{flex:0 0 auto;color:var(--sh-purple);font-size:26px;line-height:1;transition:transform .25s ease}
.school-home .school-home__quick-grid>a:hover .school-home__quick-arrow{transform:translate(3px,-3px)}

.school-home .school-home__student-life{padding:clamp(76px,8vw,116px) 0;background:#fff}
.school-home .school-home__student-life-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:center;gap:clamp(42px,7vw,104px)}
.school-home .school-home__student-life-copy h2,.school-home .school-home__admissions-heading h2,.school-home .school-home__foundation-copy h2{margin:0;color:var(--sh-ink);font-size:clamp(2.8rem,5vw,5.2rem);letter-spacing:-.045em;line-height:.98}
.school-home .school-home__student-life-copy h2 em,.school-home .school-home__admissions-heading h2 em{color:var(--sh-purple);font-style:normal}
.school-home .school-home__student-life-intro{max-width:650px;margin:24px 0 30px;color:#5d596a;font-size:17px;line-height:1.8}
.school-home .school-home__student-life-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;border-top:1px solid var(--sh-line)}
.school-home .school-home__student-life-points article{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:20px 0;border-bottom:1px solid var(--sh-line)}
.school-home .school-home__student-life-points article>span{padding-top:3px;color:var(--sh-violet);font-size:11px;font-weight:700;letter-spacing:.1em}
.school-home .school-home__student-life-points h4{margin:0 0 5px;color:var(--sh-ink);font-family:var(--font-secondary);font-size:22px;font-weight:400}
.school-home .school-home__student-life-points p{margin:0;color:#656072;font-size:14px;line-height:1.55}
.school-home .school-home__text-link,.school-home .school-home__admissions-link{display:inline-flex;margin-top:28px;align-items:center;gap:10px;color:var(--sh-purple);font-size:15px;font-weight:700;text-decoration:none}
.school-home .school-home__text-link span,.school-home .school-home__admissions-link span{font-size:20px;transition:transform .25s ease}
.school-home .school-home__text-link:hover span,.school-home .school-home__admissions-link:hover span{transform:translate(3px,-3px)}
.school-home .school-home__student-life-image{position:relative;margin:0;min-height:570px;overflow:hidden;border-radius:22px 100px 22px 22px;background:var(--sh-mist);box-shadow:var(--sh-shadow)}
.school-home .school-home__student-life-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%}
.school-home .school-home__student-life-image figcaption{position:absolute;right:100px;bottom:20px;left:20px;padding:14px 18px;border:1px solid rgba(255,255,255,.3);border-radius:12px;background:rgba(21,17,45,.78);color:#fff;font-size:13px;backdrop-filter:blur(8px)}

/* School life sits after the history section, using the school's purple palette. */
.school-home .school-home__student-life{background:var(--sh-purple);color:#fff}
.school-home .school-home__student-life .school-home__eyebrow{color:#d8ccff}
.school-home .school-home__student-life-copy h2{color:#fff}
.school-home .school-home__student-life-copy h2 em{color:#e0d5ff}
.school-home .school-home__student-life-intro{color:rgba(255,255,255,.86)}
.school-home .school-home__student-life-points{border-top-color:rgba(255,255,255,.22)}
.school-home .school-home__student-life-points article{border-bottom-color:rgba(255,255,255,.22)}
.school-home .school-home__student-life-points article>span{color:#d8ccff}
.school-home .school-home__student-life-points h4{color:#fff}
.school-home .school-home__student-life-points p{color:rgba(255,255,255,.78)}
.school-home .school-home__student-life .school-home__text-link{min-height:52px;padding:0 22px;border-radius:10px;background:#fff;color:var(--sh-purple);transition:transform .25s ease,box-shadow .25s ease}
.school-home .school-home__student-life .school-home__text-link:hover,.school-home .school-home__student-life .school-home__text-link:focus-visible{transform:translateY(-2px);box-shadow:0 12px 30px rgba(11,5,41,.25)}
.school-home .school-home__student-life-image{border-radius:22px}
.school-home .school-home__student-life-image figcaption{right:20px}

.school-home .school-home__admissions{padding:clamp(76px,8vw,112px) 0;background:var(--sh-ivory)}
.school-home .school-home__admissions-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.62fr);align-items:end;gap:50px}
.school-home .school-home__admissions-heading>p{max-width:470px;margin:0 0 8px;color:#5d596a;font-size:17px;line-height:1.8}
.school-home .school-home__admissions-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:48px 0 0;padding:0;list-style:none;border-top:1px solid var(--sh-line);border-bottom:1px solid var(--sh-line)}
.school-home .school-home__admissions-steps li{min-height:220px;padding:28px 30px 32px 0}
.school-home .school-home__admissions-steps li+li{padding-left:30px;border-left:1px solid var(--sh-line)}
.school-home .school-home__admissions-steps li>span{color:var(--sh-violet);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.school-home .school-home__admissions-steps h4{margin:24px 0 10px;color:var(--sh-ink);font-family:var(--font-secondary);font-size:clamp(1.5rem,2vw,2rem);font-weight:400;line-height:1.15}
.school-home .school-home__admissions-steps p{max-width:360px;margin:0;color:#656072;font-size:15px;line-height:1.7}

.school-home .school-home__foundation{padding:clamp(76px,8vw,112px) 0;background:#fff}
.school-home .school-home__foundation-panel{display:grid;min-height:490px;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:22px;background:var(--sh-ink);box-shadow:var(--sh-shadow)}
.school-home .school-home__foundation-copy{display:flex;padding:clamp(38px,6vw,78px);align-items:flex-start;justify-content:center;flex-direction:column}
.school-home .school-home__foundation-copy .school-home__eyebrow{color:#c8baff}
.school-home .school-home__foundation-copy h2{max-width:580px;color:#fff}
.school-home .school-home__foundation-copy h2 em{color:#d8d1f2;font-style:normal}
.school-home .school-home__foundation-copy>p:not(.school-home__eyebrow){max-width:520px;margin:22px 0;color:rgba(255,255,255,.78);font-size:16px;line-height:1.8}
.school-home .school-home__foundation-copy>a{display:inline-flex;min-height:52px;margin-top:12px;padding:0 20px;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.35);border-radius:4px;background:#fff;color:var(--sh-purple);font-size:14px;font-weight:700;text-decoration:none;transition:transform .25s ease,background-color .25s ease}
.school-home .school-home__foundation-copy>a:hover{transform:translateY(-2px);background:var(--sh-ivory)}
.school-home .school-home__foundation-copy>a span{font-size:19px}
.school-home .school-home__foundation-image{position:relative;min-height:100%;margin:0;overflow:hidden}
.school-home .school-home__foundation-image:after{position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,17,45,.26),transparent 44%);content:""}
.school-home .school-home__foundation-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}

@media(max-width:991px){
    .school-home .school-home__quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .school-home .school-home__quick-grid>a:nth-child(3){border-left:0}
    .school-home .school-home__quick-grid>a:nth-child(n+3){border-top:1px solid var(--sh-line)}
    .school-home .school-home__student-life-layout{grid-template-columns:1fr;gap:38px}
    .school-home .school-home__student-life-image{min-height:480px}
    .school-home .school-home__admissions-heading{grid-template-columns:1fr;gap:22px}
    .school-home .school-home__admissions-heading>p{max-width:650px}
    .school-home .school-home__foundation-panel{min-height:420px}
}
@media(max-width:767px){
    .school-home .school-home__quick-links{padding-bottom:8px}
    .school-home .school-home__quick-grid{border-radius:14px}
    .school-home .school-home__quick-grid>a{min-height:96px;padding:18px 16px;gap:10px}
    .school-home .school-home__quick-grid strong{font-size:14px}
    .school-home .school-home__quick-grid small{font-size:12px}
    .school-home .school-home__quick-arrow{font-size:21px}
    .school-home .school-home__student-life{padding:72px 0}
    .school-home .school-home__student-life-copy h2,.school-home .school-home__admissions-heading h2,.school-home .school-home__foundation-copy h2{font-size:clamp(2.55rem,11vw,3.8rem)}
    .school-home .school-home__student-life-intro{font-size:15px}
    .school-home .school-home__student-life-points{gap:0 14px}
    .school-home .school-home__student-life-points article{grid-template-columns:26px 1fr;gap:8px;padding:16px 0}
    .school-home .school-home__student-life-points h4{font-size:19px}
    .school-home .school-home__student-life-points p{font-size:12px}
    .school-home .school-home__student-life-image{min-height:390px;border-radius:16px 64px 16px 16px}
    .school-home .school-home__student-life-image figcaption{right:112px;left:14px;padding:12px;font-size:11px}
    .school-home .school-home__student-life-image{border-radius:16px}
    .school-home .school-home__student-life-image figcaption{right:14px}
    .school-home .school-home__admissions{padding:72px 0}
    .school-home .school-home__admissions-heading>p{font-size:15px}
    .school-home .school-home__admissions-steps{grid-template-columns:1fr;margin-top:30px}
    .school-home .school-home__admissions-steps li{min-height:0;padding:22px 0}
    .school-home .school-home__admissions-steps li+li{padding-left:0;border-left:0;border-top:1px solid var(--sh-line)}
    .school-home .school-home__admissions-steps h4{margin:12px 0 7px;font-size:22px}
    .school-home .school-home__admissions-steps p{font-size:14px}
    .school-home .school-home__foundation{padding:72px 0}
    .school-home .school-home__foundation-panel{grid-template-columns:1fr;border-radius:16px}
    .school-home .school-home__foundation-copy{padding:38px 26px}
    .school-home .school-home__foundation-copy>p:not(.school-home__eyebrow){font-size:14px}
    .school-home .school-home__foundation-image{min-height:300px}
    .school-home .school-home__foundation-image:after{background:linear-gradient(0deg,rgba(21,17,45,.2),transparent 55%)}
}

@media(max-width:480px){
    .school-home .school-home__student-life-points{grid-template-columns:1fr}
    .school-home .school-home__student-life-image{min-height:320px}
}

.school-home .school-home__profile-fact{
    min-height:112px;
    margin:34px 0 12px;
    padding:20px 0;
    gap:26px;
}
.school-home .school-home__profile-fact>strong{
    font-size:clamp(3.1rem,4.3vw,4rem);
    letter-spacing:-.035em;
}
.school-home .school-home__profile-fact>span{gap:6px;padding-left:26px}
.school-home .school-home__profile-fact b{font-size:16px}
.school-home .school-home__profile-fact small{font-size:15px}
@media(max-width:767px){
    .school-home .school-home__profile-fact{min-height:94px;margin:24px 0 8px;gap:18px}
    .school-home .school-home__profile-fact>strong{font-size:3rem}
    .school-home .school-home__profile-fact>span{padding-left:18px}
    .school-home .school-home__profile-fact b{font-size:14px}
    .school-home .school-home__profile-fact small{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.school-home .school-home__quick-grid>a,.school-home .school-home__quick-arrow,.school-home .school-home__foundation-copy>a{transition:none}}

/* Place the white quick-link card across the hero/profile boundary. */
.school-home{--school-home-quick-half:77px}
.school-home>.school-home__hero{position:relative;z-index:1;margin-bottom:0}
.school-home>.school-home__quick-links{position:relative!important;z-index:30!important;isolation:isolate}
.school-home .school-home__quick-grid,.school-home .school-home__quick-grid>a{background-color:#fff}
.school-home .school-home__profile-copy{padding-block:0}
@media(min-width:768px){
    .school-home>.school-home__hero .school-home__hero-layout{box-sizing:border-box;padding-bottom:var(--school-home-quick-half)}
    .school-home .school-home__quick-links{
        z-index:20;
        margin:calc(0px - var(--school-home-quick-half)) auto;
        padding:0;
        background:transparent;
    }
    .school-home .school-home__quick-grid{position:relative;z-index:1}
    .school-home .school-home__quick-grid>a{min-height:110px}
    .school-home .school-home__profile{margin-top:0}
}
@media(min-width:768px) and (max-width:991px){
    .school-home{--school-home-quick-half:154px}
    /* Keep the card overlap clear of the next section's heading on tablets. */
    .school-home .school-home__quick-links{margin-bottom:-40px}
}
@media(max-width:767px){
    .school-home{--school-home-quick-half:96px}
    .school-home>.school-home__hero .school-home__hero-layout{padding-bottom:var(--school-home-quick-half)}
    .school-home .school-home__quick-links{
        z-index:20;
        margin:calc(0px - var(--school-home-quick-half)) auto;
        padding:0;
        background:transparent;
    }
    .school-home .school-home__profile{margin-top:0}
}
/* Use stroke SVGs for homepage action icons; the Unicode arrow becomes emoji on iOS. */
.school-home .school-home__arrow-icon{display:inline-block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;vertical-align:middle}
.school-home .school-home__quick-arrow svg{display:block}
.school-home .school-home__hero-secondary svg{flex:0 0 auto}
/* The fixed legacy slider height clipped the wrapped mobile hero copy. */
@media(max-width:767px){
    .school-home>section.banner.v__3.school-home__hero{height:auto!important;min-height:0!important;max-height:none!important}
    .school-home>section.banner.v__3.school-home__hero .banner__wrapper,
    .school-home>section.banner.v__3.school-home__hero .swiper,
    .school-home>section.banner.v__3.school-home__hero .swiper-wrapper,
    .school-home>section.banner.v__3.school-home__hero .swiper-slide,
    .school-home>section.banner.v__3.school-home__hero .banner__wrapper--bg,
    .school-home>section.banner.v__3.school-home__hero .school-home__hero-inner,
    .school-home>section.banner.v__3.school-home__hero .school-home__hero-layout{height:auto!important;min-height:0!important}
    .school-home>section.banner.v__3.school-home__hero .school-home__hero-layout{box-sizing:border-box;align-items:flex-start;padding:32px 0}
    .school-home .school-home__quick-links{margin:0 auto}
}
@media(min-width:768px) and (max-height:650px){
    .school-home>section.banner.v__3.school-home__hero{height:auto!important;min-height:0!important;max-height:none!important}
    .school-home>section.banner.v__3.school-home__hero .banner__wrapper,
    .school-home>section.banner.v__3.school-home__hero .swiper,
    .school-home>section.banner.v__3.school-home__hero .swiper-wrapper,
    .school-home>section.banner.v__3.school-home__hero .swiper-slide,
    .school-home>section.banner.v__3.school-home__hero .banner__wrapper--bg,
    .school-home>section.banner.v__3.school-home__hero .school-home__hero-inner,
    .school-home>section.banner.v__3.school-home__hero .school-home__hero-layout{height:auto!important;min-height:0!important;max-height:none!important}
    .school-home>section.banner.v__3.school-home__hero .school-home__hero-layout{box-sizing:border-box;align-items:flex-start;padding:32px 0}
}
