/* Gyanjyoti Kanchanben Rasiklal Vidyalaya — "Heritage Editorial" design system
   Calm, high-contrast, print-inspired. Colours are driven by CSS variables (editable from Admin → Settings → Theme). */
:root {
  --maroon: #8a1c1f; --gold: #b8892b;
  --maroon-d: color-mix(in srgb, var(--maroon) 62%, #000);
  --maroon-dd: color-mix(in srgb, var(--maroon) 34%, #000);
  --maroon-l: color-mix(in srgb, var(--maroon) 12%, #fff);
  --gold-d: color-mix(in srgb, var(--gold) 72%, #000);
  --gold-l: color-mix(in srgb, var(--gold) 22%, #fff);
  --ivory: #fbf7ef; --ivory-2: #f3ecdd; --paper: #fff;
  --ink: #221c19; --ink-2: #4b423d; --ink-3: #766b64; --line: #e4dbc9; --line-2: #d3c8b2;
  --green: #1f7a45;
  --r: 4px; --r-lg: 8px;
  --shadow: 0 1px 2px rgba(34, 28, 25, .06), 0 10px 28px -14px rgba(34, 28, 25, .22);
  --shadow-lg: 0 24px 50px -24px rgba(34, 28, 25, .45);
  --f-head: 'Cormorant Garamond', 'Times New Roman', serif; --f-body: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
main { overflow-x: clip; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 16.5px; font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; transition: color .2s; }
a:hover { color: var(--maroon-d); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; margin: 0 0 .45em; color: var(--maroon-dd); font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); } h2 { font-size: clamp(2rem, 3.8vw, 3rem); } h3 { font-size: 1.5rem; } h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow-c { max-width: 860px; }
.ic { flex: none; vertical-align: middle; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--maroon); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; }
.no-scroll { overflow: hidden; }
.center-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.mt-xl { margin-top: 72px; } .mt-lg { margin-top: 36px; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.hide-sm { } @media (max-width: 640px) { .hide-sm { display: none !important; } .topbar__social { display: none; } .topbar__left { gap: 10px; } .topbar__pill { font-size: .66rem; padding: 3px 9px; } .topbar .container { gap: 8px; flex-wrap: nowrap; } .topbar__right { flex: none; } .topbar__left { min-width: 0; } .topbar { font-size: .8rem; } } @media (max-width: 900px) { .hide-md { display: none !important; } }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 28px; border: 2px solid var(--maroon); background: var(--maroon); color: #fff; font-weight: 800; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--r); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { background: var(--maroon-d); border-color: var(--maroon-d); color: #fff; transform: translateY(-2px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #1b1410; }
.btn--gold:hover { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.btn--outline { background: transparent; color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); color: #fff; }
.btn--glass { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--glass:hover { background: #fff; border-color: #fff; color: var(--maroon-dd); }
.btn--lg { padding: 16px 34px; font-size: .9rem; } .btn--sm { padding: 9px 18px; font-size: .75rem; } .btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; } .btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .25s; } .link-arrow:hover .ic { transform: translateX(5px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--maroon-dd); color: #f0e7dc; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #f0e7dc; } .topbar a:hover { color: var(--gold-l); }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar__left > *, .topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { width: 15px; height: 15px; color: var(--gold-l); }
.topbar__pill { background: var(--gold); color: #1b1410 !important; font-weight: 800; padding: 3px 14px; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.topbar__pill:hover { background: #fff; }
.topbar__social { display: flex; gap: 14px; }
.header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(34, 28, 25, .4); }
.header .container { display: flex; align-items: center; gap: 18px; min-height: 86px; width: min(1360px, 100% - 32px); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); min-width: 0; flex: none; }
.brand img { width: 60px; height: auto; flex: none; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__name b { font-family: var(--f-head); font-size: 1.9rem; color: var(--maroon); font-weight: 700; }
.brand__name > span { font-size: .66rem; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .12em; margin-top: 3px; white-space: nowrap; }
.brand__tag { display: none; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 0; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 3px; padding: 12px 11px; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; position: relative; }
.nav__link .ic { width: 13px; height: 13px; }
.nav__link::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--maroon); } .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__drop { position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: var(--shadow-lg); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); z-index: 5; }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: flex; align-items: center; gap: 12px; padding: 10px 20px; color: var(--ink); font-weight: 700; font-size: .9rem; }
.nav__drop a .ic { width: 17px; height: 17px; color: var(--gold-d); }
.nav__drop a:hover { background: var(--ivory); color: var(--maroon); }
.nav__item:nth-last-child(-n+3) .nav__drop { left: auto; right: 0; }
.header__cta { white-space: nowrap; padding: 12px 20px; font-size: .74rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--maroon); padding: 8px; margin-left: auto; border-radius: var(--r); }
.nav-toggle .ic { width: 26px; height: 26px; }
@media (max-width: 1320px) { .nav, .header__cta { display: none; } .nav-toggle { display: block; } }
@media (max-width: 480px) { .header .container { min-height: 72px; } .brand img { width: 46px; } .brand { gap: 10px; } .brand__name b { font-size: 1.45rem; } .brand__name > span { font-size: .52rem; letter-spacing: .05em; } .nav-toggle { padding: 6px; } }
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 10, 8, .6); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 90vw); background: #fff; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__close { background: var(--ivory); border: 1px solid var(--line); width: 42px; height: 42px; color: var(--maroon); display: grid; place-items: center; border-radius: var(--r); }
.drawer nav { padding: 6px 14px; flex: 1; }
.drawer nav > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .84rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer nav > a.is-active { color: var(--maroon); }
.drawer .sub { padding: 4px 0 10px 14px; border-left: 3px solid var(--gold); margin: 6px 0 8px 6px; }
.drawer .sub a { display: block; padding: 7px 10px; color: var(--ink-2); font-size: .94rem; }
.drawer__foot { padding: 18px; display: grid; gap: 10px; border-top: 1px solid var(--line); }

