/* ==========================================================================
   NBRS — Nava Bharath Royal School, Palladam
   Visual language: NAVA BHARATH ROYAL — Deep Royal Blue + Vibrant Royal Orange
   - Fraunces (display serif) over Manrope (UI / body)
   - Layout language shared with the Nava Bharath group sites
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
    /* Brand */
    --royal: #213380;
    --royal-deep: #142157;
    --royal-2: #2E44A5;
    --wine: #213380;
    --wine-dark: #182766;
    --sky: #EBF0FF;

    /* Accent — temple gold */
    --gold: #ED7D21;
    --gold-2: #D0590A;
    --gold-soft: #F8A362;
    --gold-tint: #FFF4EB;

    /* Legacy aliases (kept so older markup keeps working) */
    --brass: var(--gold);
    --brass-soft: var(--gold-soft);
    --brass-tint: var(--gold-tint);
    --ink: var(--royal-deep);

    /* Neutrals */
    --paper: #F8FAFC;
    --paper-2: #F1F5F9;
    --tint: #E2E8F0;
    --line: #E2E8F0;
    --line-2: #CBD5E1;
    --line-dark: rgba(255, 255, 255, .16);

    --text: #0F172A;
    --body: #334155;
    --muted: #64748B;
    --white: #ffffff;
    --ok: #1f9d5a;

    /* Radii — soft and friendly */
    --r-xs: 6px;
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 999px;

    /* Depth */
    --shadow-xs: 0 1px 2px rgba(33, 51, 128, .05);
    --shadow-sm: 0 4px 14px rgba(33, 51, 128, .06);
    --shadow: 0 14px 38px rgba(33, 51, 128, .10);
    --shadow-lg: 0 28px 70px rgba(33, 51, 128, .16);
    --shadow-gold: 0 12px 28px rgba(237, 125, 33, .28);

    /* Rhythm — deliberately roomy */
    --container: 1240px;
    --gutter: 24px;
    --section-y: clamp(38px, 4vw, 60px);
    --header-h: 120px;

    --label-size: 11.5px;
    --label-tracking: .2em;

    --ff: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ff-display: "Fraunces", "Instrument Serif", Georgia, serif;
    --ff-serif: "Fraunces", Georgia, serif;

    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Reset & Core ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--ff);
    font-size: 16.5px;
    line-height: 1.78;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--wine);
    text-decoration: none;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}

a:hover {
    color: var(--gold-2);
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0 0 .55em;
    color: var(--royal);
    text-wrap: balance;
}

h1,
h2 {
    font-family: var(--ff-display);
    font-weight: 600;
    font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 40;
    line-height: 1.1;
    letter-spacing: -.018em;
}

h1 {
    font-size: clamp(38px, 5vw, 64px);
}

h2 {
    font-size: clamp(30px, 3.6vw, 46px);
}

h3 {
    font-family: var(--ff);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.014em;
}

h4 {
    font-family: var(--ff);
    font-size: 16.5px;
    font-weight: 700;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.15em;
}

button,
input,
select,
textarea {
    font-family: var(--ff);
    color: inherit;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 100%;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

::selection {
    background: var(--gold);
    color: #fff;
}

/* ---------- 3. Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    position: relative;
    padding: var(--section-y) 0;
}

.section-sm {
    padding: clamp(24px, 3vw, 38px) 0;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid > *,
.split > * {
    min-width: 0;
}

.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3.5vw, 42px);
    align-items: center;
}

.split-60 {
    grid-template-columns: 1.15fr 1fr;
}

.text-center {
    text-align: center;
}

.divider {
    height: 1px;
    background: var(--line);
    border: 0;
    margin: 40px 0;
}

/* Section surfaces */
/* ---------- Section Surfaces & Rich Background Colors ---------- */
.bg-tint {
    background: var(--paper);
}

.bg-sec-facilities {
    background: linear-gradient(135deg, #F0F4FF 0%, #E2ECFE 100%);
}

.bg-sec-about {
    background: linear-gradient(180deg, #FFF8F2 0%, #FFEEDD 100%);
}

.bg-sec-together {
    background: linear-gradient(135deg, #F4F7FF 0%, #E8EFFF 100%);
}

.bg-sec-campus {
    background: linear-gradient(135deg, #FFF6F0 0%, #FFEBDF 100%);
}

.bg-sec-testimonials {
    background: linear-gradient(180deg, #F0F4FF 0%, #E4ECFE 100%);
}

.bg-sec-memo {
    background: linear-gradient(135deg, #FFF7F2 0%, #FFECE0 100%);
}

.bg-sec-enquiry {
    background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
}

.bg-sec-blog {
    background: linear-gradient(180deg, #F4F7FF 0%, #E8EFFF 100%);
}

.bg-royal,
.bg-sec-journey,
.bg-sec-stats,
.bg-sec-parents {
    background:
        radial-gradient(1100px 520px at 12% -10%, rgba(237, 125, 33, .16), transparent 62%),
        linear-gradient(160deg, var(--royal) 0%, var(--royal-deep) 100%);
    color: rgba(255, 255, 255, .78);
}

.bg-sec-achievers {
    background:
        radial-gradient(900px 420px at 85% 0%, rgba(237, 125, 33, .18), transparent 60%),
        #FFF5ED;
}

.bg-royal h1,
.bg-royal h2,
.bg-royal h3,
.bg-royal h4,
.bg-sec-journey h1,
.bg-sec-journey h2,
.bg-sec-journey h3,
.bg-sec-journey h4,
.bg-sec-stats h1,
.bg-sec-stats h2,
.bg-sec-stats h3,
.bg-sec-stats h4,
.bg-sec-parents h1,
.bg-sec-parents h2,
.bg-sec-parents h3,
.bg-sec-parents h4,
.bg-sec-ribbon h1,
.bg-sec-ribbon h2,
.bg-sec-ribbon h3,
.bg-sec-ribbon h4 {
    color: #fff !important;
}

.bg-royal p,
.bg-sec-journey p,
.bg-sec-stats p,
.bg-sec-parents p,
.bg-sec-ribbon p,
.bg-royal .lead,
.bg-sec-journey .lead,
.bg-sec-ribbon .lead {
    color: rgba(255, 255, 255, .92) !important;
}

.bg-royal .sec-head p:not(.eyebrow),
.bg-sec-journey .sec-head p:not(.eyebrow),
.bg-sec-stats .sec-head p:not(.eyebrow),
.bg-sec-parents .sec-head p:not(.eyebrow),
.bg-sec-ribbon .sec-head p:not(.eyebrow) {
    color: rgba(255, 255, 255, .88) !important;
}

.bg-royal .ticks li,
.bg-sec-journey .ticks li,
.bg-sec-stats .ticks li,
.bg-sec-parents .ticks li,
.bg-sec-ribbon .ticks li {
    color: rgba(255, 255, 255, .95) !important;
}

.bg-royal .ticks li::before,
.bg-sec-journey .ticks li::before,
.bg-sec-stats .ticks li::before,
.bg-sec-parents .ticks li::before {
    background: rgba(237, 125, 33, .28);
    color: var(--gold-soft);
}

/* Soft decorative wash behind light sections */
.deco {
    position: relative;
    overflow: hidden;
}

.deco::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 125, 33, .10), transparent 68%);
    pointer-events: none;
}

.arc-top {
    position: relative;
}

/* ---------- 4. Section Headings & Labels ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 5px 14px 5px 11px;
    border: 0;
    border-radius: var(--r-full);
    background: var(--gold-tint);
    font-family: var(--ff);
    font-size: var(--label-size);
    font-weight: 800;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--gold-2);
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--gold);
}

.bg-royal .eyebrow,
.bg-sec-journey .eyebrow,
.bg-sec-stats .eyebrow,
.bg-sec-parents .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow,
.hero-copy .eyebrow {
    background: rgba(255, 255, 255, .1);
    color: var(--gold-soft);
}

.bg-royal .eyebrow::before,
.bg-sec-journey .eyebrow::before,
.bg-sec-stats .eyebrow::before,
.bg-sec-parents .eyebrow::before,
.cta-band .eyebrow::before,
.page-hero .eyebrow::before,
.hero-copy .eyebrow::before {
    background: var(--gold-soft);
}

/* every section heading is centred: badge, title and subtitle */
.sec-head {
    max-width: 720px;
    margin: 0 auto clamp(18px, 2.5vw, 30px);
    text-align: center;
}

.sec-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sec-head.center .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.sec-head h2 {
    margin-bottom: 8px;
}

.sec-head p:not(.eyebrow) {
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    max-width: 62ch;
}

.sec-head.center p:not(.eyebrow) {
    margin-inline: auto;
}

.hl {
    font-family: var(--ff-serif);
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
}

.pill,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-full);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--royal);
    background: #fff;
}

/* ---------- 5. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid var(--gold);
    border-radius: var(--r-full);
    background: var(--gold);
    color: #fff;
    font-family: var(--ff);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    box-shadow: var(--shadow-gold);
    transition: background .22s var(--ease), border-color .22s var(--ease),
        color .22s var(--ease), transform .22s var(--ease-out), box-shadow .22s var(--ease);
}

.btn:hover {
    background: var(--gold-2);
    border-color: var(--gold-2);
    color: #fff;
    transform: translateY(-2px);
}

.btn i {
    font-size: 12px;
    transition: transform .22s var(--ease);
}

.btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}

.btn-royal {
    background: var(--royal);
    border-color: var(--royal);
    box-shadow: 0 12px 28px rgba(33, 51, 128, .24);
}

.btn-royal:hover {
    background: var(--royal-deep);
    border-color: var(--royal-deep);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.btn-gold:hover {
    background: var(--gold-2);
    border-color: var(--gold-2);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--line-2);
    color: var(--royal);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--royal);
    border-color: var(--royal);
    color: #fff;
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--royal);
    box-shadow: 0 12px 28px rgba(33, 51, 128, .18);
}

.btn-light:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.btn-ghost-light {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    box-shadow: none;
}

.btn-ghost-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--royal);
}

.btn-sm {
    padding: 11px 20px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.link-rule {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--royal);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
}

.link-rule:hover {
    color: var(--gold-2);
    border-color: var(--gold-2);
}

.bg-royal .link-rule,
.bg-sec-stats .link-rule,
.bg-sec-journey .link-rule,
.bg-sec-parents .link-rule {
    color: #fff;
    border-color: var(--gold);
}

/* ---------- 6. Top Bar ---------- */
.topbar {
    position: relative;
    background: linear-gradient(90deg, var(--royal-deep) 0%, #0F1A40 55%, var(--royal-deep) 100%);
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
}

.topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-soft) 50%, transparent 100%);
    opacity: .55;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 42px;
}

