/*
Theme Name: Adarsh Vidhya Mandir
Theme URI: https://example.com/adarsh-vidhya-mandir
Author: Adarsh Vidhya Mandir
Description: A responsive school theme with editable faculty, management, testimonials, news, gallery, sliders, and admissions enquiry.
Version: 1.1.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: avm-school
*/

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */
:root {
    --accent: #FE6338;
    --heading: #1C1C1C;
    --text: #5D6A80;
    --green: var(--accent);
    --green-deep: var(--accent);
    --gold: var(--accent);
    --cream: #f8f5ec;
    --paper: #fffdf8;
    --ink: var(--heading);
    --muted: var(--text);
    --line: #ddd7c9;
    --radius: 4px;
    --wrap: 95%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    /* background: var(--cream); */
    color: var(--muted);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    letter-spacing: 0;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
}

.wrap {
    width: min(calc(100% - 40px), var(--wrap));
    margin: auto;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11px;
    font-weight: 800;
    color: var(--gold);
}

/* ==========================================================================
   2. Buttons & Form UI
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    background: var(--green);
    color: #fff;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: #1C1C1C;
}

.btn-outline {
    background: transparent;
    border: 1px solid currentColor;
}

.btn-outline:hover {
    background: var(--green);
    color: #fff !important;
}

.gold-line {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 0 0 25px;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.topbar {
    background: var(--green);
    color: #fff;
    padding: 7px 0;
    font-size: 12px;
}

.topbar .wrap,
.header-inner,
.footer-bottom .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-contact {
    display: flex;
    gap: 25px;
}

.top-contact a {
    opacity: .9;
}

.top-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 253, 248, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    height: 82px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand .custom-logo {
    display: block;
    width: auto;
    height: 62px;
    max-width: min(280px, 34vw);
    object-fit: contain;
}

.brand .brand-default-logo {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 26px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list>li {
    position: relative;
}

.nav-list .sub-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    z-index: 90;
    display: grid;
    width: max-content;
    min-width: 220px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: 0 18px 45px rgba(20, 27, 31, .14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.nav-list .sub-menu::before {
    content: "";
    position: absolute;
    inset: -17px 0 auto;
    height: 17px;
}

.nav-list .sub-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-list .sub-menu a:hover,
.nav-list .sub-menu a:focus-visible {
    background: rgba(254, 99, 56, .08);
}

.nav-list .menu-item-has-children:hover>.sub-menu,
.nav-list .menu-item-has-children:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-list>.menu-item-has-children>a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 0 3px 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease, margin .2s ease;
}

.submenu-toggle {
    display: none;
}

.submenu-chevron {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
}

.nav-list a {
    font-size: 13px;
    font-weight: 700;
}

.nav-list a:hover,
.current-menu-item>a {
    color: var(--accent);
}

/* .nav-list .admissions-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    background: var(--green);
    color: #fff;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
} */

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 28px;
    padding: 8px;
    cursor: pointer;
}

/* ==========================================================================
   4. Hero Slider
   ========================================================================== */
.hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    color: #fff;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 28, 28, .94), rgba(28, 28, 28, .63) 43%, rgba(28, 28, 28, .08) 78%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 88px;
}

.hero-copy {
    max-width: 760px;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.06;
    margin: 18px 0 22px;
    max-width: 820px;
    color: #fff;
}

.hero p {
    font-size: 18px;
    max-width: 680px;
    color: rgba(255, 255, 255, .84);
}

.hero-dots {
    position: absolute;
    z-index: 4;
    right: max(20px, calc((100vw - var(--wrap)) / 2));
    left: auto;
    bottom: 35px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 22px;
    height: 4px;
    border: 0;
    background: rgba(255, 255, 255, .55);
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-copy .btn-gold {
    color: #fff;
}

.hero-dot.active {
    width: 42px;
    background: var(--gold);
}

.hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 50%;
    background: rgba(28, 28, 28, .48);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(6px);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-arrow--prev {
    left: 24px;
}

.hero-arrow--next {
    right: 24px;
}

.hero-arrow svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.hero-arrow:hover {
    border-color: var(--gold);
    background: var(--green);
    transform: translateY(-50%) scale(1.06);
}

.hero-arrow:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ==========================================================================
   5. Counters Band
   ========================================================================== */
.counter-band {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.counter {
    padding: 30px;
    border-left: 1px solid var(--line);
}

.counter:last-child {
    border-right: 1px solid var(--line);
}

.counter strong {
    display: block;
    color: var(--ink);
    font-size: 37px;
    line-height: 1.1;
}

.counter span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
}

/* ==========================================================================
   6. Sections & Layout
   ========================================================================== */
.section {
    padding: 100px 0;
}

.section-soft {
    background: #eee9dc;
}

.section-dark {
    position: relative;
    background: var(--green-deep);
    color: #fff;
}

.section-head {
    max-width: 700px;
    margin-bottom: 44px;
}

.section-head h2,
.about-copy h2 {
    font-size: clamp(35px, 4vw, 54px);
    line-height: 1.08;
    color: var(--ink);
    margin: 14px 0 18px;
}

.section-dark .section-head h2 {
    color: #fff;
}

.section-head p {
    color: var(--muted);
    font-size: 16px;
}

.section-dark .section-head p {
    color: rgba(255, 255, 255, .72);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about-photo {
    position: relative;
}

.about-photo>img {
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
    border-radius: var(--radius);
}

.trust {
    position: absolute;
    right: -30px;
    bottom: -24px;
    background: var(--gold);
    color: #ffffff;
    padding: 20px 28px;
    border-radius: var(--radius);
}

.trust strong {
    display: block;
    font-size: 32px;
}

.about-copy p {
    color: var(--muted);
}

.about-copy p:first-of-type {
    color: var(--ink);
    font-size: 17px;
}

/* ==========================================================================
   7. Carousel & Cards
   ========================================================================== */
.carousel {
    position: relative;
}

.carousel-window {
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform .55s ease;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-window.is-dragging {
    cursor: grabbing;
}

.carousel-track img {
    -webkit-user-drag: none;
    user-select: none;
}

.testimonial-slider {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.testimonial-slider.is-dragging {
    cursor: grabbing;
}

.carousel-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    background: var(--paper);
    color: var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
}

.carousel-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top;
}

.card-copy {
    padding: 20px;
    border-top: 4px solid var(--gold);
}

.card-kicker {
    font-size: 12px;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
}

.card-copy h3 {
    color: var(--ink);
    font-size: 20px;
    margin: 5px 0 8px;
}

.card-copy p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.carousel-controls {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.carousel-arrow,
.lightbox-arrow,
.lightbox-close {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font-size: 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.carousel-arrow:hover {
    background: var(--green);
    color: #fff;
}

/* Our Toppers continuous marquee */
.toppers-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 20%, rgba(254, 99, 56, .13), transparent 25%),
        linear-gradient(180deg, #fffdf8 0%, #f7f2e7 100%);
}

.toppers-section-head {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.topper-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4px 0 14px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.topper-marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
    animation: avm-topper-marquee var(--topper-marquee-duration, 55s) linear infinite;
    animation-delay: var(--topper-marquee-delay, -18s);
}

.topper-marquee:hover .topper-marquee-track,
.topper-marquee:focus-within .topper-marquee-track {
    animation-play-state: paused;
}

.topper-card {
    flex: 0 0 280px;
    width: 280px;
    color: var(--ink);
    text-align: center;
}

.topper-emblem {
    position: relative;
    width: 240px;
    aspect-ratio: 240 / 260;
    margin: 0 auto 2px;
}

.topper-wreath {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    color: var(--gold);
    filter: drop-shadow(0 5px 6px rgba(254, 99, 56, .12));
}

.topper-star {
    stroke: rgba(254, 99, 56, .65);
    stroke-width: 1.5;
    stroke-linejoin: round;
}

.topper-laurel {
    transform-origin: center;
    transition: transform .4s ease;
}

.topper-photo-wrap {
    position: absolute;
    top: 22.3%;
    left: 18.75%;
    z-index: 1;
    width: 62.5%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 5px solid var(--green);
    border-radius: 50%;
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    background: #eee8dc;
    box-shadow: inset 0 0 0 3px #fff, 0 12px 28px rgba(20, 27, 31, .14);
}

.topper-photo-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform .45s ease;
}

.topper-card:hover .topper-photo-wrap img {
    transform: scale(1.045);
}

.topper-card:hover .topper-laurel {
    transform: translateY(-3px);
}

.topper-card-copy {
    min-height: 108px;
    padding: 0 8px;
    text-align: center;
}

.topper-card-copy h3 {
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 23px;
    line-height: 1.2;
}

.topper-result {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.topper-result span::before {
    content: " · ";
    color: var(--gold);
}

.topper-score {
    display: block;
    margin-top: 5px;
    color: #FE6338;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: .01em;
}

@keyframes avm-topper-marquee {
    from {
        transform: translate3d(100vw, 0, 0);
    }

    to {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .topper-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .topper-marquee-track {
        animation: none;
    }

}

/* ==========================================================================
   14. Homepage 2026 Header & Highlights Layout
   ========================================================================== */
.topbar {
    padding: 0;
    background: #FE6338;
    color: #fff;
    font-size: 14px;
}

.topbar .topbar-inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.topbar-social,
.topbar-actions,
.topbar-contact-item {
    display: flex;
    align-items: center;
}

.topbar-social {
    flex: 0 0 auto;
    gap: 14px;
    font-weight: 700;
}

.topbar-social a {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #fff;
}

.topbar-social svg,
.topbar-contact-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.topbar-social a:hover,
.topbar-social a:focus-visible {
    color: #1C1C1C;
}

.topbar-actions {
    justify-content: flex-end;
    gap: 0;
}

.topbar-contact-item {
    min-height: 50px;
    gap: 12px;
    padding: 0 26px;
    border-right: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
}

.topbar-contact-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    color: #fff;
}

.topbar-contact-icon svg {
    width: 30px;
    height: 30px;
}

.topbar-contact-item small,
.topbar-contact-item strong {
    display: block;
    color: #fff;
    line-height: 1.25;
}

.topbar-contact-item small {
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 700;
}

.topbar-contact-item strong {
    font-size: 14px;
    white-space: nowrap;
}

.header-live-date {
    display: inline-flex;
    min-height: 48px;
    margin-left: 22px;
    padding: 7px 16px 7px 10px;
    align-items: center;
    gap: 10px;
    justify-content: center;
    border-radius: 9px;
    background: #fff;
    color: #1C1C1C;
    font-style: normal;
    white-space: nowrap;
}

.header-live-date__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 8px;
    background: #123c49;
    color: #fff;
}

.header-live-date__icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.header-live-date__copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.header-live-date__copy small {
    margin-bottom: 3px;
    color: #fe6338;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.header-live-date__copy strong {
    color: #1c1c1c;
    font-size: 13px;
    font-weight: 800;
}

.header-live-date--mobile {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 253, 248, .98);
}

.brand-announcement-row {
    border-bottom: 1px solid var(--line);
}

.brand-announcement-inner {
    display: grid;
    min-height: 96px;
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1.5fr);
    align-items: center;
    gap: clamp(28px, 5vw, 80px);
}

