.school-site-shell {
    width: min(1240px, calc(100% - 40px));
}

.school-site-hero {
    position: relative;
    z-index: 1;
    isolation: isolate;
    min-height: 480px;
    overflow: visible;
    color: #fff;
    background: #07142d;
}

.school-site-hero__media {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
}

.school-site-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.school-site-hero::before,
.school-site-hero::after {
    position: absolute;
    z-index: 1;
    content: "";
    pointer-events: none;
    inset: 0;
}

.school-site-hero::before {
    background:
        linear-gradient(90deg, rgba(3, 11, 25, 0.92) 0%, rgba(8, 23, 48, 0.72) 36%, rgba(8, 23, 48, 0.28) 68%, rgba(3, 11, 25, 0.1) 100%),
        radial-gradient(circle at 22% 16%, rgba(106, 214, 247, 0.18), transparent 30%),
        radial-gradient(circle at 75% 68%, rgba(246, 140, 203, 0.14), transparent 35%);
}

.school-site-hero::after {
    z-index: 2;
    background: linear-gradient(0deg, rgba(5, 12, 29, 0.42), transparent 42%);
}

.school-site-hero__inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding-block: 60px 78px;
}

.school-site-hero__copy {
    position: relative;
    z-index: 1;
    width: min(690px, 66%);
}

.school-site-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(110deg, #176d91, #9b2e7a);
    box-shadow: 0 12px 28px rgba(7, 16, 38, 0.3);
    font-size: 0.94rem;
    font-weight: 700;
}

.school-site-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid rgba(65, 136, 245, 0.18);
    border-radius: 999px;
    color: #245aa8;
    background: linear-gradient(110deg, rgba(106, 214, 247, 0.2), rgba(246, 140, 203, 0.14));
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.school-site-hero h1 {
    max-width: 680px;
    margin: 16px 0 12px;
    font-family: var(--pp-font);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-wrap: balance;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.38);
}

.school-site-lead {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.62;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.school-site-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.school-site-hero__actions .button {
    min-height: 48px;
    padding-inline: 26px;
    border-radius: 9px;
}

.school-site-hero__actions .button-primary {
    color: #fff;
    background: linear-gradient(110deg, #176d91, #9b2e7a);
    box-shadow: 0 12px 28px rgba(7, 16, 38, 0.3);
}

.school-site-hero .button-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(3, 10, 28, 0.46);
}

.school-site-hero__actions .button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.school-site-hero__brand {
    position: absolute;
    z-index: 4;
    bottom: -80px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 170px;
    aspect-ratio: 1;
    padding: 6px;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 46px rgba(10, 25, 55, 0.22);
    transform: translateX(-50%);
}

.school-site-hero__brand img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.school-site-hero__brand span {
    color: #1b4b88;
    font-family: var(--pp-font);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.08em;
}

.school-site-section {
    position: relative;
    padding: 82px 0 92px;
    background:
        radial-gradient(circle at 12% 10%, rgba(106, 214, 247, 0.18), transparent 30%),
        radial-gradient(circle at 92% 28%, rgba(246, 140, 203, 0.14), transparent 28%),
        linear-gradient(145deg, #f8fdff, #f5f7ff 55%, #fff7fc);
}

.school-site-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    grid-template-areas:
        "about inquiry"
        "offers inquiry";
    align-items: start;
    gap: 48px 54px;
}

.school-site-about {
    grid-area: about;
    min-width: 0;
}

.school-site-offers {
    grid-area: offers;
    min-width: 0;
    scroll-margin-top: 110px;
}

.school-site-panel {
    border: 0;
    background: transparent;
}

.school-site-panel h2,
.school-site-feed h2 {
    margin: 8px 0 14px;
    color: #101b31;
    font-family: var(--pp-font);
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.school-site-prose,
.school-site-about > p,
.school-site-offers > p {
    max-width: 70ch;
    color: #56637a;
    font-size: 1rem;
    line-height: 1.75;
}

.school-site-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.school-site-info-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    min-height: 116px;
    padding: 17px;
    overflow: hidden;
    border: 1px solid #dce8f4;
    border-top: 3px solid #f361b1;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, #fff6fb);
    box-shadow: 0 9px 24px rgba(18, 43, 78, 0.07);
}

.school-site-info-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #a1287d;
    background: #fff0fa;
}

