/* IPE Boradi — site stylesheet
   Order: tokens · base · layout · header & nav · footer · components · inner pages · homepage helpers · utilities */

/* ---------- Tokens (extracted from the approved homepage; see design.md) ---------- */
:root {
  --navy: #063B73;
  --blue: #0756A8;
  --green: #159447;
  --teal: #087F5B;
  --gold: #F4C542;
  --gold-deep: #EAB308;
  --gold-ink: #3A2B00;
  --ink: #0B1A2B;
  --text: #46586B;
  --muted: #5A6B7D;
  --soft: #94A3B8;
  --line: #E6EDF5;
  --line-2: #D8E3F0;
  --sky: #F2F7FD;
  --mint: #F1F9F4;
  --butter: #FDF7E3;
  --cream: #FBFAF6;
  --mist: #F6F9FC;
  --footer: #061A2E;
  --night: #071E38;
  --grad-brand: linear-gradient(112deg, #063B73, #0756A8 52%, #087F5B);
  --grad-green: linear-gradient(135deg, #159447, #087F5B);
  --grad-gold: linear-gradient(135deg, #F4C542, #EAB308);
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --r-sm: 9px; --r: 14px; --r-lg: 20px; --r-xl: 24px;
  --shadow-card: 0 28px 50px -30px rgba(6, 59, 115, .45);
  --shadow-pop: 0 24px 48px -18px rgba(6, 59, 115, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: .5s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); margin: 0; letter-spacing: -0.025em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--green); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .3s; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { flex: 0 0 auto; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 7vw, 104px) 0; }

/* ---------- Grow-from-left underline (links and menu items) ---------- */
.u-line { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px; transition: background-size var(--t) var(--ease), color var(--t) var(--ease); padding-bottom: 2px; }
.u-line:hover, .u-line:focus-visible { background-size: 100% 2px; }

/* ---------- Utility bar ---------- */
.topbar { background: linear-gradient(90deg, #063B73, #0756A8 58%, #087F5B); color: rgba(255,255,255,.93); font-size: 13px; }
.topbar .wrap { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold); }
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__lms { color: var(--gold) !important; font-weight: 500; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(6,59,115,.45); border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--navy), var(--blue) 45%, var(--green) 75%, var(--gold)) 1; }
.brandrow { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 36px); padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { height: 70px; width: auto; flex: 0 0 auto; border-radius: 6px; }
.brand__text { display: block; min-width: 0; }
.brand__l1 { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 500; }
.brand__l2 { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(16px, 1.55vw, 21px); color: var(--navy); line-height: 1.16; letter-spacing: -.02em; }
.brand__l3 { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.brand__l4 { display: block; font-size: 11px; color: var(--teal); letter-spacing: .02em; margin-top: 2px; }
.brandrow__end { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.badge-naac { display: grid; place-items: center; text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; line-height: 1.1; }
.badge-naac b { font-family: var(--font-head); font-size: 17px; color: var(--navy); }
.badge-naac span { font-size: 10.5px; color: var(--muted); letter-spacing: .05em; }
.btn-apply { background: var(--grad-green); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; padding: 12px 20px; border-radius: 11px; box-shadow: 0 10px 22px -8px rgba(21,148,71,.6); display: inline-flex; align-items: center; gap: 8px; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.btn-apply:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 30px -10px rgba(21,148,71,.65); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid #DCE6F2; background: var(--sky); color: var(--navy); align-items: center; justify-content: center; flex: 0 0 auto; }

/* Primary navigation: one row, spread across the full bar */
.navbar { border-top: 1px solid #EDF2F7; }
.nav { display: flex; align-items: stretch; justify-content: space-between; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 5px; height: 100%; border: 0; background: none; padding: 13px 9px 12px; font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 6px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.nav__item:hover > .nav__link::after, .nav__link:focus-visible::after, .nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after { transform: scaleX(1); }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--blue); }
.nav__item.is-current > .nav__link { color: var(--navy); font-weight: 700; }
.nav__link .ico { transition: transform var(--t) var(--ease); }
.nav__item.is-open > .nav__link .ico { transform: rotate(180deg); }
.nav__home .ico { margin-top: -1px; }
.panel { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-pop); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; z-index: 95; }
.nav__item.is-open > .panel { opacity: 1; visibility: visible; transform: translateY(0); }
.panel--right { left: auto; right: 0; }
.panel--wide { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(200px, 1fr)); gap: 4px 18px; padding: 16px 18px; }
.panel--cols2 { display: grid; grid-template-columns: 1fr 1fr; min-width: 420px; gap: 0 6px; }
.panel h3 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; padding: 6px 12px 6px; font-family: var(--font-body); }
.panel a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13.5px; color: #23364a; transition: background var(--t) var(--ease), color var(--t) var(--ease), padding var(--t) var(--ease); }
.panel a:hover, .panel a[aria-current="page"] { background: var(--sky); color: var(--blue); padding-left: 16px; }

/* Mobile navigation */
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 90px); overflow: auto; padding: 8px var(--gutter) 22px; }
.mnav.is-open { display: block; }
.mnav details { border-bottom: 1px solid #F0F4F9; }
.mnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 600; cursor: pointer; color: var(--ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .ico { transform: rotate(180deg); }
.mnav summary .ico { transition: transform .4s var(--ease); }
.mnav .mnav__sub { padding: 0 4px 12px 10px; display: grid; gap: 2px; }
.mnav .mnav__sub h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 10px 0 4px; font-family: var(--font-body); }
.mnav .mnav__sub a { padding: 9px 8px; color: #23364a; border-radius: 8px; font-size: 15px; }
.mnav .mnav__sub a:hover { background: var(--sky); }
.mnav > a { display: block; padding: 14px 4px; border-bottom: 1px solid #F0F4F9; font-weight: 600; color: var(--ink); }
.mnav .btn-apply { margin-top: 16px; width: 100%; justify-content: center; padding: 15px; }

@media (max-width: 1180px) {
  .nav__link { padding-left: 6px; padding-right: 6px; font-size: 13px; }
  .nav__link::after { left: 6px; right: 6px; }
}
@media (max-width: 1080px) {
  .navbar { display: none; }
  .burger { display: inline-flex; }
  .badge-naac { display: none; }
}
@media (max-width: 640px) {
  .topbar__hide-sm { display: none !important; }
  .brand img { height: 54px; width: auto; }
  .brand__l1 { font-size: 9px; letter-spacing: .1em; }
  .brand__l2 { font-size: 14.5px; }
  .brand__l3, .brand__l4 { font-size: 9.5px; }
  .brandrow .btn-apply { display: none; }
}

/* ---------- Footer ---------- */
.strip { background: var(--footer); padding: 14px 0; overflow: hidden; border-top: 4px solid var(--gold); }
.strip__track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.strip:hover .strip__track, .strip:focus-within .strip__track { animation-play-state: paused; }
.strip img { height: 130px; width: auto; border-radius: 12px; object-fit: cover; }
.site-footer { background: var(--footer); color: rgba(255,255,255,.76); padding: clamp(48px, 6vw, 80px) 0 0; box-shadow: inset 0 18px 30px -24px rgba(0,0,0,.6); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr 1.25fr; gap: clamp(24px, 3vw, 44px); }
.site-footer h2 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; font-family: var(--font-head); }
.site-footer h2::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-top: 10px; }
.footer-links { display: grid; gap: 10px; margin-top: 18px; }
.footer-links a { color: rgba(255,255,255,.76); font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 8px; padding: 2px; }
.footer-brand small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.footer-brand strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #fff; line-height: 1.2; }
.site-footer p { font-size: 14px; line-height: 1.75; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; transition: all var(--t) var(--ease); }
.socials a:hover { color: var(--gold); border-color: rgba(244,197,66,.6); transform: translateY(-3px); }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.7; }
.footer-contact .ico { margin-top: 3px; color: var(--gold); }
.footer-bottom { margin-top: clamp(34px, 4vw, 56px); padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .strip img { height: 96px; } }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(6,59,115,.6); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--t) var(--ease); z-index: 80; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green); transform: translateY(-3px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 14px 30px -14px rgba(7,86,168,.7); }
.btn--primary:hover { color: #fff; box-shadow: 0 20px 34px -14px rgba(7,86,168,.8); }
.btn--green { background: var(--grad-green); color: #fff; box-shadow: 0 14px 30px -14px rgba(21,148,71,.7); }
.btn--green:hover { color: #fff; }
.btn--gold { background: var(--grad-gold); color: var(--gold-ink); box-shadow: 0 14px 30px -12px rgba(244,197,66,.7); }
.btn--gold:hover { color: var(--gold-ink); }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--navy); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); box-shadow: var(--shadow-card); }
.btn--line-light { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.08); }
.btn--line-light:hover { color: #fff; background: rgba(255,255,255,.18); }

/* ---------- Shared section heading ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.h-section { font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; color: var(--navy); margin-top: 14px; }

/* ---------- Cards and hover behaviour ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: #C9DDF4; }
.zoom { overflow: hidden; }
.zoom img { transition: transform .9s var(--ease); }
.card:hover .zoom img, .zoom:hover img { transform: scale(1.07); }

/* ---------- Inner page: hero band ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; padding: clamp(36px, 5vw, 64px) 0 clamp(34px, 4.5vw, 56px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1.4px); background-size: 24px 24px; opacity: .55; }
.page-hero::after { content: ""; position: absolute; right: -90px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(244,197,66,.38), transparent 65%); }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.88); }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 48px); font-weight: 800; margin-top: 14px; max-width: 24ch; }
.page-hero__lead { color: rgba(255,255,255,.84); font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.65; margin-top: 14px; max-width: 64ch; }
.page-hero__tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12.5px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 7px 13px; border-radius: 999px; color: var(--gold); }

/* ---------- Inner page: body with sidebar ---------- */
.page-body { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--mist), #fff 280px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 3.5vw, 52px); align-items: start; }
.page-grid--full { grid-template-columns: minmax(0, 1fr); }
.main-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 30px 60px -50px rgba(6,59,115,.5); min-width: 0; }
.sidebar { position: sticky; top: 140px; display: grid; gap: 18px; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.side-nav h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--grad-brand); padding: 14px 18px; font-family: var(--font-head); }
.side-nav h3 { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); padding: 12px 18px 4px; font-family: var(--font-body); }
.side-nav ul { padding: 6px 8px 10px; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: #23364a; transition: background var(--t) var(--ease), color var(--t) var(--ease), padding var(--t) var(--ease); }
.side-nav a:hover { background: var(--sky); color: var(--blue); padding-left: 14px; }
.side-nav a[aria-current="page"] { background: var(--sky); color: var(--navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--green); }
.help-card { background: linear-gradient(155deg, #063B73, #0756A8 62%, #087F5B); color: #fff; border-radius: var(--r-lg); padding: 22px; }
.help-card h2 { font-size: 18px; font-weight: 800; }
.help-card p { font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.6; margin-top: 8px; }
.help-card a { color: #fff; display: flex; align-items: center; gap: 9px; font-weight: 600; margin-top: 10px; font-size: 14.5px; }
.help-card a:hover { color: var(--gold); }
.help-card .btn { margin-top: 16px; width: 100%; }
@media (max-width: 980px) { .page-grid { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* ---------- Prose (content migrated from the existing website) ---------- */
.prose { color: #34485D; font-size: 16px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(21px, 2vw, 27px); color: var(--navy); font-weight: 800; margin-top: 1.6em; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 54px; height: 3px; background: var(--gold); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; color: var(--navy); font-weight: 800; margin-top: 1.5em; }
.prose h4 { font-size: 16px; color: var(--teal); margin-top: 1.3em; }
.prose a:not(.btn):not(.btn-doc) { font-weight: 500; text-decoration: underline; text-decoration-color: rgba(7,86,168,.3); text-underline-offset: 3px; transition: text-decoration-color var(--t) var(--ease), color var(--t) var(--ease); }
.prose a:not(.btn):not(.btn-doc):hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--mint); }
.prose ol { counter-reset: n; list-style: none; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 24px; height: 24px; border-radius: 7px; background: var(--mint); color: var(--teal); font: 700 12px/24px var(--font-head); text-align: center; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 0; border-left: 4px solid var(--gold); background: var(--cream); padding: 16px 20px; border-radius: 0 12px 12px 0; font-style: italic; }
.prose img { border-radius: 14px; }
.prose figure { margin: 0; }
.prose .fig img { max-height: 520px; width: auto; border: 1px solid var(--line); }
.prose .fig a { display: inline-block; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; line-height: 1.55; min-width: 520px; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:first-child td, .prose th { background: var(--sky); color: var(--navy); font-weight: 700; font-family: var(--font-head); font-size: 13.5px; }
.prose tbody tr:not(:first-child):hover td { background: #FAFCFF; }
.prose tr:last-child td { border-bottom: 0; }
.prose td + td, .prose th + th { border-left: 1px solid var(--line); }
.prose .link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.prose .link-list li { padding: 0; }
.prose .link-list li::before { display: none; }
.prose .link-list a, .prose .link-list li { display: block; }
.prose .link-list a { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 42px; text-decoration: none !important; color: var(--navy); position: relative; transition: all var(--t) var(--ease); }
.prose .link-list a::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 4h7l4 4v12H7z'/%3E%3Cpath d='M14 4v4h4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 4h7l4 4v12H7z'/%3E%3Cpath d='M14 4v4h4'/%3E%3C/svg%3E") center/contain no-repeat; }
.prose .link-list a:hover { border-color: var(--green); background: var(--mint); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.btn-row { display: inline-block; margin: 6px 10px 0 0 !important; }
.btn-doc { display: inline-flex; align-items: center; gap: 9px; background: var(--sky); border: 1px solid #C9DDF4; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 11px 16px 11px 14px; border-radius: 11px; text-decoration: none; transition: all var(--t) var(--ease); }
.btn-doc::before { content: ""; width: 18px; height: 18px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 4v10M8 11l4 4 4-4M5 19h14'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 4v10M8 11l4 4 4-4M5 19h14'/%3E%3C/svg%3E") center/contain no-repeat; transition: background var(--t); }
.btn-doc:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-card); }
.btn-doc:hover::before { background: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--sky); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .9s var(--ease); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,59,115,.45), transparent 60%); opacity: 0; transition: opacity var(--t) var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery a:hover::after { opacity: 1; }
.ibox { border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 10px; transition: all var(--t) var(--ease); }
.ibox:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.ibox img { max-height: 160px; width: auto; }
.ibox h3 { margin-top: 0 !important; font-size: 17px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.notice { border: 1px dashed #E2C873; background: var(--butter); color: #6B5200; border-radius: 14px; padding: 16px 18px; font-size: 14.5px; line-height: 1.6; }
.notice strong { color: #6B5200; }
.placeholder-photo { display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(135deg, #E8F0FA 0 12px, #F4F8FD 12px 24px); border: 1px dashed #B9CDE6; color: #5A6B7D; font-family: var(--font-mono); font-size: 12px; }

/* ---------- Inner page components ---------- */
.lead { font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.7; color: #34485D; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.fact { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; transition: all var(--t) var(--ease); }
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.fact .ico { color: var(--teal); }
.fact b { display: block; font-family: var(--font-head); font-size: 24px; color: var(--navy); margin-top: 10px; }
.fact span { font-size: 13.5px; color: var(--muted); }
.icon-list { display: grid; gap: 12px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; padding: 0 !important; }
.icon-list li::before { display: none !important; }
.icon-list .ico-badge { width: 40px; height: 40px; border-radius: 11px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; }
.icon-list li:nth-child(3n+2) .ico-badge { background: var(--mint); color: var(--teal); }
.icon-list li:nth-child(3n) .ico-badge { background: var(--butter); color: #B58900; }
.icon-list li > span:last-child { padding-top: 8px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.course-card { scroll-margin-top: 150px; }
.course-card .card__img { aspect-ratio: 16 / 9; position: relative; }
.course-card .card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 22px; }
.card__body h3 { font-size: 20px; font-weight: 800; color: var(--navy); }
.card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.chip { font-size: 12px; background: var(--sky); color: var(--blue); padding: 6px 11px; border-radius: 7px; font-weight: 500; }
.chip--green { background: var(--mint); color: var(--teal); }
.chip--gold { background: var(--butter); color: #8A6A00; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 7px; }
.person { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.person__photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.person__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.person__sign { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.person__sign b { display: block; font-family: var(--font-head); font-size: 18px; color: var(--navy); }
.person__sign span { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .person { grid-template-columns: 1fr; } .person__photo { max-width: 260px; } }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.people figure { margin: 0; text-align: center; }
.people img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 16px 16px 0 0; }
.people figcaption { padding: 14px; }
.people b { display: block; font-family: var(--font-head); color: var(--navy); font-size: 15.5px; }
.people span { font-size: 13px; color: var(--muted); }
.vm { display: grid; grid-template-columns: 1fr; gap: 20px; }
.vm > div { border-radius: 22px; padding: clamp(22px, 3vw, 36px); border: 1px solid #DCE9F8; background: var(--sky); }
.vm > div + div { background: var(--mint); border-color: #D8EEE1; }
.vm h2 { border: 0 !important; padding: 0 !important; margin-top: 14px !important; }
.vm h2::after { display: none; }
.ico-tile { width: 46px; height: 46px; border-radius: 13px; background: var(--blue); color: var(--gold); display: grid; place-items: center; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; display: grid; gap: 8px; align-content: start; transition: all var(--t) var(--ease); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.contact-card .ico-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.contact-card h2 { font-size: 17px !important; margin: 6px 0 0 !important; border: 0 !important; padding: 0 !important; }
.contact-card h2::after { display: none; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; background: var(--sky); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Gallery page filters and album cards */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line-2); background: #fff; color: var(--text); padding: 9px 15px; border-radius: 999px; font-size: 13.5px; transition: all var(--t) var(--ease); }
.filters button:hover { border-color: var(--green); color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.album { margin-top: 34px; }
.album[hidden] { display: none; }
.album__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.album__head h2 { font-size: 20px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.album__head h2::after { display: none; }
.album__head span { font-size: 13px; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.post-card .zoom { aspect-ratio: 16 / 10; background: var(--sky); }
.post-card .zoom img { width: 100%; height: 100%; object-fit: cover; }
.post-card .card__body h3 { font-size: 17px; line-height: 1.3; }
.post-card time { font-size: 12.5px; color: var(--soft); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(4,16,30,.92); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lb.is-open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: lbIn .45s var(--ease); }
.lb button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transition: background var(--t); }
.lb button:hover { background: var(--green); }
.lb__close { top: 14px; right: 14px; }
.lb__prev { left: 12px; top: 50%; margin-top: -24px; }
.lb__next { right: 12px; top: 50%; margin-top: -24px; }
.lb__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 13px; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .lb { padding: 60px 10px; } }

/* ---------- Homepage helpers (the homepage keeps its approved inline styles; these add behaviour) ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bobDown { 0%,100% { transform: translateY(0); opacity: .85; } 50% { transform: translateY(8px); opacity: .4; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.14); } }
[data-reveal] { transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }
[data-rail] { scrollbar-width: none; }
[data-rail]::-webkit-scrollbar { display: none; }
.hv-lift { transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease) !important; }
.hv-lift:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-card) !important; }
.hv-btn { transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease) !important; }
.hv-btn:hover { transform: translateY(-3px) !important; }
.hv-zoom { overflow: hidden; }
.hv-zoom img { transition: transform .9s var(--ease) !important; }
.hv-lift:hover .hv-zoom img, .hv-zoom:hover img { transform: scale(1.07); }
.hv-border:hover { border-color: var(--green) !important; color: var(--green) !important; }
.hv-light:hover { background: rgba(255,255,255,.16) !important; color: #fff !important; }
.hv-gold:hover { color: var(--gold) !important; }

/* Hero slider */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img, .hero-slide.was-active img { animation: kenburns 7s ease-out forwards; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.45); transition: all var(--t) var(--ease); }
.hero-dots button[aria-current="true"] { width: 28px; background: var(--gold); }
@media (max-width: 900px) { .hero-dots { bottom: 16px; } }

/* Homepage gallery mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 14px; }
.mosaic a { border-radius: 18px; overflow: hidden; position: relative; display: block; border: 1px solid var(--line); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mosaic a:hover img { transform: scale(1.08); }
.mosaic span { position: absolute; left: 10px; bottom: 10px; background: rgba(6,59,115,.82); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 7px; opacity: 0; transform: translateY(6px); transition: all var(--t) var(--ease); }
.mosaic a:hover span { opacity: 1; transform: none; }
.mosaic .w2 { grid-column: span 2; } .mosaic .h2 { grid-row: span 2; }
@media (max-width: 640px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 116px; } }

/* Affiliation logo carousel */
.logo-rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-rail__track { display: flex; gap: 18px; width: max-content; animation: marquee 30s linear infinite; }
.logo-rail:hover .logo-rail__track { animation-play-state: paused; }
.logo-rail img { height: 84px; width: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 40px; }
.center { text-align: center; }
@media (max-width: 1120px) { [data-desktop-nav] { display: none !important; } }
@media (max-width: 900px) { [data-split] { grid-template-columns: 1fr !important; } [data-hide-md] { display: none !important; } }
@media (max-width: 640px) { [data-hide-sm] { display: none !important; } [data-span2] { grid-column: auto !important; } }
@media print { .topbar, .site-header, .strip, .site-footer, .sidebar, .to-top { display: none !important; } .page-hero { background: none; color: #000; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; background: var(--mist); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 30px); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; color: var(--navy); }
.field label span { color: #B42318; }
.field input, .field textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff; color: var(--ink); transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,86,168,.14); }
.field [aria-invalid="true"] { border-color: #B42318; }
.field-error { color: #B42318; font-size: 13.5px; margin: 0 !important; }
.form .btn { justify-self: start; border: 0; }
.form-extra { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.person p + p, .person p + blockquote { margin-top: 1em; }
.person--wide { grid-template-columns: 1fr; }
.person--wide .person__photo { max-width: min(620px, 100%); justify-self: center; width: fit-content; }
.person--wide .person__photo img { aspect-ratio: auto; height: auto; object-fit: contain; }
/* Downloads tables */
.prose .dl-table { min-width: 0; }
.prose .dl-table tbody tr:first-child td { background: none; color: inherit; font-weight: 400; font-family: inherit; font-size: 14.5px; }
.prose .dl-table td { vertical-align: middle; }
.prose .dl-table th:last-child, .prose .dl-table td:last-child { width: 210px; text-align: center; }
.prose .dl-table .btn-doc { padding: 8px 13px; font-size: 13px; }
.dl-pending { font-size: 13px; color: var(--soft); font-style: italic; }
/* Admission help desk */
.helpdesk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.helpdesk__card { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 26px 20px; }
.helpdesk__card img { width: 170px; height: 210px; object-fit: cover; object-position: 50% 20%; border-radius: 18px; border: 4px solid #fff; box-shadow: var(--shadow-card); margin-bottom: 8px; }
.helpdesk__card b { font-family: var(--font-head); font-size: 19px; color: var(--navy); }
.helpdesk__card a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; }
@media (max-width: 600px) { .helpdesk { grid-template-columns: 1fr; } }
.prose .dl-table .dl-no { width: 80px; text-align: center; }

/* AutoScroll control replaces the back-to-top button on long pages */
.as-active .to-top { display: none; }
.gallery--cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery--cols2 a { aspect-ratio: 4 / 3; border-radius: 18px; }
@media (max-width: 560px) { .gallery--cols2 { grid-template-columns: 1fr; } }
/* Help-desk card button: keep dark text on gold, white button on hover (overrides the card's link colours) */
.help-card a.btn--gold { color: var(--gold-ink); justify-content: center; }
.help-card a.btn--gold:hover, .help-card a.btn--gold:focus-visible { background: #fff; color: var(--navy); box-shadow: 0 16px 30px -12px rgba(0,0,0,.45); }
/* "On this page" list (set $page['toc']) */
.toc ul { max-height: min(52vh, 460px); overflow-y: auto; scrollbar-width: thin; }
.toc a { font-size: 13.5px; line-height: 1.35; }
.toc a.is-active { background: var(--sky); color: var(--navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--green); }
.prose [data-toc-target] { scroll-margin-top: 160px; }
@media (max-width: 980px) { .toc ul { max-height: none; } }
.sidebar--toc { position: static; align-self: stretch; align-content: start; }
.sidebar--toc .toc { position: sticky; top: 140px; }
.sidebar--toc .toc ul { max-height: calc(100vh - 230px); }
@media (max-width: 980px) { .sidebar--toc .toc { position: static; } .sidebar--toc .toc ul { max-height: none; } }
.sidebar--toc .toc { z-index: 5; box-shadow: 0 18px 30px -24px rgba(6,59,115,.5); }
/* Department heading rows inside staff tables */
.prose td.dept-cell { background: linear-gradient(90deg, var(--sky), #fff); border-left: 4px solid var(--green); padding: 14px 16px; }
.prose .dept-head { margin: 0 !important; font-size: 18px; color: var(--navy); font-weight: 800; }
/* Officer / contact person card: photo left, details right */
.officer { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; background: var(--mist); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.officer img { width: 180px; height: 225px; object-fit: cover; object-position: 50% 20%; border-radius: 16px; border: 4px solid #fff; box-shadow: var(--shadow-card); }
.officer dl { margin: 0; display: grid; gap: 8px; }
.officer dl div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; font-size: 15px; }
.officer dt { color: var(--muted); font-weight: 600; }
.officer dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
@media (max-width: 600px) { .officer { grid-template-columns: 1fr; justify-items: start; } .officer dl div { grid-template-columns: 1fr; gap: 0; } }
/* Green bullet dots before each document name (wrap a doc_table in .dl-dots) */
.dl-dots .dl-table tbody td:not(.dl-no):not(:last-child) { position: relative; padding-left: 36px; }
.dl-dots .dl-table tbody td:not(.dl-no):not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--mint); }
/* Logo / icon tile before a document name */
.dl-item { display: flex; align-items: center; gap: 14px; }
.dl-logo { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--blue); overflow: hidden; }
.prose .dl-logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 0; }