.topbar a {
    color: rgba(255, 255, 255, .82);
    transition: color .2s var(--ease), transform .2s var(--ease);
}

.topbar a:hover {
    color: #fff;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: .01em;
}

.tb-sep {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, .18);
    display: inline-block;
}

.tb-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(248, 163, 98, .14);
    color: var(--gold-soft);
    font-size: 10px;
    transition: background .22s var(--ease), color .22s var(--ease);
}

.topbar-contact a:hover .tb-ico {
    background: var(--gold);
    color: #fff;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tb-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease-out);
}

.tb-wa:hover {
    background: #25d366;
    color: #fff;
    transform: translateY(-1px) scale(1.05);
}

.tb-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 15px;
    border-radius: var(--r-full);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
    color: #fff;
    letter-spacing: .07em;
    text-transform: uppercase;
    font-size: 10.5px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.tb-cta i {
    font-size: 9px;
    color: rgba(255, 255, 255, .85);
}

.tb-cta:hover {
    background: linear-gradient(135deg, var(--gold-2) 0%, var(--royal) 100%);
    box-shadow: 0 4px 14px rgba(237, 125, 33, .5);
    transform: translateY(-1px);
    color: #fff;
}

/* ---------- 7. Header & Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
}

.site-header.is-stuck {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 30px rgba(33, 51, 128, .10);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 120px;
}

.brand img, .brand-logo {
    height: 82px;
    max-height: 90px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    transition: transform .22s var(--ease);
}

.brand:hover img {
    transform: scale(1.02);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1.5px solid transparent;
    border-radius: var(--r-full);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.005em;
    color: var(--text);
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.nav-link:hover {
    color: var(--royal);
    background: var(--gold-tint);
}

.nav-item.active > .nav-link {
    color: var(--royal);
    background: transparent;
    border-color: var(--gold);
}

.nav-link .caret {
    font-size: 8px;
    color: var(--muted);
    transition: transform .2s var(--ease);
}

.nav-item:hover .caret {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: 0 18px 42px rgba(33, 51, 128, .14);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease-out), visibility .22s;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--body);
    border-radius: var(--r-xs);
    border-left: 3px solid transparent;
    transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), padding-left .18s var(--ease);
}

.dropdown a:hover {
    background: var(--gold-tint);
    color: var(--royal);
    border-left-color: var(--gold);
    padding-left: 18px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--royal);
    color: #fff;
    border: 0;
    border-radius: var(--r-sm);
    font-size: 17px;
}

/* Mobile Drawer */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(33, 51, 128, .58);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 950;
}

body.drawer-open .drawer-backdrop {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(350px, 90vw);
    height: 100%;
    background: #fff;
    z-index: 960;
    transform: translateX(100%);
    transition: transform .34s var(--ease-out);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -10px 0 46px rgba(33, 51, 128, .22);
}

body.drawer-open .drawer {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}

.drawer-head img {
    height: 44px;
}

.drawer-close {
    background: var(--paper);
    border: 1px solid var(--line);
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    color: var(--royal);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-nav {
    padding: 10px 22px 22px;
}

.drawer-nav a,
.drawer-nav .drawer-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 2px;
    font-family: var(--ff);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--royal);
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.drawer-nav .drawer-parent i {
    font-size: 10px;
    color: var(--gold);
    transition: transform .2s var(--ease);
}

.drawer-sub {
    display: none;
    padding-left: 16px;
    border-left: 2px solid var(--gold);
    margin: 8px 0 8px 2px;
}

.drawer-sub.open {
    display: block;
}

.drawer-sub a {
    font-weight: 600;
    font-size: 14px;
    color: var(--body);
    border-bottom: 0;
    padding: 9px 2px;
}

.drawer-foot {
    margin-top: auto;
    padding: 18px 22px 28px;
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
}

/* ---------- 8. Main Hero Slider ---------- */
.hero {
    position: relative;
    min-height: clamp(560px, 86vh, 820px);
    min-height: clamp(560px, 86svh, 820px);
    overflow: hidden;
    background: var(--royal-deep);
    display: flex;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s var(--ease), transform 8s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 33, 87, .93) 0%, rgba(33, 51, 128, .78) 48%, rgba(33, 51, 128, .34) 100%),
        linear-gradient(to top, rgba(20, 33, 87, .85) 0%, transparent 45%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 0 0;
}

.hero-copy {
    max-width: 720px;
    padding-bottom: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}

.hero-badge .tag {
    background: rgba(237, 125, 33, .18);
    border-color: rgba(248, 163, 98, .5);
    color: var(--gold-soft);
}

.hero-copy h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(40px, 5.4vw, 74px);
    line-height: 1.05;
}

.hero-copy h1 em {
    font-style: italic;
    color: var(--gold-soft);
}

.hero-copy p {
    margin: 0 0 18px;
    max-width: 56ch;
    color: rgba(255, 255, 255, .84);
    font-size: 17.5px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions .btn:nth-child(2) {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    box-shadow: none;
}

.hero-actions .btn:nth-child(2):hover {
    background: #fff;
    border-color: #fff;
    color: var(--royal);
}

/* facts ledger along the bottom */
.hero-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, .07);
    border-top: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-fact {
    padding: 24px 28px 26px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.hero-fact:last-child {
    border-right: 0;
}

.hero-fact strong {
    display: block;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 34px;
    line-height: 1.1;
    color: #fff;
}

.hero-fact span {
    display: block;
    margin-top: 4px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    z-index: 3;
}

.hero-dots button {
    width: 30px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .34);
    transition: background .25s var(--ease), width .25s var(--ease);
}

.hero-dots button.active {
    width: 46px;
    background: var(--gold);
}

.hero-count {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-76px);
    z-index: 3;
    font-size: 12px;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .55);
}