.brand .custom-logo {
    height: 120px;
    max-width: min(390px, 100%);
}

.announcement-bar {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 13px 18px;
    border: 1px solid rgba(254, 99, 56, .24);
    border-radius: 9px;
    background: #fff2ed;
    color: #1C1C1C;
}

.announcement-speaker {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #FE6338;
    color: #fff;
}

.announcement-speaker svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.announcement-viewport {
    min-width: 0;
    overflow: hidden;
}

.announcement-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: avm-announcement-scroll 24s linear infinite;
}

.announcement-track span {
    min-width: max-content;
    padding-right: 90px;
    font-size: 14px;
    font-weight: 700;
}

.announcement-bar:hover .announcement-track,
.announcement-bar:focus-within .announcement-track {
    animation-play-state: paused;
}

@keyframes avm-announcement-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.nav-shell {
    position: relative;
    background: #fffdf8;
}

.nav-shell .header-inner {
    min-height: 58px;
    height: auto;
    justify-content: center;
}

.nav-shell .nav-list {
    justify-content: center;
    gap: clamp(24px, 3vw, 48px);
}

.nav-shell .nav-list a {
    color: #1C1C1C;
    font-size: 14px;
}

.nav-shell .nav-list a:hover,
.nav-shell .current-menu-item>a {
    color: #FE6338;
}

/* Toppers and birthday panels */
.home-highlights-section {
    padding: 80px 0;
    background: #fffdf8;
}

.home-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.home-highlight-panel {
    min-width: 0;
    overflow: hidden;
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid rgba(93, 106, 128, .18);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(28, 28, 28, .07);
}

.birthday-highlight-panel {
    background: #fff7f3;
}

.home-highlight-head {
    min-height: 132px;
    padding: 20px 22px;
    overflow: hidden;
    border: 0;
    border-radius: 13px;
    background-color: #173d49;
    background-image: linear-gradient(110deg, rgba(4, 35, 44, .94), rgba(4, 35, 44, .62)), url("assets/images/inner-page-hero.webp");
    background-position: center 44%;
    background-size: cover;
}

.home-highlight-head h2 {
    max-width: 580px;
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(26px, 2.15vw, 34px);
    line-height: 1.12;
}

.home-highlight-head .eyebrow {
    color: #ffd9a1;
}

.vertical-marquee {
    position: relative;
    height: 500px;
    margin-top: 22px;
    overflow: hidden;
    outline: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
}

.vertical-marquee-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.vertical-marquee-track--up {
    animation: avm-vertical-up var(--vertical-duration, 32s) linear infinite;
}

.vertical-marquee:hover .vertical-marquee-track,
.vertical-marquee:focus .vertical-marquee-track,
.vertical-marquee:focus-within .vertical-marquee-track {
    animation-play-state: paused;
}

.vertical-marquee-group {
    display: grid;
    gap: 14px;
    padding-bottom: 14px;
}

@keyframes avm-vertical-up {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

.home-person-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 138px;
    align-items: center;
    gap: 20px;
    padding: 13px 18px;
    border: 1px solid rgba(93, 106, 128, .17);
    border-radius: 14px;
    background: #fff;
}

.home-person-photo-wrap {
    position: relative;
    display: grid;
    width: 106px;
    height: 106px;
    place-items: center;
    border: 3px solid rgba(254, 99, 56, .72);
    border-radius: 50%;
    background: #fff2ed;
}

.home-person-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.home-person-photo--fallback {
    padding: 12px;
    object-fit: contain;
}

.home-topper-star {
    position: absolute;
    top: -14px;
    left: 50%;
    z-index: 2;
    color: #FE6338;
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 2px 0 #fff);
    transform: translateX(-50%);
}

.home-person-copy {
    min-width: 0;
}

.home-person-copy h3 {
    margin: 3px 0 5px;
    color: #1C1C1C;
    font-size: clamp(19px, 1.7vw, 25px);
    line-height: 1.2;
}

.home-person-copy p,
.home-person-copy span {
    margin: 0;
    color: #5D6A80;
    font-size: 13px;
}

.home-person-score,
.birthday-date {
    display: block;
    margin-bottom: 3px;
    color: #FE6338;
    font-size: 18px;
}

.birthday-badge {
    display: inline-flex;
    width: max-content;
    padding: 3px 9px;
    border-radius: 999px;
    background: #fff2ed;
    color: #FE6338 !important;
    font-size: 10px !important;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-highlight-empty {
    margin: 22px 0 0;
    padding: 24px;
    border: 1px dashed rgba(254, 99, 56, .5);
    border-radius: 12px;
    background: #fff7f3;
    color: #5D6A80;
    text-align: center;
}

/* Teachers: soft orange background with an editable image */
.teacher-section {
    isolation: isolate;
    background: #fff2ed;
}

.teacher-section::before {
    inset: 0;
    z-index: -2;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background-image: linear-gradient(rgba(255, 242, 237, .89), rgba(255, 242, 237, .89)), var(--teacher-bg-image, url("assets/images/school-hero.jpg"));
    background-position: center;
    background-size: cover;
    opacity: 1;
}

.teacher-section::after {
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background-image: radial-gradient(circle at 12% 16%, rgba(254, 99, 56, .16) 0 2px, transparent 3px), radial-gradient(circle at 86% 74%, rgba(254, 99, 56, .12) 0 2px, transparent 3px);
    background-size: 42px 42px, 54px 54px;
}

.teacher-section-head .eyebrow {
    color: #FE6338;
}

.teacher-section-head .eyebrow::before,
.teacher-section-head .eyebrow::after {
    background: #FE6338;
}

.teacher-section-head h2 {
    color: #1C1C1C;
}

.teacher-section-head>p:last-child {
    color: #5D6A80;
}

.teacher-arrow,
.teacher-view-btn {
    border-color: #FE6338;
    background: #FE6338;
    color: #fff;
}

.teacher-arrow:hover,
.teacher-view-btn:hover {
    border-color: #1C1C1C;
    background: #1C1C1C;
    color: #fff;
}

/* ==========================================================================
   Homepage: Our Achievers
   ========================================================================== */
.achievers-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #123c49;
}

.achievers-section::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background-image: var(--achievers-bg-image);
    background-position: center;
    background-size: cover;
}

.achievers-section::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(105deg, rgb(6 29 37 / 94%), rgb(3 15 18 / 83%))
}

.achievers-section-head {
    display: flex;
    margin-bottom: 34px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.achievers-heading-copy {
    max-width: 760px;
}

.achievers-section-head .eyebrow {
    margin-bottom: 9px;
    color: #ff9d7f;
}

.achievers-section-head h2 {
    margin-bottom: 9px;
    color: #fff;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.1;
}

.achievers-section-head .achievers-heading-copy>p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
}

.achievers-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.achievers-arrow {
    border-color: rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.achievers-arrow:hover,
.achievers-arrow:focus-visible {
    border-color: #fe6338;
    background: #fe6338;
    color: #fff;
}

.achievers-carousel .carousel-window {
    overflow: hidden;
    border-radius: 3px;
}

.achievers-carousel .carousel-track {
    gap: 20px;
}

.achiever-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex: 0 0 calc((100% - 60px) / 4);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    background: #fffdf8;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .24);
    transition: transform .3s ease, box-shadow .3s ease;
}

.achiever-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 58px rgba(0, 0, 0, .3);
}

