/* ==========================================================================
   DRIEMS Medical College — modern theme
   ========================================================================== */

:root {
    /* Brand */
    --navy-950: #040d24;
    --navy-900: #071838;
    --navy-800: #0b2554;
    --blue-700: #0a3f8f;
    --blue-600: #0b4ea2;
    --blue-500: #1a66d1;
    --blue-400: #4b8cf0;
    --blue-100: #e3edfd;
    --blue-50:  #f1f6fe;
    --gold-500: #f4a51c;
    --gold-400: #ffbe45;
    --gold-100: #fff3dc;
    --teal-500: #12b5a5;
    --teal-100: #dcf7f3;
    --rose-500: #ef5a6f;

    /* Neutrals */
    --ink:      #0d1a33;
    --ink-2:    #33415c;
    --muted:    #66728a;
    --line:     #e4e9f2;
    --surface:  #f5f7fb;
    --white:    #ffffff;

    /* Type */
    --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Shape & depth */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(13, 26, 51, .06), 0 1px 3px rgba(13, 26, 51, .06);
    --shadow-md: 0 8px 24px -8px rgba(13, 26, 51, .14);
    --shadow-lg: 0 24px 60px -20px rgba(11, 37, 84, .28);
    --ring: 0 0 0 4px rgba(26, 102, 209, .18);

    --container: 1240px;
    --header-h: 84px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 400 16px/1.7 var(--font-body);
    color: var(--ink-2);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy-900); color: #c9d4ea; }

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 700 12.5px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--blue-100);
    padding: 8px 14px; border-radius: 99px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-100); }
.eyebrow.on-dark { color: var(--gold-400); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin-bottom: 16px; }
.section-title .hl { background: linear-gradient(120deg, var(--blue-600), var(--teal-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); }
.text-gradient { background: linear-gradient(100deg, var(--gold-400), #ffd98a); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font: 700 15px/1 var(--font-display); letter-spacing: -.01em;
    padding: 16px 26px; border-radius: 99px; border: 1.5px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap;
}
.btn i { font-size: 13px; transition: transform .25s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 78, 162, .7); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(11, 78, 162, .75); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(244, 165, 28, .8); }
.btn-gold:hover { color: var(--navy-900); background: var(--gold-400); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.btn-outline { color: var(--blue-600); border-color: var(--blue-100); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 15px var(--font-display); color: var(--blue-600); }
.link-arrow i { transition: transform .25s var(--ease); font-size: 12px; }
.link-arrow:hover i { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--navy-950); color: #aebbd6; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #dbe4f5; }
.topbar a:hover { color: var(--gold-400); }
.topbar-list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar-list i { color: var(--gold-500); margin-right: 7px; font-size: 12px; }
.topbar .pill { background: rgba(239, 90, 111, .14); color: #ffb3bd; padding: 4px 12px; border-radius: 99px; font-weight: 600; }
.topbar .pill i { color: #ff8394; }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(228, 233, 242, .8);
    transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(13, 26, 51, .35); background: rgba(255, 255, 255, .95); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: 70px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 58px; height: 58px; object-fit: contain; transition: width .3s, height .3s; }
.is-scrolled .brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 800 19px var(--font-display); letter-spacing: -.02em; color: var(--navy-800); }
.brand-text span { font-size: 12px; color: var(--muted); font-weight: 500; max-width: 230px; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
    display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px;
    font: 600 14.5px var(--font-display); color: var(--ink); letter-spacing: -.01em; background: none; border: 0; white-space: nowrap;
}
.nav-link .chev { font-size: 10px; opacity: .55; transition: transform .25s; }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-item.is-open > .nav-link { color: var(--blue-600); background: var(--blue-50); }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.nav-link.is-current { color: var(--blue-600); }
.nav-link.is-current::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold-500); }

/* Dropdown / mega panel */
.dropdown {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
    min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown.mega { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(200px, 1fr)); gap: 6px 18px; padding: 22px; width: max-content; max-width: min(960px, 92vw); }
.nav-item:nth-last-child(-n+3) > .dropdown.mega { left: auto; right: -20px; transform: translate(0, 8px); }
.nav-item:nth-last-child(-n+3).is-open > .dropdown.mega { transform: translate(0, 0); }
.mega-col h6 { font: 800 11.5px var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 4px 10px 10px; }
.mega-col h6 a { color: inherit; }
.dd-list { list-style: none; margin: 0; padding: 0; }
.dd-list a, .dd-list .dd-label {
    display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
    font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.35;
}
.dd-list a:hover { background: var(--blue-50); color: var(--blue-600); }
.dd-list a .fa-file-pdf { color: var(--rose-500); font-size: 13px; }
.dd-list a .fa-arrow-up-right-from-square { font-size: 11px; opacity: .5; }
.dd-list .dd-label { font-weight: 700; color: var(--ink); cursor: default; }
.dd-list .dd-list { padding-left: 14px; margin-left: 12px; border-left: 2px solid var(--line); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: .2s;
}
.icon-btn:hover { background: var(--blue-50); color: var(--blue-600); border-color: var(--blue-100); }
.uni-badge img { height: 44px; width: auto; }
.menu-toggle { display: none; }

/* Search overlay */
.search-overlay {
    position: fixed; inset: 0; z-index: 300; background: rgba(4, 13, 36, .72); backdrop-filter: blur(10px);
    display: grid; place-items: start center; padding: 14vh 20px 20px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.search-box { width: min(720px, 100%); transform: translateY(-12px); transition: transform .3s var(--ease); }
.search-overlay.is-open .search-box { transform: none; }
.search-box form { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r-lg); padding: 10px 10px 10px 24px; box-shadow: var(--shadow-lg); }
.search-box input { flex: 1; border: 0; outline: 0; font: 500 20px var(--font-display); color: var(--ink); background: none; min-width: 0; }
.search-box .hint { color: #c1cce0; font-size: 14px; margin-top: 14px; text-align: center; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4, 13, 36, .6); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff;
    transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 12px 12px 30px; flex: 1; }