.hero-count b {
    color: #fff;
    font-weight: 800;
}

.hero-nav {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-22px);
    z-index: 3;
    display: grid;
    gap: 8px;
}

.hero-nav button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.hero-nav button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

/* ---------- 9. Page Hero (inner pages) ---------- */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: clamp(48px, 5vw, 68px) 0 clamp(70px, 7vw, 96px);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 8% 0%, rgba(237, 125, 33, .2), transparent 60%),
        linear-gradient(90deg, rgba(20, 33, 87, .92) 0%, rgba(33, 51, 128, .7) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(26px, 3.6vw, 40px);
}

/* ---------- 10. Cards System ---------- */
.card {
    position: relative;
    display: block;
    padding: 18px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    color: var(--body);
    overflow: hidden;
    transition: border-color .22s var(--ease), box-shadow .3s var(--ease),
        transform .3s var(--ease-out);
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease-out);
}

.card:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h1,
.card h2,
.card h3,
.card h4 {
    margin: 0 0 8px;
    color: var(--royal) !important;
}

.card p {
    margin: 0;
    font-size: 15px;
    color: var(--body) !important;
}

.card p:last-child {
    margin-bottom: 0;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    background: var(--gold-tint);
    border: 0;
    border-radius: var(--r-sm);
    color: var(--gold-2);
    font-size: 18px;
    transition: background .25s var(--ease), color .25s var(--ease), transform .3s var(--ease-out);
}

.card:hover .card-icon {
    background: var(--gold);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

.card-badge-top {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}

a.card .card-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--royal);
}

a.card .card-go i {
    font-size: 10px;
    transition: transform .22s var(--ease);
}

a.card:hover .card-go {
    color: var(--gold-2);
}

a.card:hover .card-go i {
    transform: translateX(4px);
}

/* Card content styling override for white/light cards inside dark or light sections */
.card:not(.card-royal) {
    color: var(--body);
}

.card:not(.card-royal) h1,
.card:not(.card-royal) h2,
.card:not(.card-royal) h3,
.card:not(.card-royal) h4 {
    color: var(--royal) !important;
}

.card:not(.card-royal) p {
    color: var(--body) !important;
}

.card:not(.card-royal) p.lead,
.card:not(.card-royal) .lead {
    color: #475569 !important;
}

.card:not(.card-royal) .eyebrow {
    background: rgba(33, 51, 128, 0.08) !important;
    color: var(--royal) !important;
    border: 1px solid rgba(33, 51, 128, 0.12) !important;
}

.card:not(.card-royal) .eyebrow::before {
    background: var(--gold) !important;
}

.card:not(.card-royal) .ticks li {
    color: #334155 !important;
}

.card:not(.card-royal) .ticks li::before {
    background: rgba(33, 51, 128, 0.12) !important;
    color: var(--royal) !important;
}

.card-royal {
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(237, 125, 33, .16), transparent 62%),
        linear-gradient(160deg, var(--royal) 0%, var(--royal-deep) 100%);
    border-color: transparent;
    color: rgba(255, 255, 255, .88) !important;
}

.card-royal h1,
.card-royal h2,
.card-royal h3,
.card-royal h4 {
    color: #fff !important;
}

.card-royal p {
    color: rgba(255, 255, 255, .82) !important;
}

.card-royal .card-icon {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.card-royal:hover .card-icon {
    background: var(--gold);
    color: #fff;
}

.card-royal .ticks li {
    color: rgba(255, 255, 255, .8);
}

.card-royal .ticks li::before {
    background: rgba(255, 255, 255, .16);
    color: var(--gold-soft);
}

/* Numbered steps */
.step {
    position: relative;
    padding: 30px 28px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease-out);
    color: #334155;
}

.step:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    transform: translateY(-4px);
}

.step-no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--royal);
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff !important;
}

.step h3,
.bg-sec-journey .step h3 {
    margin: 0 0 8px;
    color: var(--royal) !important;
    font-size: 19px;
    font-weight: 700;
}

.step p,
.bg-sec-journey .step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: #334155 !important;
}

/* Ticks list */
.ticks {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ticks li {
    position: relative;
    padding: 0 0 8px 28px;
    font-size: 15px;
    color: var(--body);
}

.ticks li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gold-tint);
    font-size: 10px;
    color: var(--gold-2);
}

.ticks li:last-child {
    padding-bottom: 0;
}

.card .ticks li {
    color: var(--body) !important;
}

.card .ticks li::before {
    background: var(--gold-tint) !important;
    color: var(--gold-2) !important;
}

.card-royal .ticks li {
    color: rgba(255, 255, 255, .88) !important;
}

.card-royal .ticks li::before {
    background: rgba(237, 125, 33, .22) !important;
    color: var(--gold-soft) !important;
}

/* Photo card (academic stages) */
.photo-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease-out), border-color .22s var(--ease);
}

.photo-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.photo-card .ph {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.photo-card .ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.photo-card:hover .ph img {
    transform: scale(1.06);
}

.photo-card-body {
    padding: 16px 18px 20px;
}

.photo-card-body span {
    display: inline-block;
    margin-bottom: 9px;
    padding: 4px 12px;
    border-radius: var(--r-full);
    background: var(--gold-tint);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-2);
}

.photo-card-body h3 {
    margin: 0 0 8px;
    color: var(--royal);
}

.photo-card-body p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

.bg-sec-journey .photo-card {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
}

.bg-sec-journey .photo-card:hover {
    border-color: rgba(248, 163, 98, .5);
}

.bg-sec-journey .photo-card-body h3 {
    color: #fff;
}

.bg-sec-journey .photo-card-body p {
    color: rgba(255, 255, 255, .68);
}

.bg-sec-journey .photo-card-body span {
    background: rgba(237, 125, 33, .22);
    color: var(--gold-soft);
}

/* ---------- 11. About collage & points ---------- */
.collage-wrap {
    position: relative;
}

.collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.collage img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

.collage img:first-child {
    grid-column: 1 / -1;
    height: 320px;
    border-radius: var(--r-xl);
}

.badge-stat {
    position: absolute;
    right: -14px;
    bottom: -26px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    background:
        linear-gradient(160deg, var(--royal) 0%, var(--royal-deep) 100%);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.badge-stat strong {
    display: block;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 34px;
    line-height: 1;
    color: #fff;
}

.badge-stat span {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

/* compact hairline rows — no card chrome, tight vertical rhythm */
.about-points {
    display: grid;
    gap: 0;
    margin: 26px 0 30px;
    border-top: 1px solid var(--line);
}

.about-point {
    display: grid;
    grid-template-columns: 40px 1fr 16px;
    align-items: center;
    gap: 14px;
    padding: 13px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--body);
}

.about-point > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-xs);
    background: var(--gold-tint);
    font-size: 16px;
    color: var(--gold-2);
    transition: background .2s var(--ease), color .2s var(--ease);
}

.about-point:hover > i {
    background: var(--gold);
    color: #fff;
}

.about-point h4 {
    margin: 0 0 2px;
    font-size: 15.5px;
    color: var(--royal);
    transition: color .2s var(--ease);
}

.about-point:hover h4 {
    color: var(--gold-2);
}

.about-point p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

.about-point .ap-go {
    font-size: 10px;
    color: var(--line-2);
    transition: color .2s var(--ease), transform .2s var(--ease);
}

.about-point:hover .ap-go {
    color: var(--gold);
    transform: translateX(4px);
}

@media (max-width: 700px) {
    .about-point {
        grid-template-columns: 36px 1fr 14px;
        gap: 12px;
        padding: 12px 0;
    }

    .about-point > i {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .about-point p {
        font-size: 13px;
    }
}

.img-frame-outer {
    position: relative;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
}

.img-frame {
    border-radius: var(--r-lg);
    overflow: hidden;
}

.img-frame img {
    width: 100%;
}

.msg-box {
    padding: 34px 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--gold);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    font-size: 16.5px;
}

.msg-box p:last-child {
    margin-bottom: 0;
}

/* ---------- 12. CTA Band ---------- */
.cta-band {
    padding: clamp(52px, 6vw, 84px) 0;
    color: rgba(255, 255, 255, .8);
}

