/* Malwa School website - design system and components. Colours come from settings via :root in <head>. */
:root {
  --c-primary: #0b5d3b; --c-primary-dark: #094a2f; --c-primary-rgb: 11, 93, 59;
  --c-secondary: #0a2a5c; --c-secondary-dark: #08214a; --c-secondary-rgb: 10, 42, 92;
  --c-accent: #e8a317; --c-accent-dark: #ba8212; --c-accent-rgb: 232, 163, 23;
  --ink: #15202b; --muted: #5b6673; --line: #e6e2d6; --surface: #fff; --cream: #faf7ef; --tint: #eef6f1;
  --ff-head: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --sh-sm: 0 2px 6px rgba(16, 32, 43, .06);
  --sh: 0 14px 38px -18px rgba(10, 42, 92, .28);
  --sh-lg: 0 30px 70px -30px rgba(10, 42, 92, .45);
  --container: 1240px; --gutter: clamp(16px, 4vw, 32px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--ff-body); font-size: clamp(15.5px, 1vw + 11px, 17px); line-height: 1.7; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-secondary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--c-secondary); font-optical-sizing: auto; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(var(--c-accent-rgb), .9); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-secondary); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow, .narrow { max-width: 900px; }
.muted { color: var(--muted); }
.lead { font-size: 1.12em; color: #334155; }
.center-note { text-align: center; margin-top: 2.5rem; }

/* ---------- buttons, chips, badges ---------- */
.btn { --b: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .82em 1.45em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(var(--c-primary-rgb), .8); }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn--gold { background: var(--c-accent); color: #1c1403; box-shadow: 0 10px 24px -12px rgba(var(--c-accent-rgb), .9); }
.btn--gold:hover { background: #f2b53a; color: #1c1403; }
.btn--outline { border-color: var(--c-secondary); color: var(--c-secondary); background: transparent; }
.btn--outline:hover { background: var(--c-secondary); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--c-secondary); }
.btn--sm { padding: .6em 1.1em; font-size: .86rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--c-primary); text-decoration: none; font-size: .95rem; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow--back:hover i { transform: translateX(-4px); }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .42em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; transition: all .2s; }
.chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.chip.is-on { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chip--sm { padding: .2em .7em; font-size: .75rem; background: var(--tint); border-color: transparent; color: var(--c-primary); }
.chip--live { background: rgba(var(--c-primary-rgb), .1); border: 0; color: var(--c-primary); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: .3em .8em; }
.chip--live span { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: pulse 1.8s infinite; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.badge { display: inline-block; padding: .18em .6em; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; font-family: var(--ff-body); }
.badge--red { background: #fde8e8; color: #b42318; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

/* ---------- top bar & header ---------- */
.topbar { background: var(--c-secondary); color: rgba(255, 255, 255, .85); font-size: .82rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar a { color: rgba(255, 255, 255, .88); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--c-accent); font-size: .85em; }
.topbar__contact, .topbar__links { display: flex; align-items: center; gap: 1.3rem; }
.topbar__aff { display: inline-flex; align-items: center; gap: .45em; opacity: .85; }
.topbar__social i { color: rgba(255, 255, 255, .85); }
.topbar__login { background: var(--c-accent); color: #1c1403 !important; padding: .38em .95em; border-radius: 999px; font-weight: 700; }
.topbar__login i { color: #1c1403; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(10, 42, 92, .35); border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.site-header.is-stuck .site-header__in { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--c-secondary); min-width: 0; flex-shrink: 0; }
.brand__crest { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-sm); border: 1px solid var(--line); overflow: hidden; transition: width .3s, height .3s; }
.brand__crest img { width: 86%; height: 86%; object-fit: contain; }
.site-header.is-stuck .brand__crest { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__l1 { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.brand__l2 { white-space: nowrap; font-family: var(--ff-head); font-weight: 700; font-size: 1.32rem; color: var(--c-secondary); letter-spacing: -.01em; }
.brand__motto { font-size: .72rem; color: var(--c-primary); font-weight: 600; letter-spacing: .03em; margin-top: 2px; }
.brand--light { color: #fff; }
.brand--light .brand__l1 { color: rgba(255, 255, 255, .7); }
.brand--light .brand__l2 { color: #fff; }
.brand--sm .brand__crest { width: 46px; height: 46px; border-radius: 12px; }
.brand--sm .brand__l2 { font-size: 1.15rem; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: .4em; padding: .6em .8em; border: 0; background: none; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; text-decoration: none; position: relative; }
.nav__link i { font-size: .62em; opacity: .6; transition: transform .25s; }
.nav__link::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .25em; height: 2px; border-radius: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--c-primary); }
.nav__link:hover::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__panel { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 250px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s var(--ease), visibility .22s; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); border: 1px solid var(--line); padding: .55rem; z-index: 70; }
.nav__panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__panel ul { list-style: none; margin: 0; padding: 0; }
.nav__panel a { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .6em .85em; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.nav__panel a i { font-size: .7em; opacity: .5; }
.nav__panel a:hover, .nav__panel a[aria-current] { background: var(--tint); color: var(--c-primary); }
.nav__item.has-sub:hover .nav__panel, .nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item.is-open > .nav__link i, .nav__item.has-sub:hover > .nav__link i { transform: rotate(180deg); }
.header-cta { margin-left: .3rem; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--c-secondary); border-radius: 2px; transition: transform .3s; }
/* drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 21, 45, .55); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); 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; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
.drawer__close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1.1rem; color: var(--c-secondary); }
.drawer__nav { list-style: none; margin: 0; padding: .6rem 1.1rem; }
.drawer__nav > li { border-bottom: 1px solid #f0ede4; }
.drawer__nav a, .drawer__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: .95rem .2rem; color: var(--ink); font-weight: 600; text-decoration: none; background: none; border: 0; font-size: 1rem; text-align: left; }
.drawer__toggle i { font-size: .8rem; color: var(--c-primary); transition: transform .25s; }
.drawer__toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.drawer__sub { list-style: none; margin: 0 0 .6rem; padding: 0 0 0 .8rem; display: none; border-left: 2px solid var(--tint); }
.drawer__sub.is-open { display: block; }
.drawer__sub a { padding: .55rem .4rem; font-weight: 500; font-size: .95rem; color: #334155; }
.drawer__foot { margin-top: auto; padding: 1.1rem; display: grid; gap: .7rem; background: var(--cream); }
.drawer__call { text-align: center; font-weight: 700; text-decoration: none; color: var(--c-secondary); padding: .4rem; }
body.no-scroll { overflow: hidden; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--tint { background: linear-gradient(180deg, var(--tint), #f7fbf8); }
.section--navy { background: radial-gradient(circle at 15% 0%, rgba(var(--c-primary-rgb), .45), transparent 45%), var(--c-secondary); color: #fff; }
.section--page { padding-top: clamp(48px, 6vw, 80px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center > div { max-width: 700px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-accent); border-radius: 2px; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--c-accent); border-radius: 2px; }
.eyebrow--gold { color: var(--c-accent); }
.section-title { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.85rem); margin: 0; }
.section-title--sm { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin: 0 0 1.4rem; }
.section-head--light .section-title, .section--navy .section-title { color: #fff; }
.section-head--light .eyebrow { color: var(--c-accent); }
.section--navy .link-arrow { color: var(--c-accent); }
.cards { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: clamp(520px, 86vh, 820px); min-height: 520px; background: var(--c-secondary); overflow: hidden; color: #fff; }
.hero__track { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s ease-out; }
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 44, .86) 0%, rgba(6, 20, 44, .55) 42%, rgba(6, 20, 44, .1) 75%), linear-gradient(0deg, rgba(6, 20, 44, .7) 0%, transparent 45%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 90px; }
.hero__kicker { display: inline-flex; align-items: center; gap: .8em; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--c-accent); margin: 0 0 1.2rem; }
.hero__kicker span { width: 38px; height: 2px; background: var(--c-accent); }
.hero__title { font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.6rem); line-height: 1.04; color: #fff; max-width: 14ch; margin: 0 0 1.1rem; font-weight: 600; text-wrap: balance; }
.hero__sub { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); max-width: 560px; color: rgba(255, 255, 255, .88); margin: 0 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__slide .hero__kicker, .hero__slide .hero__title, .hero__slide .hero__sub, .hero__slide .hero__ctas { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero__slide.is-active .hero__kicker { opacity: 1; transform: none; transition-delay: .25s; }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .4s; }
.hero__slide.is-active .hero__sub { opacity: 1; transform: none; transition-delay: .55s; }
.hero__slide.is-active .hero__ctas { opacity: 1; transform: none; transition-delay: .7s; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 104px; z-index: 3; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hero__controls > * { pointer-events: auto; }
.hero__dots { display: flex; gap: .55rem; }
.hero__dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .35); padding: 0; position: relative; overflow: hidden; }
.hero__dots button.is-active { background: rgba(255, 255, 255, .35); }
.hero__dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--c-accent); transform-origin: left; animation: dotfill var(--dur, 6.5s) linear forwards; }
.hero__dots--dark { justify-content: center; margin-top: 1.5rem; }
.hero__dots--dark button { background: rgba(var(--c-secondary-rgb), .18); }
.hero__arrows { display: flex; gap: .6rem; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, color .25s, transform .25s; }
.round-btn:hover { background: #fff; color: var(--c-secondary); transform: scale(1.06); }
.round-btn--light { border-color: rgba(255, 255, 255, .35); }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ticker { background: var(--c-accent); color: #1c1403; font-weight: 600; font-size: .92rem; position: relative; z-index: 4; }
.ticker__in { display: flex; align-items: center; gap: 1rem; min-height: 46px; }
.ticker__label { flex: 0 0 auto; background: #1c1403; color: var(--c-accent); padding: .3em .8em; border-radius: 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__move { display: inline-flex; white-space: nowrap; animation: tick 28s linear infinite; padding-left: 100%; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- quick links ---------- */
.quick { position: relative; z-index: 5; margin-top: -78px; }
.quick__grid { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; border: 1px solid var(--line); }
.quick__card { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem 1.3rem 1.4rem; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); transition: background .3s, color .3s; }
.quick__card:last-child { border-right: 0; }
.quick__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c-accent); transform: scaleX(0); transition: transform .35s var(--ease); transform-origin: left; }
.quick__card:hover { background: var(--c-secondary); color: #fff; }
.quick__card:hover::before { transform: scaleX(1); }
.quick__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--tint); color: var(--c-primary); display: grid; place-items: center; font-size: 1.25rem; transition: background .3s, color .3s; }
.quick__card:hover .quick__icon { background: rgba(255, 255, 255, .12); color: var(--c-accent); }
.quick__text strong { display: block; font-size: .98rem; line-height: 1.3; }
.quick__text small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: .25rem; transition: color .3s; }
.quick__card:hover .quick__text small { color: rgba(255, 255, 255, .7); }
.quick__go { position: absolute; right: 1.1rem; top: 1.7rem; font-size: .85rem; color: var(--c-primary); opacity: 0; transform: translateX(-6px); transition: all .3s; }
.quick__card:hover .quick__go { opacity: 1; transform: none; color: var(--c-accent); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__media { position: relative; min-height: 520px; }
.about__img { position: absolute; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { inset: 0 16% 12% 0; }
.about__img--b { width: 46%; height: 48%; right: 0; bottom: 0; border: 8px solid #fff; }
.about__since { position: absolute; left: -14px; bottom: 6%; background: var(--c-accent); color: #1c1403; border-radius: var(--r); padding: 1rem 1.3rem; box-shadow: var(--sh); display: flex; flex-direction: column; line-height: 1.1; }
.about__since strong { font-family: var(--ff-head); font-size: 2.2rem; }
.about__since span { font-size: .8rem; font-weight: 600; }
.about__body .section-head { margin-bottom: 1.4rem; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 500; }
.ticks i { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--c-primary); display: grid; place-items: center; font-size: .75rem; margin-top: .15em; }
.about__actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.about__aff { display: inline-flex; align-items: center; gap: .7rem; font-size: .8rem; font-weight: 700; line-height: 1.25; color: var(--muted); }

/* ---------- leadership ---------- */
.leaders__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.leader { display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; background: #fff; border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--sh); border: 1px solid var(--line); position: relative; overflow: hidden; }
.leader::after { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c-accent-rgb), .16), transparent 70%); }
.leader__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 6; background: var(--tint); display: grid; place-items: center; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader__q { color: var(--c-accent); font-size: 1.6rem; margin-bottom: .4rem; }
.leader__role { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin: 0 0 .3rem; }
.leader__title { font-size: 1.45rem; margin: 0 0 .7rem; }
.leader__body p:not(.leader__role) { color: #3b4654; font-size: .96rem; }
.leader__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: .9rem; margin-top: .4rem; }
.leader__name { font-family: var(--ff-head); font-weight: 600; color: var(--c-secondary); }
.leaders__grid--page { margin-bottom: 3rem; }
.avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c-primary), var(--c-secondary)); color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: 1.8rem; }
.avatar--xl { width: 120px; height: 120px; font-size: 2.4rem; }