/* ---------- Announcement strip ---------- */
.ticker { background: var(--ivory-2); border-bottom: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.ticker .container { display: flex; align-items: center; gap: 16px; overflow: hidden; }
.ticker__label { flex: none; display: inline-flex; gap: 8px; align-items: center; background: var(--maroon); color: #fff; font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 10px 18px; }
.ticker__track { overflow: hidden; flex: 1; }
.ticker__move { display: inline-flex; white-space: nowrap; gap: 26px; align-items: center; animation: tick 70s linear infinite; padding: 10px 0; }
.ticker__track:hover .ticker__move { animation-play-state: paused; }
.ticker a { color: var(--ink); font-weight: 600; } .ticker a:hover { color: var(--maroon); } .ticker i { color: var(--gold); font-style: normal; font-size: .7rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: min(80vh, 720px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #1b1210; isolation: isolate; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active img { animation: slowzoom 12s ease-out forwards; }
@keyframes slowzoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(20, 8, 8, .9) 0%, rgba(20, 8, 8, .72) 42%, rgba(20, 8, 8, .25) 100%), linear-gradient(0deg, rgba(20, 8, 8, .55), transparent 35%); }
.hero__inner { position: relative; z-index: 4; padding-block: 80px 130px; }
.hero__copy { position: relative; max-width: 700px; min-height: 360px; }
.hero__text { position: absolute; inset: 0 auto auto 0; opacity: 0; visibility: hidden; transform: translateY(18px); transition: all .7s var(--ease); }
.hero__text.is-active { position: relative; opacity: 1; visibility: visible; transform: none; transition-delay: .25s; }
.hero__badge { display: inline-block; border-left: 3px solid var(--gold); padding: 3px 0 3px 14px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.8rem); margin-bottom: .3em; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.hero h1 em { display: block; font-style: italic; font-weight: 600; color: var(--gold-l); }
.hero p { font-size: 1.15rem; max-width: 560px; color: #f3ebe2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__ctrl { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 18px; }
.hero__arrow { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(20, 8, 8, .35); color: #fff; display: grid; place-items: center; transition: all .25s; }
.hero__arrow:hover { background: var(--gold); border-color: var(--gold); color: #1b1410; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 4px; border: 0; background: rgba(255, 255, 255, .4); padding: 0; transition: background .3s; }
.hero__dots button.is-active { background: var(--gold); }
.hero__count { white-space: nowrap; font-size: .9rem; letter-spacing: .14em; color: #f3ebe2; } .hero__count b { font-family: var(--f-head); font-size: 1.5rem; color: var(--gold-l); }
@media (max-width: 760px) { .hero { min-height: 640px; } .hero__inner { padding-block: 50px 150px; } .hero__copy { min-height: 340px; } .hero__ctrl { bottom: 84px; gap: 12px; } .hero__arrow { width: 40px; height: 40px; } .hero__dots button { width: 22px; } .hero__shade { background: linear-gradient(0deg, rgba(20, 8, 8, .92), rgba(20, 8, 8, .6) 60%, rgba(20, 8, 8, .5)); } }

/* quick-link strip under the hero */
.quick { position: relative; z-index: 6; margin-top: -64px; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.quick a { display: flex; align-items: center; gap: 16px; padding: 26px 24px; color: var(--ink); border-right: 1px solid var(--line); transition: background .25s; }
.quick a:last-child { border-right: 0; } .quick a:hover { background: var(--ivory); color: var(--ink); }
.quick__ic { flex: none; width: 54px; height: 54px; display: grid; place-items: center; background: var(--maroon-l); color: var(--maroon); border-radius: 50%; }
.quick strong { display: block; font-family: var(--f-head); font-size: 1.3rem; color: var(--maroon-dd); line-height: 1.1; } .quick small { color: var(--ink-3); font-size: .86rem; }
@media (max-width: 980px) { .quick__grid { grid-template-columns: 1fr 1fr; } .quick a:nth-child(2) { border-right: 0; } .quick a:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .quick { margin-top: -50px; } .quick a { padding: 16px 12px; gap: 10px; } .quick__ic { width: 40px; height: 40px; } .quick strong { font-size: 1.05rem; } .quick small { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--cream { background: var(--ivory); }
.section--navy, .section--dark { background: var(--maroon-dd); color: #eadfd2; }
.section--navy h2, .section--navy h3, .section--dark h2, .section--dark h3 { color: #fff; }
.section--navy .eyebrow, .section--dark .eyebrow { color: var(--gold-l); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 46px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; margin-bottom: 54px; }
.section-head h2 { margin-bottom: 0; }
.section-head.center h2::after { content: ''; display: block; width: 74px; height: 14px; margin: 18px auto 0; background: radial-gradient(circle at 50% 50%, var(--gold) 0 3px, transparent 4px), linear-gradient(var(--gold), var(--gold)) 0 50% / 100% 1px no-repeat; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 12px; }
.eyebrow--light { color: var(--gold-l); }
.lead { font-size: 1.15rem; color: var(--ink-2); } .lead--big { font-size: 1.5rem; text-align: center; color: var(--maroon-dd); font-family: var(--f-head); font-weight: 600; line-height: 1.4; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 84px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { color: var(--ink-2); } .prose p { margin-bottom: 1.1em; } .prose h2, .prose h3 { margin-top: 1.4em; } .prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; } .prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 1em; } .prose li { margin-bottom: .4em; }
.section--navy .prose { color: #eadfd2; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); border: 1px dashed var(--line-2); display: grid; gap: 10px; justify-items: center; }
.empty .ic { width: 38px; height: 38px; color: var(--gold); }
.ticks li, .arrows li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; color: var(--ink-2); }
.ticks .ic { color: var(--maroon); margin-top: 3px; width: 20px; height: 20px; } .arrows .ic { color: var(--gold-d); margin-top: 4px; }
.ticks--card { background: #fff; padding: 14px 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ticks--card li { border-bottom: 1px solid var(--line); padding: 11px 0; } .ticks--card li:last-child { border: 0; }
.tag { display: inline-block; padding: 3px 12px; background: var(--maroon-l); color: var(--maroon-d); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border-radius: 2px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--maroon); color: #fff; font-weight: 800; font-family: var(--f-head); font-size: 1.3rem; flex: none; }

/* ---------- Reveal (subtle) ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal="left"] { transform: translateX(-24px); } [data-reveal="right"] { transform: translateX(24px); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; } [data-reveal-delay="2"] { transition-delay: .16s; } [data-reveal-delay="3"] { transition-delay: .24s; } [data-reveal-delay="4"] { transition-delay: .32s; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- Welcome / about ---------- */
.about__media { position: relative; padding: 0 22px 22px 0; }
.about__media::before { content: ''; position: absolute; right: 0; bottom: 0; left: 22px; top: 22px; border: 2px solid var(--gold); z-index: 0; }
.about__frame { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4/3.2; background: var(--ivory-2); box-shadow: var(--shadow); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; z-index: 2; left: -14px; bottom: 6px; background: var(--maroon); color: #fff; padding: 16px 24px; text-align: center; box-shadow: var(--shadow-lg); display: grid; }
.about__badge b { font-family: var(--f-head); font-size: 2.8rem; line-height: .95; color: var(--gold-l); } .about__badge span { font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; } .about__badge small { opacity: .8; font-size: .76rem; }
@media (max-width: 520px) { .about__badge { left: 0; padding: 12px 16px; } .about__badge b { font-size: 2.1rem; } }
.ticks { margin: 18px 0 6px; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.why-card { position: relative; padding: 38px 30px 34px; border-right: 1px solid var(--line); transition: background .3s; }
.why-card:last-child { border-right: 0; }
.why-card:hover { background: var(--ivory); }
.why-card::after { content: ''; position: absolute; left: 30px; bottom: 0; width: 0; height: 3px; background: var(--c, var(--maroon)); transition: width .4s var(--ease); } .why-card:hover::after { width: calc(100% - 60px); }
.why-card__n { display: block; font-family: var(--f-head); font-size: 3.4rem; line-height: 1; font-weight: 700; color: var(--line-2); margin-bottom: 8px; }
.why-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; background: var(--maroon-l); color: var(--c, var(--maroon)); margin-bottom: 18px; border-radius: 50%; }
.why-card h3 { font-size: 1.4rem; } .why-card p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.c-maroon { --c: var(--maroon); } .c-navy { --c: #28406f; } .c-gold { --c: var(--gold-d); } .c-green { --c: var(--green); } .c-saffron { --c: #c46a14; } .c-blue { --c: #2a5db0; }
@media (max-width: 760px) { .why-card { border-right: 0; border-bottom: 1px solid var(--line); } .why-card:last-child { border-bottom: 0; } }

/* ---------- Stats ---------- */
.stats { background: var(--ivory); border-block: 1px solid var(--line); padding: 54px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); text-align: center; }
.stat { padding: 8px 20px; border-right: 1px solid var(--line-2); } .stat:last-child { border-right: 0; }
.stat__icon { display: none; }
.stat strong { display: block; font-family: var(--f-head); font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; color: var(--maroon); font-weight: 700; }
.stat small { display: block; margin-top: 8px; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: var(--ink-2); font-weight: 800; }
@media (max-width: 640px) { .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 26px; } .stat:nth-child(2n) { border-right: 0; } }

/* ---------- 3D book (the one tasteful 3D element) ---------- */
.bookwrap { display: grid; place-items: center; perspective: 1600px; padding: 20px 0 10px; }
.book { position: relative; width: min(300px, 62vw); aspect-ratio: 3/3.5; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-24deg); transition: transform 1.2s var(--ease); cursor: pointer; }
.book.is-open { transform: rotateX(6deg) rotateY(0deg) translateX(50%); }
.book__page, .book__cover, .book__back { position: absolute; inset: 0; }
.book__back { background: var(--maroon-d); transform: translateZ(-22px); box-shadow: 0 40px 50px -26px rgba(20, 8, 8, .65); border-radius: 2px 6px 6px 2px; }
.book__block { position: absolute; top: 3px; bottom: 3px; left: 6px; right: 0; transform: translateZ(-11px); background: repeating-linear-gradient(90deg, #f1e8d6 0 2px, #fffdf7 2px 4px); }
.book__page { background: #fffdf7 linear-gradient(90deg, rgba(0, 0, 0, .08), transparent 8%); padding: 28px 24px 22px 30px; border-radius: 0 4px 4px 0; transform: translateZ(0); color: var(--ink); overflow: hidden; }
.book__page h4 { font-size: 1.35rem; color: var(--maroon); margin-bottom: 6px; border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.book__page p { font-size: .8rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.book__page small { display: block; margin-top: 12px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); font-weight: 800; }
.book__cover { transform-origin: left center; transform: translateZ(22px); transition: transform 1.2s var(--ease); transform-style: preserve-3d; z-index: 3; }
.book.is-open .book__cover { transform: translateZ(22px) rotateY(-165deg); }
.book__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 2px 6px 6px 2px; }
.book__front { background: linear-gradient(135deg, var(--maroon), var(--maroon-dd)); display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 24px; color: #fff; box-shadow: inset 0 0 0 10px var(--maroon), inset 0 0 0 11px var(--gold); }
.book__front::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .08) 60%, transparent); }
.book__front img { width: 96px; height: auto; background: #fff; padding: 5px; border-radius: 2px; }
.book__front strong { font-family: var(--f-head); font-size: 1.6rem; line-height: 1; color: var(--gold-l); } .book__front span { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; }
.book__inside { transform: rotateY(180deg); background: #fffdf7 linear-gradient(270deg, rgba(0, 0, 0, .08), transparent 8%); padding: 28px 30px 22px 24px; }
.book__inside h4 { font-size: 1.35rem; color: var(--maroon); margin-bottom: 6px; border-bottom: 1px solid var(--gold); padding-bottom: 6px; } .book__inside p { font-size: .8rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.book-hint { text-align: center; font-size: .78rem; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; margin-top: 20px; font-weight: 700; }
@media (max-width: 900px) { .book.is-open { transform: rotateX(6deg) rotateY(0deg) translateX(50%); } }
@media (max-width: 600px) { .book { width: min(300px, 43vw); } .book__page p, .book__inside p { font-size: .6rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; } .book__page, .book__inside { padding: 14px 10px 10px 14px; } .book__inside { padding: 14px 14px 10px 10px; } .book__page h4, .book__inside h4 { font-size: .95rem; } .book__page small { display: none; } .book__front img { width: 54px; } .book__front strong { font-size: 1.05rem; } .book__front span { font-size: .5rem; } .book__front { padding: 10px; } .book-hint { margin-top: 26px; } }

@media (prefers-reduced-motion: reduce) { .book, .book__cover { transition: none; } }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--maroon-dd); color: #fff; padding: clamp(64px, 8vw, 100px) 0; text-align: center; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(184, 137, 43, .55); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); } .cta p { max-width: 640px; margin: 0 auto; color: #eadfd2; font-size: 1.12rem; }
.cta--slim { padding: 56px 0; } .cta__inner { position: relative; }
.cta .eyebrow { color: var(--gold-l); }

/* ---------- Leaders / messages ---------- */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 30px; }
.leader { display: grid; grid-template-columns: 170px 1fr; gap: 26px; background: #fff; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.leader__photo { aspect-ratio: 3/4; overflow: hidden; background: var(--ivory-2); border-bottom: 4px solid var(--gold); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader h3 { font-size: 1.6rem; }
.leader blockquote { margin: 0 0 14px; color: var(--ink-2); font-size: .98rem; position: relative; padding-left: 16px; border-left: 3px solid var(--line-2); }
.leader__sign { display: grid; margin: 0 0 12px; } .leader__sign strong { font-family: var(--f-head); font-size: 1.4rem; color: var(--maroon); } .leader__sign small { color: var(--ink-3); }
@media (max-width: 560px) { .leader { grid-template-columns: 1fr; padding: 20px; } .leader__photo { max-width: 190px; } }
.message { display: grid; grid-template-columns: 300px 1fr; gap: 54px; align-items: start; margin-bottom: 70px; }
.message--rev { grid-template-columns: 1fr 300px; } .message--rev .message__photo { order: 2; }
.message__photo { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--ivory-2); border-bottom: 5px solid var(--gold); box-shadow: var(--shadow); }
.message__photo img { width: 100%; height: 100%; object-fit: cover; }
.message__photo span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, rgba(20, 8, 8, .9), transparent); color: #fff; padding: 36px 16px 14px; font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; text-align: center; }
.message__body h3 { font-size: 2rem; } .message__body .prose { font-size: 1.04rem; padding-left: 22px; border-left: 3px solid var(--gold); }
@media (max-width: 800px) { .message, .message--rev { grid-template-columns: 1fr; gap: 24px; } .message--rev .message__photo { order: 0; } .message__photo { max-width: 270px; } }

/* ---------- Accreditations ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.acc { padding: 26px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.acc__seal { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold-d); border-radius: 50%; }
.acc strong { font-family: var(--f-head); font-size: 1.2rem; color: var(--maroon-dd); line-height: 1.15; } .acc small { color: var(--ink-3); font-weight: 700; font-size: .82rem; }
.section--acc { background: #fff; }

/* ---------- Home gallery mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.mosaic a { position: relative; overflow: hidden; background: var(--ivory-2); display: block; }
.mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); } .mosaic a:hover img { transform: scale(1.06); }
.mosaic span { position: absolute; inset: auto 0 0 0; padding: 34px 14px 12px; color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .04em; background: linear-gradient(0deg, rgba(20, 8, 8, .85), transparent); }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } .mosaic a:first-child { grid-column: span 2; grid-row: span 1; } }

/* ---------- Testimonials ---------- */
.tst { max-width: 820px; margin: 0 auto; position: relative; text-align: center; }
.tst__item { margin: 0; position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transition: all .6s var(--ease); background: #fff; padding: 46px 40px 30px; border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.tst__item.is-active { position: relative; opacity: 1; visibility: visible; }
.tst__q { display: block; font-family: var(--f-head); font-size: 5rem; line-height: .6; color: var(--gold); margin-bottom: 8px; height: 40px; }
.tst blockquote { margin: 0 0 22px; font-size: 1.5rem; font-family: var(--f-head); color: var(--maroon-dd); font-weight: 600; line-height: 1.35; }
.tst figcaption { display: inline-flex; align-items: center; gap: 12px; text-align: left; } .tst figcaption small { display: block; color: var(--ink-3); }
.tst__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.tst__dots button { width: 30px; height: 4px; border: 0; background: var(--line-2); padding: 0; } .tst__dots button.is-active { background: var(--maroon); }
@media (max-width: 560px) { .tst__item { padding: 34px 20px 24px; } .tst blockquote { font-size: 1.2rem; } }

/* ---------- News / albums ---------- */
.news-grid, .album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); color: inherit; transition: transform .3s var(--ease), box-shadow .3s; }
.ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.ncard__media { position: relative; aspect-ratio: 16/10; background: var(--ivory-2); overflow: hidden; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); } .ncard:hover .ncard__media img { transform: scale(1.05); }
.ncard__media .ph { display: grid; place-items: center; height: 100%; color: var(--gold); }
.datebox { display: inline-grid; place-items: center; text-align: center; min-width: 56px; padding: 7px 8px; background: var(--maroon); color: #fff; line-height: 1.1; }
.datebox b { font-family: var(--f-head); font-size: 1.5rem; } .datebox small { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.ncard__media .datebox { position: absolute; left: 0; top: 14px; }
.ncard__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; } .ncard__body h3 { margin: 4px 0; font-size: 1.4rem; } .ncard__body p { color: var(--ink-2); font-size: .95rem; margin: 0; flex: 1; }
.tag--event { background: #e0f0e6; color: var(--green); } .tag--notice { background: #f7e8d2; color: #8a5208; } .tag--news { background: var(--maroon-l); color: var(--maroon-d); }
.ncard .link-arrow { margin-top: 12px; align-self: flex-start; }
.panel { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.news-item { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); color: inherit; transition: background .2s; } .news-item:last-child { border: 0; } .news-item:hover { background: var(--ivory); color: inherit; }
.news-item__body { flex: 1; display: grid; min-width: 0; } .news-item__body small { color: var(--ink-3); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 38px; }
.filter-tabs a, .filter-tabs button { padding: 9px 20px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; transition: all .2s; border-radius: var(--r); }
.filter-tabs a:hover, .filter-tabs button:hover { border-color: var(--maroon); color: var(--maroon); }
.filter-tabs .is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.filter-tabs small { opacity: .75; margin-left: 4px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; } .pagination a, .pagination span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2); font-weight: 800; } .pagination .is-active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.article { max-width: 860px; margin: 0 auto; } .article__cover { margin: 0 0 30px; box-shadow: var(--shadow-lg); }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; font-size: .88rem; } .article__meta span { display: inline-flex; gap: 7px; align-items: center; border-left: 3px solid var(--gold); padding-left: 10px; }
.share { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); } .share a { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; border-radius: 50%; }
.share a:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.cal-month { margin-bottom: 36px; } .cal-month h2 { font-size: 1.9rem; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; }
.cal-list { display: grid; gap: 12px; } .cal-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c, var(--maroon)); padding: 12px 18px; }
.cal-item .datebox { background: var(--c, var(--maroon)); } .cal-item > div { flex: 1; display: grid; min-width: 0; } .cal-item small { color: var(--ink-3); } .cal-item.is-past { opacity: .55; }
.cal-type { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--c, var(--maroon)); } .c-red { --c: #b3261e; } .c-plum { --c: #6d3a8a; } .c-brown { --c: var(--maroon); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.dl { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 16px 20px; color: inherit; transition: border-color .2s, box-shadow .2s; } .dl:hover { border-color: var(--gold); box-shadow: var(--shadow); color: inherit; }
.dl__icon, .doc__icon { width: 52px; height: 52px; flex: none; background: var(--maroon); color: #fff; font-weight: 800; font-size: .76rem; letter-spacing: .06em; display: grid; place-items: center; }
.dl__body { flex: 1; display: grid; min-width: 0; } .dl__body small { color: var(--ink-3); }
.album { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: #1b1210; color: #fff; }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); } .album:hover img { transform: scale(1.06); }
.album::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 8, 8, .88), transparent 62%); }
.album__count { position: absolute; z-index: 2; right: 0; top: 14px; background: var(--gold); color: #1b1410; padding: 4px 12px; font-weight: 800; font-size: .78rem; display: inline-flex; gap: 6px; align-items: center; }
.album__info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 18px; } .album__info h3 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; }
.album__meta { display: flex; gap: 14px; font-size: .8rem; opacity: .92; } .album__meta span { display: inline-flex; gap: 5px; align-items: center; }

/* ---------- Gallery (masonry + lightbox) ---------- */
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry > a { position: relative; display: block; margin-bottom: 14px; overflow: hidden; break-inside: avoid; background: var(--ivory-2); }
.masonry img { width: 100%; height: auto; transition: transform .7s var(--ease); } .masonry > a:hover img { transform: scale(1.04); }
.masonry .zoom { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; background: #fff; color: var(--maroon); display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.masonry > a:hover .zoom { opacity: 1; }
.masonry .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: .8rem; font-weight: 800; color: #fff; background: linear-gradient(0deg, rgba(20, 8, 8, .85), transparent); transform: translateY(100%); transition: transform .3s var(--ease); } .masonry > a:hover .cap { transform: none; }
.masonry > a.is-hidden { display: none; }
@media (hover: none) { .masonry .cap { transform: none; } .masonry .zoom { display: none; } }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12, 6, 5, .95); display: grid; place-items: center; }
.lb[hidden] { display: none; } .lb__img { max-width: 92vw; max-height: 80vh; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lbin .35s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.96); } }
.lb__btn { position: absolute; background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 50px; height: 50px; display: grid; place-items: center; transition: background .2s; } .lb__btn:hover { background: var(--gold); color: #1b1410; }
.lb__close { right: 18px; top: 18px; } .lb__prev { left: 18px; top: 50%; } .lb__next { right: 18px; top: 50%; }
.lb__bar { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #eadfd2; padding: 0 70px; } .lb__bar b { color: var(--gold-l); margin-right: 8px; }
@media (max-width: 560px) { .lb__prev, .lb__next { top: auto; bottom: 16px; } .lb__bar { padding: 0 80px; bottom: 28px; font-size: .85rem; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: #1b1210; color: #fff; padding: clamp(56px, 8vw, 100px) 0 clamp(50px, 7vw, 84px); overflow: hidden; isolation: isolate; border-bottom: 4px solid var(--gold); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 8, 8, .93), rgba(20, 8, 8, .72)); }
.page-hero__shapes { display: none; }
.page-hero h1 { color: #fff; margin-bottom: .25em; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); } .page-hero p { max-width: 640px; font-size: 1.15rem; color: #f0e7dc; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; margin-bottom: 18px; letter-spacing: .04em; } .crumbs a { color: var(--gold-l); } .crumbs .ic { width: 14px; height: 14px; opacity: .7; } .crumbs li { display: inline-flex; align-items: center; color: #fff; }

/* ---------- Vision / values / team ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.vm { border: 1px solid rgba(255, 255, 255, .28); padding: 38px 34px; background: rgba(255, 255, 255, .04); }
.vm__icon { display: grid; place-items: center; width: 62px; height: 62px; border: 2px solid var(--gold); color: var(--gold-l); border-radius: 50%; margin-bottom: 18px; }
.vm h3 { font-size: 1.9rem; }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.flip { margin: 0 -1px -1px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 24px; transition: background .25s; }
.flip:hover { background: var(--ivory); }
.flip__in { display: block; } .flip__front { display: grid; gap: 12px; justify-items: start; } .flip__front span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--maroon-l); color: var(--maroon); }
.flip h3 { font-size: 1.4rem; margin: 0; } .flip__back { margin-top: 10px; } .flip__back h3 { display: none; } .flip__back p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 26px; margin-bottom: 50px; }
.member { background: #fff; padding: 0 0 22px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.member__photo { aspect-ratio: 1; overflow: hidden; background: var(--ivory-2); display: grid; place-items: center; margin-bottom: 16px; border-bottom: 4px solid var(--gold); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; } .member__photo span { font-family: var(--f-head); font-size: 4rem; font-weight: 700; color: var(--maroon); }
.member h3 { margin: 0 0 2px; font-size: 1.4rem; padding-inline: 14px; } .member p { color: var(--gold-d); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; padding-inline: 14px; } .member small { display: block; color: var(--ink-3); margin-bottom: 8px; padding-inline: 14px; } .member a { font-size: .86rem; font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Academics ---------- */
.wings { display: grid; gap: 34px; }
.wing { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 46px); box-shadow: var(--shadow); position: relative; }
.wing::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--maroon); }
.wing__head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; flex-wrap: wrap; } .wing__head h2 { margin: 0 0 4px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.wing__icon { display: grid; place-items: center; width: 64px; height: 64px; background: var(--maroon-l); color: var(--maroon); border-radius: 50%; flex: none; }
.wing__n { margin-left: auto; font-family: var(--f-head); font-size: 4.6rem; font-weight: 700; color: var(--line-2); line-height: .8; }
.wing__desc { color: var(--ink-2); font-size: 1.06rem; } .wing__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 18px; } .wing__cols h3 { font-size: .86rem; font-family: var(--f-body); text-transform: uppercase; letter-spacing: .16em; color: var(--maroon); border-bottom: 2px solid var(--gold); padding-bottom: 8px; display: inline-block; font-weight: 800; }
@media (max-width: 800px) { .wing__cols { grid-template-columns: 1fr; gap: 18px; } .wing__n { font-size: 3rem; } }
.dist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.dist__item { display: flex; gap: 16px; align-items: center; border: 1px solid rgba(255, 255, 255, .28); padding: 16px 20px; } .dist__item p { margin: 0; color: #fff; font-weight: 600; }
.dist__item span { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #1b1410; display: grid; place-items: center; }

/* ---------- Infrastructure ---------- */
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 24px; }
.fac { background: #fff; border: 1px solid var(--line); padding: 30px 26px; position: relative; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.fac:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.fac__img { margin: -30px -26px 20px; width: calc(100% + 52px); max-width: none; height: 170px; object-fit: cover; }
.fac__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--maroon-l); color: var(--maroon); margin-bottom: 16px; }
.fac h3 { font-size: 1.45rem; } .fac p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.section--award { background: #17462b; color: #fff; padding: 56px 0; }
.award { display: flex; gap: 28px; align-items: center; } .award h2 { color: #fff; margin-bottom: 8px; } .award p { margin: 0; color: #dcefe3; max-width: 780px; }
.award__seal { flex: none; width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-l); display: grid; place-items: center; }
@media (max-width: 640px) { .award { flex-direction: column; text-align: center; } }

/* ---------- Disclosure ---------- */
.info-table { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.info-table div { display: grid; grid-template-columns: 260px 1fr; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); } .info-table div:nth-child(odd) { background: var(--ivory); } .info-table div:last-child { border: 0; }
.info-table span { color: var(--ink-3); font-weight: 700; } .info-table strong { color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 640px) { .info-table div { grid-template-columns: 1fr; gap: 2px; } }
.doc-section { margin: 34px 0 14px; color: var(--maroon); font-size: 1.6rem; display: flex; align-items: center; gap: 12px; } .doc-section::before { content: ''; width: 6px; height: 26px; background: var(--gold); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.doc { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 14px 18px; color: var(--maroon); transition: border-color .2s, box-shadow .2s; } .doc:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.doc__body { flex: 1; display: grid; min-width: 0; } .doc__body strong { color: var(--ink); font-size: .95rem; } .doc__body small { color: var(--ink-3); } .doc--soon { opacity: .6; }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 40px; padding: 18px 22px; background: var(--ivory); border-left: 4px solid var(--gold); color: var(--ink-2); } .note .ic { color: var(--gold-d); margin-top: 3px; }

/* ---------- Admissions ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.step { padding: 32px 26px 28px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step__n { display: block; font-family: var(--f-head); font-size: 3.4rem; line-height: 1; font-weight: 700; color: var(--maroon); margin-bottom: 8px; }
.step__n::after { content: ''; display: block; width: 36px; height: 3px; background: var(--gold); margin-top: 10px; }
.step h3 { font-size: 1.4rem; } .step p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }
.age-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin-top: 24px; }
.age { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 16px 10px; text-align: center; display: grid; } .age b { font-family: var(--f-head); font-size: 1.7rem; color: var(--maroon); line-height: 1.1; } .age span { font-weight: 800; color: var(--ink-2); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.section--enquiry { background: var(--maroon-dd); color: #eadfd2; }
.section--enquiry h2 { color: #fff; } .section--enquiry .eyebrow { color: var(--gold-l); }
.enq__contact { display: grid; gap: 16px; margin: 24px 0; } .enq__contact > div { display: flex; gap: 14px; align-items: flex-start; } .enq__contact .ic { color: var(--gold-l); margin-top: 3px; } .enq__contact a { color: #fff; } .enq__contact small { display: block; color: #d8c9b8; }
.enq__quote { margin: 30px 0 0; padding: 22px 24px; border-left: 4px solid var(--gold); background: rgba(255, 255, 255, .06); font-family: var(--f-head); font-size: 1.35rem; color: #fff; line-height: 1.35; } .enq__quote .ic { color: var(--gold); display: block; margin-bottom: 6px; } .enq__quote cite { display: block; margin-top: 10px; font-size: .84rem; color: var(--gold-l); font-family: var(--f-body); font-style: normal; }
.faq details { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 800; color: var(--maroon-dd); display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; } .faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--maroon); transition: transform .3s; } .faq details[open] summary .ic { transform: rotate(180deg); } .faq details[open] summary { border-bottom: 1px solid var(--line); background: var(--ivory); } .faq p { padding: 16px 22px 20px; margin: 0; color: var(--ink-2); }

/* ---------- Forms ---------- */
.form-card { background: #fff; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); color: var(--ink); border-top: 4px solid var(--gold); }
.form-card h3 { font-size: 1.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .form-grid .full, .form-grid .field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 800; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; } .req { color: var(--maroon); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); background: #fff; font: inherit; color: var(--ink); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px color-mix(in srgb, var(--maroon) 18%, transparent); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin-bottom: 18px; font-weight: 700; border-left: 4px solid; } .alert--success { background: #e5f3ea; color: #14633a; border-color: #14633a; } .alert--error { background: #fbe6e4; color: #9b1c1c; border-color: #9b1c1c; } .alert--info { background: #e6edf9; color: #1d4aa6; border-color: #1d4aa6; }
.phone-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.pcard { display: grid; justify-items: center; gap: 4px; text-align: center; background: #fff; padding: 26px 14px; border: 1px solid var(--line); border-bottom: 3px solid var(--gold); color: var(--ink); transition: box-shadow .25s, transform .25s var(--ease); }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--ink); }
.pcard__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--maroon-l); color: var(--maroon); margin-bottom: 8px; }
.pcard small { text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); font-weight: 800; font-size: .7rem; } .pcard strong { font-family: var(--f-head); font-size: 1.5rem; color: var(--maroon); }
.contact-list { display: grid; gap: 20px; margin-top: 20px; } .contact-list li { display: flex; gap: 16px; align-items: flex-start; } .contact-list .ic { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--maroon-l); color: var(--maroon); flex: none; }
.contact-list small { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--ink-3); font-weight: 800; } .contact-list span { min-width: 0; overflow-wrap: anywhere; }
.map-embed { box-shadow: var(--shadow-lg); border: 6px solid #fff; } .map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 560px) { .map-embed iframe { height: 320px; } }
.nf { text-align: center; } .nf__code { font-family: var(--f-head); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: 1; color: var(--maroon); }
.nf__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--maroon-dd); color: #d8c9b8; margin-top: 0; border-top: 4px solid var(--gold); }
.footer__wave { display: none; }
.footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 44px; padding-block: 64px 40px; }
@media (max-width: 1000px) { .footer__main { grid-template-columns: 1fr 1fr; gap: 36px; } } @media (max-width: 560px) { .footer__main { grid-template-columns: 1fr; padding-block: 48px 24px; } }
.footer h4 { color: #fff; font-size: 1.5rem; position: relative; padding-bottom: 12px; margin-bottom: 18px; } .footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 2px; background: var(--gold); }
.footer a { color: #d8c9b8; } .footer a:hover { color: var(--gold-l); }
.footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; } .footer__brand img { background: #fff; padding: 3px; width: 70px; height: auto; } .footer__brand strong { display: block; font-family: var(--f-head); font-size: 2rem; color: #fff; line-height: 1; } .footer__brand small { color: var(--gold-l); letter-spacing: .2em; text-transform: uppercase; font-weight: 800; font-size: .7rem; }
.footer__links li { margin-bottom: 9px; } .footer__links a { display: inline-flex; align-items: center; gap: 6px; } .footer__links .ic { width: 14px; height: 14px; color: var(--gold); transition: transform .2s; } .footer__links a:hover .ic { transform: translateX(3px); }
.footer__affil { margin-top: 18px; padding: 10px 14px; border: 1px solid rgba(184, 137, 43, .6); font-size: .88rem; } .footer__affil b { color: var(--gold-l); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; min-width: 0; } .footer__contact span { min-width: 0; overflow-wrap: anywhere; } .footer__contact .ic { color: var(--gold-l); margin-top: 4px; width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 18px; } .socials a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; color: #fff; border-radius: 50%; transition: all .25s; } .socials a:hover { background: var(--gold); border-color: var(--gold); color: #1b1410; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px 0; font-size: .86rem; } .footer__bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; } .footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__credit { margin-top: 10px; justify-content: center !important; text-align: center; color: #bfae9b; }
.footer__credit a { color: var(--gold-l); font-weight: 800; border-bottom: 1px solid rgba(245, 215, 124, .5); margin-left: 6px; } .footer__credit a:hover { color: #fff; border-color: #fff; }
.fab { position: fixed; z-index: 70; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); border: 0; }
.fab--wa { right: 18px; bottom: 18px; background: #25d366; } .fab--wa:hover { color: #fff; transform: scale(1.06); }
.fab--top { right: 22px; bottom: 84px; width: 44px; height: 44px; background: var(--maroon); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s; } .fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
/* mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 62px; }
  .fab--wa { display: none; } .fab--top { bottom: 76px; right: 14px; }
  .mbar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .35); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 7px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon-dd); }
  .mbar a:nth-child(2) { background: var(--maroon); color: #fff; }
  .mbar .ic { width: 22px; height: 22px; }
}
@media print { .topbar, .header, .ticker, .footer, .fab, .drawer, .mbar { display: none !important; } [data-reveal] { opacity: 1 !important; transform: none !important; } }