.achiever-card-visual {
    position: relative;
    padding: 22px 20px 0;
    background:
        radial-gradient(circle at 92% 14%, rgba(254, 99, 56, .22) 0 38px, transparent 39px),
        radial-gradient(circle at 4% 92%, rgba(18, 60, 73, .12) 0 58px, transparent 59px),
        linear-gradient(145deg, #e8f2f1, #fff3eb);
}

.achiever-card-visual::before {
    position: absolute;
    top: 58px;
    right: 10px;
    width: 52px;
    height: 74px;
    content: "";
    border: 1px solid rgba(18, 60, 73, .15);
    border-right: 0;
    border-radius: 60px 0 0 60px;
    pointer-events: none;
}

.achiever-alumni-label {
    position: absolute;
    top: 13px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    padding: 7px 11px;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #123c49;
    color: #fff;
    box-shadow: 0 7px 18px rgba(18, 60, 73, .2);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.achiever-alumni-label span {
    color: #ff8a66;
}

.achiever-photo-shell {
    position: relative;
    overflow: hidden;
    border: 4px solid #fff;
    border-radius: 150px 150px 18px 18px;
    background: #dce6e6;
    box-shadow: 0 13px 28px rgba(18, 60, 73, .18);
}

.achiever-photo-shell::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 28%;
    content: "";
    background: linear-gradient(transparent, rgba(12, 47, 57, .15));
    pointer-events: none;
}

.achiever-photo-shell img,
.achiever-card .achiever-photo-shell img {
    display: block;
    width: 100%;
    height: 248px;
    object-fit: cover;
    object-position: center 18%;
    transition: transform .45s ease;
}

.achiever-card:hover .achiever-photo-shell img {
    transform: scale(1.04);
}

.achiever-medal {
    position: absolute;
    right: 28px;
    bottom: -24px;
    z-index: 3;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 4px solid #fffdf8;
    border-radius: 50%;
    background: #fe6338;
    color: #fff;
    box-shadow: 0 8px 20px rgba(254, 99, 56, .3);
}

.achiever-medal svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.achiever-card-copy {
    padding: 35px 22px 23px;
    border: 0;
}

.achiever-card-kicker {
    margin-bottom: 5px;
    color: #839096;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.achiever-card-copy h3 {
    margin: 0 0 5px;
    color: #1c1c1c;
    font-size: 22px;
    line-height: 1.2;
}

.achiever-designation {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin-bottom: 13px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff0eb;
    color: #fe6338;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.achiever-summary {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 12px;
    color: #5d6a80;
    font-size: 13px;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.achiever-read-more {
    display: inline-flex;
    width: max-content;
    margin-top: 0;
    padding: 0;
    align-items: center;
    gap: 9px;
    border: 0;
    background: transparent;
    color: #123c49;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.achiever-read-more__arrow {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #123c49;
    color: #fff;
    transition: transform .2s ease, background .2s ease;
}

.achiever-read-more:hover,
.achiever-read-more:focus-visible {
    color: #fe6338;
}

.achiever-read-more:hover .achiever-read-more__arrow,
.achiever-read-more:focus-visible .achiever-read-more__arrow {
    background: #fe6338;
    transform: translateX(3px);
}

.achievers-empty {
    padding: 42px 24px;
    border: 1px dashed rgba(255, 255, 255, .45);
    border-radius: 12px;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    text-align: center;
}

body.achiever-modal-open {
    overflow: hidden;
}

.achiever-dialog {
    width: min(920px, calc(100% - 36px));
    max-height: min(760px, calc(100vh - 36px));
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
    color: #5d6a80;
}

.achiever-dialog::backdrop {
    background: rgba(4, 23, 29, .78);
    backdrop-filter: blur(4px);
}

.achiever-dialog[open] {
    animation: avm-achiever-dialog-in .22s ease-out;
}

.achiever-dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1c1c1c;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.achiever-dialog-close:hover,
.achiever-dialog-close:focus-visible {
    background: #fe6338;
    color: #fff;
}

.achiever-dialog-grid {
    display: grid;
    min-height: 490px;
    grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr);
}

.achiever-dialog-grid>img {
    width: 100%;
    height: 100%;
    min-height: 490px;
    object-fit: cover;
    object-position: center 20%;
}

.achiever-dialog-copy {
    padding: clamp(36px, 5vw, 64px);
}

.achiever-dialog-copy .eyebrow {
    margin-bottom: 8px;
    color: #fe6338;
}

.achiever-dialog-copy h2 {
    margin-bottom: 5px;
    color: #1c1c1c;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

.achiever-dialog-designation {
    margin-bottom: 25px;
    color: #123c49;
    font-size: 14px;
    font-weight: 800;
}

.achiever-dialog-content> :last-child {
    margin-bottom: 0;
}

@keyframes avm-achiever-dialog-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 900px) {
    .achiever-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .achiever-dialog-grid {
        grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
    }
}

@media (max-width: 600px) {
    .achievers-section-head {
        margin-bottom: 26px;
        align-items: flex-end;
        gap: 14px;
    }

    .achievers-heading-copy {
        min-width: 0;
    }

    .achievers-section-head h2 {
        font-size: 34px;
    }

    .achievers-section-head .achievers-heading-copy>p:last-child {
        display: none;
    }

    .achievers-controls {
        gap: 6px;
    }

    .achievers-arrow {
        width: 39px;
        height: 39px;
    }

    .achievers-carousel .carousel-window {
        margin-right: -11.111%;
    }

    .achievers-carousel .carousel-track {
        gap: 10px;
    }

    .achiever-card {
        flex-basis: 90%;
    }

    .achiever-photo-shell img,
    .achiever-card .achiever-photo-shell img {
        height: 238px;
    }

    .achiever-dialog {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
    }

    .achiever-dialog-grid {
        display: block;
        min-height: 0;
    }

    .achiever-dialog-grid>img {
        height: 290px;
        min-height: 0;
    }

    .achiever-dialog-copy {
        padding: 28px 24px 34px;
    }

    .achiever-dialog-copy h2 {
        padding-right: 30px;
        font-size: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .achiever-dialog[open] {
        animation: none;
    }
}

/* Mobile header composition and full-width navigation panel. */
@media (max-width: 900px) {
    body .topbar .topbar-inner {
        min-height: 62px;
        padding-block: 10px;
        justify-content: center;
    }

    .topbar .topbar-social {
        width: 100%;
        justify-content: center;
    }

    .topbar .topbar-actions {
        display: none;
    }

    .site-header .brand-announcement-inner {
        width: 100%;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding: 14px max(16px, 5vw);
    }

    .brand-announcement-inner .announcement-bar {
        order: -1;
        grid-column: 1 / -1;
        width: 100%;
    }

    .brand-announcement-inner .brand {
        justify-content: flex-start;
    }

    .brand-announcement-inner .menu-toggle {
        display: grid;
        width: 48px;
        height: 48px;
        align-self: center;
        place-items: center;
        border: 1px solid rgba(254, 99, 56, .25);
        border-radius: 8px;
        background: #fff2ed;
        color: #1C1C1C;
        font-size: 31px;
        line-height: 1;
    }

    .nav-shell {
        min-height: 0;
        border: 0;
    }

    .site-header .nav-shell .header-inner {
        width: 100%;
        height: 0;
        min-height: 0;
    }

    .site-header .nav-shell .main-nav {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 110;
        width: 100%;
        max-width: none;
        padding: 16px max(20px, 5vw) 26px;
        background: #fffdf8;
        box-shadow: 0 22px 45px rgba(28, 28, 28, .18);
    }

    .site-header .nav-shell .nav-list {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        justify-content: stretch;
        gap: 0;
    }

    .site-header .nav-shell .nav-list>li {
        width: 100%;
    }

    .site-header .nav-shell .nav-list>li>a {
        width: 100%;
        padding: 15px 4px;
        text-align: left;
    }

    .site-header .main-nav.open .nav-list .admissions-link>a {
        background: transparent;
        color: #1C1C1C !important;
    }

}

@media (max-width: 600px) {
    body .topbar .topbar-inner {
        display: flex;
        width: 100%;
    }

    .brand-announcement-inner .brand .custom-logo {
        height: 56px;
        max-width: min(270px, calc(100vw - 100px));
    }

    .brand-announcement-inner .brand .brand-default-logo {
        width: 54px;
        height: 54px;
    }

    .announcement-bar {
        border-radius: 8px;
    }
}

/* Birthday panel: daily, compact and visually separate from toppers. */
.birthday-highlight-panel {
    border-top: 1px solid rgba(93, 106, 128, .18);
    background: linear-gradient(145deg, #fff7f3 0%, #fff 72%);
}

.birthday-highlight-panel .home-highlight-head {
    min-height: 132px;
    padding: 20px 22px;
    border: 0;
    border-radius: 13px;
    overflow: hidden;
    background-color: #713e52;
    background-image: linear-gradient(112deg, rgba(151, 55, 38, .92), rgba(73, 38, 85, .76)), url("assets/images/cultural-stage.jpg");
    background-position: center 42%;
    background-size: cover;
}

.birthday-highlight-panel .home-highlight-head h2 {
    color: #fff;
}

.birthday-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff2b8;
}

.birthday-eyebrow time {
    margin-left: auto;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    letter-spacing: .04em;
    white-space: nowrap;
}

.birthday-candle-icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.birthday-candle-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.birthday-highlight-panel .vertical-marquee-group {
    gap: 10px;
    padding-bottom: 10px;
}

.birthday-static-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.birthday-highlight-panel .birthday-person-card {
    position: relative;
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 96px;
    gap: 15px;
    padding: 10px 124px 10px 15px;
    border: 0;
    border-left: 5px solid #FE6338;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28, 28, 28, .07);
    overflow: hidden;
}

.birthday-person-card .home-person-photo-wrap,
.birthday-person-card .home-person-copy {
    position: relative;
    z-index: 2;
}

.birthday-card-balloons {
    position: absolute;
    top: 7px;
    right: 15px;
    bottom: 6px;
    width: 92px;
    pointer-events: none;
    opacity: .24;
}

.birthday-balloon {
    position: absolute;
    width: 28px;
    height: 36px;
    border-radius: 50% 50% 48% 48%;
    background: #FE6338;
    animation: avm-balloon-float 3.2s ease-in-out infinite;
}

.birthday-balloon::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
    border-top: 7px solid currentColor;
    color: inherit;
    transform: translateX(-50%);
}

.birthday-balloon::after {
    content: "";
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    width: 1px;
    height: 34px;
    background: currentColor;
    transform-origin: top;
    transform: rotate(7deg);
}

.birthday-balloon--one {
    top: 17px;
    left: 2px;
    color: #FE6338;
    background: currentColor;
}

.birthday-balloon--two {
    top: 2px;
    left: 31px;
    color: #9d6fc1;
    background: currentColor;
    animation-delay: -.9s;
}

.birthday-balloon--three {
    top: 20px;
    right: 1px;
    color: #f3ac32;
    background: currentColor;
    animation-delay: -1.7s;
}

@keyframes avm-balloon-float {

    0%,
    100% {
        transform: translateY(3px) rotate(-2deg);
    }

    50% {
        transform: translateY(-5px) rotate(3deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .birthday-balloon {
        animation: none;
    }
}

.birthday-person-card .home-person-photo-wrap {
    width: 66px;
    height: 66px;
    border-width: 2px;
}

.birthday-person-card .home-person-photo {
    width: 58px;
    height: 58px;
}

.birthday-person-card .home-person-copy h3 {
    margin-block: 2px 3px;
    font-size: 19px;
}

.birthday-person-card .home-person-copy p {
    font-size: 12px;
}

.birthday-person-card .birthday-badge {
    padding: 2px 8px;
    font-size: 9px !important;
}

.birthday-empty {
    margin-top: 28px;
    border-style: solid;
}

@media (max-width: 600px) {
    .birthday-highlight-panel .home-highlight-head {
        min-height: 118px;
        padding: 17px;
    }

    .birthday-eyebrow {
        flex-wrap: wrap;
    }

    .birthday-eyebrow time {
        margin-left: 0;
    }

    .birthday-highlight-panel .birthday-person-card {
        grid-template-columns: 62px minmax(0, 1fr);
        min-height: 86px;
        gap: 11px;
        padding: 9px 78px 9px 11px;
    }

    .birthday-person-card .home-person-photo-wrap {
        width: 58px;
        height: 58px;
    }

    .birthday-person-card .home-person-photo {
        width: 51px;
        height: 51px;
    }

    .birthday-card-balloons {
        right: 8px;
        width: 62px;
        transform: scale(.78);
        transform-origin: right center;
    }
}

@media (max-width: 1180px) {
    .topbar .topbar-inner {
        width: min(calc(100% - 30px), 96%);
    }

    .topbar-contact-item {
        padding-inline: 16px;
    }

    .topbar-contact-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .topbar-alumni {
        margin-left: 14px;
        padding-inline: 16px;
    }
}

@media (max-width: 900px) {
    .topbar {
        display: block;
    }

    .topbar .topbar-inner {
        padding-block: 12px;
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .topbar-contact-item {
        flex: 1 1 auto;
        padding: 0 13px 0 0;
    }

    .topbar-alumni {
        margin-left: 10px;
    }

    .brand-announcement-inner {
        min-height: 88px;
        grid-template-columns: minmax(200px, .65fr) minmax(0, 1.35fr);
        gap: 24px;
    }

    .brand .custom-logo {
        height: 62px;
    }

    .nav-shell .header-inner {
        min-height: 56px;
        justify-content: flex-end;
    }

    .nav-shell .main-nav {
        top: 100%;
        z-index: 100;
        max-height: calc(100vh - 56px);
        box-shadow: 0 18px 32px rgba(28, 28, 28, .13);
    }

    .home-highlights-grid {
        grid-template-columns: 1fr;
    }

    .home-highlight-head {
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .admin-bar .site-header {
        top: 46px;
    }

    .topbar .topbar-inner {
        width: calc(100% - 24px);
    }

    .topbar-social {
        width: 100%;
        justify-content: center;
    }

    .topbar-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .topbar-contact-item {
        min-width: 0;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 8px;
    }

    .topbar-contact-item strong {
        overflow: hidden;
        font-size: 11px;
        text-overflow: ellipsis;
    }

    .topbar-contact-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .topbar-contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .topbar-alumni {
        min-height: 42px;
        grid-column: 1 / -1;
        margin: 0;
    }

    .brand-announcement-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-block: 13px;
    }

    .brand {
        justify-content: center;
    }

    .brand .custom-logo {
        height: 60px;
        max-width: 100%;
    }

    .announcement-bar {
        padding: 9px 11px;
    }

    .announcement-speaker {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .announcement-track span {
        padding-right: 55px;
        font-size: 12px;
    }

    .nav-shell .header-inner {
        height: 52px;
        min-height: 52px;
    }

    .nav-shell .main-nav {
        top: 100%;
        max-height: calc(100vh - 52px);
    }

    .home-highlights-section {
        padding: 52px 0;
    }

    .home-highlight-panel {
        padding: 22px 16px;
        border-radius: 13px;
    }

    .vertical-marquee {
        height: 410px;
    }

    .home-person-card {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 112px;
        gap: 13px;
        padding: 12px;
    }

    .home-person-photo-wrap {
        width: 78px;
        height: 78px;
    }

    .home-person-photo {
        width: 70px;
        height: 70px;
    }

    .home-person-copy h3 {
        font-size: 18px;
    }

    .home-person-score,
    .birthday-date {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .announcement-track,
    .vertical-marquee-track {
        animation: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   8. News & Gallery
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.news-section-head {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.news-grid>img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.news-list {
    border-block: 1px solid var(--line);
}

.news-item {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--line);
}

.news-item:last-child {
    border: 0;
}

.date {
    text-align: center;
    border-right: 1px solid var(--line);
    padding-right: 15px;
}

.date strong {
    display: block;
    font-size: 31px;
    color: var(--ink);
}

.date span {
    font-size: 12px;
    color: var(--gold);
    font-weight: 800;
}

.news-item h3 {
    color: var(--ink);
    margin-bottom: 6px;
}

.news-item h3 a:hover {
    color: var(--gold);
}

.news-item p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

/* Gallery Section Head (Left Head, Right Button) */
.gallery-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
    gap: 25px;
}

.gallery-head-left {
    max-width: 700px;
}

.gallery-head-left h2 {
    font-size: clamp(35px, 4vw, 54px);
    line-height: 1.08;
    color: var(--ink);
    margin: 14px 0 18px;
}

.gallery-head-left p {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}

.gallery-head-right {
    flex-shrink: 0;
    margin-bottom: 6px;
}

.gallery-view-btn {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--green);
    border-radius: var(--radius);
    background: var(--green);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(254, 99, 56, 0.15);
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-view-btn:hover {
    background: #ffffff;
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(254, 99, 56, 0.14);
}

.gallery-view-btn span {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.gallery-view-btn:hover span {
    transform: translateX(4px);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-button {
    border: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--ink);
    text-align: left;
    border-radius: var(--radius);
}

.gallery-button img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-button:hover img {
    transform: scale(1.035);
}

.gallery-button span {
    position: absolute;
    inset: auto 0 0;
    background: rgba(28, 28, 28, .8);
    color: #fff;
    padding: 14px;
    font-size: 13px;
    font-weight: 800;
}

/* ==========================================================================
   9. Testimonials & CTA
   ========================================================================== */
.testimonial-section {
    background: var(--green);
    color: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 9%;
    align-items: center;
}

.testimonial-grid h2 {
    font-size: 44px;
    line-height: 1.15;
}

.quote {
    font-size: 25px;
    line-height: 1.55;
    font-weight: 600;
}

.quote-mark {
    font-size: 54px;
    color: var(--gold);
    line-height: 1;
}

.testimonial-name {
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 0;
}

.testimonial-relation {
    opacity: .65;
    font-size: 13px;
}

/* CTA */
.cta {
    padding: 55px 0;
    background: #eee9dc;
    border-block: 1px solid var(--line);
}

.cta .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cta h2 {
    color: var(--ink);
    font-size: 36px;
    margin: 8px 0 0;
}

/* ==========================================================================
   10. Inner Pages, Features & Forms
   ========================================================================== */
.inner-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background-color: var(--ink);
    background-image: var(--inner-hero-image, url("assets/images/inner-page-hero.webp"));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 65px 0;
}

.inner-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 28, 28, .46), rgba(28, 28, 28, .72));
}

.inner-hero .wrap {
    text-align: center;
}

.inner-hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.1;
    max-width: 900px;
    margin: 14px auto;
    color: #fff;
    text-shadow: 0 4px 22px rgba(0, 0, 0, .22);
}

.inner-hero p {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    color: rgba(255, 255, 255, .75);
    font-size: 17px;
}

.inner-hero .eyebrow {
    color: #FE6338;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature {
    padding: 38px;
    background: var(--paper);
}

.feature h2 {
    color: var(--ink);
}

.feature p {
    color: var(--muted);
    margin: 0;
}

.closing {
    padding: 55px;
    background: var(--green);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    border-radius: var(--radius);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 9%;
}

.contact-row {
    margin-bottom: 35px;
}

.contact-row h3 {
    color: var(--ink);
    margin-bottom: 6px;
}

.contact-row p {
    color: var(--muted);
}

.form-card {
    background: #eee9dc;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.form-card label {
    display: block;
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 15px;
}

.form-card input,
.form-card textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    font: inherit;
}

.form-card textarea {
    min-height: 120px;
    resize: vertical;
}

.notice {
    padding: 12px;
    margin-bottom: 18px;
    background: var(--paper);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
}

/* Contact & Admissions page */
.contact-page-section {
    padding: 88px 0 96px;
    background: #fff;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    align-items: start;
    gap: clamp(26px, 4vw, 52px);
}

.contact-enquiry-card,
.contact-support-card {
    border: 1px solid rgba(254, 99, 56, .13);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(28, 28, 28, .09);
}

.contact-enquiry-card {
    padding: clamp(28px, 4vw, 48px);
    background: #fff;
}

.contact-card-head {
    margin-bottom: 30px;
}

.contact-card-head .eyebrow {
    margin-bottom: 9px;
}

.contact-card-head h2,
.contact-support-card--visit h2,
.contact-map-head h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.contact-card-head>p:last-child,
.contact-support-card--visit>p,
.contact-map-head>p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.contact-field {
    display: block;
    margin-bottom: 20px;
}

.contact-field>span:first-child {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.contact-field b {
    color: var(--gold);
}

.contact-input-wrap {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 17px;
    border: 1px solid #d9dedb;
    border-radius: 9px;
    background: #f8faf9;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-input-wrap:focus-within {
    border-color: var(--ink);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(254, 99, 56, .1);
}

.contact-input-wrap svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: #7a8782;
}

.contact-input-wrap input,
.contact-input-wrap textarea {
    width: 100%;
    margin: 0;
    padding: 16px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
}

.contact-input-wrap input::placeholder,
.contact-input-wrap textarea::placeholder {
    color: #929b98;
}

.contact-input-wrap--textarea {
    align-items: flex-start;
}

.contact-input-wrap--textarea svg {
    margin-top: 18px;
}

.contact-input-wrap textarea {
    min-height: 125px;
    resize: vertical;
}

.contact-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 5px;
    border-radius: 8px;
    background: var(--green);
    font-size: 14px;
    letter-spacing: .025em;
}

.contact-submit span {
    font-size: 19px;
    transition: transform .2s ease;
}

.contact-submit:hover span {
    transform: translateX(4px);
}

.contact-form-notice {
    border-radius: 7px;
    font-size: 14px;
}

.contact-form-notice--success {
    border-left-color: #34a853;
    background: #e6f4ea;
    color: #137333;
}

.contact-form-notice--error {
    border-left-color: #d93025;
    background: #fce8e6;
    color: #c5221f;
}

.contact-support-stack {
    display: grid;
    gap: 26px;
}

.contact-support-card {
    padding: clamp(28px, 3.5vw, 42px);
    background: #f3f5f2;
}

.contact-detail-list {
    display: grid;
    gap: 23px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-detail-list li {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    display: grid;
    flex: 0 0 50px;
    place-items: center;
    border-radius: 50%;
    background: rgba(254, 99, 56, .1);
    color: var(--ink);
}

.contact-detail-icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.contact-detail-list li>div {
    min-width: 0;
}

.contact-detail-list li>div>span {
    display: block;
    margin-bottom: 2px;
    color: #5D6A80;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.contact-detail-list a,
.contact-detail-list strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.contact-detail-list a:hover {
    color: var(--gold);
}

.contact-support-card--directory {
    position: relative;
    overflow: hidden;
    border-color: rgba(254, 99, 56, .35);
    background:
        radial-gradient(circle at 100% 0, rgba(254, 99, 56, .17), transparent 31%),
        linear-gradient(145deg, #fffdf7 0%, #f3f6f2 100%);
}

.contact-support-card--directory::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green) 0 72%, var(--gold) 72% 100%);
}

.contact-support-card--directory .contact-card-head {
    margin-bottom: 24px;
    padding-bottom: 23px;
    border-bottom: 1px solid rgba(254, 99, 56, .12);
}

.contact-directory-list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-directory-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid rgba(254, 99, 56, .11);
    border-radius: 13px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 7px 22px rgba(28, 28, 28, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-directory-item:hover {
    border-color: rgba(254, 99, 56, .6);
    box-shadow: 0 12px 28px rgba(28, 28, 28, .1);
    transform: translateY(-2px);
}

.contact-directory-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(254, 99, 56, .1);
    color: var(--ink);
}

.contact-directory-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-directory-copy {
    min-width: 0;
}

.contact-directory-role,
.contact-directory-school,
.contact-directory-copy strong {
    display: block;
}

.contact-directory-role {
    width: max-content;
    max-width: 100%;
    margin-bottom: 3px;
    color: #FE6338;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
}

.contact-directory-copy strong {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.3;
}

.contact-directory-school {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.contact-directory-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.contact-directory-phone:hover {
    background: var(--gold);
    color: var(--ink);
}

.contact-directory-phone span {
    color: #FE6338;
    font-size: 15px;
}

.contact-directory-phone:hover span {
    color: inherit;
}

.contact-directory-item--office {
    border-color: var(--ink);
    background: var(--green);
}

.contact-directory-item--office .contact-directory-icon {
    background: var(--gold);
    color: var(--ink);
}

.contact-directory-item--office .contact-directory-role,
.contact-directory-item--office .contact-directory-phone span {
    color: #FE6338;
}

.contact-directory-item--office .contact-directory-copy strong,
.contact-directory-item--office .contact-directory-school {
    color: #fff;
}

.contact-directory-item--office .contact-directory-school {
    opacity: .75;
}

.contact-directory-item--office .contact-directory-phone {
    background: #fff;
    color: var(--ink);
}

.contact-directory-item--office .contact-directory-phone:hover {
    background: var(--gold);
}

.contact-editor-content {
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid rgba(254, 99, 56, .13);
    color: var(--muted);
    font-size: 14px;
}

.contact-editor-content> :last-child {
    margin-bottom: 0;
}

.contact-support-card--visit {
    position: relative;
    overflow: hidden;
    border-color: var(--ink);
    background: var(--green);
    color: #fff;
}

.contact-support-card--visit::after {
    content: "";
    position: absolute;
    right: -95px;
    bottom: -110px;
    width: 230px;
    height: 230px;
    border: 34px solid rgba(255, 255, 255, .045);
    border-radius: 50%;
    pointer-events: none;
}

.contact-support-card--visit h2 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: clamp(27px, 2.6vw, 36px);
}

.contact-support-card--visit>p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .74);
}