.school-site-info-card:nth-child(2) .school-site-info-card__icon {
    color: #176d91;
    background: #edfaff;
}

.school-site-info-card:nth-child(2) {
    border-top-color: #6ad6f7;
    background: linear-gradient(145deg, #fff, #f0fbff);
}

.school-site-info-card:nth-child(3) .school-site-info-card__icon {
    color: #6846ba;
    background: #f3efff;
}

.school-site-info-card:nth-child(3) {
    border-top-color: #976bea;
    background: linear-gradient(145deg, #fff, #f7f3ff);
}

.school-site-info-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.school-site-info-card h3 {
    margin: 2px 0 7px;
    color: #15213a;
    font-size: 0.96rem;
}

.school-site-info-card p,
.school-site-info-card small {
    display: block;
    margin: 0;
    color: #5c687a;
    font-size: 0.82rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.school-site-info-links {
    display: grid !important;
    gap: 2px;
}

.school-site-info-links a {
    color: #174f9c;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.school-site-programs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 24px;
}

.school-site-programs section {
    padding: 17px;
    border: 1px solid #e0e8f2;
    border-radius: 13px;
    background: linear-gradient(145deg, #fff, rgba(106, 214, 247, 0.09));
}

.school-site-programs h3 {
    margin: 0 0 10px;
    color: #17243d;
    font-size: 1rem;
}

.school-site-programs section > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.school-site-programs span {
    padding: 6px 9px;
    border: 1px solid #dce7f4;
    border-radius: 999px;
    color: #315787;
    background: #f7faff;
    font-size: 0.78rem;
    font-weight: 700;
}

.school-site-empty-note {
    padding: 17px;
    border-radius: 13px;
    background: #f1f6fc;
}

@media (max-width: 1060px) {
    .school-site-layout {
        grid-template-columns: 1fr;
        grid-template-areas: "about" "inquiry" "offers";
        gap: 40px;
    }

    .school-site-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    .school-site-hero,
    .school-site-hero__inner {
        min-height: 500px;
    }

    .school-site-hero__copy {
        width: min(650px, 88%);
    }

    .school-site-hero::before {
        background: linear-gradient(90deg, rgba(3, 11, 25, 0.9), rgba(8, 23, 48, 0.62) 70%, rgba(8, 23, 48, 0.34));
    }
}

@media (max-width: 680px) {
    .school-site-shell {
        width: min(100% - 28px, 1240px);
    }

    .school-site-hero,
    .school-site-hero__inner {
        min-height: 520px;
    }

    .school-site-hero__inner {
        padding-block: 58px 86px;
    }

    .school-site-hero__media img {
        object-position: 58% center;
    }

    .school-site-hero::before {
        background: linear-gradient(90deg, rgba(3, 11, 25, 0.84), rgba(8, 23, 48, 0.54));
    }

    .school-site-hero__copy {
        width: 100%;
    }

    .school-site-hero h1 {
        font-size: clamp(2.75rem, 14vw, 4rem);
    }

    .school-site-hero__brand {
        bottom: -65px;
        width: 136px;
        padding: 5px;
        border-width: 5px;
    }

    .school-site-section {
        padding-block: 88px 64px;
    }

    .school-site-info-grid,
    .school-site-programs {
        grid-template-columns: 1fr;
    }

    .school-site-info-card {
        min-height: 0;
    }

    .school-site-accordion summary {
        grid-template-columns: minmax(0, 1fr) 18px;
    }

    .school-site-accordion summary em {
        grid-column: 1;
    }

    .school-site-accordion summary::after {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .school-site-offer-rows dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .school-site-hero__actions {
        display: grid;
    }

    .school-site-hero__actions .button {
        width: 100%;
    }

    .school-site-offer-rows dl {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-site-accordion details,
    .school-site-accordion summary::after {
        transition: none;
    }
}