.cta-band,
.bg-sec-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 88% 10%, rgba(237, 125, 33, .26), transparent 62%),
        linear-gradient(140deg, var(--royal) 0%, var(--royal-deep) 100%);
    color: rgba(255, 255, 255, .8);
}

.cta-band .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    flex-wrap: wrap;
}

.cta-band h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 42px);
}

.cta-band p:not(.eyebrow) {
    margin: 0;
    font-size: 16.5px;
    color: rgba(255, 255, 255, .74);
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- 13. Stats Ledger ---------- */
.stats {
    padding: clamp(40px, 4.4vw, 62px) 0;
    color: rgba(255, 255, 255, .78);
}

.stats-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.stats-head h2 {
    margin: 0;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.16;
    color: #fff;
}

.stats .grid {
    gap: 16px;
}

/* icon beside the number rather than above it — roughly half the height */
.stat {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    column-gap: 15px;
    row-gap: 2px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r);
    transition: background .25s var(--ease), transform .3s var(--ease-out), border-color .25s var(--ease);
}

.stat:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(248, 163, 98, .45);
    transform: translateY(-4px);
}

.stat i {
    grid-column: 1;
    grid-row: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: var(--r-xs);
    background: rgba(237, 125, 33, .2);
    font-size: 17px;
    color: var(--gold-soft);
}

.stat strong {
    grid-column: 2;
    display: block;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(28px, 2.9vw, 38px);
    line-height: 1.02;
    color: #fff;
}

.stat strong .plus,
.stat .plus {
    font-style: normal;
    color: var(--gold);
}

.stat > span {
    grid-column: 2;
    display: block;
    margin-top: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.stats.on-royal .stat,
.stats.on-royal .stat strong {
    color: #fff;
}

/* ---------- 14. Carousel ---------- */
.carousel {
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    padding: 6px 4px 14px;
    margin: -6px -4px -14px;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform .6s var(--ease-out);
}

.carousel-track > * {
    flex: 0 0 calc((100% - 48px) / 3);
}

.carousel[data-per="2"] .carousel-track > * {
    flex: 0 0 calc((100% - 24px) / 2);
}

.carousel[data-per="4"] .carousel-track > * {
    flex: 0 0 calc((100% - 72px) / 4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--royal);
    font-size: 13px;
    box-shadow: var(--shadow-sm);
    z-index: 4;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.carousel-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.carousel-btn.prev {
    left: -22px;
}

.carousel-btn.next {
    right: -22px;
}

.media-tile {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
}

.media-tile img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.bg-sec-memo .media-tile img,
.media-tile img[data-zoom="memo"] {
    aspect-ratio: 420 / 708;
    object-fit: contain;
    background: #fff;
}

.bg-sec-achievers .media-tile img,
.media-tile img[data-zoom="ach"] {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

.media-tile:hover img {
    transform: scale(1.06);
}

/* ---------- 15. Testimonials ---------- */
.quote-card {
    position: relative;
    padding: 36px 32px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease-out);
}

.quote-card::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    right: 26px;
    font-family: var(--ff-display);
    font-size: 96px;
    line-height: 1;
    color: var(--gold-tint);
    pointer-events: none;
}

.quote-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.quote-card .stars {
    position: relative;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: .2em;
    color: var(--gold);
}

.quote-card p {
    position: relative;
    margin: 0 0 26px;
    font-family: var(--ff);
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--text);
}

.quote-person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.quote-person img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-tint);
}

.quote-person h4 {
    margin: 0;
    color: var(--royal);
    font-size: 15.5px;
}

.quote-person span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- 16. Video, mosaic & ribbon ---------- */
.video-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--r-lg);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.video-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.video-card:hover img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 0 12px rgba(237, 125, 33, .22);
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease);
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 0 18px rgba(237, 125, 33, .2);
}

.video-figure figcaption {
    padding-top: 18px;
}

.video-figure figcaption strong {
    display: block;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 20px;
    color: var(--royal);
}

.video-figure figcaption span {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.bg-sec-parents figcaption strong {
    color: #fff;
}

.bg-sec-parents figcaption span {
    color: var(--gold-soft);
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
}

.mosaic a {
    overflow: hidden;
    border-radius: var(--r-lg);
    display: block;
}

.mosaic a.tall {
    grid-row: span 2;
}

.mosaic a.wide {
    grid-column: span 2;
}

.mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.mosaic a:hover img {
    transform: scale(1.06);
}

.ribbon-section {
    padding: clamp(28px, 3.5vw, 44px) 0;
}

.bg-sec-ribbon {
    background:
        radial-gradient(900px 400px at 20% 0%, rgba(237, 125, 33, .18), transparent 60%),
        linear-gradient(140deg, var(--royal) 0%, var(--royal-deep) 100%);
    color: rgba(255, 255, 255, .78);
}

.ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ribbon-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r-lg);
}

.ribbon-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--r-sm);
    background: rgba(237, 125, 33, .2);
    font-size: 21px;
    color: var(--gold-soft);
}

.ribbon-item h4 {
    margin: 0 0 6px;
    color: #fff;
}

.ribbon-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .68);
}

/* ---------- 17. Post / News cards ---------- */
.post-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: box-shadow .3s var(--ease), transform .3s var(--ease-out);
}

.post-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.post-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.post-card:hover .post-thumb img {
    transform: scale(1.06);
}

.post-date {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: var(--gold);
    border-radius: var(--r-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
}

.post-body {
    padding: 16px 18px 20px;
}

.post-body h3 {
    margin: 0 0 8px;
    color: var(--royal);
    font-size: 18px;
}

.post-body p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

/* ---------- 18. Marquee / group logos ---------- */
.marquee-intro {
    padding: clamp(44px, 5vw, 70px) 0 0;
    text-align: center;
}

.marquee-label {
    margin: 0;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--muted);
}

.marquee {
    overflow: hidden;
    padding: 32px 0 clamp(48px, 5vw, 74px);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 78px;
    width: max-content;
    animation: marquee 36s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.marquee img {
    height: 68px;
    width: auto;
    opacity: .55;
    filter: grayscale(1);
    transition: opacity .25s var(--ease), filter .25s var(--ease);
}

.marquee img:hover {
    opacity: 1;
    filter: none;
}

/* ---------- 19. Forms ---------- */
.form-card {
    padding: clamp(20px, 2.5vw, 30px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
}

.form-card h3 {
    margin: 0 0 4px;
    color: var(--royal);
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 26px;
}

.form-grid {
    display: grid;
    gap: 12px;
}

.form-grid.two {
    grid-template-columns: 1fr 1fr;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--royal);
}

.field .req {
    color: var(--gold);
}

input[type=text],
input[type=email],
input[type=tel],
input[type=date],
input[type=number],
input[type=password],
input[type=file],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 15.5px;
    color: var(--text);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
    outline: 0;
    background: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(237, 125, 33, .12);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

::placeholder {
    color: #94A3B8;
}

.form-note {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- 20. Tables ---------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
}

.table-wrap table {
    min-width: 640px;
    font-size: 15px;
}

.table-wrap thead th {
    padding: 10px 12px;
    background: var(--royal);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}

.table-wrap td,
.table-wrap th.rowhead {
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.table-wrap th.rowhead {
    font-weight: 700;
    color: var(--royal);
    background: var(--paper);
    white-space: nowrap;
}

.table-wrap td:first-child {
    color: var(--royal);
    font-weight: 600;
}

.table-wrap tbody tr:hover {
    background: var(--gold-tint);
}

/* ---------- 21. Accordion ---------- */
.accordion {
    display: grid;
    gap: 12px;
}

.acc-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .25s var(--ease);
}

.acc-item.open {
    border-color: var(--gold-soft);
    box-shadow: var(--shadow-sm);
}

.acc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--royal);
    cursor: pointer;
}

.acc-head:hover {
    color: var(--gold-2);
}

.acc-head i:last-child {
    font-size: 12px;
    color: var(--gold);
    transition: transform .25s var(--ease);
}

.acc-item.open .acc-head i:last-child {
    transform: rotate(180deg);
}

.acc-body {
    display: none;
    padding: 0 24px 22px;
    font-size: 16px;
    color: var(--body);
}

.acc-item.open .acc-body {
    display: block;
}