.m-nav, .m-nav ul { list-style: none; margin: 0; padding: 0; }
.m-nav ul { padding-left: 14px; display: none; border-left: 2px solid var(--line); margin: 2px 0 6px 14px; }
.m-nav li.is-open > ul { display: block; }
.m-nav a, .m-nav .m-toggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px;
    border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15.5px; background: none; border: 0; text-align: left;
}
.m-nav ul a, .m-nav ul .m-toggle { font-weight: 500; font-size: 14.5px; color: var(--ink-2); padding: 10px 12px; }
.m-nav a:hover, .m-nav .m-toggle:hover { background: var(--surface); }
.m-nav .m-toggle i { transition: transform .25s; font-size: 12px; opacity: .6; }
.m-nav li.is-open > .m-toggle i { transform: rotate(180deg); }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.drawer-foot a { color: var(--ink-2); }
.drawer-foot i { color: var(--blue-600); width: 20px; }

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { background: linear-gradient(90deg, var(--gold-500), #ffc653); color: var(--navy-900); overflow: hidden; }
.ticker .container { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.ticker-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; font: 800 12px var(--font-display); letter-spacing: .12em; text-transform: uppercase; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: 99px; }
.ticker-label .dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5c73; box-shadow: 0 0 0 0 rgba(255, 92, 115, .7); animation: pulse 1.8s infinite; }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 60px; white-space: nowrap; animation: marquee 28s linear infinite; padding-left: 100%; }
.ticker-move a { color: var(--navy-900); font-weight: 700; }
.ticker-move a:hover { text-decoration: underline; }
.ticker:hover .ticker-move { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 92, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 92, 115, 0); } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative; overflow: hidden; color: #fff; isolation: isolate;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(18, 181, 165, .28), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(244, 165, 28, .18), transparent 60%),
        linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-700) 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 88px 0 110px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 66px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 22px; }
.hero .lead { color: #b9c6df; font-size: 19px; max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; color: #9fb0cf; font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--teal-500); }

.hero-visual { position: relative; }
.hero-frame {
    position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.3;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .14);
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 13, 36, .55)); }
.float-card {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px;
    background: rgba(255, 255, 255, .94); color: var(--ink); border-radius: var(--r-md); padding: 14px 18px;
    box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); animation: float 6s ease-in-out infinite;
}
.float-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.float-card strong { display: block; font: 800 20px/1.1 var(--font-display); color: var(--ink); }
.float-card small { color: var(--muted); font-size: 13px; }
.float-card.fc-1 { left: -34px; bottom: 44px; }
.float-card.fc-1 .ic { background: var(--gold-100); color: var(--gold-500); }
.float-card.fc-2 { right: -22px; top: 36px; animation-delay: -3s; }
.float-card.fc-2 .ic { background: var(--teal-100); color: var(--teal-500); }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: #fff; clip-path: ellipse(75% 100% at 50% 100%); }

/* Stats strip overlapping hero */
.stats-wrap { position: relative; z-index: 3; margin-top: -86px; }
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 30px 28px; display: flex; gap: 18px; align-items: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; background: var(--blue-50); color: var(--blue-600); }
.stat:nth-child(2) .ic { background: var(--teal-100); color: var(--teal-500); }
.stat:nth-child(3) .ic { background: var(--gold-100); color: var(--gold-500); }
.stat:nth-child(4) .ic { background: #fde7ea; color: var(--rose-500); }
.stat strong { display: block; font: 800 34px/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 500; }

/* ==========================================================================
   Home blocks
   ========================================================================== */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-card {
    display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: #fff;
    border: 1px solid var(--line); color: var(--ink); transition: .3s var(--ease); position: relative; overflow: hidden;
}
.quick-card::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 140px; height: 140px; border-radius: 50%; background: var(--blue-50); transition: .4s var(--ease); z-index: 0; }
.quick-card > * { position: relative; z-index: 1; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); color: var(--ink); }
.quick-card:hover::after { transform: scale(1.5); }
.quick-card .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 23px; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); flex-shrink: 0; box-shadow: 0 10px 20px -10px rgba(11, 78, 162, .8); }
.quick-card:nth-child(2) .ic { background: linear-gradient(135deg, var(--teal-500), #3fd6c6); box-shadow: 0 10px 20px -10px rgba(18, 181, 165, .8); }
.quick-card:nth-child(3) .ic { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); box-shadow: 0 10px 20px -10px rgba(244, 165, 28, .8); }
.quick-card h3 { font-size: 18px; margin: 0 0 2px; }
.quick-card p { margin: 0; font-size: 14px; color: var(--muted); }
.quick-card .go { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--blue-600); font-size: 13px; transition: .3s; }
.quick-card:hover .go { background: var(--blue-600); color: #fff; transform: rotate(-45deg); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4.4; box-shadow: var(--shadow-lg); }
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge {
    position: absolute; right: -24px; bottom: -28px; background: var(--navy-900); color: #fff; border-radius: var(--r-lg);
    padding: 22px 26px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px; border: 6px solid #fff;
}
.about-media .badge strong { font: 800 42px/1 var(--font-display); color: var(--gold-400); }
.about-media .badge span { font-size: 14px; line-height: 1.35; color: #c9d4ea; }
.about-media .dots { position: absolute; left: -26px; top: -26px; width: 130px; height: 130px; z-index: -1; background-image: radial-gradient(var(--blue-400) 2px, transparent 2px); background-size: 16px 16px; opacity: .45; }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.45; }
.check-list i { color: #fff; background: var(--teal-500); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; flex-shrink: 0; margin-top: 1px; }

/* Tabs */
.tabs { display: inline-flex; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 99px; box-shadow: var(--shadow-sm); margin-bottom: 40px; flex-wrap: wrap; justify-content: center; }
.tab { border: 0; background: none; padding: 11px 22px; border-radius: 99px; font: 700 14.5px var(--font-display); color: var(--muted); transition: .25s; }
.tab .count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--surface); font-size: 12px; margin-left: 6px; color: var(--ink-2); }
.tab.is-active { background: var(--navy-900); color: #fff; }
.tab.is-active .count { background: rgba(255, 255, 255, .16); color: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Department cards */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.dept-card {
    display: flex; flex-direction: column; gap: 16px; padding: 24px; background: #fff; border-radius: var(--r-lg);
    border: 1px solid var(--line); color: var(--ink); transition: .3s var(--ease); position: relative; overflow: hidden;
}
.dept-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--blue-50), transparent 60%); opacity: 0; transition: .3s; }
.dept-card > * { position: relative; }
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-100); color: var(--ink); }
.dept-card:hover::before { opacity: 1; }
.dept-card .icon { width: 64px; height: 64px; border-radius: 18px; background: var(--surface); display: grid; place-items: center; padding: 10px; transition: .3s; }
.dept-card:hover .icon { background: #fff; box-shadow: var(--shadow-sm); transform: scale(1.05) rotate(-3deg); }
.dept-card .icon img { width: 100%; height: 100%; object-fit: contain; }
.dept-card h3 { font-size: 17.5px; margin: 0; }
.dept-card .meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: auto; }
.dept-card .meta i { color: var(--blue-600); transition: transform .25s; }
.dept-card:hover .meta i { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--blue-50); color: var(--blue-600); }
.chip.gold { background: var(--gold-100); color: #9a6100; }
.chip.teal { background: var(--teal-100); color: #0b7d72; }

/* Programs */
.program-band {
    margin-top: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 30px 34px;
    border-radius: var(--r-lg); color: #fff; background: linear-gradient(120deg, var(--navy-900), var(--blue-700)); position: relative; overflow: hidden;
}
.program-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 181, 165, .45), transparent 70%); }
.program-band .ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; background: rgba(255, 255, 255, .1); color: var(--gold-400); }
.program-band h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.program-band .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.program-band .tags span { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); color: #e5ecf9; }
.program-band .btn { position: relative; z-index: 1; }