.contact-hours {
    position: relative;
    z-index: 1;
    margin-top: 27px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.contact-hours span,
.contact-hours strong {
    display: block;
}

.contact-hours span {
    margin-bottom: 3px;
    color: #FE6338;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.contact-hours strong {
    font-size: 14px;
}

.contact-map-section {
    padding: 86px 0 96px;
    background: #eee8d6;
}

.contact-map-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.contact-map-head h2 {
    font-size: clamp(34px, 4vw, 52px);
}

.contact-map-frame {
    height: 470px;
    overflow: hidden;
    border: 8px solid #fff;
    border-radius: 18px;
    background: #dce2de;
    box-shadow: 0 22px 55px rgba(28, 28, 28, .14);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 960px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-support-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-directory-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .contact-directory-phone {
        grid-column: 2;
        justify-self: start;
    }
}

@media (min-width: 961px) and (max-width: 1160px) {
    .contact-directory-item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .contact-directory-phone {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 650px) {

    .contact-page-section,
    .contact-map-section {
        padding: 56px 0 62px;
    }

    .contact-enquiry-card,
    .contact-support-card {
        padding: 25px 21px;
        border-radius: 12px;
    }

    .contact-card-head {
        margin-bottom: 24px;
    }

    .contact-card-head h2,
    .contact-map-head h2 {
        font-size: 31px;
    }

    .contact-card-head>p:last-child,
    .contact-support-card--visit>p,
    .contact-map-head>p:last-child {
        font-size: 14px;
    }

    .contact-support-stack {
        grid-template-columns: 1fr;
    }

    .contact-detail-list a,
    .contact-detail-list strong {
        font-size: 14px;
    }

    .contact-directory-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
    }

    .contact-directory-icon {
        width: 44px;
        height: 44px;
    }

    .contact-directory-phone {
        grid-column: 2;
        justify-self: start;
    }

    .contact-map-frame {
        height: 360px;
        border-width: 5px;
        border-radius: 12px;
    }
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
    background: var(--ink);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr 1.8fr;
    gap: 60px;
    padding: 70px 0;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo-link {
    display: inline-flex;
    max-width: 100%;
}

.footer-brand .footer-logo {
    display: block;
    width: auto;
    height: 76px;
    max-width: min(360px, 100%);
    object-fit: contain;
    object-position: left center;
    /* filter: brightness(0) invert(1); */
}

.footer-socials {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-socials-label {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-links a {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
    transform: translateY(-2px);
}

.footer-social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-title {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-copy,
.footer-links a,
.footer-contact {
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
}

.footer-links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-branches {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.footer-branch {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding-left: 14px;
    border-left: 2px solid rgba(254, 99, 56, .55);
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    font-style: normal;
    line-height: 1.55;
}

.footer-branch strong {
    color: #fff;
    font-size: 13px;
}

.footer-branch a,
.footer-email {
    color: var(--gold);
    font-weight: 700;
}

.footer-email {
    grid-column: 1 / -1;
    font-size: 13px;
}

.footer-bottom {
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
}

/* ==========================================================================
   12. Lightbox Modal
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20, 27, 31, .96);
    place-items: center;
    padding: 60px;
}

.lightbox.open {
    display: grid;
}

.lightbox figure {
    margin: 0;
    text-align: center;
    color: #fff;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox figure.is-dragging {
    cursor: grabbing;
}

.lightbox img {
    max-width: min(100%, 1050px);
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius);
    -webkit-user-drag: none;
}

.lightbox figcaption {
    margin-top: 12px;
    font-weight: 700;
}

.lightbox-close,
.lightbox-arrow {
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}

.lightbox-close {
    right: 25px;
    top: 20px;
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pagination {
    margin-top: 35px;
}

.pagination .page-numbers {
    display: inline-flex;
    padding: 8px 13px;
    border: 1px solid var(--line);
    background: var(--paper);
    margin: 0 3px;
    border-radius: var(--radius);
}

.pagination .page-numbers.current {
    background: var(--green);
    color: #fff;
    border-color: var(--ink);
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-page {
    overflow: hidden;
    background: #fff;
}

.about-page-hero {
    position: relative;
    height: 290px;
    min-height: 290px;
    display: grid;
    place-items: center;
    isolation: isolate;
    color: #fff;
    background-color: var(--ink);
    background-image: var(--about-hero-image);
    background-position: center 42%;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-page-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28, 28, 28, .44), rgba(28, 28, 28, .73)),
        linear-gradient(90deg, rgba(28, 28, 28, .22), transparent 45%, rgba(28, 28, 28, .22));
}

.about-page-hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 0;
    padding-block: 70px;
    text-align: center;
}

.about-page-hero .eyebrow {
    margin: 0 0 12px;
    color: #FE6338;
}

.about-page-hero h1 {
    min-width: 0;
    max-width: 950px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5.5vw, 76px);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .24);
}

.about-intro-section {
    position: relative;
    padding: 96px 0 105px;
    background:
        radial-gradient(circle at 0 42%, rgba(254, 99, 56, .05), transparent 27%),
        radial-gradient(circle at 100% 42%, rgba(254, 99, 56, .07), transparent 29%),
        #fff;
}

.about-intro {
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

.about-intro__eyebrow {
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.about-intro h2 {
    max-width: 1180px;
    margin: 0 auto 28px;
    color: var(--ink);
    font-size: clamp(32px, 3.2vw, 50px);
    line-height: 1.24;
    letter-spacing: -.025em;
}

.about-intro__content {
    max-width: 1120px;
    margin: 0 auto;
    color: #5D6A80;
    font-size: 18px;
    line-height: 1.85;
}

.about-intro__content> :last-child {
    margin-bottom: 0;
}

.about-intro__content p+p {
    margin-top: 18px;
}

.about-intro__ornament {
    display: block;
    width: 74px;
    height: 3px;
    margin: 33px auto 0;
    background: var(--gold);
    border-radius: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
    margin: 62px auto 58px;
}

.about-highlight {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 26px 20px;
    border: 2px solid #FE6338;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    text-align: center;
    box-shadow: 0 14px 35px rgba(28, 28, 28, .06);
}

.about-highlight strong {
    display: block;
    color: #FE6338;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -.04em;
}

.about-highlight span {
    margin-top: 14px;
    color: #5D6A80;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-highlight--2 {
    border-color: #b18a6a;
}

.about-highlight--2 strong,
.about-highlight--2 span {
    color: #a8754f;
}

.about-highlight--3 {
    border-color: #8164b5;
}

.about-highlight--3 strong,
.about-highlight--3 span {
    color: #7652ac;
}

.about-highlight--4 {
    border-color: #5d8dac;
}

.about-highlight--4 strong,
.about-highlight--4 span {
    color: #4f7f9e;
}

.about-school-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--green-deep);
    box-shadow: 0 24px 65px rgba(28, 28, 28, .17);
}

.about-school-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: inherit;
}

.about-school-photo img {
    display: block;
    width: 100%;
    height: clamp(360px, 43vw, 590px);
    object-fit: cover;
}

.about-purpose-section {
    position: relative;
    padding: 100px 0 110px;
    background: #eee8d6;
}

.about-purpose-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(520px, 55vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(254, 99, 56, .38), transparent);
    transform: translateX(-50%);
}

.about-purpose-head {
    max-width: 780px;
    margin: 0 auto 46px;
    text-align: center;
}

.about-purpose-head h2 {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.about-purpose-grid--single {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.about-purpose-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 25px;
    min-height: 300px;
    padding: 46px;
    overflow: hidden;
    border: 1px solid rgba(254, 99, 56, .11);
    border-radius: 16px;
    background: #fffdf8;
    box-shadow: 0 18px 45px rgba(28, 28, 28, .08);
}

.about-purpose-card::after {
    content: "";
    position: absolute;
    right: -74px;
    bottom: -88px;
    width: 210px;
    height: 210px;
    border: 30px solid rgba(254, 99, 56, .035);
    border-radius: 50%;
}

.about-purpose-card--mission {
    background: var(--green);
    color: #fff;
}

.about-purpose-card--mission::after {
    border-color: rgba(255, 255, 255, .045);
}

.about-purpose-card__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(254, 99, 56, .15);
    color: var(--gold);
}

.about-purpose-card__icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.about-purpose-card__number {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.about-purpose-card h3 {
    margin: 0 0 15px;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
}

.about-purpose-card>div:last-child>p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.about-purpose-card--mission h3 {
    color: #fff;
}

.about-purpose-card--mission>div:last-child>p:last-child {
    color: rgba(255, 255, 255, .76);
}

/* ==========================================================================
   Academics Page
   ========================================================================== */
.academics-page {
    overflow: hidden;
    background: #fff;
}

.academics-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    isolation: isolate;
    color: #fff;
    background-color: var(--ink);
    background-image: var(--academics-hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.academics-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 28, 28, .46), rgba(28, 28, 28, .74));
}

.academics-hero__inner {
    padding-block: 64px;
    text-align: center;
}

.academics-hero__inner h1 {
    max-width: 820px;
    margin: 12px auto 17px;
    color: #fff;
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.academics-hero__inner>p:last-child {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .8);
    font-size: 17px;
    line-height: 1.75;
}

.academics-journey,
.academics-curriculum,
.academics-pillars {
    padding: 92px 0;
}

.academics-split {
    display: grid;
    align-items: center;
    gap: clamp(50px, 7vw, 100px);
}

.academics-split--journey {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .72fr);
}

.academics-split--curriculum {
    grid-template-columns: minmax(340px, .94fr) minmax(0, 1fr);
}

.academics-split--text-only {
    grid-template-columns: minmax(0, 860px);
    justify-content: center;
}

.academics-copy h2,
.academics-section-head h2 {
    margin: 12px 0 22px;
    color: var(--ink);
    font-size: clamp(34px, 4vw, 53px);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.academics-lead,
.academics-editor-content {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.academics-editor-content {
    margin-top: 22px;
}

.academics-editor-content> :last-child {
    margin-bottom: 0;
}

.academics-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #d8ded9;
    box-shadow: 0 24px 60px rgba(28, 28, 28, .16);
}

.academics-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academics-image--portrait {
    height: 510px;
}

.academics-image--portrait img {
    object-position: center top;
}

.academics-image figcaption {
    position: absolute;
    inset: auto 18px 18px;
    padding: 12px 15px;
    border-radius: 8px;
    background: rgba(28, 28, 28, .91);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    backdrop-filter: blur(7px);
}

.academics-stages {
    display: grid;
    grid-template-columns: repeat(var(--academics-stage-columns, 4), minmax(0, 1fr));
    gap: 1px;
    margin-top: 62px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--line);
}

.academics-stage {
    position: relative;
    min-height: 230px;
    padding: 30px 25px;
    background: #fffdf8;
}

.academics-stage__number {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(254, 99, 56, .12);
    font-size: 33px;
    font-weight: 800;
    line-height: 1;
}

.academics-stage__range {
    margin-bottom: 25px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.academics-stage h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.25;
}

.academics-stage>p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.academics-curriculum {
    background: #eee8d6;
}

.academics-image--landscape {
    height: 450px;
}

.academics-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
}

.academics-subjects span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 13px;
    border: 1px solid rgba(254, 99, 56, .16);
    border-radius: 999px;
    background: rgba(255, 253, 248, .76);
    color: var(--ink);
    font-size: 12px;
    font-weight: 750;
}

.academics-pillars {
    background: #fff;
}

.academics-section-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.academics-pillar-grid {
    display: grid;
    grid-template-columns: repeat(var(--academics-card-columns, 3), minmax(0, 1fr));
    gap: 22px;
}

.academics-pillar {
    min-height: 305px;
    padding: 36px 32px;
    border: 1px solid rgba(254, 99, 56, .11);
    border-radius: 14px;
    background: #fffdf8;
    box-shadow: 0 15px 38px rgba(28, 28, 28, .07);
}

.academics-pillar__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 27px;
    border-radius: 50%;
    background: rgba(254, 99, 56, .15);
    color: var(--gold);
    font-size: 23px;
    font-weight: 800;
}