/* ---------- 22. Gallery, docs & map ---------- */
.album-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.album-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.album-chip {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--r-full);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--royal);
    cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.album-chip:hover,
.album-chip.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.album-count,
.album-note {
    font-size: 13px;
    color: var(--muted);
}

.album-nav {
    display: flex;
    gap: 10px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.photo-cell {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-lg);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.photo-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(33, 51, 128, .5), transparent 55%);
    opacity: 0;
    transition: opacity .25s var(--ease);
}

.photo-cell:hover img {
    transform: scale(1.06);
}

.photo-cell:hover::after {
    opacity: 1;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--royal);
    transition: border-color .2s var(--ease), background .2s var(--ease), transform .25s var(--ease-out);
}

.doc-link i {
    color: var(--gold);
    font-size: 19px;
}

.doc-link:hover {
    background: var(--gold-tint);
    border-color: var(--gold-soft);
    transform: translateY(-3px);
}

.map-panel {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-panel iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20, 33, 87, .95);
    padding: 40px 60px;
}

.lightbox.open {
    display: flex;
}

.lightbox img,
.lightbox video {
    max-width: 100%;
    max-height: 88vh;
    border-radius: var(--r-lg);
}

.lightbox button {
    position: absolute;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #fff;
    width: 48px;
    height: 48px;
    font-size: 18px;
    line-height: 1;
    transition: background .2s var(--ease), color .2s var(--ease);
}

.lightbox button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.lightbox .lb-close {
    top: 24px;
    right: 24px;
}

.lightbox .lb-prev {
    left: 18px;
}

.lightbox .lb-next {
    right: 18px;
}

/* ---------- 23. Footer ---------- */
.site-footer {
    position: relative;
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(237, 125, 33, .14), transparent 60%),
        linear-gradient(160deg, var(--royal) 0%, var(--royal-deep) 100%);
    color: rgba(255, 255, 255, .68);
    font-size: 14.5px;
    padding: clamp(56px, 6.5vw, 90px) 0 0;
}

.site-footer a {
    color: rgba(255, 255, 255, .68);
}

.site-footer a:hover {
    color: var(--gold-soft);
}

.site-footer h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.005em;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 42px;
    padding-bottom: 50px;
}

.footer-intro {
    margin: 0 0 12px;
    max-width: 36ch;
    line-height: 1.7;
}

.footer-affiliation {
    margin: 0 0 32px;
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--r-full);
    background: rgba(237, 125, 33, .18);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.footer-heading {
    margin: 0 0 16px;
    font-family: var(--ff);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--gold-soft);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    transition: padding-left .2s var(--ease), color .2s var(--ease);
}

.footer-links a:hover {
    padding-left: 8px;
}

.footer-school {
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-school:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-list.contact li {
    display: flex;
    gap: 11px;
    padding: 5px 0;
    line-height: 1.6;
}

.footer-list.contact i {
    margin-top: 6px;
    flex: 0 0 13px;
    font-size: 12px;
    color: var(--gold);
}

.footer-card {
    margin-top: 20px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.footer-card img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    font-size: 15px;
    transition: background .2s var(--ease), color .2s var(--ease),
        border-color .2s var(--ease), transform .25s var(--ease-out);
}

.socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

/* ---------- 24. Floating actions ---------- */
.floaters {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 800;
    display: grid;
    gap: 10px;
}

.floaters a,
.floaters button {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 19px;
    box-shadow: var(--shadow);
    transition: transform .22s var(--ease-out);
}

.floaters a:hover,
.floaters button:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
}

.floaters .wa {
    background: #25a35a;
}

.floaters .call {
    background: var(--gold);
}

#toTop {
    background: var(--royal);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), visibility .25s, transform .22s var(--ease-out);
}

#toTop.show {
    opacity: 1;
    visibility: visible;
}

/* ---------- 25. Reveal & responsive ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 1280px) {
    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }
}

@media (max-width: 1080px) {
    .nav-link {
        padding: 10px 14px;
        font-size: 14px;
    }

    .brand img {
        height: 92px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .split,
    .split-60 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .carousel-track > *,
    .carousel[data-per="4"] .carousel-track > * {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .ribbon {
        grid-template-columns: 1fr;
    }

    .badge-stat {
        right: 10px;
        bottom: -18px;
    }

    .mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
}

@media (max-width: 860px) {
    .topbar-contact a:nth-child(4),
    .tb-sep {
        display: none;
    }

    .hero-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-fact:nth-child(2) {
        border-right: 0;
    }

    .hero-fact:nth-child(3),
    .hero-fact:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .stats .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    :root {
        --gutter: 14px;
        --header-h: 108px;
        --section-y: clamp(24px, 4vw, 36px);
    }

    body {
        font-size: 15px;
        line-height: 1.6;
    }

    .section {
        padding: 24px 0;
    }

    .section-sm {
        padding: 16px 0;
    }

    .page-hero {
        padding: 28px 0 20px;
    }

    .page-hero h1 {
        font-size: clamp(24px, 5.5vw, 34px);
    }

    .page-hero-sub {
        font-size: 14px;
        margin-top: 6px;
    }

    .page-hero-stats li {
        padding: 8px 12px;
    }

    .page-hero-stats strong {
        font-size: 18px;
    }

    .sec-head {
        margin-bottom: 16px;
    }

    .sec-head h2 {
        font-size: clamp(20px, 4.5vw, 26px);
    }

    .card,
    .photo-card-body,
    .post-body,
    .form-card,
    .hl-item {
        padding: 14px 14px;
    }

    .grid {
        gap: 12px;
    }

    .split,
    .split-60 {
        gap: 20px;
    }

    .topbar {
        display: none;
    }

    .brand img {
        height: 82px;
    }

    .header-cta .btn {
        display: none;
    }

    .cols-2,
    .cols-3,
    .cols-4 {
        grid-template-columns: 1fr;
    }

    .carousel-track > *,
    .carousel[data-per="2"] .carousel-track > *,
    .carousel[data-per="4"] .carousel-track > * {
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 0;
    }

    .hero-inner {
        padding-top: 92px;
    }

    .hero-copy {
        padding-bottom: 40px;
    }

    .hero-nav,
    .hero-count {
        display: none;
    }

    .hero-fact {
        padding: 18px 18px 20px;
    }

    .hero-fact strong {
        font-size: 27px;
    }

    .collage img:first-child {
        height: 230px;
    }

    .collage img {
        height: 150px;
    }

    .badge-stat {
        position: static;
        margin-top: 18px;
    }

    .cta-band .container,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    /* the compact rows still fit two-up on a phone */
    .stats .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .mosaic a.wide,
    .mosaic a.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .lightbox {
        padding: 70px 14px;
    }

    .quote-card,
    .card,
    .step {
        padding: 26px 22px;
    }
}

/* ---------- 26. Home page sections ---------- */

/* Overlapping highlight bar under the hero */
.highlight-wrap {
    position: relative;
    z-index: 5;
    margin-top: -42px;
}

.highlight-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hl-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-right: 1px solid var(--line);
    min-width: 0;
}

.hl-item:last-child {
    border-right: 0;
}

.hl-item i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--gold-tint);
    font-size: 18px;
    color: var(--gold-2);
}

.hl-item > div {
    min-width: 0;
}

.hl-item strong {
    display: block;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(15px, 1.2vw, 19px);
    line-height: 1.2;
    color: var(--royal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hl-item span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Scrolling value strip */
.value-strip {
    overflow: hidden;
    padding: 22px 0;
    background: linear-gradient(90deg, var(--royal) 0%, var(--royal-deep) 100%);
}

.value-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 34s linear infinite;
}

.value-strip:hover .value-track {
    animation-play-state: paused;
}

.value-track span {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
}

.value-track span::after {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--gold);
}

/* Shared bits */
.lead {
    font-size: 17.5px;
    line-height: 1.8;
    color: var(--body);
}

.sec-head.split-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.sec-head.split-head > div {
    max-width: 640px;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.call-inline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--royal);
}

.call-inline i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold-tint);
    color: var(--gold-2);
    font-size: 17px;
}

.call-inline span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.call-inline b {
    display: block;
    margin-top: 2px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: normal;
    text-transform: none;
    color: var(--royal);
}

