.modern-school-site {
    --forest: #075439;
    --deep-green: #043f30;
    --navy: #073b2c;
    --gold: #ffcf18;
    --mist: #e7f3e4;
    --home-shadow: 0 2px 6px #17372826;
    background: #fff;
    color: #172720;
}
.home-width { width: min(95.4%, 1450px); margin-inline: auto; }
.school-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 4px max(2.4vw, 16px);
    background: linear-gradient(90deg, #064632, #033e39);
    color: white;
    font-size: .8rem;
    font-weight: 800;
}
.school-topbar i { margin-right: 6px; color: var(--gold); }
.topbar-phone, .topbar-admission { white-space: nowrap; }
.topbar-admission { padding: 6px 16px; border-radius: 24px; background: #087a40; }
.topbar-admission i { color: white; }
.modern-school-site .site-head { position: relative; min-height: 92px; padding: 10px max(2.4vw, 16px); gap: 16px; }
.site-brand img, .brand-fallback { width: clamp(48px, 7vw, 88px); height: 72px; }
.site-brand img { background: none; border: 0; border-radius: 0; }
.brand-fallback { color: var(--forest); background: var(--mist); border-color: var(--forest); }
.site-brand b {
    max-width: 12em;
    color: var(--deep-green);
    font: 800 clamp(1.25rem, 2.65vw, 2.3rem)/.98 Georgia, serif;
    text-align: center;
    text-transform: uppercase;
}
.site-brand small { color: var(--deep-green); text-align: center; font: italic 700 .78rem Georgia, serif; }
.modern-school-site .site-nav { display: flex; gap: clamp(1px, .35vw, 8px); font-size: clamp(.72rem, 1.07vw, .95rem); font-weight: 800; }
.modern-school-site .site-nav a { padding: 9px clamp(5px, .9vw, 16px); border-radius: 7px; }
.modern-school-site .site-nav a::after { display: none; }
.modern-school-site .site-nav a:is(.active, :hover) { background: var(--forest); color: white; }

.modern-school-site .hero {
    display: grid;
    align-items: center;
    isolation: isolate;
    min-height: clamp(450px, 44.3vw, 680px);
    padding: 42px max(3.4vw, 20px) 48px;
    background: var(--deep-green);
}
.modern-school-site .hero::before { display: none; }
.hero-slides, .hero-video-shade { position: absolute; inset: 0; overflow: hidden; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-video-shade { background: linear-gradient(90deg, #003d29f7, #003d29e0 26%, #003d2955 53%, transparent 74%); }
.modern-school-site .hero-layout { display: block; width: 100%; }
.modern-school-site .hero-copy { padding: 0; }
.hero-eyebrow { color: var(--gold); font-size: clamp(1.1rem, 2.48vw, 2.1rem); font-weight: 800; text-transform: uppercase; }
.modern-school-site .hero-copy h1 {
    width: fit-content;
    max-width: none;
    margin: 7px 0 13px;
    color: white;
    font: 900 clamp(2.3rem, 5.3vw, 5rem)/1.01 Manrope, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: -.025em;
}
.hero-copy h1 em { color: var(--gold); }
.hero-copy h1::after {
    content: "";
    display: block;
    width: 88%;
    height: 16px;
    margin-top: 9px;
    border-top: 4px solid var(--gold);
    border-radius: 60% 65% 0 0;
}
.modern-school-site .hero-copy p { color: white; font: italic 700 clamp(1.25rem, 2.55vw, 2.3rem)/1.14 Georgia, serif; }
.hero-actions { flex-wrap: wrap; gap: 10px 16px; margin-top: 20px; }
.hero-actions a, .green-link, .modern-admission > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 800;
}
.hero-actions i { margin: 0; }
.hero-actions .light, .modern-admission > a { background: var(--gold); color: #18240e; box-shadow: none; }
.hero-actions .outline { background: #04442db8; border-color: white; }
.hero-dots { display: flex; gap: 2px; margin: 12px 0 0 -6px; }
.hero-dots button { display: grid; place-items: center; width: 20px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: white; }
.hero-dots button.active::before { width: 10px; height: 10px; background: var(--gold); }

.modern-school-site .feature-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 16px 8px;
    margin: -23px auto 20px;
    box-shadow: var(--home-shadow);
}
.feature-strip a { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 0 5px; text-align: center; border-right: 1px solid #d6dfd8; }
.feature-strip a:last-child { border: 0; }
.feature-strip a:hover { color: var(--forest); background: #f0f8ef; }
.feature-strip i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--forest); }
.feature-strip span { font: 700 clamp(.75rem, 1.42vw, 1.13rem)/1.3 Georgia, serif; }
.modern-about { display: grid; grid-template-columns: 1.1fr 1fr .56fr; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.modern-about > img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 16px; }
.section-label, .green-link { background: var(--forest); color: white; }
.section-label { display: inline-block; padding: 4px 13px; border-radius: 20px; font-size: .85rem; font-weight: 800; }
.modern-about h2 { margin: 7px 0; color: var(--forest); font: 800 clamp(1.35rem, 2.5vw, 2.25rem) Georgia, serif; }
.modern-about p { margin: 0 0 12px; font-size: clamp(.84rem, 1.24vw, 1.06rem); line-height: 1.55; }
.school-quote { margin: 0; padding: 17px; border-radius: 17px; background: var(--mist); font: italic 700 clamp(.92rem, 1.7vw, 1.35rem)/1.4 Georgia, serif; }
.school-quote i { display: block; margin-bottom: 7px; color: var(--forest); font-size: 1.55rem; }
.school-quote cite { display: block; margin-top: 10px; font: 700 .72rem Manrope, Arial, sans-serif; }
.school-quote cite::before { content: "— "; }
.why-school { margin-block: 19px; }
.why-school h2 { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 0 0 10px; color: var(--forest); font-size: clamp(1.5rem, 3vw, 2.4rem); }
.why-school h2::before, .why-school h2::after { content: ""; width: min(12vw, 145px); height: 1px; background: #82a08d; }
.why-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.why-grid article {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 94px;
    padding: 10px;
    text-align: center;
    color: var(--deep-green);
    background: linear-gradient(130deg, #fbf8e6, #eaf3e3);
    border-radius: 13px;
    box-shadow: var(--home-shadow);
    font: 700 clamp(.8rem, 1.3vw, 1.05rem)/1.2 Georgia, serif;
}
.why-grid i { margin-bottom: 6px; font-size: 1.55rem; }
.school-highlights { display: grid; grid-template-columns: 1fr .85fr 1fr; align-items: stretch; gap: 15px; margin-bottom: 20px; }
.highlight-card { min-width: 0; overflow: hidden; border-radius: 13px; background: white; box-shadow: var(--home-shadow); }
.highlight-card h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 12px;
    color: white;
    background: linear-gradient(110deg, #034333, #09603b);
    font-size: clamp(1rem, 1.9vw, 1.55rem);
}
.highlight-card h2 a { padding: 4px 8px; border: 1px solid white; border-radius: 20px; font-size: .68rem; white-space: nowrap; }
.leadership-body, .achievement-body { display: flex; align-items: center; gap: 12px; padding: 12px; font-size: clamp(.8rem, 1.15vw, 1rem); }
.leadership-body img, .leadership-placeholder { width: 38%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.leadership-body .leadership-logo { object-fit: contain; }
.leadership-placeholder { display: grid; place-items: center; flex-shrink: 0; background: var(--mist); color: var(--forest); font-size: 2rem; }
.leadership-body p { margin: 0 0 7px; }
.leadership-body strong { color: var(--forest); }
.school-achievements { background: linear-gradient(#fff, #f8f5dc); }
.achievement-body > i { color: #ad7800; font-size: clamp(2.3rem, 5.8vw, 5rem); }
.achievement-body ul { margin: 0; padding: 0; list-style: none; }
.achievement-body li { margin-block: 8px; }
.achievement-body li::before { content: "✓"; color: var(--forest); font-weight: 800; margin-right: 6px; }
.gallery-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 6px; }
.gallery-preview img { display: block; width: 100%; aspect-ratio: 1.75; object-fit: cover; border-radius: 5px; }

.modern-admission {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 30px max(4vw, 20px);
    border-top: 5px solid #89bb21;
    color: white;
    background: linear-gradient(110deg, #052536, #045440 56%, #072c41);
}
.modern-admission > div { display: flex; align-items: center; gap: 15px; }
.modern-admission > div > i { font-size: clamp(1.8rem, 5vw, 4rem); color: var(--gold); }
.modern-admission b, .modern-admission small { display: block; }
.modern-admission b { font-size: clamp(1.1rem, 2.3vw, 1.85rem); }
.modern-admission p { margin: 0; color: var(--gold); font: italic 700 clamp(1.1rem, 2.4vw, 2rem)/1.1 Georgia, serif; }

.modern-school-site .section { padding: 36px max(2.4vw, 16px); }
.modern-school-site .section-head { margin-bottom: 20px; }
.modern-school-site .section-head span, .news-grid small, .blue-link { color: var(--forest); }
.modern-school-site .section-head h2 { margin-block: 4px; font-size: clamp(1.45rem, 2.7vw, 2.25rem); }
.public-updates, .school-tools, .news { background: #f4f8f2; }
.updates-heading { margin-bottom: 15px; text-align: center; color: var(--forest); }
.updates-heading h2 { margin: 3px 0; }
.updates-heading > span { font-size: .85rem; font-weight: 800; }
.updates-grid, .school-tools-grid, .people-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    max-width: 1150px;
    margin: auto;
}
.updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.update-card, .school-tools-grid article, .people-grid figure {
    min-width: 0;
    margin: 0;
    padding: 16px;
    border-radius: 12px;
    background: white;
    box-shadow: var(--home-shadow);
}
.update-card-head { display: flex; align-items: center; gap: 10px; color: var(--forest); }
.update-card-head h3 { margin: 0; }
.update-card-head small { font-weight: 800; }
.update-symbol, .tool-icon { color: var(--forest); font-size: 1.3rem; }
.notice-window, .result-list { max-height: 290px; overflow-y: auto; }
.notice-list article, .result-list > a { padding: 10px 0; border-bottom: 1px solid #dce8df; overflow-wrap: anywhere; }
.notice-list h4, .notice-list p { margin: 3px 0; }
.notice-list time { color: var(--forest); font-size: .8rem; }
.result-list > a { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.result-list small, .people-grid figcaption span { display: block; }
.people-grid figure { padding: 0; overflow: hidden; }
.people-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.people-grid figcaption { padding: 12px; }
.public-footer { padding: 25px max(2.4vw, 16px) 0; background: #062630; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.25fr .9fr 1fr; gap: 18px; max-width: 1450px; margin: auto; }
.footer-grid h2, .footer-grid h3 { margin: 0 0 8px; }
.footer-brand { display: flex; align-items: flex-start; gap: 8px; }
.footer-brand img { width: 48px; height: 52px; object-fit: contain; }
.footer-grid p, .footer-column a, .footer-portal a { margin: 0 0 8px; font-size: .84rem; overflow-wrap: anywhere; }
.footer-column p, .footer-column a { display: flex; gap: 8px; align-items: baseline; }
.footer-grid i { color: var(--gold); }
.footer-portal a { font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid #ffffff35; margin-top: 16px; font-size: .75rem; }

@media (max-width: 900px) {
    .modern-school-site .site-head { min-height: 74px; height: auto; }
    .modern-school-site .mobile-menu-toggle { display: flex; }
    .modern-school-site .site-nav { display: none; position: absolute; top: 100%; left: 12px; right: 12px; max-height: 70dvh; overflow: auto; padding: 10px; border: 1px solid #dfe7e2; border-radius: 12px; background: white; box-shadow: var(--home-shadow); white-space: normal; }
    .modern-school-site .site-nav.open { display: flex; flex-direction: column; align-items: stretch; }
    .modern-school-site .site-nav a { display: block; padding: 10px 12px; }
    .mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .site-brand img, .brand-fallback { height: 51px; }
}
@media (max-width: 680px) {
    .school-topbar { flex-wrap: wrap; gap: 4px 8px; font-size: .72rem; }
    .school-topbar > span { flex-basis: 100%; }
    .topbar-admission { margin-left: auto; }
    .modern-school-site .hero { min-height: 510px; align-items: end; padding-bottom: 38px; }
    .hero-slide img { object-position: 63% 25%; }
    .hero-video-shade { background: linear-gradient(0deg, #023a29 2%, #023a29d9 30%, #023a2930 83%); }
    .hero-actions { flex-direction: row; }
    .hero-actions a { padding: 9px 12px; font-size: .75rem; }
    .modern-school-site .feature-strip, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-strip a { padding: 8px 4px; }
    .feature-strip a:nth-child(even) { border-right: 0; }
    .feature-strip a:last-child, .why-grid article:last-child { grid-column: 1 / -1; }
    .modern-about, .school-highlights, .updates-grid, .school-tools-grid { grid-template-columns: 1fr; }
    .people-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modern-admission { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}