/* Why choose – bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 20px; }
.bento-item { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; display: flex; align-items: flex-end; padding: 26px; }
.bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(2) { grid-column: span 2; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.bento-item.contain img { object-fit: contain; background: #fff; padding: 22px 22px 90px; }
.bento-item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 13, 36, 0) 30%, rgba(4, 13, 36, .88)); }
.bento-item:hover img { transform: scale(1.06); }
.bento-item h3 { color: #fff; font-size: 20px; margin: 0; max-width: 420px; }
.bento-item:nth-child(1) h3 { font-size: 28px; }
.bento-item.contain .num { background: var(--navy-900); border-color: var(--navy-900); }
.bento-item .num { position: absolute; top: 22px; left: 22px; font: 800 13px var(--font-display); background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); }
.bento-item .more { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy-900); display: grid; place-items: center; font-size: 14px; }

/* Highlights carousel */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: .25s; }
.carousel-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.on-dark .carousel-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.on-dark .carousel-btn:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.banner-slide { width: min(860px, 86vw); aspect-ratio: 1240 / 520; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-800); }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.head-row .section-head { margin: 0; }

/* Leadership */
.leaders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.leader-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: .35s var(--ease); display: flex; flex-direction: column; }
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leader-photo { aspect-ratio: 4 / 4.2; overflow: hidden; background: linear-gradient(160deg, var(--blue-50), var(--surface)); position: relative; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.leader-card:hover .leader-photo img { transform: scale(1.05); }
.leader-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.leader-body .role { font: 700 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 6px; }
.leader-body h3 { font-size: 18px; margin-bottom: 16px; }
.leader-body .link-arrow { margin-top: auto; font-size: 14px; }

/* News cards */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .35s var(--ease); color: var(--ink-2); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.news-thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--surface); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.date-badge { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 14px; padding: 8px 12px; text-align: center; box-shadow: var(--shadow-md); line-height: 1; }
.date-badge strong { display: block; font: 800 22px var(--font-display); color: var(--ink); }
.date-badge small { font: 700 11px var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--blue-600); }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 { font-size: 19px; margin: 0; line-height: 1.35; color: var(--ink); }
.news-body p { font-size: 15px; color: var(--muted); margin: 0; }
.news-body .link-arrow { margin-top: auto; padding-top: 6px; font-size: 14px; }