/* ---------- stats ---------- */
.stats { position: relative; background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary) 55%, #0f7a4f); color: #fff; padding: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.stats__pattern { position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 0); background-size: 26px 26px; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat__icon { font-size: 1.5rem; color: var(--c-accent); margin-bottom: .6rem; }
.stat__num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; }
.stat__label { margin-top: .6rem; font-size: .9rem; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.stat + .stat { position: relative; }

/* ---------- notices & events ---------- */
.board__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 32px); }
.board__side { display: grid; gap: clamp(20px, 3vw, 32px); align-content: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.panel__head h3 { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: .55rem; }
.panel__head h3 i { color: var(--c-accent); font-size: .95rem; }
.panel__more { margin-top: auto; padding-top: 1rem; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--c-primary); display: inline-flex; gap: .5em; align-items: center; }
.panel--notices { min-height: 100%; }
.notice-scroll { position: relative; max-height: 410px; overflow: hidden; mask-image: linear-gradient(180deg, #000 85%, transparent); }
.notice-scroll.is-scrolling .notice-list { animation: noticeup var(--scroll-dur, 30s) linear infinite; }
.notice-scroll:hover .notice-list, .notice-scroll:focus-within .notice-list { animation-play-state: paused; }
@keyframes noticeup { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice { display: flex; gap: 1rem; padding: .95rem .6rem; border-radius: 12px; text-decoration: none; color: var(--ink); border-bottom: 1px solid #f1eee6; transition: background .2s; }
.notice:hover { background: var(--cream); }
.notice__date { flex: 0 0 54px; height: 58px; border-radius: 12px; background: var(--tint); color: var(--c-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.notice__date strong { font-family: var(--ff-head); font-size: 1.35rem; line-height: 1; }
.notice__title { display: block; font-weight: 700; line-height: 1.35; }
.notice__ex { display: block; font-size: .86rem; color: var(--muted); line-height: 1.5; margin-top: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.event { display: flex; gap: .9rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid #f1eee6; }
.event a { font-weight: 700; color: var(--ink); text-decoration: none; }
.event small { display: block; color: var(--muted); font-size: .8rem; }
.date-tile { flex: 0 0 auto; width: 54px; height: 58px; border-radius: 12px; background: var(--c-secondary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.date-tile strong { font-family: var(--ff-head); font-size: 1.35rem; line-height: 1; }
.date-tile--lg { width: 74px; height: 84px; border-radius: 16px; }
.date-tile--lg strong { font-size: 1.9rem; }
.date-tile em { font-style: normal; font-size: .65rem; opacity: .7; }
.empty-mini { text-align: center; color: var(--muted); padding: 1rem .5rem; font-size: .9rem; }
.empty-mini i { font-size: 1.8rem; color: var(--c-primary); opacity: .6; margin-bottom: .5rem; }
.panel--contact { background: linear-gradient(135deg, var(--c-secondary), #123c7a); color: #fff; border: 0; }
.panel--contact h3 { color: #fff; font-size: 1.35rem; margin: 0 0 .4rem; }
.panel--contact p { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.panel__btns { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- academics & facilities ---------- */
.acard { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 2rem 1.6rem 1.6rem; background: #fff; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.acard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; color: var(--ink); }
.acard__num { position: absolute; right: 1.2rem; top: .8rem; font-family: var(--ff-head); font-size: 2.6rem; font-weight: 700; color: rgba(var(--c-primary-rgb), .08); }
.acard__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c-primary), #12834f); color: #fff; font-size: 1.35rem; margin-bottom: .6rem; box-shadow: 0 12px 24px -12px rgba(var(--c-primary-rgb), .9); }
.acard h3 { font-size: 1.3rem; margin: 0; }
.acard p { color: var(--muted); font-size: .92rem; margin: 0 0 .6rem; flex: 1; }
.facilities { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: clamp(14px, 1.8vw, 22px); }
.facility { position: relative; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: #fff; background: var(--c-secondary); }
.facility--wide { grid-column: span 2; grid-row: span 2; }
.facility img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.facility:hover img { transform: scale(1.07); }
.facility__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 44, .85), rgba(6, 20, 44, .05) 60%); }
.facility__text { position: absolute; left: 1.3rem; right: 3.8rem; bottom: 1.2rem; display: flex; flex-direction: column; }
.facility__text small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); font-weight: 700; }
.facility__text strong { font-family: var(--ff-head); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.facility--wide .facility__text strong { font-size: 1.9rem; }
.facility__go { position: absolute; right: 1.1rem; bottom: 1.2rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; transition: background .3s, transform .3s; }
.facility:hover .facility__go { background: var(--c-accent); color: #1c1403; transform: rotate(-35deg); }

/* ---------- achievements carousel ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1.2rem; }
.topper { scroll-snap-align: start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 1.2rem; text-align: center; }
.topper__photo { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; margin-bottom: 1rem; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.topper__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.topper__score { position: absolute; right: .7rem; top: .7rem; background: var(--c-accent); color: #1c1403; font-weight: 800; border-radius: 999px; padding: .2em .75em; font-size: .9rem; }
.topper h3 { color: inherit; font-size: 1.15rem; margin: 0 0 .2rem; }
.topper p { font-size: .88rem; opacity: .8; margin: 0; }
.topper small { display: block; font-size: .8rem; opacity: .75; margin-top: .3rem; }
.topper--card { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--sh-sm); }
.topper--card h3 { color: var(--c-secondary); }

/* ---------- gallery bento, albums, masonry ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: clamp(12px, 1.6vw, 20px); }
.bento__item { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--c-secondary); }
.bento__item--0 { grid-column: span 2; grid-row: span 2; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__item:hover img { transform: scale(1.06); }
.bento__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 20, 44, .82), transparent 55%); }
.bento__text { position: absolute; left: 1.2rem; bottom: 1rem; right: 1rem; display: flex; flex-direction: column; }
.bento__text strong { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 600; }
.bento__item--0 .bento__text strong { font-size: 1.7rem; }
.bento__text small { font-size: .8rem; opacity: .85; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.album-grid--4 { grid-template-columns: repeat(4, 1fr); }
.album-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.album-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); color: var(--ink); }
.album-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.album-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.album-card:hover .album-card__img img { transform: scale(1.06); }
.album-card__count { position: absolute; right: .8rem; top: .8rem; background: rgba(6, 20, 44, .72); color: #fff; font-size: .78rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; backdrop-filter: blur(4px); }
.album-card__body { padding: 1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; }
.album-card__body strong { font-family: var(--ff-head); font-size: 1.15rem; color: var(--c-secondary); font-weight: 600; }
.album-card__body small { color: var(--muted); font-size: .84rem; }
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry--lg { columns: 3 300px; }
.masonry__item { display: block; margin: 0 0 16px; border-radius: var(--r); overflow: hidden; break-inside: avoid; position: relative; background: var(--tint); }
.masonry__item img { width: 100%; transition: transform .7s var(--ease), filter .3s; }
.masonry__item:hover img { transform: scale(1.04); filter: brightness(.9); }
.masonry__item::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-secondary); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: all .25s; }
.masonry__item:hover::after { opacity: 1; transform: none; }
.more-albums { margin-top: clamp(48px, 6vw, 80px); }
.page-gallery { margin-top: 2.5rem; }

/* ---------- videos ---------- */
.video-card { margin: 0; }
.lite-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--sh); }
.lite-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s var(--ease), opacity .3s; }
.lite-yt:hover img { transform: scale(1.04); opacity: 1; }
.lite-yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--c-primary); display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); transition: transform .3s var(--ease); }
.lite-yt:hover .lite-yt__play { transform: scale(1.1); }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption { margin-top: .9rem; font-weight: 700; font-family: var(--ff-head); font-size: 1.1rem; color: var(--c-secondary); }
.video-card figcaption small { display: block; font-family: var(--ff-body); font-weight: 400; color: var(--muted); font-size: .88rem; }

/* ---------- testimonials ---------- */
.quotes { position: relative; }
.quote { margin: 0; text-align: center; display: none; }
.quote.is-active { display: block; animation: fadein .8s var(--ease); }
.quote p { font-family: var(--ff-head); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.45; color: var(--c-secondary); }
.quote footer { display: inline-flex; align-items: center; gap: .9rem; text-align: left; }
.quote footer strong { display: block; }
.quote__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- admissions CTA ---------- */
.cta { background: radial-gradient(circle at 85% 20%, rgba(var(--c-accent-rgb), .28), transparent 40%), radial-gradient(circle at 10% 100%, rgba(var(--c-primary-rgb), .6), transparent 45%), var(--c-secondary); color: #fff; padding: clamp(56px, 7vw, 90px) 0; }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta__title { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); margin: 0 0 .6rem; max-width: 18ch; }
.cta__sub { color: rgba(255, 255, 255, .8); margin: 0; max-width: 560px; }
.cta__btns { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- visit / contact ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.visit__map, .map-wide { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); border: 6px solid #fff; background: var(--tint); }
.visit__map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-wide { margin-top: clamp(40px, 5vw, 64px); }
.map-wide iframe { width: 100%; height: 420px; border: 0; display: block; }
.info-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.2rem; }
.info-list li, .info-card { display: flex; gap: 1rem; align-items: flex-start; }
.info-list__i { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--c-primary); display: grid; place-items: center; font-size: 1.05rem; }
.info-list strong, .info-card strong { display: block; color: var(--c-secondary); }
.info-list p, .info-card p { margin: 0; color: #3b4654; }
.info-list a, .info-card a { color: inherit; text-decoration: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.info-cards { display: grid; gap: 1rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem 1.3rem; box-shadow: var(--sh-sm); }
.directions { margin-top: 1.6rem; }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); box-shadow: var(--sh); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-weight: 600; font-size: .88rem; color: var(--c-secondary); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .98rem; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: #fcfbf8; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 4px rgba(var(--c-primary-rgb), .12); }
.field.has-err input, .field.has-err textarea { border-color: #d92d20; }
.field__err { color: #b42318; font-size: .82rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; margin: 1rem 0 0; }
.alert--error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }

/* ---------- page hero, breadcrumbs, layout with sidebar ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(var(--c-accent-rgb), .22), transparent 35%), linear-gradient(120deg, var(--c-secondary) 0%, #0d3a78 55%, var(--c-primary) 130%); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero--img { min-height: 360px; display: flex; align-items: flex-end; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6, 20, 44, .9), rgba(6, 20, 44, .55) 60%, rgba(6, 20, 44, .35)); }
.page-hero__pattern { position: absolute; inset: 0; z-index: 1; opacity: .08; background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 0); background-size: 24px 24px; }
.page-hero__in { position: relative; z-index: 2; width: 100%; }
.page-hero__title { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); margin: .8rem 0 .5rem; max-width: 22ch; text-wrap: balance; }
.page-hero__sub { color: rgba(255, 255, 255, .85); font-size: 1.08rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.crumbs a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.crumbs a:hover { color: var(--c-accent); }
.crumbs__sep { font-size: .6rem; opacity: .6; }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.side { display: grid; gap: 1.3rem; position: sticky; top: 100px; }
.side__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; box-shadow: var(--sh-sm); }
.side__h { font-size: 1.15rem; margin: 0 0 .8rem; }
.side__nav, .side__list { list-style: none; margin: 0; padding: 0; }
.side__nav a { display: flex; justify-content: space-between; align-items: center; padding: .65rem .8rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.side__nav a i { font-size: .65rem; opacity: .4; }
.side__nav a:hover { background: var(--cream); }
.side__nav a.is-active { background: var(--c-primary); color: #fff; }
.side__nav a.is-active i { opacity: .9; }
.side__list li + li { border-top: 1px solid #f1eee6; }
.side__list a { display: block; padding: .7rem 0; text-decoration: none; color: var(--ink); }
.side__list strong { display: block; font-size: .93rem; line-height: 1.4; }
.side__list small { color: var(--muted); }
.side__card--cta { background: linear-gradient(135deg, var(--c-primary), #0f7a4f); color: #fff; border: 0; }
.side__card--cta .side__h { color: #fff; }
.side__card--cta p { color: rgba(255, 255, 255, .85); font-size: .92rem; }

/* ---------- prose (CMS content) ---------- */
.prose { font-size: 1.04rem; color: #26323f; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1.12rem; margin: 1.5em 0 .4em; font-family: var(--ff-body); font-weight: 700; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--c-primary); }
.prose a { color: var(--c-primary); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 1.2em 1.4em; border-left: 4px solid var(--c-accent); background: var(--cream); border-radius: 0 var(--r) var(--r) 0; font-family: var(--ff-head); font-size: 1.15rem; color: var(--c-secondary); }
.prose img { border-radius: var(--r); margin: 1.4em 0; box-shadow: var(--sh); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .7em .9em; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--tint); color: var(--c-secondary); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }
.prose--sm { font-size: .95rem; }
.prose .masonry img, .prose .masonry__item { margin: 0 0 16px; box-shadow: none; }
.prose .masonry img { margin: 0; border-radius: 0; }
.prose .page-gallery h2 { margin-top: 1.2em; }
.prose .lead { font-size: 1.2rem; }

/* ---------- lists: notices page, events, news, people, downloads ---------- */
.nb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.nb-item { display: flex; gap: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; box-shadow: var(--sh-sm); transition: box-shadow .3s, transform .3s; }
.nb-item:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.nb-item__title { font-size: 1.25rem; margin: 0 0 .4rem; }
.nb-item__title a { color: var(--c-secondary); text-decoration: none; }
.nb-item__title a:hover { color: var(--c-primary); }
.nb-item__body p { color: var(--muted); margin: 0 0 .6rem; font-size: .95rem; }
.nb-item__meta { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; font-size: .85rem; color: var(--muted); }
.nb-item__meta .link-arrow { margin-left: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.pager__btn { display: inline-flex; gap: .5em; align-items: center; padding: .6em 1.2em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--c-secondary); background: #fff; }
.pager__btn:hover { background: var(--c-secondary); color: #fff; }
.pager__info { color: var(--muted); font-size: .9rem; }
.notice-full .prose { margin-bottom: 1.5rem; }
.notice-full__img img { border-radius: var(--r); box-shadow: var(--sh); }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ev { display: flex; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.2rem; }
.ev h3 { font-size: 1.15rem; margin: 0 0 .2rem; }
.ev h3 a { color: var(--c-secondary); text-decoration: none; }
.ev p { margin: 0; font-size: .9rem; }
.ev-list--past .ev { background: var(--cream); }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); color: var(--ink); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; }
.post-card__body small { color: var(--c-primary); font-weight: 700; font-size: .8rem; }
.post-card__body strong { font-family: var(--ff-head); font-size: 1.2rem; color: var(--c-secondary); font-weight: 600; line-height: 1.3; }
.post-card__body span { color: var(--muted); font-size: .92rem; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.4rem; margin-bottom: 3rem; }
.people-grid--wide { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.2rem; text-align: center; box-shadow: var(--sh-sm); }
.person__photo { width: 120px; height: 120px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--tint); border: 4px solid #fff; box-shadow: var(--sh); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo .avatar { width: 100%; height: 100%; }
.person h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.person__role { color: var(--c-primary); font-weight: 600; font-size: .88rem; margin: 0; }
.person__q { color: var(--muted); font-size: .82rem; margin: .2rem 0 .5rem; }
.is-hidden { display: none !important; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 2.6rem; }
.dl { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); box-shadow: var(--sh-sm); transition: border-color .25s, box-shadow .25s, transform .25s; }
.dl:hover { border-color: var(--c-primary); box-shadow: var(--sh); transform: translateY(-2px); color: var(--ink); }
.dl__icon { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fdecea; color: #c0392b; font-size: 1.35rem; }
.dl__text { flex: 1; min-width: 0; }
.dl__text strong { display: block; line-height: 1.35; }
.dl__text small { color: var(--muted); font-size: .82rem; }
.dl__go { color: var(--c-primary); }
.empty { text-align: center; padding: clamp(40px, 6vw, 80px) 1rem; color: var(--muted); }
.empty i { font-size: 2.6rem; color: var(--c-primary); opacity: .55; margin-bottom: 1rem; }
.empty h2 { font-size: 1.6rem; }
.empty--sm { padding: 1.5rem 1rem; }
.notfound__in { text-align: center; }
.notfound__code { font-family: var(--ff-head); font-weight: 700; font-size: clamp(5rem, 12vw, 9rem); line-height: 1; margin: 0; background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound__links { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: #071d40; color: rgba(255, 255, 255, .75); padding-top: clamp(56px, 7vw, 90px); overflow: hidden; font-size: .94rem; }
.site-footer__glow { position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c-primary-rgb), .55), transparent 65%); pointer-events: none; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(40px, 5vw, 64px); }
.site-footer__brand p { margin: 1.2rem 0; max-width: 380px; }
.site-footer__h { color: #fff; font-family: var(--ff-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: .6rem 0 1.2rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer__links a { display: inline-flex; align-items: center; gap: .5em; transition: transform .2s; }
.site-footer__links a:hover { transform: translateX(3px); }
.site-footer__contact { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .9rem; }
.site-footer__contact li { display: flex; gap: .8rem; align-items: flex-start; }
.site-footer__contact .break { word-break: break-all; }
.site-footer__contact i { color: var(--c-accent); margin-top: .3em; width: 16px; text-align: center; }
.site-footer__social { display: flex; gap: .6rem; }
.site-footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .25s, color .25s; }
.site-footer__social a:hover { background: var(--c-accent); color: #1c1403; }
.aff-badge { display: flex; align-items: center; gap: .9rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: .8rem 1rem; font-size: .82rem; max-width: 420px; }
.aff-badge img { background: #fff; border-radius: 8px; padding: 4px; width: 60px; height: auto; }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.2rem 0; font-size: .84rem; position: relative; }
.site-footer__bar-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__motto { color: var(--c-accent); font-style: italic; font-family: var(--ff-head); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--c-primary); color: #fff; box-shadow: var(--sh); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-accent); color: #1c1403; }

/* ---------- toasts & lightbox ---------- */
.toasts { position: fixed; top: 110px; right: 18px; z-index: 300; display: grid; gap: .6rem; max-width: min(420px, calc(100vw - 36px)); }
.toast { display: flex; align-items: flex-start; gap: .7rem; background: #fff; border-radius: 14px; padding: .95rem 1rem; box-shadow: var(--sh-lg); border-left: 4px solid var(--c-primary); font-weight: 600; animation: fadein .4s var(--ease); }
.toast i { color: var(--c-primary); margin-top: .2em; }
.toast--error { border-left-color: #d92d20; }
.toast--error i { color: #d92d20; }
.toast button { margin-left: auto; background: none; border: 0; color: var(--muted); }
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(4, 12, 28, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__img { max-width: min(92vw, 1400px); max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); object-fit: contain; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: rgba(255, 255, 255, .85); font-size: .92rem; padding: 0 70px; }
.lb__count { position: absolute; left: 22px; top: 20px; color: rgba(255, 255, 255, .7); font-size: .88rem; font-weight: 600; }
.lb__btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.1rem; display: grid; place-items: center; transition: background .2s; }
.lb__btn:hover { background: rgba(255, 255, 255, .2); }
.lb__close { right: 18px; top: 14px; }
.lb__prev { left: 18px; top: 50%; margin-top: -27px; }
.lb__next { right: 18px; top: 50%; margin-top: -27px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: .6em .55em; font-size: .9rem; }
  .brand__l2 { font-size: 1.15rem; }
  .brand__motto { display: none; }
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .quick__card:nth-child(3n) { border-right: 0; }
  .quick__card:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .leader { grid-template-columns: 1fr; }
  .leader__photo { max-width: 220px; }
  .facilities { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .with-side { grid-template-columns: 1fr; }
  .side { position: static; }
  .album-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hide-md { display: none !important; }
}
@media (max-width: 860px) {
  .about__grid, .visit__grid, .contact-grid, .board__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 400px; }
  .leaders__grid { grid-template-columns: 1fr; }
  .cards--3, .album-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .hide-sm { display: none !important; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .topbar__aff { display: none; }
  .brand__crest { width: 50px; height: 50px; border-radius: 13px; }
  .brand__l1 { font-size: .68rem; }
  .brand { flex-shrink: 1; }
  .brand__l2 { font-size: 1rem; white-space: normal; }
  .burger { flex-shrink: 0; }
  .hero { height: 88vh; min-height: 540px; max-height: 760px; }
  .hero__content { padding-bottom: 120px; justify-content: flex-end; }
  .hero__controls { bottom: 90px; }
  .hero__arrows { display: none; }
  .quick { margin-top: -54px; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); border-radius: var(--r); }
  .quick__card { padding: 1.1rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .quick__card:nth-child(2n) { border-right: 0; }
  .quick__card:nth-child(3n) { border-right: 1px solid var(--line); }
  .quick__card:nth-child(2n):nth-child(3n) { border-right: 0; }
  .quick__icon { width: 42px; height: 42px; font-size: 1.05rem; }
  .quick__text small { display: none; }
  .cards--3, .cards--4, .album-grid, .album-grid--4 { grid-template-columns: 1fr; }
  .facilities { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .facility--wide { grid-column: span 2; grid-row: span 1; }
  .facility__text { left: .8rem; right: .8rem; bottom: .7rem; }
  .facility__text strong { font-size: 1rem; }
  .facility__go { display: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .stats__grid .stat:last-child:nth-child(odd) { grid-column: span 2; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__item--0 { grid-column: span 2; grid-row: span 1; }
  .carousel__track { grid-auto-columns: 78%; }
  .about__media { min-height: 320px; }
  .about__img--a { inset: 0 10% 14% 0; }
  .about__since { left: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .nb-item { flex-direction: column; gap: .9rem; }
  .nb-item__meta .link-arrow { margin-left: 0; }
  .masonry, .masonry--lg { columns: 2 140px; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .hide-xs { display: none !important; }
  .topbar__links { gap: .9rem; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .page-hero--img { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none !important; }
}
@media print {
  .topbar, .site-header, .drawer, .site-footer, .to-top, .toasts { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0; }
  .page-hero__title { color: #000; }
}
