:root {
  --navy-950: #06162f;
  --navy-900: #09234a;
  --navy-800: #12376d;
  --blue-700: #1957a6;
  --blue-100: #e8f1ff;
  --gold-600: #c98b13;
  --gold-500: #e0a62e;
  --gold-300: #f1ce76;
  --cream: #fffaf0;
  --paper: #fffefd;
  --mist: #f2f6fb;
  --ink: #13233a;
  --muted: #5e6d7f;
  --line: #dce4ee;
  --success: #176a45;
  --danger: #9a2536;
  --shadow-sm: 0 10px 30px rgba(7, 30, 65, .08);
  --shadow-lg: 0 24px 70px rgba(4, 20, 47, .18);
  --radius-sm: .8rem;
  --radius-md: 1.3rem;
  --radius-lg: 2rem;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0 0 .75rem; color: var(--navy-950); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.15rem; }
::selection { color: #fff; background: var(--blue-700); }

.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.content-narrow { width: min(calc(100% - 2.5rem), 800px); }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section--soft { background: var(--mist); }
.lead { font-size: clamp(1.1rem, 2vw, 1.32rem); color: #34485f; }
.small-note { color: var(--muted); font-size: .91rem; }
.center-action { margin-top: 2.25rem; text-align: center; }
.skip-link { position: fixed; z-index: 9999; top: -5rem; left: 1rem; padding: .8rem 1rem; color: #fff; background: var(--navy-950); border-radius: .4rem; }
.skip-link:focus { top: 1rem; }

.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; color: var(--blue-700); font-size: .76rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { width: 2.2rem; height: 2px; content: ""; background: var(--gold-500); }
.eyebrow--light { color: var(--gold-300); }
.section-heading { max-width: 760px; margin-bottom: 2.75rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }

.button { display: inline-flex; min-height: 3.35rem; align-items: center; justify-content: center; padding: .85rem 1.5rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .91rem; font-weight: 800; line-height: 1; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .primary-nav a:focus-visible, .quick-links a:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }
.button--small { min-height: 2.75rem; padding-inline: 1.15rem; font-size: .82rem; }
.button--gold { color: var(--navy-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); box-shadow: 0 10px 26px rgba(201, 139, 19, .24); }
.button--gold:hover { background: #f0bd4d; }
.button--navy { color: #fff; background: var(--navy-900); box-shadow: var(--shadow-sm); }
.button--navy:hover { background: var(--blue-700); }
.button--ghost { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); }
.button--ghost:hover { background: #fff; color: var(--navy-950); }
.button--outline { color: var(--navy-900); background: transparent; border-color: var(--navy-900); }
.text-link { display: inline-flex; gap: .55rem; align-items: center; color: var(--blue-700); text-decoration: none; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(.25rem); }

/* Header */
.site-header { position: relative; z-index: 100; }
.topbar { color: rgba(255,255,255,.88); background: var(--navy-950); font-size: .76rem; }
.topbar__inner { min-height: 2.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar p { margin: 0; letter-spacing: .04em; }
.topbar__links { display: flex; gap: 1.3rem; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--gold-300); }
.nav-shell { position: relative; background: rgba(255,255,255,.97); box-shadow: 0 2px 18px rgba(8, 34, 72, .08); }
.site-header.is-sticky .nav-shell { position: fixed; top: 0; left: 0; right: 0; animation: nav-drop .35s ease; }
@keyframes nav-drop { from { transform: translateY(-100%); } }
.nav-shell__inner { min-height: 6.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.custom-logo-link { flex: 0 0 auto; }
.custom-logo { width: 68px; max-height: 68px; object-fit: contain; }
.brand__logo { width: 4.25rem; height: 4.25rem; flex: 0 0 auto; object-fit: cover; border: 3px solid var(--gold-500); border-radius: 50%; box-shadow: 0 5px 18px rgba(7,30,65,.14); }
.brand__mark { width: 4.25rem; height: 4.25rem; flex: 0 0 auto; display: grid; place-items: center; position: relative; color: #fff; background: var(--navy-900); border: 3px solid var(--gold-500); border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(255,255,255,.16); }
.brand__mark span { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 800; }
.brand__mark small { position: absolute; bottom: .45rem; font-size: .48rem; letter-spacing: .1em; }
.brand__mark--light { width: 4rem; height: 4rem; margin-bottom: 1rem; background: rgba(255,255,255,.1); }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { color: var(--navy-900); font-family: Georgia, serif; font-size: 1.45rem; letter-spacing: -.02em; }
.brand__text > span { margin-top: .18rem; color: var(--blue-700); font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand__text small { margin-top: .42rem; color: var(--muted); font-family: Georgia, serif; font-size: .68rem; font-style: italic; }
.primary-nav { display: flex; align-items: center; gap: .75rem; }
.primary-nav ul { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav li > a { display: inline-flex; min-height: 2.9rem; align-items: center; padding: .55rem .72rem; color: #182f4d; text-decoration: none; font-size: .91rem; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.primary-nav .sub-menu { position: absolute; z-index: 20; top: calc(100% - 2px); left: 0; min-width: 230px; display: none; padding: .5rem; border: 1px solid var(--line); border-radius: .6rem; background: #fff; box-shadow: var(--shadow-lg); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu li > a { width: 100%; font-size: .86rem; white-space: normal; }
.school-motto { margin-top: 1.25rem; padding: 1rem 1.15rem; border-left: 4px solid var(--gold-500); background: #fff8e7; color: var(--navy-900); }
.staff-doc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.staff-doc { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-sm); }
.staff-doc img { width: 100%; height: auto; display: block; }
.staff-doc h3 { margin: 0; padding: 1rem 1.2rem; }
.logo-pair { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.logo-pair img { width: min(230px, 42vw); height: auto; }
.achiever-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; max-width: 920px; margin: 2rem auto; }
.achiever-card { display: grid; grid-template-columns: 42% 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-md); }
.achiever-card img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center 18%; background: #f3f5f8; }
.achiever-card > div { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; }
.achiever-card h3 { margin: .35rem 0 .7rem; }
.achiever-card p { color: var(--blue-700); font-weight: 750; }
.achiever-card strong { color: var(--gold-700); font-size: 1.05rem; }
.profile-hero { display: grid; grid-template-columns: minmax(260px,390px) 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.profile-portrait { overflow: hidden; border-radius: 1.1rem; background: #eef3f8; box-shadow: var(--shadow-lg); }
.profile-portrait img { width: 100%; height: auto; display: block; }
.profile-copy .school-motto { display: inline-block; }
.achievers-preview .achiever-card { min-height: 360px; }
.page-template-page-achievers .achiever-card { min-height: 430px; }
.page-template-page-achievers .achiever-card img { min-height: 430px; object-position: center top; }
.primary-nav li > a:hover, .primary-nav .current-menu-item > a { color: var(--blue-700); }
.primary-nav .current-menu-item > a::after { position: absolute; right: .65rem; bottom: .25rem; left: .65rem; height: 2px; content: ""; background: var(--gold-500); }
.menu-toggle { display: none; border: 0; color: var(--navy-900); background: transparent; }

/* Hero */
.hero { min-height: min(760px, calc(100vh - 8.5rem)); position: relative; display: grid; align-items: center; overflow: hidden; background: var(--navy-950); }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero__overlay { background: linear-gradient(90deg, rgba(4,20,47,.98) 0%, rgba(7,31,66,.9) 42%, rgba(7,31,66,.26) 76%, rgba(7,31,66,.12) 100%), linear-gradient(0deg, rgba(4,20,47,.46), transparent 48%); }
.hero__content { position: relative; z-index: 2; padding-block: 5.5rem 7rem; }
.hero__copy { width: min(710px, 66%); }
.hero h1 { color: #fff; text-wrap: balance; }
.hero h1 em { color: var(--gold-300); font-weight: 400; }
.hero__lead { max-width: 650px; color: rgba(255,255,255,.84); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0; margin-top: 3rem; }
.hero__trust span { display: grid; gap: .2rem; padding: 0 1.7rem; border-left: 1px solid rgba(255,255,255,.28); }
.hero__trust span:first-child { padding-left: 0; border-left: 0; }
.hero__trust strong { color: #fff; font-size: .88rem; }
.hero__trust small { color: rgba(255,255,255,.6); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.hero__scroll { position: absolute; z-index: 3; bottom: 1.5rem; left: 50%; display: grid; justify-items: center; gap: .45rem; transform: translateX(-50%); color: rgba(255,255,255,.65); text-decoration: none; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
.hero__scroll span { width: 1px; height: 2.5rem; background: linear-gradient(var(--gold-300), transparent); }

.quick-links { position: relative; z-index: 4; margin-top: -1px; background: #fff; box-shadow: var(--shadow-sm); }
.quick-links__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-links a { min-height: 7rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: 1.2rem 1.35rem; border-right: 1px solid var(--line); text-decoration: none; transition: background .2s ease; }
.quick-links a:last-child { border-right: 0; }
.quick-links a:hover { background: var(--cream); }
.quick-links__icon { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; color: var(--navy-900); background: #f7e7ba; border-radius: 50%; font-family: Georgia, serif; font-size: .72rem; font-weight: 800; }
.quick-links strong, .quick-links small { display: block; }
.quick-links strong { color: var(--navy-900); font-family: Georgia, serif; font-size: 1rem; }
.quick-links small { margin-top: .15rem; color: var(--muted); font-size: .72rem; }
.quick-links b { color: var(--gold-600); }

/* Layout components */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.split--welcome { grid-template-columns: .9fr 1.1fr; }
.split--reverse > :first-child { order: 2; }
.welcome__visual { position: relative; padding: 0 2.5rem 2.5rem 0; }
.image-frame { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.image-frame img { width: 100%; min-height: 390px; object-fit: cover; }
.image-frame--primary { position: relative; aspect-ratio: 4 / 5; }
.image-frame--primary img { height: 100%; object-position: center; }
.director-photo-caption { position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: .15rem; padding: 4rem 7rem 1.35rem 1.45rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(4,20,47,.92)); }
.director-photo-caption small { color: var(--gold-300); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.director-photo-caption strong { color: #fff; font-family: Georgia, serif; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.15; }
.experience-badge { position: absolute; right: 0; bottom: 0; width: 9.5rem; height: 9.5rem; display: grid; place-content: center; padding: 1rem; text-align: center; color: #fff; background: var(--navy-900); border: 7px solid var(--paper); border-radius: 50%; box-shadow: var(--shadow-sm); }
.experience-badge strong, .experience-badge small { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.experience-badge span { color: var(--gold-300); font-family: Georgia, serif; font-size: 2.3rem; line-height: 1; }
.welcome__copy h2 span { color: var(--blue-700); }
.welcome__copy > p { color: var(--muted); }
.value-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.value-row > div { display: grid; grid-template-columns: auto 1fr; gap: .1rem .7rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.value-row span { grid-row: span 2; color: var(--gold-600); }
.value-row strong { color: var(--navy-900); font-size: .91rem; }
.value-row small { color: var(--muted); }

.academic-pathway { background: linear-gradient(180deg, #f6f8fc, #fff); }
.pathway-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pathway-card { min-height: 315px; position: relative; padding: 1.8rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 16px 44px rgba(11,43,82,.06); transition: transform .25s ease, box-shadow .25s ease; }
.pathway-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.pathway-card__number { display: block; margin-bottom: 3rem; color: #b7c4d4; font-family: Georgia, serif; font-size: 1.2rem; }
.pathway-card__range { color: var(--blue-700); font-size: .69rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pathway-card h3 { font-size: 1.45rem; }
.pathway-card > p:last-of-type { color: var(--muted); font-size: .9rem; }
.pathway-card__line { position: absolute; right: 1.8rem; bottom: 1.7rem; left: 1.8rem; height: 3px; background: var(--gold-500); transform-origin: left; transition: transform .25s ease; }
.pathway-card:hover .pathway-card__line { transform: scaleX(.55); }
.pathway-card--accent { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.pathway-card--accent h3 { color: #fff; }
.pathway-card--accent > p:last-of-type { color: rgba(255,255,255,.7); }
.pathway-card--accent .pathway-card__range, .pathway-card--accent .pathway-card__number { color: var(--gold-300); }

.learning-life { color: rgba(255,255,255,.78); background: var(--navy-950); }
.learning-life h2 { color: #fff; }
.learning-life__gallery { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.gallery-tile { min-height: 190px; position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-md); }
.gallery-tile--large { grid-row: 1 / 3; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 2rem 1rem .8rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: .75rem; font-weight: 700; }
.check-list { margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding: .5rem 0 .5rem 1.8rem; color: #3a4b60; }
.check-list li::before { position: absolute; top: .55rem; left: 0; color: var(--gold-600); content: "✓"; font-weight: 900; }
.check-list--light li { color: rgba(255,255,255,.82); }
.check-list--light li::before { color: var(--gold-300); }

.leadership-preview { overflow: hidden; }
.leadership-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: 1180px; margin-inline: auto; }
.leader-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.leader-card__image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.leader-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .45s ease; }
.leader-card:hover .leader-card__image img { transform: scale(1.035); }
.leader-card__image--rajesh img,
.leader-card__image--anushree img,
.leader-card__image--shweta img { object-position: center 24%; }
.leader-card__body { padding: 1.15rem; }
.leader-card__body p { margin: 0 0 .35rem; color: var(--blue-700); font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.leader-card__body h3 { margin: 0; font-size: 1.2rem; }
.leader-card__body small { display: block; margin-top: .55rem; color: var(--muted); line-height: 1.5; }
.leader-card__initial { aspect-ratio: 4 / 5; display: grid; place-items: center; color: var(--gold-300); background: radial-gradient(circle at 30% 25%, #1d4f8b, var(--navy-950)); font-family: Georgia, serif; font-size: 3.2rem; }

.facts-band { padding: 3.2rem 0; color: #fff; background: var(--blue-700); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { display: grid; gap: .15rem; justify-items: center; padding: .5rem 1.25rem; text-align: center; border-right: 1px solid rgba(255,255,255,.22); }
.facts-grid > div:last-child { border: 0; }
.facts-grid strong { color: #fff; font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.facts-grid span { color: rgba(255,255,255,.68); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.enquiry-section { background: linear-gradient(135deg, #fff8e9 0 42%, #eef4fc 42%); }
.enquiry-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.contact-chips { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.contact-chips a { min-width: 190px; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; box-shadow: var(--shadow-sm); }
.contact-chips small, .contact-chips strong { display: block; }
.contact-chips small { color: var(--muted); }
.contact-chips strong { color: var(--navy-900); }
.form-card { padding: clamp(1.5rem, 4vw, 2.6rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-card > p { color: var(--muted); }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: .35rem; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { color: var(--navy-900); font-size: .76rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: .78rem .9rem; color: var(--ink); background: #fbfcfe; border: 1px solid #ccd7e5; border-radius: .65rem; outline: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(25,87,166,.12); }
.form-note { margin: .65rem 0 0; color: var(--muted); font-size: .72rem; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-alert { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: .65rem; font-size: .88rem; }
.form-alert--success { color: var(--success); background: #e8f8f0; border: 1px solid #b3e0ca; }
.form-alert--error { color: var(--danger); background: #fff0f1; border: 1px solid #e9bec4; }

/* Inner pages */
.page-hero { min-height: 390px; position: relative; display: grid; align-items: center; overflow: hidden; color: rgba(255,255,255,.78); background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.page-hero__content { position: relative; z-index: 2; max-width: 900px; padding-block: 5.5rem; }
.page-hero h1 { max-width: 900px; color: #fff; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.page-hero p:last-child { max-width: 750px; font-size: 1.12rem; }
.page-hero__orb { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.page-hero__orb--one { width: 32rem; height: 32rem; top: -18rem; right: -5rem; }
.page-hero__orb--two { width: 18rem; height: 18rem; right: 18%; bottom: -13rem; border-color: rgba(224,166,46,.3); }

.about-fact-card { padding: 2rem; background: var(--mist); border-left: 5px solid var(--gold-500); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.about-fact-card dl { margin: 0; }
.about-fact-card dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.about-fact-card dl > div:last-child { border-bottom: 0; }
.about-fact-card dt { color: var(--muted); }
.about-fact-card dd { margin: 0; color: var(--navy-900); text-align: right; font-weight: 800; }
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.vision-card { min-height: 330px; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.vision-card > span { display: block; margin-bottom: 5rem; color: var(--gold-600); font-family: Georgia, serif; font-size: 1.2rem; }
.vision-card p { color: var(--muted); }
.vision-card--navy { color: rgba(255,255,255,.75); background: var(--navy-900); border-color: var(--navy-900); }
.vision-card--navy h2 { color: #fff; }
.vision-card--navy p { color: rgba(255,255,255,.75); }
.leadership-grid--full .leader-card__body { min-height: 155px; }
.values-section { color: rgba(255,255,255,.75); background: var(--navy-950); }
.values-section h2 { color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.values-grid > div { min-height: 170px; padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.values-grid span { color: var(--gold-300); font-family: Georgia, serif; font-size: 1.35rem; }
.values-grid p { margin-top: .65rem; font-size: .9rem; }

.academic-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stage-card { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.stage-card > span { color: var(--blue-700); font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.stage-card h3 { margin-top: .55rem; font-size: 1.8rem; }
.stage-card p, .stage-card li { color: var(--muted); }
.stage-card ul { margin: 1.2rem 0 0; padding-left: 1.2rem; }
.streams-section { color: rgba(255,255,255,.75); background: var(--navy-950); }
.streams-section h2, .streams-section h3 { color: #fff; }
.stream-list { display: grid; gap: .8rem; }
.stream-list article { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-sm); }
.stream-list article > span { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-300); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.stream-list p { margin: 0; color: rgba(255,255,255,.62); font-size: .88rem; }

.admission-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.admission-steps li { padding: 1.5rem; background: #fff; border-top: 4px solid var(--gold-500); box-shadow: var(--shadow-sm); }
.admission-steps li > span { display: block; margin-bottom: 3rem; color: var(--blue-700); font-family: Georgia, serif; font-size: 1.1rem; }
.admission-steps p { margin: 0; color: var(--muted); font-size: .9rem; }
.fee-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.2rem; align-items: start; }
.fee-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.fee-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.fee-table caption { padding: 1rem; color: var(--muted); text-align: left; font-size: .78rem; }
.fee-table th, .fee-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table th { color: #fff; background: var(--navy-900); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.fee-table td:nth-child(n+2) { color: var(--navy-900); font-weight: 800; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table tbody tr:hover { background: var(--cream); }
.fee-note { padding: 1.8rem; color: rgba(255,255,255,.74); background: var(--navy-900); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.fee-note > span { display: block; color: var(--gold-300); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.fee-note > strong { display: block; margin: .65rem 0; color: #fff; font-family: Georgia, serif; font-size: 3.2rem; }
.fee-note hr { margin: 1.5rem 0; border: 0; border-top: 1px solid rgba(255,255,255,.17); }
.document-list { margin: 1.6rem 0; padding: 0; list-style: none; }
.document-list li { display: flex; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.document-list span { width: 2rem; height: 2rem; display: grid; place-items: center; color: var(--navy-900); background: var(--gold-300); border-radius: 50%; font-size: .67rem; font-weight: 800; }
.admission-help { padding: clamp(2rem, 5vw, 3.5rem); color: rgba(255,255,255,.75); background: var(--navy-900); border-radius: var(--radius-lg); }
.admission-help h2 { color: #fff; }
.admission-help .button { margin: .4rem .4rem .4rem 0; }
.enquiry-section--inner { background: linear-gradient(135deg, var(--cream), var(--mist)); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-card { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.gallery-card--featured { grid-column: span 2; grid-row: span 2; }
.gallery-card__button { width: 100%; min-height: 260px; position: relative; display: block; padding: 0; overflow: hidden; background: var(--mist); border: 0; cursor: zoom-in; }
.gallery-card--featured .gallery-card__button { height: calc(100% - 92px); min-height: 620px; }
.gallery-card__button img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .4s ease; }
.gallery-card__button:hover img { transform: scale(1.04); }
.gallery-card__button > span { position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .75rem; color: #fff; background: rgba(6,22,47,.82); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.gallery-card figcaption { min-height: 92px; padding: 1rem 1.2rem; }
.gallery-card figcaption p { margin: 0; color: var(--navy-900); font-family: Georgia, serif; font-size: 1.18rem; font-weight: 800; }
.gallery-card figcaption small { color: var(--muted); }
.social-gallery-cta { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; background: var(--mist); border-radius: var(--radius-md); }
.social-gallery-cta h2 { font-size: 2rem; }
.lightbox { width: min(92vw, 1100px); max-height: 92vh; padding: 0; overflow: visible; background: transparent; border: 0; }
.lightbox::backdrop { background: rgba(2,11,26,.92); backdrop-filter: blur(8px); }
.lightbox img { max-height: 82vh; margin: auto; object-fit: contain; border-radius: .5rem; }
.lightbox p { margin: .7rem 0 0; color: #fff; text-align: center; }
.lightbox__close { width: 2.8rem; height: 2.8rem; position: absolute; z-index: 2; top: -1.4rem; right: -1.4rem; color: var(--navy-950); background: #fff; border: 0; border-radius: 50%; font-size: 1.7rem; cursor: pointer; }

.disclosure-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 2rem; align-items: start; }
.disclosure-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.disclosure-table { width: 100%; border-collapse: collapse; }
.disclosure-table th, .disclosure-table td { padding: .92rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.disclosure-table tr:last-child th, .disclosure-table tr:last-child td { border-bottom: 0; }
.disclosure-table th { width: 36%; color: var(--navy-900); background: var(--mist); text-align: left; font-size: .78rem; }
.disclosure-table td { color: #3d4d62; }
.document-panel { padding: 1.7rem; color: rgba(255,255,255,.75); background: var(--navy-900); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.document-panel h2 { color: #fff; font-size: 2.2rem; }
.document-download { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; margin-top: .8rem; padding: 1rem; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: .8rem; text-decoration: none; transition: background .2s ease; }
.document-download:hover { background: rgba(255,255,255,.13); }
.document-download > span { width: 2.7rem; height: 2.7rem; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-300); border-radius: .45rem; font-size: .65rem; font-weight: 900; }
.document-download strong, .document-download small { display: block; }
.document-download strong { font-size: .85rem; }
.document-download small { color: rgba(255,255,255,.57); font-size: .7rem; }
.document-panel__note { margin: 1.2rem 0 0; color: rgba(255,255,255,.56); font-size: .72rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact-detail { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-detail > span { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; color: var(--navy-900); background: var(--gold-300); border-radius: 50%; font-size: .7rem; font-weight: 800; }
.contact-detail small, .contact-detail strong { display: block; }
.contact-detail small { color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail strong { color: var(--navy-900); }
.contact-detail a { text-decoration: none; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.map-panel { padding: 4rem 0; color: rgba(255,255,255,.72); background: linear-gradient(135deg, var(--blue-700), var(--navy-950)); }
.map-panel__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.map-panel h2 { color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.news-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.news-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 1.4rem; }
.news-card time { color: var(--blue-700); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.news-card h2 { margin-top: .55rem; font-size: 1.6rem; }
.news-card h2 a { text-decoration: none; }
.news-card p { color: var(--muted); }
.empty-state, .not-found { text-align: center; }
.empty-state { padding: 4rem; background: var(--mist); border-radius: var(--radius-lg); }
.empty-state > span { color: var(--blue-700); font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content a { color: var(--blue-700); }
.post-featured { margin: 0 0 2rem; }
.post-featured img { border-radius: var(--radius-md); }

/* Footer */
.site-footer { color: rgba(255,255,255,.7); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .9fr 1fr .8fr; gap: 2.5rem; padding-block: 5rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h2 { font-size: 1.65rem; }
.site-footer h3 { font-family: inherit; font-size: .77rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand p { max-width: 350px; }
.footer-brand__logo { width: 4.5rem; height: 4.5rem; margin-bottom: 1rem; object-fit: cover; border: 3px solid var(--gold-300); border-radius: 50%; }
.footer-motto { color: var(--gold-300); font-family: Georgia, serif; font-style: italic; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .5rem 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.contact-list { font-size: .85rem; }
.social-links { display: grid; gap: .55rem; margin-bottom: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom__inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.46); font-size: .7rem; }
.mobile-actions { display: none; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .brand__text small { display: none; }
  .primary-nav { gap: .4rem; }
  .primary-nav li > a { padding-inline: .48rem; font-size: .82rem; }
  .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body { padding-bottom: 4rem; }
  .topbar__links a:last-child { display: none; }
  .nav-shell__inner { min-height: 5.2rem; }
  .brand__mark, .brand__logo { width: 3.55rem; height: 3.55rem; }
  .brand__text strong { font-size: 1.2rem; }
  .brand__text > span { font-size: .7rem; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .7rem; padding: .6rem; cursor: pointer; }
  .menu-toggle__label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .menu-toggle__bars { width: 1.6rem; display: grid; gap: .27rem; }
  .menu-toggle__bars i { height: 2px; display: block; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; max-height: 0; display: block; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); transition: max-height .3s ease; }
  .primary-nav.is-open { max-height: calc(100vh - 8rem); overflow-y: auto; }
  .primary-nav ul { display: block; padding: 1rem 1.25rem 0; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav li > a { width: 100%; min-height: 3.2rem; font-size: .86rem; }
  .primary-nav .sub-menu { position: static; min-width: 0; display: block; padding: 0 0 .5rem 1rem; border: 0; border-radius: 0; box-shadow: none; }
  .primary-nav .sub-menu li { border-bottom: 0; }
  .primary-nav .sub-menu li > a { min-height: 2.6rem; color: var(--muted); font-size: .82rem; }
  .primary-nav > .button { margin: 1rem 1.25rem 1.5rem; }
  .hero { min-height: 700px; }
  .hero__overlay { background: linear-gradient(90deg, rgba(4,20,47,.97), rgba(4,20,47,.72)), linear-gradient(0deg, rgba(4,20,47,.55), transparent); }
  .hero__copy { width: min(100%, 690px); }
  .quick-links__grid { grid-template-columns: 1fr 1fr; }
  .quick-links a:nth-child(2) { border-right: 0; }
  .quick-links a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .split--welcome, .enquiry-layout, .contact-grid, .disclosure-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .pathway-grid, .admission-steps { grid-template-columns: 1fr 1fr; }
  .learning-life__gallery { min-height: 540px; }
  .facts-grid { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; }
  .facts-grid > div:nth-child(2) { border-right: 0; }
  .vision-grid { grid-template-columns: 1fr; }
  .vision-card { min-height: auto; }
  .vision-card > span { margin-bottom: 2rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .fee-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card--featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .mobile-actions { position: fixed; z-index: 200; right: 0; bottom: 0; left: 0; height: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.18); box-shadow: 0 -8px 22px rgba(0,0,0,.15); }
  .mobile-actions a { display: grid; place-items: center; align-content: center; gap: .1rem; border-right: 1px solid rgba(255,255,255,.14); text-decoration: none; font-size: .68rem; font-weight: 800; }
  .mobile-actions span { color: var(--gold-300); font-size: 1rem; line-height: 1; }
}

@media (max-width: 620px) {
  .staff-doc-grid { grid-template-columns: 1fr; }
  .achiever-grid, .profile-hero { grid-template-columns: 1fr; }
  .achiever-card { grid-template-columns: 1fr; }
  .achiever-card img { min-height: 0; max-height: 480px; }
  .container { width: min(calc(100% - 1.5rem), var(--container)); }
  .section { padding: 4rem 0; }
  .topbar__inner { justify-content: center; }
  .topbar__links { display: none; }
  .topbar p { font-size: .62rem; text-align: center; }
  .brand__text strong { font-size: 1.02rem; }
  .brand__text > span { font-size: .59rem; letter-spacing: .05em; }
  .menu-toggle__label { display: none; }
  .hero { min-height: 680px; }
  .hero__content { padding-block: 4.5rem 7rem; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { display: grid; }
  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 0; }
  .hero__trust span { padding-inline: 1rem; }
  .hero__trust span:first-child { padding-left: 0; }
  .hero__trust span:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .quick-links__grid { grid-template-columns: 1fr; }
  .quick-links a { min-height: 5.5rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-links a:last-child { border-bottom: 0; }
  .welcome__visual { padding: 0 1.5rem 1.5rem 0; }
  .experience-badge { width: 7.7rem; height: 7.7rem; }
  .experience-badge span { font-size: 1.8rem; }
  .value-row, .pathway-grid, .academic-stages, .admission-steps, .gallery-grid, .values-grid, .leadership-grid, .facts-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 265px; }
  .pathway-card__number { margin-bottom: 2rem; }
  .learning-life__gallery { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-tile, .gallery-tile--large { min-height: 260px; grid-row: auto; }
  .facts-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); padding-block: 1rem; }
  .facts-grid > div:last-child { border-bottom: 0; }
  .enquiry-section { background: linear-gradient(180deg, var(--cream), var(--mist)); }
  .enquiry-form { grid-template-columns: 1fr; }
  .form-field--wide { grid-column: auto; }
  .page-hero { min-height: 360px; }
  .page-hero__content { padding-block: 4rem; }
  .page-hero h1 { font-size: 2.7rem; }
  .leadership-grid, .leadership-grid--full { grid-template-columns: 1fr 1fr; }
  .leadership-grid--full .leader-card:last-child { grid-column: auto; }
  .fee-layout { margin-inline: -.25rem; }
  .gallery-card--featured { grid-column: auto; grid-row: auto; }
  .gallery-card--featured .gallery-card__button { min-height: 320px; }
  .social-gallery-cta, .map-panel__inner { display: grid; }
  .lightbox__close { top: .5rem; right: .5rem; }
  .disclosure-table th, .disclosure-table td { display: block; width: 100%; }
  .disclosure-table th { padding-bottom: .3rem; border-bottom: 0; }
  .disclosure-table td { padding-top: .3rem; }
  .footer-bottom__inner { display: grid; justify-items: center; padding-block: 1rem; text-align: center; }
}

@media (max-width: 430px) {
  .brand__mark, .brand__logo { width: 3.1rem; height: 3.1rem; }
  .brand__text > span { max-width: 190px; }
  .leadership-grid, .leadership-grid--full { grid-template-columns: 1fr; }
  .leadership-grid--full .leader-card:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