/* Press masonry */
.press { columns: 4 240px; column-gap: 18px; }
.press a { display: block; margin-bottom: 18px; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; position: relative; border: 1px solid var(--line); background: #fff; }
.press img { width: 100%; transition: transform .6s var(--ease); }
.press a:hover img { transform: scale(1.04); }
.press a::after { content: "\f00e"; font: var(--fa-font-solid); position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(4, 13, 36, .7); color: #fff; display: grid; place-items: center; opacity: 0; transition: .3s; font-size: 14px; }
.press a:hover::after { opacity: 1; }

/* Testimonials */
.testimonials { background: var(--navy-900); color: #c9d4ea; overflow: hidden; }
.testimonials .section-title { color: #fff; }
.t-card { width: min(440px, 82vw); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.t-card .stars { color: var(--gold-400); letter-spacing: 3px; font-size: 14px; }
.t-card blockquote { margin: 0; font-size: 17px; line-height: 1.7; color: #e6ecf7; }
.t-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14px; }
.t-card .who .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--teal-500)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.t-card .who strong { color: #fff; display: block; font-family: var(--font-display); }
.quote-mark { font-size: 44px; line-height: 1; color: var(--gold-500); opacity: .9; }

/* CTA */
.cta {
    border-radius: var(--r-xl); padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
    background: radial-gradient(600px 300px at 90% 0%, rgba(244, 165, 28, .35), transparent 60%), linear-gradient(120deg, var(--blue-700), var(--blue-500));
    color: #dce7fb; position: relative; overflow: hidden;
}
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.cta p { margin: 0; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
    position: relative; overflow: hidden; color: #fff; isolation: isolate; padding: 56px 0 110px;
    background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-800) 55%, #0c3d8a 100%);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: radial-gradient(ellipse at 75% 30%, #000 10%, transparent 70%);
}
.page-hero.has-image::after { content: ""; position: absolute; inset: -20px; z-index: -3; background: var(--hero-img) center / cover; opacity: .14; filter: blur(3px) saturate(.8); }
.ph-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.ph-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite; }
.ph-blob.b1 { width: 420px; height: 420px; right: 4%; top: -160px; background: #12b5a5; }
.ph-blob.b2 { width: 360px; height: 360px; right: 26%; bottom: -220px; background: #1a66d1; animation-delay: -6s; }
.ph-blob.b3 { width: 260px; height: 260px; left: -80px; top: -60px; background: #f4a51c; opacity: .22; animation-delay: -12s; }
@keyframes blob { 33% { transform: translate(30px, -20px) scale(1.08); } 66% { transform: translate(-24px, 18px) scale(.94); } }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: center; position: relative; }
.ph-crumbs { margin-bottom: 22px; }
.crumbs {
    display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; font-size: 13.5px; color: #b7c4dd;
    padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px);
}
.crumbs a { color: #e6ecf7; font-weight: 600; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs .sep i { font-size: 9px; opacity: .5; }
.crumbs [aria-current] { color: var(--gold-400); font-weight: 600; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin: 0 0 16px; max-width: 900px; text-wrap: balance; }
.page-hero p, .ph-lead { color: #bccae2; font-size: 18px; line-height: 1.65; max-width: 720px; margin: 0; }
.ph-art { position: relative; width: 220px; height: 220px; justify-self: end; }
.ph-ring { position: absolute; inset: -18px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .18); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ph-tile {
    position: absolute; inset: 24px; border-radius: 44px; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
    transform: rotate(-6deg); animation: float 7s ease-in-out infinite;
}
.ph-tile i { font-size: 64px; background: linear-gradient(140deg, #fff, var(--gold-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ph-tile img[src$=".png"] { object-fit: contain; padding: 26px; background: #fff; }
.ph-chip { position: absolute; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 17px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); animation: float 6s ease-in-out infinite; }
.ph-chip.c1 { top: -4px; left: -10px; background: var(--gold-500); color: var(--navy-900); animation-delay: -2s; }
.ph-chip.c2 { bottom: 0; right: -8px; background: #fff; color: var(--teal-500); animation-delay: -4s; }
.ph-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: #fff; }
.page-body { padding: 72px 0 96px; }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.side-card h4 { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.side-card h4 i { color: var(--blue-600); }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.side-links a:hover { background: var(--surface); color: var(--blue-600); }
.side-links a.is-active { background: var(--blue-50); color: var(--blue-600); font-weight: 700; }
.side-links small { font-size: 12px; color: var(--muted); }
.side-cta { background: linear-gradient(140deg, var(--navy-900), var(--blue-700)); color: #c9d4ea; border: 0; }
.side-cta h4 { color: #fff; }
.side-cta a:not(.btn) { color: #fff; font-weight: 700; }

/* Prose (cleaned CMS content) */
.prose { color: var(--ink-2); font-size: 17px; line-height: 1.8; max-width: 860px; }
.prose.wide { max-width: none; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 30px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 23px; margin: 1.5em 0 .5em; }
.prose h4 { font-size: 19px; margin: 1.3em 0 .4em; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--blue-500); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--blue-500); }
.prose img { border-radius: var(--r-md); margin: 1.4em 0; box-shadow: var(--shadow-md); }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 4px solid var(--gold-500); background: var(--gold-100); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink); font-size: 18px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose .embed { border-radius: var(--r-lg); overflow: hidden; margin: 1.6em 0; box-shadow: var(--shadow-md); }
.prose .embed iframe { width: 100%; min-height: 360px; border: 0; display: block; }
.doc-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: #fde7ea; color: #c02640; font-size: 13.5px; font-weight: 700; }
.doc-link::before { content: "\f1c1"; font: var(--fa-font-solid); }
.empty-state { text-align: center; padding: 60px 24px; border: 2px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }
.empty-state i { font-size: 36px; color: var(--blue-100); margin-bottom: 14px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); margin: 1.4em 0 2em; background: #fff; box-shadow: var(--shadow-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th, .table-wrap tr:first-child th { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.table-wrap thead th strong, .table-wrap tr:first-child th strong { color: #fff; }
.table-wrap tbody tr:nth-child(even) td { background: var(--surface); }
.table-wrap tr:hover td { background: var(--blue-50); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap a { text-decoration: none; }

/* Gallery grid + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 1.6em 0; }
.gallery-item { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; position: relative; background: var(--surface); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; transition: transform .6s var(--ease); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4, 13, 36, .55)); opacity: 0; transition: .3s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }
.prose .gallery-grid { max-width: none; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(4, 13, 36, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; font-size: 18px; transition: .2s; }
.lb-btn:hover { background: #fff; color: var(--navy-900); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #c9d4ea; font-size: 14px; font-weight: 600; }

/* Album cards */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.album-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.2; color: #fff; display: flex; align-items: flex-end; padding: 24px; isolation: isolate; }
.album-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.album-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(4, 13, 36, .9)); }
.album-card:hover { color: #fff; }
.album-card:hover img { transform: scale(1.07); }
.album-card h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.album-card span { font-size: 13.5px; color: #c9d4ea; display: inline-flex; align-items: center; gap: 8px; }
.album-card .pill { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 12px; border-radius: 99px; }

/* Department page */
.dept-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.dept-hero-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 8px 14px; border-radius: 99px; color: #e5ecf9; }
.dept-hero-meta i { color: var(--gold-400); }
.dept-hero-icon { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 170px; height: 170px; border-radius: 40px; background: rgba(255, 255, 255, .95); padding: 30px; box-shadow: var(--shadow-lg); rotate: 6deg; }
.seat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.seat-card { padding: 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.seat-card small { display: block; font: 700 11.5px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.seat-card strong { font: 800 28px var(--font-display); color: var(--ink); }
.seat-card.accent { background: var(--navy-900); border-color: var(--navy-900); }
.seat-card.accent small { color: #9fb0cf; }
.seat-card.accent strong { color: var(--gold-400); }
.block-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 56px 0 24px; }
.block-title h2 { margin: 0; font-size: 28px; }

/* Faculty */
.faculty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.faculty-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: .3s var(--ease); display: flex; flex-direction: column; }
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.faculty-photo { aspect-ratio: 1 / 1.05; background: linear-gradient(160deg, var(--blue-50), var(--surface)); overflow: hidden; }
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.faculty-photo .ph { width: 100%; height: 100%; display: grid; place-items: center; font: 800 44px var(--font-display); color: var(--blue-400); }
.faculty-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.faculty-body h3 { font-size: 16.5px; margin: 0; }
.faculty-body .desig { font-size: 13.5px; font-weight: 600; color: var(--blue-600); }
.faculty-body .qual { font-size: 13.5px; color: var(--muted); }
.faculty-body .reg { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); }
.faculty-body .reg b { color: var(--ink-2); }
.faculty-body .dept { font-size: 12px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; }
.filter-bar .search-field { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--surface); border-radius: 12px; }
.filter-bar .search-field input { border: 0; background: none; outline: 0; padding: 13px 0; font: inherit; width: 100%; color: var(--ink); }
.filter-bar select { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 600 14.5px var(--font-body); color: var(--ink); background: #fff; min-width: 220px; }
.result-count { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: auto; }
.dir-group h2 { font-size: 22px; margin: 44px 0 18px; display: flex; align-items: center; gap: 12px; }
.dir-group h2 img { width: 34px; height: 34px; }
.dir-group h2 small { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Message page */
.message-grid { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.message-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); }
.message-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top; }
.message-photo .cap { padding: 20px 22px; background: #fff; }
.message-photo .cap strong { font: 800 19px var(--font-display); color: var(--ink); display: block; }
.message-photo .cap span { color: var(--gold-500); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.message-text { font-size: 19px; line-height: 1.85; color: var(--ink-2); position: relative; padding-top: 40px; }
.message-text::before { content: "\201C"; position: absolute; top: -40px; left: -8px; font: 800 140px/1 Georgia, serif; color: var(--blue-100); z-index: -1; }
.signature { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature strong { font: 800 20px var(--font-display); color: var(--ink); display: block; }
.signature span { color: var(--muted); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { display: grid; grid-template-columns: 140px 1fr; gap: 22px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); align-items: start; }
.contact-card .ph { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1 / 1.15; background: var(--surface); }
.contact-card .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.contact-card h3 { font-size: 20px; margin-bottom: 4px; }
.contact-card .role { color: var(--gold-500); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; display: block; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.info-list i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); flex-shrink: 0; font-size: 14px; }
.info-list a { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin-top: 40px; }
.map-card { border-radius: var(--r-lg); overflow: hidden; min-height: 380px; box-shadow: var(--shadow-md); }
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.info-panel { background: var(--navy-900); border-radius: var(--r-lg); padding: 34px; color: #c9d4ea; }
.info-panel h3 { color: #fff; }
.info-panel .info-list i { background: rgba(255, 255, 255, .08); color: var(--gold-400); }
.info-panel .info-list a, .info-panel .info-list span { color: #e6ecf7; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin: 1.5em 0; }
.field { position: relative; display: block; }
.field-wide, .form-actions, .form .alert { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
    width: 100%; padding: 24px 16px 10px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
    font: 500 15.5px var(--font-body); color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field span { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 15px; pointer-events: none; transition: .2s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--blue-500); box-shadow: var(--ring); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 8px; font-size: 11.5px; font-weight: 700; color: var(--blue-600); letter-spacing: .04em; }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 14px; font-weight: 600; margin-bottom: 16px; }
.alert-success { background: var(--teal-100); color: #0b6d64; }
.alert-error { background: #fde7ea; color: #b01d36; }

/* Post */
.post-cover { border-radius: var(--r-xl); overflow: hidden; margin: -150px 0 44px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; aspect-ratio: 16 / 8; background: var(--surface); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #b9c6df; font-size: 15px; margin-top: 8px; }
.post-meta i { color: var(--gold-400); margin-right: 6px; }
.page-hero.post-hero { padding-bottom: 190px; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.share span { font-weight: 700; color: var(--ink); margin-right: 6px; }
.share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.share a:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* Search */
.search-results { display: grid; gap: 16px; max-width: 860px; }
.result { display: block; padding: 22px 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: .25s; }
.result:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); transform: translateX(4px); color: var(--ink-2); }
.result h3 { font-size: 19px; margin-bottom: 6px; color: var(--blue-600); }
.result p { margin: 0; font-size: 15px; }
.result .kind { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.big-search { display: flex; gap: 10px; max-width: 720px; margin-top: 28px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; padding: 8px 8px 8px 24px; backdrop-filter: blur(8px); }
.big-search input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: 500 17px var(--font-body); min-width: 0; }
.big-search input::placeholder { color: #9fb0cf; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    position: relative; overflow: hidden; isolation: isolate; font-size: 15px; color: #97a6c4;
    margin-top: 40px; padding-top: 1px;
    background:
        radial-gradient(700px 380px at 100% 0%, rgba(26, 102, 209, .28), transparent 65%),
        radial-gradient(600px 360px at 0% 100%, rgba(18, 181, 165, .16), transparent 65%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}
/* subtle grid pattern + gradient top border */
.site-footer::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.site-footer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue-500), var(--teal-500), var(--gold-500), var(--rose-500)); }

/* Contact tiles */
.f-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.f-tile {
    --tone: var(--blue-500); --tone-bg: rgba(26, 102, 209, .16);
    display: flex; align-items: center; gap: 14px; padding: 18px 18px; border-radius: var(--r-md);
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: #fff;
    backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .3s, border-color .3s; position: relative; overflow: hidden;
}
.f-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--tone-bg), transparent 70%); opacity: 0; transition: opacity .3s; }
.f-tile > * { position: relative; }
.f-tile:hover { color: #fff; transform: translateY(-4px); border-color: var(--tone); }
.f-tile:hover::before { opacity: 1; }
.f-tile.tone-rose { --tone: var(--rose-500); --tone-bg: rgba(239, 90, 111, .18); }
.f-tile.tone-teal { --tone: var(--teal-500); --tone-bg: rgba(18, 181, 165, .18); }
.f-tile.tone-gold { --tone: var(--gold-500); --tone-bg: rgba(244, 165, 28, .18); }
.f-tile-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; font-size: 20px; color: var(--tone); background: var(--tone-bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: .3s var(--ease); }
.f-tile:hover .f-tile-ic { background: var(--tone); color: #fff; transform: rotate(-8deg) scale(1.05); }
.f-tile-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.f-tile-txt small { font-size: 12px; color: #8f9fbf; font-weight: 600; letter-spacing: .02em; margin-bottom: 3px; }
.f-tile-txt strong { font: 700 15.5px var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-tile-go { margin-left: auto; font-size: 12px; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); color: var(--tone); }
.f-tile:hover .f-tile-go { opacity: 1; transform: none; }

/* Main grid */
.footer-top { display: grid; grid-template-columns: 1.35fr .9fr 1fr 1.35fr; gap: 48px; padding-top: 60px; padding-bottom: 56px; position: relative; }
.f-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; color: #fff; }
.f-logo:hover { color: #fff; }
.f-logo img { width: 64px; height: 64px; background: #fff; border-radius: 18px; padding: 6px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.f-logo strong { display: block; font: 800 22px/1.1 var(--font-display); letter-spacing: -.02em; }
.f-logo small { display: block; font-size: 12.5px; color: #8f9fbf; margin-top: 3px; }
.footer-brand p { line-height: 1.75; margin-bottom: 22px; }
.f-badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-badges li { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: #d6dfef; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); justify-self: start; }
.f-badges i { color: var(--gold-400); width: 16px; text-align: center; }

.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 22px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; position: relative; padding-bottom: 14px; }
.site-footer h4 i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; color: var(--gold-400); background: rgba(244, 165, 28, .12); }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-500), transparent); }

.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.f-links a { color: #a9b6d0; display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; transition: color .25s, transform .25s var(--ease); }
.f-links a i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, .05); color: var(--blue-400); transition: .25s; flex-shrink: 0; }
.f-links a:hover { color: #fff; transform: translateX(4px); }
.f-links a:hover i { background: var(--blue-500); color: #fff; }

.f-contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.f-contact li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.f-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--gold-400); background: rgba(244, 165, 28, .12); font-size: 15px; }
.f-contact small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6f80a3; margin-bottom: 2px; }
.f-contact span { color: #d6dfef; }
.f-contact a { color: #d6dfef; word-break: break-word; }
.f-contact a:hover { color: var(--gold-400); }
.f-map { position: relative; border-radius: var(--r-md); overflow: hidden; height: 150px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .8); }
.f-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.f-map-btn { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--gold-500); color: var(--navy-900); font: 700 13px var(--font-display); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); }
.f-map-btn:hover { background: var(--gold-400); color: var(--navy-900); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 14px; position: relative; background: rgba(0, 0, 0, .18); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.f-bottom-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.f-bottom-links a { color: #a9b6d0; display: inline-flex; align-items: center; gap: 7px; }
.f-bottom-links a i { font-size: 12px; color: var(--blue-400); }
.f-bottom-links a:hover { color: #fff; }
@media (max-width: 1080px) { .f-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
    .f-tiles { grid-template-columns: 1fr; margin-top: 40px; gap: 10px; }
    .f-tile-go { opacity: 1; transform: none; }
    .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 16px; padding-top: 48px; }
    .footer-brand, .footer-top > div:last-child { grid-column: 1 / -1; }
    .f-links a { font-size: 14px; gap: 10px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .f-bottom-links { justify-content: center; }
}

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 16px; border: 0; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); transition: .3s var(--ease); pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold-500); color: var(--navy-900); }

/* ==========================================================================
   Motion
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .ticker-move { animation: none; padding-left: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1560px) {
    .uni-badge { display: none; }
    .nav-link { padding: 10px 10px; font-size: 14px; }
}
@media (max-width: 1400px) {
    .brand-text span { display: none; }
    .header-inner { gap: 18px; }
}
@media (max-width: 1240px) {
    .nav, .uni-badge { display: none; }
    .menu-toggle { display: grid; }
    .header-actions { margin-left: auto; }
}
@media (max-width: 1080px) {
    .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-grid { padding: 64px 0 120px; }
    .hero-frame { transform: none; max-width: 640px; }
    .float-card.fc-1 { left: 12px; }
    .float-card.fc-2 { right: 12px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .leaders { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .layout-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .message-grid { grid-template-columns: 1fr; }
    .message-photo { position: static; max-width: 380px; }
    .contact-split { grid-template-columns: 1fr; }
    .dept-hero-icon { display: none; }
    .cta { grid-template-columns: 1fr; padding: 40px; }
    .program-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    :root { --header-h: 70px; }
    .section { padding: 68px 0; }
    .container { padding: 0 16px; }
    .topbar .hide-sm { display: none; }
    .brand-text span { display: none; }
    .brand img { width: 48px; height: 48px; }
    .brand-text strong { font-size: 17px; }
    .quick-grid, .news-grid, .contact-cards, .seat-cards { grid-template-columns: 1fr; }
    .leaders { grid-template-columns: 1fr 1fr; gap: 14px; }
    .leader-body { padding: 16px; }
    .leader-body h3 { font-size: 15.5px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .stat strong { font-size: 28px; }
    .stat .ic { width: 46px; height: 46px; font-size: 18px; }
    .check-list { grid-template-columns: 1fr; }
    .about-media .badge { right: 12px; bottom: -22px; padding: 16px 18px; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .bento-item:nth-child(n) { grid-column: auto; grid-row: auto; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
    .form { grid-template-columns: 1fr; padding: 20px; }
    .contact-card { grid-template-columns: 96px 1fr; padding: 18px; gap: 16px; }
    .page-hero { padding: 48px 0 60px; }
    .page-body { padding: 48px 0 72px; }
    .cta { padding: 30px 24px; }
    .filter-bar { position: static; }
    .filter-bar select { min-width: 0; flex: 1 1 100%; }
    .result-count { margin-left: 0; }
    .post-cover { margin-top: -120px; }
    .page-hero.post-hero { padding-bottom: 150px; }
    .dept-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dept-card { padding: 18px; }
    .dept-card h3 { font-size: 15.5px; }
    .faculty-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .tabs { border-radius: var(--r-md); }
    .tab { padding: 10px 14px; font-size: 13.5px; }
    .hero-trust { gap: 14px; }
    .float-card { padding: 10px 14px; }
    .float-card strong { font-size: 17px; }
    .float-card .ic { width: 38px; height: 38px; font-size: 16px; }
    .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; }
}

/* Refinements */
figure { margin: 0; }
.dir-group .faculty-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dir-group .faculty-photo { aspect-ratio: 1 / 1; }
.dropdown.mega { max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; }
.topbar-list li { white-space: nowrap; }
@media (max-width: 760px) {
    .topbar { font-size: 12.5px; }
    .topbar .container { min-height: 38px; }
    .topbar-list { gap: 12px; }
    .topbar .pill { padding: 3px 10px; }
}
@media (max-width: 420px) {
    .topbar .container { justify-content: center; }
    .topbar-list:first-child { display: none; }
}

/* ==========================================================================
   Inner pages v2 – paper card, sidebar, rich content
   ========================================================================== */
.page-shell-wrap { padding-top: 0; background: linear-gradient(180deg, #fff 0, var(--surface) 420px); }
.page-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; }
.paper {
    position: relative; z-index: 2; margin-top: -54px; background: #fff; border-radius: 28px;
    border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(11, 37, 84, .45); padding: 52px 56px;
}
.page-shell .sidebar { margin-top: -54px; z-index: 2; position: sticky; top: calc(var(--header-h) + 20px); }
.paper.empty-state { max-width: 720px; margin-left: auto; margin-right: auto; border-style: solid; }

/* Prose refinements */
.paper.prose { font-size: 16.5px; }
.prose h2 { font-size: 27px; padding-left: 18px; position: relative; scroll-margin-top: 110px; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 5px; background: linear-gradient(180deg, var(--blue-500), var(--teal-500)); }
.prose h3 { font-size: 21px; scroll-margin-top: 110px; display: flex; align-items: center; gap: 10px; }
.prose h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--gold-500); transform: rotate(45deg); flex-shrink: 0; }
.prose h2 strong, .prose h3 strong, .prose h4 strong { font-weight: inherit; color: inherit; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul:not(.toc-list) { list-style: none; padding-left: 0; }
.prose ul:not(.toc-list) > li { position: relative; padding-left: 32px; }
.prose ul:not(.toc-list) > li::before {
    content: "\f00c"; font: var(--fa-font-solid); font-size: 10px; position: absolute; left: 0; top: .42em;
    width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-500);
}
.prose img { max-height: 560px; width: auto; margin-left: auto; margin-right: auto; }

/* Fact lists */
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 1.2em 0 2em; }
.kv > div { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: .25s; }
.kv > div:hover { border-color: var(--blue-100); background: var(--blue-50); }
.kv dt { font: 700 11.5px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.5; word-break: break-word; }

/* Profile cards */
.profile-card { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, var(--blue-50), #fff 55%); border: 1px solid var(--line); margin: 0 0 28px; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top; border-radius: 18px; margin: 0; box-shadow: var(--shadow-md); max-height: none; }
.profile-role { display: inline-block; font: 700 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #9a6100; background: var(--gold-100); padding: 6px 12px; border-radius: 99px; margin-bottom: 10px; }
.profile-body h3 { font-size: 24px; margin: 0 0 6px; }
.profile-body h3::before { display: none; }
.profile-body .kv { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 0; }

/* Accordion */
.acc { border: 1px solid var(--line); border-radius: 18px; margin: 0 0 12px; background: #fff; transition: box-shadow .3s, border-color .3s; overflow: hidden; }
.acc[open] { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px; font: 700 17px var(--font-display); color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "\2b"; font: var(--fa-font-solid); margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--blue-600); font-size: 13px; transition: transform .3s var(--ease), background .3s; flex-shrink: 0; }
.acc[open] summary::after { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.acc summary:hover { background: var(--surface); }
.acc-num { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--teal-500)); }
.acc-body { padding: 0 22px 20px 76px; color: var(--ink-2); }
.acc-body > *:last-child { margin-bottom: 0; }

/* Captioned gallery */
.gallery-grid.captioned .gallery-item { aspect-ratio: auto; background: #fff; border: 1px solid var(--line); }
.gallery-grid.captioned .gallery-item img { aspect-ratio: 4 / 3; height: auto; }
.gallery-grid.captioned .gallery-item::after { display: none; }
.gallery-item .cap { display: block; padding: 10px 14px; font: 600 14px var(--font-display); color: var(--ink); }

/* Sidebar v2 */
.page-shell .side-card { border-radius: 22px; padding: 24px; box-shadow: 0 20px 50px -38px rgba(11, 37, 84, .5); }
.side-card h4 { font-size: 15.5px; }
.side-card h4 i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); font-size: 13px; }
.toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc-list a { display: block; padding: 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); font-size: 14px; line-height: 1.4; transition: .2s; }
.toc-list a:hover { color: var(--blue-600); border-left-color: var(--blue-500); background: var(--blue-50); }
.toc-list .lvl-3 a { padding-left: 26px; font-size: 13.5px; color: var(--muted); }
.side-links a span { flex: 1; }
.side-links a .fa-file-pdf { color: var(--rose-500); }
.side-cta { position: relative; overflow: hidden; }
.side-cta::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 181, 165, .45), transparent 70%); }
.side-cta > * { position: relative; z-index: 1; }
.side-cta-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--gold-400); font-size: 20px; margin-bottom: 14px; }
.side-cta p { font-size: 14.5px; margin-bottom: 16px; }
.side-phone { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; }

/* Explore strip */
.explore { padding: 80px 0 96px; background: var(--surface); border-top: 1px solid var(--line); }
.explore-head { text-align: center; margin-bottom: 40px; }
.explore-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.explore-head .hl { background: linear-gradient(120deg, var(--blue-600), var(--teal-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.explore-card { --tone: var(--blue-600); --tone-bg: var(--blue-50); display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: .35s var(--ease); position: relative; overflow: hidden; }
.explore-card.tone-teal { --tone: var(--teal-500); --tone-bg: var(--teal-100); }
.explore-card.tone-gold { --tone: var(--gold-500); --tone-bg: var(--gold-100); }
.explore-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--tone-bg); transition: transform .5s var(--ease); z-index: 0; }
.explore-card > * { position: relative; z-index: 1; }
.explore-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.explore-card:hover::after { transform: scale(1.6); }
.ex-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--tone); margin-bottom: 6px; box-shadow: 0 12px 24px -12px var(--tone); }
.explore-card h3 { font-size: 20px; margin: 0; }
.explore-card p { margin: 0; font-size: 15px; color: var(--muted); }
.explore-card .link-arrow { margin-top: 8px; color: var(--tone); }