.call-inline:hover b {
    color: var(--gold-2);
}

/* About collage extras */
.badge-stat i {
    font-size: 24px;
    color: var(--gold-soft);
}

.float-chip {
    position: absolute;
    left: -14px;
    top: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: #fff;
    border-radius: var(--r-full);
    box-shadow: var(--shadow);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--royal);
}

.float-chip i {
    color: var(--gold);
    font-size: 15px;
}

/* Academic journey stages */
.stage-rail {
    position: relative;
}

.photo-card.stage {
    position: relative;
}

.stage-no {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold);
    font-family: var(--ff-display);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    box-shadow: var(--shadow-gold);
}

/* Inset CTA panel */
.cta-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 32px);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}

.cta-panel > div:first-child {
    max-width: 660px;
}

.cta-panel .cta-actions {
    justify-content: center;
}

/* the badge sits on a dark panel — glass chip, gold text */
.cta-panel .eyebrow,
.bg-sec-cta .eyebrow {
    margin-bottom: 12px;
    padding: 6px 14px 6px 11px;
    background: rgba(255, 255, 255, .13);
    color: var(--gold-soft);
}

.cta-panel .eyebrow::before,
.bg-sec-cta .eyebrow::before {
    background: var(--gold);
}

.cta-panel h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(23px, 2.5vw, 32px);
    line-height: 1.16;
}

/* :not(.eyebrow) so this never repaints the badge text white */
.cta-panel p:not(.eyebrow) {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .76);
}

/* Video block with floating chip */
.video-wrap {
    position: relative;
}

.video-chip {
    position: absolute;
    left: 20px;
    bottom: -26px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}

.video-chip i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-tint);
    color: var(--gold-2);
    font-size: 16px;
}

.video-chip strong {
    display: block;
    font-size: 15px;
    color: var(--royal);
}

.video-chip span {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
}

/* Mosaic captions */
.mosaic a {
    position: relative;
}

.mosaic a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(20, 33, 87, .82) 0%, rgba(20, 33, 87, .1) 45%, transparent 70%);
    opacity: .75;
    transition: opacity .3s var(--ease);
}

.mosaic a:hover::before {
    opacity: 1;
}

.mosaic a > span {
    position: absolute;
    left: 20px;
    bottom: 16px;
    z-index: 2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    transition: transform .3s var(--ease-out);
}

.mosaic a:hover > span {
    transform: translateY(-4px);
}

/* Enquiry panel */
.enquiry-panel {
    padding: clamp(30px, 3.6vw, 48px);
    border-radius: var(--r-xl);
    background:
        radial-gradient(700px 340px at 100% 0%, rgba(237, 125, 33, .2), transparent 62%),
        linear-gradient(150deg, var(--royal) 0%, var(--royal-deep) 100%);
    color: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow-lg);
}

.enquiry-panel h2 {
    color: #fff;
}

.enquiry-panel .eyebrow {
    background: rgba(255, 255, 255, .1);
    color: var(--gold-soft);
}

.enquiry-panel .eyebrow::before {
    background: var(--gold-soft);
}

.enquiry-panel .ticks li {
    color: rgba(255, 255, 255, .82);
}

.enquiry-panel .ticks li::before {
    background: rgba(255, 255, 255, .14);
    color: var(--gold-soft);
}

.enquiry-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.enquiry-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--r);
    transition: background .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease-out);
}

.enquiry-contact:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(248, 163, 98, .5);
    transform: translateY(-3px);
}

.enquiry-contact i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(237, 125, 33, .24);
    color: var(--gold-soft);
    font-size: 15px;
}

.enquiry-contact strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.enquiry-contact span {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}

/* Blog kicker */
.post-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: var(--r-full);
    background: var(--gold-tint);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-2);
}

@media (max-width: 1080px) {
    .highlight-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hl-item {
        border-right: 1px solid var(--line);
    }

    .hl-item:nth-child(2n) {
        border-right: 0;
    }

    .hl-item:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 992px) {
    .video-wrap {
        margin-bottom: 34px;
    }
}

@media (max-width: 700px) {
    .page-hero {
        padding-top: 36px;
        padding-bottom: 74px;
    }

    .highlight-wrap {
        margin-top: -18px;
    }

    .highlight-bar {
        grid-template-columns: minmax(0, 1fr);
        border-radius: var(--r);
        box-shadow: var(--shadow-sm);
    }

    .hl-item {
        padding: 9px 12px;
        gap: 12px;
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .hl-item:first-child {
        border-top: 0;
    }

    .hl-item i {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 8px;
    }

    .hl-item strong {
        font-size: 15px;
        line-height: 1.2;
    }

    .hl-item span {
        font-size: 11.5px;
        margin-top: 1px;
    }

    .value-track span {
        font-size: 18px;
        gap: 22px;
        padding-right: 22px;
    }

    .float-chip {
        left: 8px;
        top: 12px;
        font-size: 11px;
        padding: 9px 14px;
    }

    .enquiry-contacts {
        grid-template-columns: 1fr;
    }

    .video-chip {
        position: static;
        margin-top: 16px;
    }

    .video-wrap {
        margin-bottom: 0;
    }

    .action-row {
        gap: 18px;
    }

    /* Contact page mobile compacting */
    .form-card {
        padding: 16px 14px;
        border-radius: var(--r-md);
    }

    .form-grid {
        gap: 10px;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .field {
        margin-bottom: 8px;
    }

    .field label {
        font-size: 12.5px;
        margin-bottom: 4px;
    }

    .field input,
    .field select,
    .field textarea {
        padding: 9px 12px;
        font-size: 14px;
        border-radius: var(--r-sm);
    }

    .map-panel iframe {
        height: 210px !important;
    }

    .cta-panel {
        padding: 16px 14px !important;
        border-radius: var(--r-md) !important;
    }

    .cta-panel h3 {
        font-size: 17px !important;
        margin-bottom: 6px !important;
    }

    .cta-panel p {
        font-size: 13.5px !important;
        margin-bottom: 12px !important;
    }

    .cta-panel .btn {
        padding: 8px 14px !important;
        font-size: 12.5px !important;
    }
}

/* ---------- 27. Inner pages ---------- */

/* Page hero: breadcrumb, sub line, stat strip */
.crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.crumbs a {
    color: rgba(255, 255, 255, .78);
}

.crumbs a:hover {
    color: var(--gold-soft);
}

.crumbs i {
    font-size: 8px;
    color: var(--gold);
}

.page-hero-sub {
    max-width: 700px;
    margin: 14px 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .86);
}

.page-hero-stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0 0;
    padding: 0;
}

.page-hero-stats li {
    padding: 14px 22px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--r);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.page-hero-stats strong {
    display: block;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.1;
    color: #fff;
}

.page-hero-stats span {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

/* Two-column accordion */
.accordion.two {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.acc-head span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.acc-head span > i:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: var(--r-xs);
    background: var(--gold-tint);
    font-size: 16px;
    color: var(--gold-2);
}

.bg-sec-journey .accordion .acc-item {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .13);
}

.bg-sec-journey .accordion .acc-item.open {
    border-color: rgba(248, 163, 98, .5);
}

.bg-sec-journey .acc-head {
    color: #fff;
}

.bg-sec-journey .acc-head span > i:first-child {
    background: rgba(237, 125, 33, .22);
    color: var(--gold-soft);
}

.bg-sec-journey .acc-body {
    color: rgba(255, 255, 255, .74);
}

.bg-sec-journey .ticks li {
    color: rgba(255, 255, 255, .82);
}

.bg-sec-journey .ticks li::before {
    background: rgba(255, 255, 255, .14);
    color: var(--gold-soft);
}

/* Leadership messages */
.leader .img-frame-outer {
    align-self: stretch;
}

.leader .img-frame,
.leader .img-frame img {
    height: 100%;
    object-fit: cover;
}

.msg-box .pill {
    background: var(--gold-tint);
    border-color: transparent;
    color: var(--gold-2);
}

.msg-box h3 {
    margin: 16px 0 14px;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 26px;
    color: var(--royal);
}

.pull-quote {
    position: relative;
    margin: 0 0 20px;
    padding-left: 22px;
    border-left: 3px solid var(--gold-soft);
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 19px;
    line-height: 1.6;
    color: var(--royal);
}