.academics-pillar h3 {
    margin: 0 0 13px;
    color: var(--ink);
    font-size: 25px;
    line-height: 1.2;
}

.academics-pillar p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.academics-pillar--dark {
    border-color: var(--ink);
    background: var(--green);
}

.academics-pillar--dark h3,
.academics-pillar--dark p {
    color: #fff;
}

.academics-pillar--dark p {
    color: rgba(255, 255, 255, .75);
}

.academics-pillar--gold {
    border-color: rgba(254, 99, 56, .42);
    background: #f4ecd5;
}

.academics-pillar a {
    display: inline-flex;
    gap: 8px;
    margin-top: 22px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.academics-pillar a:hover {
    color: var(--gold);
}

.academics-cta {
    padding: 52px 0;
    background: var(--green-deep);
    color: #fff;
}

.academics-cta .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.academics-cta h2 {
    max-width: 760px;
    margin: 5px 0 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.18;
}

.academics-cta .btn {
    flex: 0 0 auto;
}

/* ==========================================================================
   Activities Page
   ========================================================================== */
.activities-page {
    overflow: hidden;
    background: #fff;
}

.activities-page h1,
.activities-page h2,
.activities-page h3,
.activities-page p,
.activities-page li {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.activities-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    isolation: isolate;
    color: #fff;
    background-color: var(--ink);
    background-image: var(--activities-hero-image);
    background-position: center 42%;
    background-repeat: no-repeat;
    background-size: cover;
}

.activities-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 28, 28, .46), rgba(28, 28, 28, .74));
}