/* About page */
.about-page { padding-top: 90px; }
.about-intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-collage { position: relative; padding: 0 40px 60px 0; }
.about-collage figure { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-collage img { width: 100%; height: 100%; object-fit: cover; }
.ac-main { aspect-ratio: 4 / 3.4; }
.ac-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 8px solid #fff; }
.ac-badge { position: absolute; left: -20px; bottom: 30px; background: var(--gold-500); color: var(--navy-900); border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; line-height: 1.1; }
.ac-badge strong { display: block; font: 800 34px var(--font-display); }
.ac-badge span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.about-p { font-size: 16.5px; color: var(--ink-2); line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; }
.about-stats > div { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 6px; }
.about-stats i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-size: 19px; margin-bottom: 8px; }
.about-stats > div:nth-child(2) i { background: var(--teal-100); color: var(--teal-500); }
.about-stats > div:nth-child(3) i { background: var(--gold-100); color: var(--gold-500); }
.about-stats > div:nth-child(4) i { background: #fde7ea; color: var(--rose-500); }
.about-stats strong { font: 800 36px/1 var(--font-display); color: var(--ink); letter-spacing: -.03em; }
.about-stats span { color: var(--muted); font-size: 14px; font-weight: 500; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.vm-card { position: relative; overflow: hidden; border-radius: 28px; padding: 40px; color: #d5def0; isolation: isolate; }
.vm-card.vision { background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); }
.vm-card.mission { background: linear-gradient(135deg, #0b6d64, var(--teal-500)); color: #e2faf6; }
.vm-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .08); z-index: -1; }
.vm-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; margin-bottom: 18px; }
.vm-label { display: block; font: 800 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 10px; }
.vm-card.mission .vm-label { color: #fff; }
.vm-card p { font: 600 20px/1.55 var(--font-display); color: #fff; margin: 0; letter-spacing: -.01em; }
.msg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.msg-card { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: .35s var(--ease); }
.msg-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.msg-photo { border-radius: 18px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 4.8; }
.msg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.msg-body { display: flex; flex-direction: column; gap: 10px; }
.msg-q { color: var(--blue-100); font-size: 30px; }
.msg-body p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.msg-who strong { display: block; font: 800 17px var(--font-display); color: var(--ink); }
.msg-who span { font-size: 12.5px; font-weight: 700; color: var(--gold-500); text-transform: uppercase; letter-spacing: .08em; }
.msg-body .link-arrow { margin-top: auto; font-size: 14px; }

@media (max-width: 1080px) {
    .page-shell { grid-template-columns: 1fr; }
    .page-shell .sidebar { margin-top: 0; position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .ph-grid { grid-template-columns: 1fr; }
    .ph-art { display: none; }
    .about-intro, .vm-grid, .msg-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .explore-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .page-hero { padding: 36px 0 90px; }
    .page-hero h1 { font-size: 32px; }
    .ph-lead { font-size: 16px; }
    .crumbs { font-size: 12.5px; padding: 7px 14px; }
    .paper { padding: 26px 20px; border-radius: 22px; margin-top: -48px; }
    .profile-card { grid-template-columns: 1fr; padding: 18px; }
    .profile-photo img { max-width: 240px; }
    .acc summary { padding: 14px 16px; font-size: 15.5px; gap: 12px; }
    .acc-num { width: 32px; height: 32px; }
    .acc-body { padding: 0 16px 16px; }
    .explore-grid { grid-template-columns: 1fr; }
    .about-page { padding-top: 56px; }
    .about-collage { padding: 0 20px 44px 0; }
    .ac-badge { left: -6px; padding: 12px 16px; }
    .ac-badge strong { font-size: 26px; }
    .about-stats { gap: 10px; margin-top: 48px; }
    .about-stats > div { padding: 18px; }
    .about-stats strong { font-size: 28px; }
    .vm-card { padding: 28px; }
    .vm-card p { font-size: 17px; }
    .msg-card { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; }
}


/* Mobile fixes: grid children must be allowed to shrink below their content width */
.paper, .page-shell > *, .ph-main, .layout-sidebar > * { min-width: 0; }
@media (max-width: 1080px) {
    .page-shell { grid-template-columns: minmax(0, 1fr); }
    .ph-grid { grid-template-columns: minmax(0, 1fr); }
    .layout-sidebar { grid-template-columns: minmax(0, 1fr); }
}
.big-search { max-width: 100%; }
.big-search input { width: 100%; }
@media (max-width: 480px) {
    .big-search { padding: 6px 6px 6px 16px; }
    .big-search .btn { padding: 10px 14px; }
    .page-hero h1 { overflow-wrap: anywhere; }
}
@media (max-width: 1080px) { .hero .hero-grid { padding-top: 48px; padding-bottom: 120px; } }
@media (max-width: 760px)  { .hero .hero-grid { padding-top: 36px; padding-bottom: 110px; } }

/* Tables → stacked cards on phones (labels added by site.js) */
@media (max-width: 640px) {
    .table-wrap.stack { border: 0; box-shadow: none; background: none; overflow: visible; }
    .table-wrap.stack table { min-width: 0; }
    .table-wrap.stack thead, .table-wrap.stack tr.head-row { display: none; }
    .table-wrap.stack table, .table-wrap.stack tbody, .table-wrap.stack tr, .table-wrap.stack td, .table-wrap.stack th { display: block; width: 100%; }
    .table-wrap.stack tr { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
    .table-wrap.stack tbody tr:nth-child(even) td, .table-wrap.stack tr:hover td { background: none; }
    .table-wrap.stack td, .table-wrap.stack th { border: 0; border-bottom: 1px dashed var(--line); padding: 10px 0; display: grid; grid-template-columns: 38% 1fr; gap: 12px; text-align: left; }
    .table-wrap.stack td:last-child, .table-wrap.stack th:last-child { border-bottom: 0; }
    .table-wrap.stack td::before, .table-wrap.stack th::before { content: attr(data-label); font: 700 11px var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
    .table-wrap.stack td[data-label=""]::before { content: none; }
    .table-wrap.stack td[data-label=""] { grid-template-columns: 1fr; }
    .table-wrap.stack img { max-width: 120px; margin: 0; }
}
@media (max-width: 760px) {
    .filter-bar > label { flex: 1 1 100%; min-width: 0; }
    .filter-bar select { width: 100%; min-width: 0; }
}
@media (max-width: 640px) {
    .table-wrap.stack td, .table-wrap.stack th { grid-template-columns: 38% minmax(0, 1fr); overflow-wrap: anywhere; word-break: break-word; }
}
.prose td, .prose dd, .prose p, .prose li { overflow-wrap: anywhere; }

/* ==========================================================================
   Cascading fly-out menu (matches the original site: brick-red panels,
   white uppercase text, sub-menus opening to the side)
   ========================================================================== */
:root { --fly-bg: #a94b43; --fly-bg-hover: #8f3b34; --fly-line: rgba(0, 0, 0, .08); }
.fly { list-style: none; margin: 0; padding: 0; }
.dropdown.fly {
    min-width: 270px; width: max-content; max-width: 320px; padding: 0; left: 0; top: calc(100% + 8px);
    transform: translateY(8px); background: var(--fly-bg); border: 0; border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 40px -16px rgba(60, 12, 8, .55); overflow: visible;
    border-top: 3px solid var(--gold-500);
}
.nav-item.is-open > .dropdown.fly { transform: none; }
.nav-item:nth-last-child(-n+3) > .dropdown.fly { left: auto; right: 0; }
.fly-item { position: relative; }
.fly-link {
    display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: #fff; cursor: pointer;
    font: 500 13.5px/1.35 var(--font-body); text-transform: uppercase; letter-spacing: .02em;
    border-bottom: 1px solid var(--fly-line); transition: background .18s, padding-left .18s;
}
.fly > .fly-item:last-child > .fly-link { border-bottom: 0; }
.fly-link:hover, .fly-item:focus-within > .fly-link, .fly-item.is-hover > .fly-link { background: var(--fly-bg-hover); color: #fff; padding-left: 24px; }
.fly-text { flex: 1; }
.fly-arrow { font-size: 13px; opacity: .85; }
.fly-pdf { font-size: 12px; opacity: .7; }

/* Sub-levels */
.fly-sub {
    position: absolute; top: 0; left: 100%; min-width: 250px; width: max-content; max-width: 320px;
    background: var(--fly-bg); box-shadow: 12px 14px 34px -14px rgba(60, 12, 8, .6); border-radius: 0 8px 8px 0;
    opacity: 0; visibility: hidden; transform: translateX(8px); pointer-events: none;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
    z-index: 2;
}
.fly-sub .fly-sub { background: #9a433c; }
.fly-item.flip > .fly-sub { left: auto; right: 100%; border-radius: 8px 0 0 8px; transform: translateX(-8px); }
.fly-item:hover > .fly-sub, .fly-item:focus-within > .fly-sub, .fly-item.is-hover > .fly-sub {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s;
}
/* keep the parent dropdown's hover bridge */
.dropdown.fly::before { top: -14px; height: 14px; }
.fly-sub::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }
.fly-item.flip > .fly-sub::before { left: auto; right: -8px; }
/* Phone: tables without a real header row → numbered cards (no misleading labels) */
@media (max-width: 640px) {
    .table-wrap.stack-plain tr.head-row { display: block; }
    .table-wrap.stack-plain td, .table-wrap.stack-plain th { display: block; border: 0; padding: 3px 0; background: none !important; color: var(--ink-2); font: inherit; }
    .table-wrap.stack-plain td::before, .table-wrap.stack-plain th::before { content: none !important; }
    .table-wrap.stack-plain tr > :first-child:not(:only-child) { display: inline-block; font: 800 11px var(--font-display); color: var(--blue-600); background: var(--blue-50); padding: 3px 9px; border-radius: 99px; margin-bottom: 6px; }
    .table-wrap.stack-plain tr > :nth-child(2):not(:last-child) { font: 700 11.5px var(--font-display); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
    .table-wrap.stack-plain tr > :last-child { color: var(--ink); font-weight: 600; }
}
@media (max-width: 640px) {
    .table-wrap.stack-plain tr > :first-child:not(:only-child) { background: var(--blue-50) !important; }
    .table-wrap.stack-plain tr.head-row { background: var(--navy-900); border-color: var(--navy-900); }
    .table-wrap.stack-plain tr.head-row > * { color: #fff !important; }
    .table-wrap.stack-plain tr.head-row > :nth-child(2):not(:last-child) { color: #9fb0cf !important; }
    .table-wrap.stack-plain tr.head-row > :first-child:not(:only-child) { background: rgba(255,255,255,.12) !important; color: var(--gold-400) !important; }
}
/* Closed fly-outs must not take up layout space (they widened the page to the right) */
.fly-sub { display: none; }
.fly-item:hover > .fly-sub, .fly-item:focus-within > .fly-sub, .fly-item.is-hover > .fly-sub { display: block; animation: flyIn .18s var(--ease); }
@keyframes flyIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.fly-item.flip > .fly-sub { animation-name: flyInLeft; }
@keyframes flyInLeft { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.nav-item:not(.is-open) > .dropdown.fly { display: none; }
.nav-item.is-open > .dropdown.fly { display: block; animation: flyDown .22s var(--ease); }
@keyframes flyDown { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .table-wrap.stack-plain tr > :first-child:not(:only-child) { width: auto !important; }
}