/* Academics stage strip */
.stage-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stage-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    font-size: 15px;
    font-weight: 700;
    color: var(--royal);
    transition: box-shadow .25s var(--ease), transform .25s var(--ease-out), border-color .2s var(--ease);
}

.stage-pill:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
    border-color: var(--gold-soft);
    color: var(--royal);
}

.stage-pill > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-tint);
    font-family: var(--ff-display);
    font-size: 14px;
    color: var(--gold-2);
}

.stage-pill small {
    display: block;
    flex: 1 0 100%;
    padding-left: 0;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
}

/* Admission step rail */
.step-rail {
    position: relative;
}

.step-rail::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold-soft) 0 10px, transparent 10px 20px);
    z-index: 0;
}

.step-rail .step {
    position: relative;
    z-index: 1;
}

/* Sticky chip bar (gallery albums, disclosure sections) */
.album-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 700;
    padding: 10px 0;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.album-bar .album-chips {
    margin-bottom: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.album-bar .album-chip {
    white-space: nowrap;
}

.album-chip b {
    margin-left: 6px;
    font-weight: 800;
    opacity: .6;
}

.album-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-full);
    background: var(--gold-tint);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gold-2);
}

/* Gallery cells are buttons — strip the UA chrome */
.photo-cell {
    padding: 0;
    border: 0;
    background: none;
}

.photo-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-size: 13px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease-out);
}

.photo-cell:hover .photo-zoom,
.photo-cell:focus-visible .photo-zoom {
    opacity: 1;
    transform: none;
}

/* Contact page side column */
.contact-side {
    display: grid;
    gap: 22px;
    align-content: start;
}

.contact-side .map-panel iframe {
    height: 340px;
}

/* Featured blog post */
.feature-post {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s var(--ease);
}

.feature-post:hover {
    box-shadow: var(--shadow);
}

.feature-thumb {
    position: relative;
    overflow: hidden;
    min-height: 340px;
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.feature-post:hover .feature-thumb img {
    transform: scale(1.04);
}

.feature-thumb .post-date {
    left: 20px;
    bottom: 20px;
}

.feature-body {
    padding: clamp(18px, 2.5vw, 28px);
    align-self: center;
}

.feature-body h3 {
    margin: 0 0 14px;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.2;
    color: var(--royal);
}

.feature-body p {
    margin: 0 0 26px;
    font-size: 16.5px;
    color: var(--muted);
}

@media (max-width: 992px) {
    .accordion.two,
    .stage-strip {
        grid-template-columns: 1fr 1fr;
    }

    .feature-post {
        grid-template-columns: 1fr;
    }

    .feature-thumb {
        min-height: 260px;
    }

    .step-rail::before {
        display: none;
    }

    .leader-flip .msg-box {
        order: 2;
    }
}

@media (max-width: 700px) {
    .accordion.two,
    .stage-strip {
        grid-template-columns: 1fr;
    }

    .page-hero-stats {
        gap: 10px;
        margin-top: 28px;
    }

    .page-hero-stats li {
        flex: 1 1 calc(50% - 10px);
        padding: 12px 16px;
    }

    .page-hero-stats strong {
        font-size: 19px;
    }

    .page-hero-sub {
        font-size: 16.5px;
    }

    .album-bar {
        padding: 12px 0;
    }

    .pull-quote {
        font-size: 17px;
    }
}

/* ---------- 28. Home page — tightened rhythm ----------
   Same visual language as everywhere else, just a denser vertical
   rhythm so the long home page does not run on. Scoped to body.is-home
   so inner pages keep the roomier spacing.
   ------------------------------------------------------ */
.is-home {
    --section-y: clamp(48px, 5.2vw, 78px);
}

.is-home .section-sm {
    padding: clamp(32px, 3.6vw, 50px) 0;
}

.is-home .grid {
    gap: 20px;
}

.is-home .split {
    gap: clamp(30px, 4vw, 56px);
}

.is-home .sec-head {
    margin-bottom: clamp(26px, 3vw, 40px);
}

.is-home .sec-head h2 {
    margin-bottom: 10px;
}

/* Hero */
.is-home .hero {
    min-height: clamp(520px, 78vh, 720px);
    min-height: clamp(520px, 78svh, 720px);
}

.is-home .hero-inner {
    padding-top: 104px;
}

.is-home .hero-copy {
    padding-bottom: 46px;
}

.is-home .hero-copy h1 {
    margin-bottom: 16px;
}

.is-home .hero-copy p {
    margin-bottom: 26px;
}

/* Highlight bar */
.is-home .highlight-wrap {
    margin-top: -58px;
}

.is-home .hl-item {
    padding: 24px 24px;
}

/* Value strip */
.is-home .value-strip {
    padding: 16px 0;
}

.is-home .value-track span {
    font-size: 19px;
}

/* Cards */
.is-home .card {
    padding: 26px 24px;
}

.is-home .card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    font-size: 19px;
}

.is-home a.card .card-go {
    margin-top: 16px;
}

/* About block */
.is-home .collage {
    gap: 12px;
}

.is-home .collage img {
    height: 176px;
}

.is-home .collage img:first-child {
    height: 270px;
}

.is-home .ticks li {
    padding-bottom: 10px;
    font-size: 15.5px;
}

/* Journey */
.is-home .photo-card-body {
    padding: 20px 22px 24px;
}

/* CTA panel */
.is-home .cta-panel {
    padding: clamp(24px, 2.8vw, 36px) clamp(22px, 2.8vw, 40px);
    gap: 22px 30px;
}

/* Video block */
.is-home .video-chip {
    padding: 14px 20px;
}

/* Stats */
/* Carousels & mosaic */
.is-home .carousel-track {
    gap: 20px;
}

.is-home .carousel-track > * {
    flex: 0 0 calc((100% - 40px) / 3);
}

.is-home .carousel[data-per="2"] .carousel-track > * {
    flex: 0 0 calc((100% - 20px) / 2);
}

.is-home .carousel[data-per="4"] .carousel-track > * {
    flex: 0 0 calc((100% - 60px) / 4);
}

.is-home .mosaic {
    grid-auto-rows: 158px;
    gap: 14px;
}

/* Ribbon */
.is-home .ribbon-section {
    padding: clamp(40px, 4.6vw, 62px) 0;
}

.is-home .ribbon-item {
    padding: 22px 22px;
}

/* Testimonials */
.is-home .quote-card {
    padding: 28px 26px 24px;
}

.is-home .quote-card p {
    margin-bottom: 20px;
    font-size: 16px;
}

.is-home .quote-person {
    padding-top: 16px;
}

/* Enquiry */
.is-home .enquiry-panel {
    padding: clamp(26px, 3vw, 40px);
}

.is-home .form-card {
    padding: clamp(24px, 3vw, 38px);
}

.is-home .form-grid {
    gap: 14px;
}

/* Blog */
.is-home .post-body {
    padding: 20px 20px 24px;
}

/* Group logos */
.is-home .marquee-intro {
    padding-top: clamp(34px, 4vw, 54px);
}

.is-home .marquee {
    padding: 24px 0 clamp(36px, 4vw, 58px);
}

.is-home .marquee img {
    height: 58px;
}

@media (max-width: 992px) {
    .is-home .carousel-track > *,
    .is-home .carousel[data-per="4"] .carousel-track > * {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 700px) {
    .is-home .highlight-wrap {
        margin-top: -36px;
    }

    .is-home .hero-inner {
        padding-top: 84px;
    }

    .is-home .hero-copy {
        padding-bottom: 32px;
    }

    .is-home .carousel-track > *,
    .is-home .carousel[data-per="2"] .carousel-track > *,
    .is-home .carousel[data-per="4"] .carousel-track > * {
        flex: 0 0 100%;
    }

    .is-home .collage img:first-child {
        height: 210px;
    }

    .is-home .collage img {
        height: 135px;
    }

    .is-home .mosaic {
        grid-auto-rows: 180px;
    }
}

/* ---------- 29. Split hero (home) ----------
   Copy on a calm maroon field, the slider in one clean rounded frame.
   Deliberately quiet: no overlapping cards, no texture, one soft glow.
   -------------------------------------------- */
.hero-split {
    display: block;
    min-height: 0;
    overflow: hidden;
    padding: clamp(44px, 5.5vw, 88px) 0 clamp(92px, 8vw, 132px);
    background:
        radial-gradient(900px 520px at 84% 6%, rgba(237, 125, 33, .16), transparent 62%),
        linear-gradient(155deg, var(--royal) 0%, var(--royal-deep) 100%);
}

.is-home .hero-split {
    padding: clamp(38px, 4.6vw, 74px) 0 clamp(84px, 7.5vw, 120px);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(560px 480px at -2% 106%, rgba(237, 125, 33, .16), transparent 66%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 5vw, 68px);
    align-items: center;
}

.hero-grid > * {
    min-width: 0;
}

/* ----- copy column ----- */
.hero-split .hero-copy {
    max-width: 560px;
    padding-bottom: 0;
}

.hero-split .hero-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 18px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.hero-split .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.08;
}