.activities-hero__inner {
    padding-block: 72px;
    text-align: center;
}

.activities-hero .eyebrow {
    color: #FE6338;
}

.activities-hero h1 {
    max-width: 830px;
    margin: 13px auto 19px;
    color: #fff;
    font-size: clamp(42px, 5.3vw, 70px);
    line-height: 1.04;
    letter-spacing: -.04em;
}

.activities-hero__description {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.75;
}

.activities-intro,
.activities-showcase,
.activities-growth {
    padding: 88px 0;
}

.activities-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
    align-items: center;
    gap: clamp(48px, 7vw, 105px);
}

.activities-split--text-only {
    grid-template-columns: minmax(0, 850px);
    justify-content: center;
}

.activities-copy h2,
.activities-section-head h2 {
    margin: 12px 0 22px;
    color: var(--ink);
    font-size: clamp(35px, 4.1vw, 54px);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.activities-copy>p:last-of-type {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.82;
}

.activities-intro__image,
.activities-growth__image {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #d5ded9;
    box-shadow: 0 26px 62px rgba(28, 28, 28, .17);
}

.activities-intro__image {
    height: 485px;
}

.activities-intro__image::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: inherit;
    pointer-events: none;
}

.activities-intro__image img,
.activities-growth__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activities-intro__image span {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 15px 18px;
    border-radius: 9px;
    background: rgba(28, 28, 28, .91);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}

.activities-showcase {
    position: relative;
    background: #eee8d6;
}

.activities-showcase::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -150px;
    width: 360px;
    height: 360px;
    border: 55px solid rgba(254, 99, 56, .035);
    border-radius: 50%;
    pointer-events: none;
}

.activities-section-head {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.activities-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(var(--activities-card-count, 4), minmax(0, 1fr));
    gap: 18px;
}

.activity-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(28, 28, 28, .09);
    transition: transform .25s ease, box-shadow .25s ease;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(28, 28, 28, .15);
}

.activity-card>img {
    display: block;
    width: 100%;
    height: 215px;
    object-fit: cover;
    transition: transform .45s ease;
}

.activity-card:hover>img {
    transform: scale(1.035);
}

.activity-card__content {
    position: relative;
    min-height: 236px;
    padding: 29px 24px 30px;
    border-top: 4px solid var(--green);
}

.activity-card--2 .activity-card__content {
    border-color: #bd7b34;
}

.activity-card--3 .activity-card__content {
    border-color: #765aa8;
}

.activity-card--4 .activity-card__content {
    border-color: #5683a1;
}

.activity-card--no-image .activity-card__content {
    min-height: 310px;
    padding-top: 56px;
}

.activity-card__number {
    position: absolute;
    top: 23px;
    right: 22px;
    color: rgba(254, 99, 56, .12);
    font-size: 31px;
    font-weight: 850;
    line-height: 1;
}

.activity-card h3 {
    max-width: calc(100% - 28px);
    margin: 0 0 13px;
    color: var(--ink);
    font-size: 23px;
    line-height: 1.18;
}

.activity-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.68;
}

.activities-growth {
    background: #fff;
}

.activities-split--growth {
    grid-template-columns: minmax(340px, .9fr) minmax(0, 1fr);
}

.activities-growth__image {
    height: 455px;
}

.activities-growth__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.activities-growth__points li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid rgba(254, 99, 56, .12);
    border-radius: 8px;
    background: #fffdf8;
    color: var(--ink);
    font-size: 13px;
    font-weight: 750;
}

.activities-growth__points span {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: rgba(254, 99, 56, .17);
    color: #FE6338;
    font-size: 12px;
}

.activities-cta {
    padding: 54px 0;
    background: var(--green-deep);
    color: #fff;
}

.activities-cta .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.activities-cta h2 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
}

.activities-cta .btn {
    flex: 0 0 auto;
}

@media (max-width: 1080px) {
    .activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .activity-card__content {
        min-height: 200px;
    }
}

@media (max-width: 900px) {
    .activities-hero {
        min-height: 370px;
        background-position: 58% center;
    }

    .activities-intro,
    .activities-showcase,
    .activities-growth {
        padding: 68px 0;
    }

    .activities-split,
    .activities-split--growth {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .activities-intro__image,
    .activities-growth__image {
        height: 390px;
    }

    .activities-split--growth .activities-growth__image {
        order: 2;
    }

    .activities-cta .wrap {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .activities-hero {
        min-height: 340px;
        text-align: center;
    }

    .activities-hero::before {
        background: rgba(28, 28, 28, .8);
    }

    .activities-hero__inner {
        padding-block: 52px;
    }

    .activities-hero h1 {
        margin-top: 10px;
        font-size: 39px;
    }

    .activities-hero__description {
        font-size: 15px;
        line-height: 1.62;
    }

    .activities-intro,
    .activities-showcase,
    .activities-growth {
        padding: 54px 0;
    }

    .activities-copy h2,
    .activities-section-head h2 {
        font-size: 32px;
    }

    .activities-copy>p:last-of-type {
        font-size: 15px;
        line-height: 1.72;
    }

    .activities-intro__image,
    .activities-growth__image {
        height: 300px;
        border-radius: 11px;
    }

    .activities-intro__image span {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 12px;
        font-size: 10px;
    }

    .activities-section-head {
        margin-bottom: 30px;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .activity-card>img {
        height: 220px;
    }

    .activity-card__content,
    .activity-card--no-image .activity-card__content {
        min-height: 0;
        padding: 25px 22px 27px;
    }

    .activity-card h3 {
        font-size: 22px;
    }

    .activities-growth__points {
        grid-template-columns: 1fr;
    }

    .activities-cta {
        padding: 44px 0;
    }

    .activities-cta h2 {
        font-size: 29px;
    }
}



/* =====================================================
   SCHOOL MANAGEMENT
===================================================== */

.management-section {
    position: relative;
    overflow: hidden;
    padding: 90px 0 85px;
    background: #eee8d6;
}


/* Very subtle background detail */
.management-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    top: -260px;
    right: -180px;
    border: 1px solid rgba(254, 99, 56, 0.08);
    pointer-events: none;
}

.management-section::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    bottom: -220px;
    left: -130px;
    border: 1px solid rgba(254, 99, 56, 0.06);
    pointer-events: none;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.management-section-head {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}


.management-section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 14px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: 2.2px;

    color: #5D6A80;
}


/* little decorative lines */
.management-section-head .eyebrow::before,
.management-section-head .eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: #FE6338;
}


.management-section-head h2 {
    max-width: 720px;
    margin: 0 auto 17px;

    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.06;
    letter-spacing: -1.4px;

    color: #1C1C1C;
}


.management-section-head>p:last-child {
    max-width: 650px;
    margin: 0 auto;

    font-size: 16px;
    line-height: 1.75;

    color: #5D6A80;
}


/* =====================================================
   CAROUSEL
===================================================== */

.management-carousel {
    position: relative;
    z-index: 2;
}


.management-carousel-stage {
    position: relative;

}


.management-carousel .carousel-window {
    overflow: hidden;
    padding: 5px 3px 12px;
}


.management-carousel .carousel-track {
    display: flex;
    gap: 22px;
}