.hero-split .hero-copy p {
    margin-bottom: 32px;
    max-width: 48ch;
    font-size: 16.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .8);
}

/* ----- media column ----- */
.hero-media {
    position: relative;
}

.hero-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--royal-deep);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 30px 70px rgba(15, 26, 64, .42);
}

.hero-frame .hero-slide {
    transform: scale(1.06);
}

.hero-frame .hero-slide.active {
    transform: scale(1);
}

.hero-frame .hero-slide::after {
    background: linear-gradient(to top, rgba(20, 33, 87, .58) 0%, transparent 52%);
}

/* dots top-left, arrows top-right — the bottom belongs to the points bar */
.hero-frame .hero-dots {
    left: 24px;
    top: 24px;
    bottom: auto;
    transform: none;
}

.hero-frame .hero-nav {
    right: 18px;
    top: 18px;
    bottom: auto;
    transform: none;
    grid-auto-flow: column;
    gap: 8px;
}

.hero-frame .hero-nav button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* glass points bar sitting over the bottom of the frame
   (a sibling of .hero-frame, so the frame keeps clipping its slides) */
.hero-points {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    background: rgba(20, 33, 87, .52);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, .16);
    overflow: hidden;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 16px 18px;
    border-left: 1px solid rgba(255, 255, 255, .14);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.hero-points li:first-child {
    border-left: 0;
}

.hero-points i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    font-size: 9px;
    color: #fff;
}

/* narrow desktop columns — keep the bar from eating the photo */
@media (min-width: 993px) and (max-width: 1200px) {
    .hero-points li {
        gap: 8px;
        padding: 13px 14px;
        font-size: 12.5px;
    }

    .hero-points i {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
}

/* the white highlight bar tucks under the hero */
.is-home .highlight-wrap {
    margin-top: -62px;
}

/* ----- tablet ----- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-split .hero-copy {
        max-width: 640px;
    }

    .hero-split .hero-copy p {
        max-width: 58ch;
    }

    .hero-frame {
        aspect-ratio: 16 / 9;
    }
}

/* ----- mobile ----- */
@media (max-width: 700px) {
    .hero-split,
    .is-home .hero-split {
        padding: 30px 0 clamp(66px, 15vw, 92px);
    }

    .hero-grid {
        gap: 32px;
    }

    .hero-split .hero-badge {
        margin-bottom: 18px;
        padding: 7px 15px;
        font-size: 10.5px;
        letter-spacing: .12em;
    }

    /* max stays at 34px so it hands over to the base clamp (min 34px)
       at 701px without the size dipping */
    .hero-split .hero-copy h1 {
        margin-bottom: 14px;
        font-size: clamp(27px, 7.6vw, 34px);
        line-height: 1.14;
    }

    .hero-split .hero-copy p {
        margin-bottom: 24px;
        font-size: 15.5px;
        line-height: 1.7;
    }

    /* buttons stack full width so nothing wraps awkwardly */
    .hero-split .hero-actions {
        display: grid;
        gap: 10px;
    }

    .hero-split .hero-actions .btn {
        width: 100%;
        padding: 14px 22px;
    }

    .hero-frame {
        aspect-ratio: 4 / 3;
        border-radius: var(--r-lg);
        box-shadow: 0 18px 40px rgba(15, 26, 64, .38);
    }

    .hero-frame .hero-nav {
        display: none;
    }

    .hero-frame .hero-dots {
        left: 50%;
        top: auto;
        bottom: 14px;
        transform: translateX(-50%);
        gap: 7px;
    }

    /* points drop below the photo so they never crowd it */
    .hero-points {
        position: static;
        grid-template-columns: 1fr;
        margin-top: 16px;
        border-top: 0;
        border-radius: var(--r);
        background: rgba(255, 255, 255, .07);
        border: 1px solid rgba(255, 255, 255, .14);
    }

    .hero-points li {
        padding: 13px 16px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        font-size: 14px;
    }

    .hero-points li:first-child {
        border-top: 0;
    }

    .hero-frame .hero-dots button {
        width: 22px;
        height: 3px;
    }

    .hero-frame .hero-dots button.active {
        width: 34px;
    }
}

@media (max-width: 360px) {
    .hero-frame {
        aspect-ratio: 3 / 2;
    }
}

/* ---------- 30. Home "About our school" ----------
   Both columns stretch to the same height and the stat sits in a real
   grid cell instead of floating over the photos — nothing overlaps,
   every edge lines up.
   -------------------------------------------------- */
.about-split {
    align-items: stretch;
    grid-template-columns: 1fr 1.06fr;
}

.about-media {
    position: relative;
    /* centred rather than stretched — a very tall copy column would
       otherwise squeeze the photos into slivers */
    align-self: center;
}

.about-collage {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    /* minmax(0,…) so the photos' intrinsic height cannot inflate a row */
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: 100%;
    min-height: 440px;
    max-height: 620px;
}

.about-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
}

.about-collage img:first-child {
    grid-row: 1 / -1;
    border-radius: var(--r-xl);
}

/* the stat card is the third cell, aligned to the photo grid */
.about-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 24px;
    border-radius: var(--r-lg);
    background:
        radial-gradient(320px 200px at 100% 0%, rgba(237, 125, 33, .22), transparent 64%),
        linear-gradient(155deg, var(--royal) 0%, var(--royal-deep) 100%);
}

.about-stat i {
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--gold);
}

.about-stat strong {
    display: block;
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(34px, 3.4vw, 46px);
    line-height: 1;
    color: #fff;
}

.about-stat span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

/* ----- copy column ----- */
.about-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-copy .lead {
    margin-bottom: 0;
}

.about-facts {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 26px;
    margin: 26px 0 30px;
    padding: 0;
}

.about-facts li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
}

.about-facts i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--gold-tint);
    font-size: 9px;
    color: var(--gold-2);
}

/* point rows keep a single left rail with the facts above */
.about-copy .about-points {
    margin: 0 0 30px;
}

@media (max-width: 992px) {
    .about-split {
        grid-template-columns: 1fr;
    }

    /* stacked: the column no longer has a sibling to match, so drive the
       height from an aspect ratio instead of letting the rows grow */
    .about-collage {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 700px) {
    .about-collage {
        aspect-ratio: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: clamp(170px, 42vw, 230px) clamp(130px, 32vw, 180px);
        gap: 12px;
    }

    .about-collage img:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
        border-radius: var(--r-lg);
    }

    .about-stat {
        padding: 18px 20px;
    }

    .about-stat i {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .about-facts {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 22px 0 24px;
    }

    .about-facts li {
        font-size: 15px;
    }
}

/* very narrow phones — one stat per row so the numbers never clip */
@media (max-width: 479px) {
    .stats .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Wordmark lockup (used in place of a logo image) ---------- */
.brand-word {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.06;
}

.brand-word b {
    font-family: var(--ff-display);
    font-size: clamp(19px, 2.1vw, 26px);
    font-weight: 700;
    color: var(--royal);
    letter-spacing: -.012em;
}

.brand-word span {
    margin-top: 4px;
    font-size: var(--label-size);
    font-weight: 700;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--gold-2);
}

.drawer-head .brand-word b {
    font-size: 20px;
}


@media (max-width: 768px) {
    .brand img, .brand-logo {
        height: 56px;
        max-width: 220px;
    }
}