/*
 IMPORTANT:
 Targets the existing cards generated from card-management.php.
 No dynamic markup needs to change.
*/
.management-carousel .carousel-track>* {
    flex: 0 0 calc((100% - 66px) / 4);
    min-width: 0;

    background: #fffdf8;

    border: 1px solid rgba(254, 99, 56, 0.08);
    border-radius: 14px;

    overflow: hidden;


    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.management-carousel .carousel-track>*:hover {
    transform: translateY(-7px);

    border-color: rgba(254, 99, 56, 0.35);


}


/* Management images */

.management-carousel .carousel-track>* img {
    display: block;
    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.management-carousel .carousel-track>*:hover img {
    transform: scale(1.025);
}




/* Card headings */
.management-carousel .carousel-track>* h2,
.management-carousel .carousel-track>* h3,
.management-carousel .carousel-track>* h4 {
    color: #1C1C1C;
}


/* Paragraph */
.management-carousel .carousel-track>* p {
    color: #5D6A80;
    line-height: 1.65;
}


/* =====================================================
   LEFT / RIGHT ARROWS
===================================================== */

.management-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 15;

    width: 48px;
    height: 48px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 1px solid rgba(254, 99, 56, 0.15);

    background: #fffdf8;

    color: #1C1C1C;

    font-size: 31px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 8px 24px rgba(28, 28, 28, 0.10);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.management-arrow-prev {
    left: 0;
}


.management-arrow-next {
    right: 0;
}


.management-arrow:hover {
    background: #FE6338;
    color: #ffffff;

    border-color: #FE6338;

    box-shadow: 0 10px 28px rgba(254, 99, 56, 0.20);
}


.management-arrow-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}


.management-arrow-next:hover {
    transform: translateY(-50%) translateX(3px);
}


.management-arrow:focus-visible {
    outline: 3px solid rgba(254, 99, 56, 0.35);
    outline-offset: 3px;
}


/* Hide old controls wrapper styling if existing globally */
.management-carousel .carousel-controls {
    margin: 0;
}


/* =====================================================
   VIEW MORE
===================================================== */

.management-view-more {
    display: flex;
    justify-content: center;

    margin-top: 35px;

    position: relative;
    z-index: 2;
}


.management-view-btn {
    min-height: 50px;

    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid #FE6338;
    border-radius: 7px;

    background: #FE6338;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 8px 20px rgba(254, 99, 56, 0.15);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.management-view-btn span {
    font-size: 18px;

    transition: transform 0.25s ease;
}


.management-view-btn:hover {
    background: #ffffff;
    color: #FE6338;

    transform: translateY(-2px);

    box-shadow: 0 12px 26px rgba(254, 99, 56, 0.14);
}


.management-view-btn:hover span {
    transform: translateX(4px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .management-carousel .carousel-track>* {
        flex: 0 0 calc((100% - 44px) / 3);
    }

}


/* =====================================================
   TABLET / MOBILE
===================================================== */

@media (max-width: 820px) {

    .management-section {
        padding: 70px 0;
    }

    .management-section-head {
        margin-bottom: 38px;
    }

    .management-carousel-stage {
        padding: 0 45px;
    }

    .management-carousel .carousel-track {
        gap: 18px;
    }

    .management-carousel .carousel-track>* {
        flex: 0 0 calc((100% - 18px) / 2);
    }

    .management-arrow {
        width: 42px;
        height: 42px;

        font-size: 27px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 580px) {

    .management-section {
        padding: 55px 0 60px;
    }


    .management-section-head {
        margin-bottom: 32px;
    }


    .management-section-head .eyebrow {
        font-size: 11px;
        letter-spacing: 1.7px;
    }


    .management-section-head .eyebrow::before,
    .management-section-head .eyebrow::after {
        width: 18px;
    }


    .management-section-head h2 {
        font-size: 33px;
        letter-spacing: -0.7px;
    }


    .management-section-head>p:last-child {
        font-size: 14px;
        line-height: 1.65;
    }


    .management-carousel-stage {
        padding: 0;
    }


    .management-carousel .carousel-track {
        gap: 10px;
    }


    .management-carousel .carousel-track>* {
        flex: 0 0 80%;
    }

    .management-carousel .carousel-track>* img,
    .teacher-carousel .carousel-track>* img {
        height: 245px;
        aspect-ratio: auto;
    }


    .management-arrow {
        width: 36px;
        height: 36px;

        font-size: 24px;
    }


    .management-view-more {
        margin-top: 27px;
    }


    .management-view-btn {
        min-height: 46px;
        padding: 0 20px;
    }

}


/* =====================================================
   TEACHERS SECTION
   Uses same structure/design as Management Section
===================================================== */

.teacher-section {
    position: relative;
    overflow: hidden;

    padding: 90px 0 85px;

    background: #FE6338;
}


/* subtle background decoration */

.teacher-section::before {
    content: "";
    position: absolute;

    width: 440px;
    height: 440px;

    top: -270px;
    right: -170px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;

    pointer-events: none;
}


.teacher-section::after {
    content: "";
    position: absolute;

    width: 330px;
    height: 330px;

    bottom: -210px;
    left: -130px;

    border: 1px solid rgba(254, 99, 56, 0.10);
    border-radius: 50%;

    pointer-events: none;
}


/* =====================================================
   HEADING
===================================================== */

.teacher-section-head {
    position: relative;
    z-index: 2;
}


.teacher-section-head .eyebrow {
    color: #ffffff;
}


.teacher-section-head .eyebrow::before,
.teacher-section-head .eyebrow::after {
    background: #ffffff;
}


.teacher-section-head h2 {
    color: #ffffff;
}


.teacher-section-head>p:last-child {
    color: rgba(255, 255, 255, 0.76);
}


/* =====================================================
   CARDS
===================================================== */

.teacher-carousel .carousel-track>* {
    background: #fffdf8;

    border-color: rgba(255, 255, 255, 0.09);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.06),
        0 18px 40px rgba(0, 0, 0, 0.12);
}


.teacher-carousel .carousel-track>*:hover {
    border-color: rgba(254, 99, 56, 0.55);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.10),
        0 25px 50px rgba(0, 0, 0, 0.16);
}


/* Gold line below image */

.teacher-carousel .carousel-track>* img {
    border-bottom-color: #FE6338;
}


/* =====================================================
   CAROUSEL ARROWS
===================================================== */

.teacher-arrow {
    background: #fffdf8;

    color: #1C1C1C;

    border-color: rgba(255, 255, 255, 0.20);

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}


.teacher-arrow:hover {
    background: #1C1C1C;

    color: #ffffff;

    border-color: #1C1C1C;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
}


/* =====================================================
   VIEW MORE BUTTON
===================================================== */

.teacher-view-btn {
    background: #ffffff;

    border-color: #ffffff;

    color: #1C1C1C;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}


.teacher-view-btn:hover {
    background: #1C1C1C;

    border-color: #1C1C1C;

    color: #ffffff;

    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.19);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 580px) {

    .teacher-section {
        padding: 55px 0 60px;
    }

}





/* ==========================================================================
   13. Responsive Media Queries (Identical Breakpoints)
   ========================================================================== */
@media (max-width: 900px) {
    .topbar {
        display: none;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 82px;
        inset-inline: 0;
        background: var(--paper);
        padding: 15px 20px;
        border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 82px);
        overflow-y: auto;
    }

    .main-nav.open {
        display: block;
        color: var(--ink);
    }

    .nav-list {
        display: grid;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--line);
    }

    .nav-list>li {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .nav-list a {
        display: block;
        padding: 13px 3px;
        color: var(--ink);
        font-size: 16px;
        line-height: 1.4;
        opacity: 1;
        visibility: visible;
    }

    .nav-list>.menu-item-has-children>a::after {
        display: none;
    }

    .submenu-toggle {
        display: grid;
        place-items: center;
        width: 46px;
        min-height: 46px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--ink);
        font-size: 21px;
        cursor: pointer;
        transition: transform .2s ease;
    }

    .menu-item-has-children.submenu-open>.submenu-toggle {
        transform: rotate(180deg);
    }

    .nav-list .sub-menu {
        position: static;
        grid-column: 1 / -1;
        display: none;
        width: 100%;
        min-width: 0;
        padding: 0 0 8px 16px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .nav-list .submenu-open>.sub-menu {
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        transform: inherit !important;
        padding-left: 0;
    }

    .nav-list .sub-menu::before {
        display: none;
    }

    .nav-list .sub-menu li {
        position: static;
        display: block;
        width: 100%;
        border-bottom: 0;
    }

    .nav-list .sub-menu a {
        position: static;
        display: block !important;
        width: 100%;
        padding: 11px 12px;
        color: var(--muted) !important;
        font-size: 15px;
        line-height: 1.45;
        white-space: normal;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .main-nav.open .nav-list .admissions-link>a {
        color: #fff;
    }

    .menu-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid>div:first-child,
    .footer-branches-column {
        grid-column: 1 / -1;
    }

    .hero,
    .hero-content {
        min-height: 620px;
    }

    .about-grid,
    .news-grid,
    .testimonial-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .gallery-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about-grid {
        gap: 65px;
    }

    .carousel-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid>div:first-child {
        grid-column: 1 / -1;
    }

    .trust {
        right: 0;
    }

    .section {
        padding: 75px 0;
    }

    .about-intro-section,
    .about-purpose-section {
        padding-block: 76px;
    }

    .about-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-purpose-grid {
        grid-template-columns: 1fr;
    }

    .academics-split,
    .academics-split--journey,
    .academics-split--curriculum {
        grid-template-columns: 1fr;
    }

    .academics-split--curriculum .academics-image {
        order: 2;
    }

    .academics-stages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .academics-pillar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .academics-pillar:last-child {
        grid-column: 1 / -1;
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .wrap {
        width: 90%;
    }

    .brand .custom-logo {
        width: auto;
        height: 52px;
        max-width: min(230px, 64vw);
    }

    .brand .brand-default-logo {
        width: 50px;
        height: 50px;
    }

    .header-inner {
        height: 72px;
    }

    .main-nav {
        top: 72px;
        max-height: calc(100vh - 72px);
    }

    .hero,
    .hero-content {
        min-height: 440px;
    }

    .hero-content {
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-arrow {
        display: none;
    }

    .counters {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .counter {
        padding: 22px 15px;
        border-right: 0;
        border-bottom: 0;
    }

    .counter:nth-child(2) {
        border-right: 1px solid var(--line);
    }

    .counter strong {
        font-size: 30px;
    }

    .section {
        padding: 65px 0;
    }

    .section-head h2,
    .about-copy h2 {
        font-size: 36px;
    }

    .carousel-card {
        flex-basis: 100%;
    }

    .topper-marquee {
        -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
        mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    }

    .topper-marquee-track {
        gap: 14px;
    }

    .topper-card {
        flex-basis: 225px;
        width: 225px;
    }

    .topper-emblem {
        width: 205px;
    }

    .topper-card-copy {
        min-height: 100px;
        padding: 0 5px;
    }

    .topper-card-copy h3 {
        font-size: 20px;
    }

    .topper-result {
        font-size: 11px;
    }

    .topper-score {
        font-size: 22px;
    }

    .management-carousel-stage {
        padding: 0;
    }

    .management-carousel .carousel-track {
        gap: 10px;
    }

    .management-carousel .carousel-track>* {
        flex: 0 0 80%;
    }

    .management-carousel .carousel-track>* img,
    .teacher-carousel .carousel-track>* img {
        height: 245px;
        aspect-ratio: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-copy>.btn,
    .management-view-more,
    .management-view-btn,
    .gallery-head-right,
    .gallery-view-btn {
        width: 100%;
        text-align: center;
    }

    .news-item {
        grid-template-columns: 65px 1fr;
        padding: 18px 0;
    }

    .quote {
        font-size: 20px;
    }

    .testimonial-grid h2 {
        font-size: 36px;
    }

    .cta .wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta h2 {
        font-size: 30px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 28px;
    }

    .closing {
        font-size: 22px;
        padding: 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-branches {
        grid-template-columns: 1fr;
    }

    .footer-email {
        grid-column: auto;
    }

    .footer-grid>div:first-child {
        grid-column: auto;
    }

    .footer-bottom .wrap {
        display: block;
        text-align: center;
    }

    .lightbox {
        padding: 55px 15px;
    }

    .lightbox-arrow {
        bottom: 10px;
        top: auto;
    }

    .lightbox-prev {
        left: 35%;
    }

    .lightbox-next {
        right: 35%;
    }

    .about-page-hero {
        height: 180px;
        min-height: 180px;
        background-position: 56% center;
    }

    .about-page-hero__inner {
        padding-block: 50px;
    }

    .about-page-hero h1 {
        font-size: 40px;
    }

    .about-intro-section,
    .about-purpose-section {
        padding-block: 58px 64px;
    }

    .about-intro h2 {
        font-size: 31px;
        line-height: 1.25;
    }

    .about-intro__content {
        font-size: 16px;
        line-height: 1.75;
    }

    .about-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-block: 44px 38px;
    }

    .about-highlight {
        min-height: 140px;
        padding: 20px 10px;
        border-radius: 10px;
    }

    .about-highlight strong {
        font-size: 36px;
    }

    .about-highlight span {
        margin-top: 10px;
        font-size: 10px;
        line-height: 1.35;
    }

    .about-school-photo {
        border-radius: 11px;
    }

    .about-school-photo img {
        height: 285px;
    }

    .about-purpose-head {
        margin-bottom: 32px;
    }

    .about-purpose-head h2 {
        font-size: 32px;
    }

    .about-purpose-card {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 0;
        padding: 30px 25px 34px;
    }

    .about-purpose-card__icon {
        width: 56px;
        height: 56px;
    }

    .about-purpose-card h3 {
        font-size: 29px;
    }

    .academics-hero {
        min-height: 310px;
        background-position: 62% center;
    }

    .academics-hero::before {
        background: rgba(28, 28, 28, .78);
    }

    .academics-hero__inner {
        padding-block: 52px;
        text-align: center;
    }

    .academics-hero__inner h1 {
        font-size: 39px;
    }

    .academics-hero__inner>p:last-child {
        font-size: 15px;
        line-height: 1.65;
    }

    .academics-journey,
    .academics-curriculum,
    .academics-pillars {
        padding: 54px 0;
    }

    .academics-split {
        gap: 38px;
    }

    .academics-copy h2,
    .academics-section-head h2 {
        font-size: 32px;
    }

    .academics-lead,
    .academics-editor-content {
        font-size: 16px;
    }

    .academics-image--portrait,
    .academics-image--landscape {
        height: 300px;
    }

    .academics-image {
        border-radius: 11px;
    }

    .academics-stages {
        gap: 1px;
        margin-top: 42px;
        border-radius: 10px;
    }

    .academics-stage {
        min-height: 195px;
        padding: 25px 18px;
    }

    .academics-stage__number {
        top: 17px;
        right: 15px;
        font-size: 27px;
    }

    .academics-stage__range {
        max-width: 90px;
        margin-bottom: 22px;
        font-size: 9px;
    }

    .academics-stage h3 {
        font-size: 18px;
    }

    .academics-stage>p:last-child {
        font-size: 12px;
        line-height: 1.55;
    }

    .academics-subjects {
        gap: 7px;
        margin-top: 25px;
    }

    .academics-subjects span {
        min-height: 35px;
        padding-inline: 11px;
        font-size: 11px;
    }

    .academics-section-head {
        margin-bottom: 30px;
    }

    .academics-pillar-grid {
        grid-template-columns: 1fr;
    }

    .academics-pillar,
    .academics-pillar:last-child {
        grid-column: auto;
        min-height: 0;
        padding: 26px 24px;
    }

    .academics-pillar__icon {
        width: 46px;
        height: 46px;
        margin-bottom: 17px;
    }

    .academics-pillar h3 {
        font-size: 22px;
    }

    .academics-pillar p {
        font-size: 14px;
        line-height: 1.65;
    }

    .academics-cta {
        padding-block: 45px;
    }

    .academics-cta .wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .academics-cta h2 {
        font-size: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .carousel-track {
        transition: none;
    }
}

/* Final cascade layer for the redesigned header and themed carousel sections. */
@media (max-width: 900px) {
    .achievers-carousel .achiever-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .achievers-carousel .achiever-card {
        flex-basis: 90%;
    }
}

@media (max-width: 900px) {
    .topbar {
        display: block;
    }

    body .topbar .topbar-inner {
        min-height: 54px;
        padding: 7px 12px;
        justify-content: space-between;
        gap: 10px;
    }

    .topbar .topbar-social {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: 9px;
    }

    .topbar .topbar-actions {
        display: flex;
        width: auto;
        flex: 0 0 auto;
    }

    .topbar .topbar-contact-item {
        display: none;
    }

    .header-live-date--desktop {
        min-height: 40px;
        margin-left: 0;
        padding: 5px 9px 5px 6px;
        gap: 7px;
    }

    .header-live-date--desktop .header-live-date__icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        border-radius: 7px;
    }

    .header-live-date--desktop .header-live-date__icon svg {
        width: 16px;
        height: 16px;
    }

    .header-live-date--desktop .header-live-date__copy small {
        font-size: 8px;
    }

    .header-live-date--desktop .header-live-date__copy strong {
        font-size: 10px;
    }

    .topbar .topbar-follow-label {
        display: none;
    }
}

@media (max-width: 430px) {
    .topbar .topbar-follow-label {
        display: none;
    }

    .topbar .topbar-social {
        gap: 9px;
    }
}

.teacher-section {
    isolation: isolate;
    background: #082a34;
}

.teacher-section::before {
    inset: 0;
    z-index: -2;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background-image: linear-gradient(105deg, rgb(6 29 37 / 94%), rgb(3 15 18 / 83%)), var(--teacher-bg-image, url("assets/images/school-hero.jpg"));
    background-position: center;
    background-size: cover;
    opacity: 1;
}

.teacher-section::after {
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(18, 60, 73, .12), transparent 48%, rgba(254, 99, 56, .07));
}

.teacher-section-head .eyebrow {
    color: #ff9d7f;
}

.teacher-section-head .eyebrow::before,
.teacher-section-head .eyebrow::after {
    background: #ff9d7f;
}

.teacher-section-head h2 {
    color: #fff;
}

.teacher-section-head>p:last-child {
    color: rgba(255, 255, 255, .78);
}

.teacher-arrow,
.teacher-view-btn {
    border-color: #FE6338;
    background: #FE6338;
    color: #fff;
}

.teacher-arrow:hover,
.teacher-view-btn:hover {
    border-color: #fff;
    background: #fff;
    color: #123c49;
}
