/* ==========================================================================
   Grand Bassa University – public site
   Palette refined from the university seal: royal navy, star gold, candle red
   ========================================================================== */
:root {
  --navy-950: #070e3a;
  --navy-900: #0b1650;
  --navy-800: #111f6b;
  --navy-700: #182a8c;
  --navy-600: #2439a8;
  --navy-100: #e6eaf8;
  --navy-50:  #f3f5fc;
  --gold:     #e3a823;
  --gold-600: #c88d0e;
  --gold-100: #fbf0d3;
  --candle:   #c62032;
  --candle-100: #fbe3e6;
  --green:    #1f8a5b;
  --ink:      #171b33;
  --body:     #3e4560;
  --muted:    #6c7390;
  --line:     #e3e6f0;
  --white:    #ffffff;
  --radius:   14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 80, .06), 0 2px 8px rgba(11, 22, 80, .05);
  --shadow:    0 10px 30px -10px rgba(11, 22, 80, .22);
  --shadow-lg: 0 24px 60px -20px rgba(11, 22, 80, .35);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--candle); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--navy-950); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.narrow-wide { max-width: 1000px; }
.center { text-align: center; }
.narrow.center, .lead-text.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
mark { background: var(--gold-100); color: var(--ink); padding: 0 2px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; transition: all .22s ease; white-space: nowrap;
}
.btn-lg { padding: .95em 1.7em; font-size: 1rem; }
.btn-sm { padding: .5em 1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover { background: var(--navy-900); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: #f0b734; color: var(--navy-950); transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(227, 168, 35, .6); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); }
.btn-ghost-dark { border-color: var(--navy-100); color: var(--navy-800); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--navy-700); color: var(--navy-700); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow.back:hover i { transform: translateX(-4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-info, .topbar-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); margin-right: 4px; }
.topbar .portal { background: var(--gold); color: var(--navy-950); padding: 5px 14px; border-radius: 999px; font-weight: 600; }
.topbar .portal i { color: var(--navy-950); }
.topbar .portal:hover { background: #fff; color: var(--navy-950); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(11, 22, 80, .25); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--navy-900); }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.22rem; color: var(--navy-900); font-weight: 700; letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--candle); font-weight: 600; margin-top: 3px; }
.brand:hover { color: var(--navy-900); }

.main-nav { margin-left: auto; }
.main-nav .nav-head, .main-nav .nav-foot { display: none; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu .nav-link {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none;
  font-weight: 600; font-size: .9rem; color: var(--ink); border-radius: 8px; white-space: nowrap;
}
.menu .nav-link i { font-size: .62rem; opacity: .6; transition: transform .2s; }
.menu > li:hover > .nav-link, .menu > li:focus-within > .nav-link { color: var(--navy-700); background: var(--navy-50); }
.menu > li:hover > .nav-link i { transform: rotate(180deg); }
.menu .sub {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease; z-index: 50;
}
.menu .sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.menu .sub-wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu > li:hover > .sub, .menu > li:focus-within > .sub, .menu > li.open > .sub { opacity: 1; visibility: visible; transform: none; }
.menu > li:nth-last-child(-n+3) > .sub { left: auto; right: 0; }
.menu .sub .nav-link { font-weight: 500; font-size: .88rem; padding: 9px 12px; white-space: normal; color: var(--body); border-left: 3px solid transparent; border-radius: 6px; }
.menu .sub .nav-link:hover { background: var(--navy-50); color: var(--navy-700); border-left-color: var(--gold); }
.menu .sub .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-800); display: grid; place-items: center; transition: all .2s; }
.icon-btn:hover { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 16px 0; }
.search-panel form { display: flex; align-items: center; gap: 12px; }
.search-panel i { color: var(--muted); }
.search-panel input { flex: 1; border: 0; font-size: 1.1rem; padding: 10px 0; outline: none; background: transparent; }

/* ---------- Ticker ---------- */
.ticker { background: linear-gradient(90deg, var(--candle) 0, #a3172a 100%); color: #fff; font-size: .88rem; }
.ticker-inner { display: flex; align-items: center; gap: 16px; height: 44px; overflow: hidden; }
.ticker-label { flex-shrink: 0; background: var(--gold); color: var(--navy-950); font-weight: 700; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; font-size: .74rem; letter-spacing: .06em; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 48px; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: #fff; font-weight: 500; }
.ticker-move a::before { content: "★"; color: var(--gold); margin-right: 10px; }
.ticker-move a:hover { text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 500; border: 1px solid; }
.alert-success { background: #e8f6ef; border-color: #b6e2cb; color: #135c3c; }
.alert-danger, .alert-error { background: var(--candle-100); border-color: #f3b9c0; color: #8a1220; }
.alert-warning { background: var(--gold-100); border-color: #f0d68f; color: #7a5600; }
.alert-info { background: var(--navy-50); border-color: var(--navy-100); color: var(--navy-800); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(86vh, 760px); min-height: 520px; background: var(--navy-950); overflow: hidden; color: #fff; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.1s ease; display: flex; align-items: center; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover no-repeat; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 14, 58, .93) 0%, rgba(11, 22, 80, .78) 42%, rgba(11, 22, 80, .25) 100%); }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide.active::before { transform: scale(1); }
.hero-content { position: relative; z-index: 2; max-width: var(--container); padding-bottom: 60px; }
.hero-content > * { max-width: 680px; opacity: 0; transform: translateY(24px); transition: all .8s ease .3s; }
.hero-slide.active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.active .hero-content > :nth-child(2) { transition-delay: .45s; }
.hero-slide.active .hero-content > :nth-child(3) { transition-delay: .6s; }
.hero-slide.active .hero-content > :nth-child(4) { transition-delay: .75s; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; }
.hero .kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h2 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; margin: .25em 0 .35em; }
.hero .lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .85); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 92px; display: flex; align-items: center; gap: 16px; }
.hero-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; transition: all .2s; }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .4); padding: 0; transition: all .3s; }
.hero-dots button.active { width: 34px; background: var(--gold); }

/* ---------- Quick links ---------- */
.quick-links { position: relative; z-index: 5; margin-top: -64px; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; padding: 0; }
.quick-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 26px 12px; color: var(--ink); font-weight: 600; font-size: .9rem; border-right: 1px solid var(--line); position: relative; transition: all .25s; }
.quick-card:last-child { border-right: 0; }
.quick-card i { font-size: 1.55rem; color: var(--navy-700); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-50); transition: all .25s; }
.quick-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.quick-card:hover { color: var(--navy-700); background: var(--navy-50); }
.quick-card:hover i { background: var(--navy-700); color: var(--gold); transform: translateY(-3px); }
.quick-card:hover::after { transform: scaleX(1); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.bg-soft { background: var(--navy-50); }
.bg-navy { background: var(--navy-900); color: rgba(255, 255, 255, .82); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--candle); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.eyebrow.light { color: var(--gold); }
.title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 700; color: var(--navy-900); }
.title.sm { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 1.4em; }
.title .count, .group-title .count { font-family: var(--font-body); font-size: .8rem; background: var(--navy-100); color: var(--navy-800); padding: 2px 10px; border-radius: 999px; vertical-align: middle; font-weight: 600; }
.bg-navy .title, .section-head.light .title { color: #fff; }
.lead-text { font-size: 1.08rem; color: var(--body); max-width: 760px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .title { margin-bottom: 0; }
.section-head.light .link-arrow { color: var(--gold); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

/* ---------- Welcome ---------- */
.welcome-media { position: relative; padding: 0 60px 60px 0; }
.wm-main { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.wm-small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.wm-badge { position: absolute; left: -18px; top: 28px; background: var(--candle); color: #fff; padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.1; }
.wm-badge strong { font-family: var(--font-head); font-size: 2rem; }
.wm-badge span { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.why { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--gold-100); border-left: 4px solid var(--gold); margin: 24px 0; }
.why i { font-size: 1.6rem; color: var(--candle); margin-top: 4px; }
.why h3 { font-size: 1.1rem; margin-bottom: .3em; }
.why p { margin: 0; font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 16px 8px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--navy-700); line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ---------- Colleges ---------- */
.college-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.college-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: all .3s; color: var(--body); border: 1px solid var(--line); }
.college-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--body); }
.cc-img { aspect-ratio: 16/9; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.college-card:hover .cc-img img { transform: scale(1.07); }
.cc-body { padding: 0 20px 20px; position: relative; flex: 1; display: flex; flex-direction: column; }
.cc-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-700); color: var(--gold); display: grid; place-items: center; font-size: 1.3rem; margin-top: -26px; margin-bottom: 14px; box-shadow: var(--shadow); position: relative; }
.cc-body h3 { font-size: 1.08rem; margin-bottom: .35em; }
.cc-body p { font-size: .88rem; color: var(--muted); flex: 1; }
.cc-more { font-size: .85rem; font-weight: 600; color: var(--navy-700); }
.college-card:hover .cc-more { color: var(--candle); }

/* ---------- Leader ---------- */
.leader { background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); color: rgba(255, 255, 255, .85); position: relative; overflow: hidden; }
.leader::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(227, 168, 35, .07); }
.leader-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.leader-photo img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), var(--shadow-lg); }
.leader .quote { font-size: 2.4rem; color: var(--gold); opacity: .8; }
.leader-msg { font-family: var(--font-head); font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.55; color: #fff; margin: 14px 0 24px; font-weight: 500; }
.leader-sign strong { display: block; color: var(--gold); font-size: 1.1rem; }
.leader-sign span { font-size: .9rem; }

/* ---------- News ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.news-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.news-lead { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; }
.news-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7, 14, 58, .92)); }
.news-lead > div { position: relative; z-index: 1; padding: 26px; }
.news-lead h3 { color: #fff; font-size: 1.4rem; }
.news-lead p { color: rgba(255, 255, 255, .8); font-size: .92rem; margin: 0; }
.news-lead:hover img { transform: scale(1.05); }
.news-lead .date { color: var(--gold); }
.date { font-size: .8rem; font-weight: 600; color: var(--candle); display: inline-flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.news-mini { display: flex; flex-direction: column; gap: 14px; }
.mini { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: all .2s; }
.mini:hover { box-shadow: var(--shadow); border-color: transparent; }
.mini img { width: 110px; height: 84px; object-fit: cover; border-radius: 8px; }
.mini h4 { font-size: .98rem; margin: 0; color: var(--ink); }
.mini:hover h4 { color: var(--navy-700); }

.notice-board { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 8px; align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
.nb-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 10px; }
.nb-head h3 { margin: 0; font-size: 1.15rem; display: flex; gap: 10px; align-items: center; }
.nb-head h3 i { color: var(--candle); }
.nb-head a { font-size: .85rem; font-weight: 600; }
.nb-item { display: block; padding: 14px; border-radius: 10px; border-top: 1px solid var(--line); color: var(--ink); }
.nb-item:hover { background: var(--navy-50); color: var(--ink); }
.nb-item strong { display: block; font-size: .95rem; line-height: 1.35; margin: 6px 0 2px; }
.nb-item small { color: var(--muted); }
.nb-jobs { display: flex; align-items: center; gap: 14px; margin: 6px; padding: 16px; border-radius: 12px; background: var(--navy-800); color: #fff; }
.nb-jobs > i:first-child { font-size: 1.4rem; color: var(--gold); }
.nb-jobs span { flex: 1; display: flex; flex-direction: column; font-size: .82rem; color: rgba(255, 255, 255, .75); }
.nb-jobs strong { color: #fff; font-size: 1rem; }
.nb-jobs:hover { background: var(--navy-950); color: #fff; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--navy-100); color: var(--navy-800); }
.badge.pri-urgent { background: var(--candle); color: #fff; }
.badge.pri-important { background: var(--gold); color: var(--navy-950); }
.badge.phase-ongoing { background: #e3f1ff; color: #0b5cad; }
.badge.phase-completed, .badge.phase-published { background: #e5f6ee; color: var(--green); }
.badge.phase-proposed { background: var(--gold-100); color: #7a5600; }

/* ---------- Events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); transition: all .25s; }
.event-card:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-4px); }
.event-card h3 { color: #fff; font-size: 1.1rem; }
.event-card p { font-size: .85rem; margin: 0; }
.ev-date { flex-shrink: 0; width: 72px; height: 76px; border-radius: 12px; background: var(--gold); color: var(--navy-950); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.ev-date strong { font-family: var(--font-head); font-size: 1.9rem; }
.ev-date span { font-size: .7rem; font-weight: 700; text-transform: uppercase; margin-top: 4px; }

.event-list { display: flex; flex-direction: column; gap: 16px; }
.event-row { display: grid; grid-template-columns: 76px 170px 1fr; gap: 20px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--body); transition: all .25s; }
.event-row:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.event-row img { width: 170px; height: 118px; object-fit: cover; border-radius: 10px; }
.event-row h3 { font-size: 1.15rem; margin-bottom: .25em; }
.er-meta { font-size: .85rem; color: var(--candle); font-weight: 500; margin-bottom: .4em; }
.event-row p:last-child { margin: 0; font-size: .92rem; }

/* ---------- Research / publications ---------- */
.stack { display: flex; flex-direction: column; gap: 14px; }
.research-row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--body); transition: all .25s; }
.research-row:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.research-row img { width: 130px; height: 100%; min-height: 100px; object-fit: cover; border-radius: 10px; }
.research-row h3 { font-size: 1.02rem; margin: 6px 0 4px; }
.research-row p { font-size: .87rem; margin: 0; color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-700); background: var(--navy-100); padding: 3px 10px; border-radius: 999px; }
.pub-list { display: flex; flex-direction: column; gap: 4px; }
.pub-item { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius-sm); border-bottom: 1px dashed var(--line); color: var(--body); }
.pub-item:hover { background: var(--navy-50); color: var(--body); }
.pub-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; font-size: 1.1rem; }
.pub-item h3 { font-size: 1rem; margin-bottom: 2px; }
.pub-item p { font-size: .84rem; margin: 0; color: var(--muted); }

.research-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.mini-stats { display: grid; gap: 14px; }
.mini-stats div { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--navy-50); }
.mini-stats strong { font-family: var(--font-head); font-size: 2.1rem; color: var(--navy-700); min-width: 60px; }
.mini-stats span { font-weight: 600; color: var(--ink); }

.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pub-card { display: grid; grid-template-columns: 120px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--body); transition: all .25s; }
.pub-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--body); }
.pub-cover { background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); color: var(--gold); display: grid; place-items: center; position: relative; font-size: 2rem; min-height: 180px; }
.pub-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pub-cover span { position: absolute; bottom: 8px; left: 8px; right: 8px; font-size: .65rem; text-transform: uppercase; font-weight: 700; background: rgba(7, 14, 58, .85); color: #fff; padding: 4px 6px; border-radius: 4px; text-align: center; }
.pub-body { padding: 16px; }
.pub-body h3 { font-size: 1rem; }
.pub-body .by { font-size: .84rem; color: var(--navy-700); font-weight: 600; margin-bottom: 2px; }
.pub-body .pm { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.pub-body p:last-child { font-size: .85rem; margin: 0; }
.cite-box { background: var(--navy-50); border-left: 4px solid var(--navy-700); padding: 18px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 20px; }
.cite-box p { font-size: .95rem; }
.keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.side-cover { border-radius: var(--radius); margin-bottom: 18px; box-shadow: var(--shadow); }

/* ---------- Gallery ---------- */
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery-mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic a:nth-child(6) { grid-column: span 2; }
.gallery-mosaic a, .masonry a { position: relative; overflow: hidden; border-radius: var(--radius-sm); display: block; background: var(--navy-100); }
.gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-mosaic span, .masonry span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(7, 14, 58, .9)); color: #fff; font-size: .82rem; font-weight: 500; opacity: 0; transform: translateY(10px); transition: all .3s; }
.gallery-mosaic a:hover img, .masonry a:hover img { transform: scale(1.06); }
.gallery-mosaic a:hover span, .masonry a:hover span { opacity: 1; transform: none; }
.masonry { columns: 3 280px; column-gap: 14px; margin-bottom: 30px; }
.masonry a { margin-bottom: 14px; break-inside: avoid; }
.masonry img { width: 100%; transition: transform .6s; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.album { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; display: block; color: #fff; box-shadow: var(--shadow-sm); }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 14, 58, .92)); }
.album-info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px; }
.album-info span { font-size: .8rem; color: var(--gold); font-weight: 600; }
.album-info h3 { color: #fff; margin: 4px 0 0; font-size: 1.25rem; }
.album:hover img { transform: scale(1.06); }
.album:hover { color: #fff; }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 9, 35, .96); display: flex; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 140px); max-width: 100%; border-radius: 8px; }
.lightbox figcaption { color: #fff; margin-top: 14px; text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.2rem; }
.lightbox button:hover { background: var(--gold); color: var(--navy-950); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(110deg, var(--navy-800) 0%, var(--navy-700) 60%, var(--candle) 140%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before { content: "★"; position: absolute; right: 4%; top: -40px; font-size: 220px; color: rgba(227, 168, 35, .1); line-height: 1; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-inner p { color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 70px 0 64px; color: #fff; background: var(--navy-900); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero) center/cover no-repeat; opacity: .28; filter: saturate(.8); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 14, 58, .96) 30%, rgba(17, 31, 107, .7)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; margin: 0; max-width: 900px; }
.page-hero .kicker { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0 0 8px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .82rem; margin-bottom: 22px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--gold); }
.crumbs i.fa-chevron-right { font-size: .6rem; opacity: .6; }
.page-hero + .section, .sub-tabs + .section { padding-top: 60px; }

.sub-tabs { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 40; }
.sub-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sub-tabs a { padding: 16px 16px; font-weight: 600; font-size: .9rem; color: var(--body); border-bottom: 3px solid transparent; white-space: nowrap; }
.sub-tabs a:hover { color: var(--navy-700); border-bottom-color: var(--gold); }

/* ---------- Content layout ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.content-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.subtitle { font-size: 1.2rem; font-family: var(--font-head); color: var(--navy-800); line-height: 1.5; font-weight: 500; }
.content-img { width: 100%; border-radius: var(--radius); margin: 0 0 26px; max-height: 520px; object-fit: cover; box-shadow: var(--shadow); }
.prose { font-size: 1.03rem; color: var(--body); overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.5em; color: var(--navy-900); }
.prose h3 { font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--gold-600); }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--gold); background: var(--gold-100); border-radius: 0 10px 10px 0; font-family: var(--font-head); font-size: 1.1rem; }
.prose img { border-radius: 10px; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--navy-50); color: var(--navy-900); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 10px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.side-box h4 { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem; color: var(--body); border-left: 3px solid transparent; }
.side-nav a:hover, .side-nav a.on { background: var(--navy-50); color: var(--navy-700); border-left-color: var(--gold); font-weight: 600; }
.side-contact p { display: flex; gap: 10px; font-size: .9rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.side-contact i { color: var(--candle); margin-top: 5px; }
.side-post { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.side-post img { width: 70px; height: 56px; object-fit: cover; border-radius: 8px; }
.side-post strong { display: block; font-size: .88rem; line-height: 1.35; }
.side-post small { color: var(--muted); }
.facts dl { margin: 0 0 16px; display: grid; gap: 2px; }
.facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-top: 10px; }
.facts dd { margin: 0; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.facts dd.strong { color: var(--candle); font-weight: 700; }
.profile-card { display: flex; flex-direction: column; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.profile-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: top; }
.profile-card > div { padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.profile-card strong { font-family: var(--font-head); font-size: 1.15rem; }
.profile-card span { color: var(--gold); font-size: .9rem; font-weight: 500; }
.profile-card small { color: rgba(255, 255, 255, .7); font-size: .8rem; margin-top: 6px; overflow-wrap: anywhere; }
.profile-card .eyebrow { color: var(--gold); margin-bottom: 4px; }
.profile-card:hover { color: #fff; transform: translateY(-3px); }
.meta-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.meta-row i { color: var(--candle); margin-right: 4px; }
.event-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.event-facts div { padding: 16px; border-radius: var(--radius-sm); background: var(--navy-50); display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; }
.event-facts i { grid-row: span 2; color: var(--candle); font-size: 1.2rem; margin-top: 4px; }
.event-facts span { font-size: .74rem; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.event-facts strong { color: var(--ink); font-size: .95rem; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.share a { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-50); display: grid; place-items: center; color: var(--navy-700); }
.share a:hover { background: var(--navy-700); color: #fff; }
.attach { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 2px dashed var(--navy-100); margin: 24px 0; color: var(--ink); }
.attach > i:first-child { font-size: 2rem; color: var(--candle); }
.attach span { flex: 1; display: flex; flex-direction: column; }
.attach small { color: var(--muted); }
.attach:hover { border-color: var(--navy-700); background: var(--navy-50); }
.apply-box { margin-top: 30px; padding: 24px; border-radius: var(--radius); background: var(--gold-100); border: 1px solid #f0d68f; }
.apply-box h3 { display: flex; gap: 10px; align-items: center; }
.apply-box h3 i { color: var(--candle); }
.quals { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--navy-50); margin-bottom: 20px; }
.quals i { color: var(--gold-600); font-size: 1.3rem; margin-top: 3px; }
.quals p { margin: 0; font-weight: 500; }
.profile-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: start; }
.profile-aside img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; margin-bottom: 18px; box-shadow: var(--shadow); background: var(--navy-50); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.mv { padding: 24px; border-radius: var(--radius); background: var(--navy-50); border-top: 4px solid var(--gold); }
.mv i { font-size: 1.5rem; color: var(--candle); margin-bottom: 10px; }
.mv p { margin: 0; font-size: .95rem; }
.program-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.program-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; color: var(--ink); }
.program-list i { color: var(--gold-600); margin-right: 8px; }

.dept-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; background: #fff; }
.dept-block h3 { font-size: 1.12rem; margin-bottom: .4em; color: var(--navy-900); }
.dept-block > p { font-size: .92rem; margin-bottom: .6em; }
.dept-head { color: var(--muted); }
.dept-head i { color: var(--gold-600); margin-right: 4px; }
.prog-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dept-block > .prog-row:first-child { border-top: 0; padding-top: 0; }
.prog-main { display: flex; gap: 12px; align-items: flex-start; flex: 1 1 260px; min-width: 0; }
.prog-main > i { color: var(--gold-600); margin-top: 5px; }
.prog-main a { font-weight: 600; }
.prog-main small { display: block; color: var(--muted); }

/* ---------- Generic cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; color: var(--body); transition: all .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--body); }
.card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy-50); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-tag { position: absolute; top: 12px; left: 12px; background: rgba(7, 14, 58, .85); color: #fff; font-size: .7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-tag.phase-ongoing { background: #0b5cad; } .card-tag.phase-completed, .card-tag.phase-published { background: var(--green); } .card-tag.phase-proposed { background: var(--gold); color: var(--navy-950); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.12rem; }
.card-body p { font-size: .9rem; color: var(--muted); flex: 1; }
.card-body .more { font-size: .85rem; font-weight: 600; color: var(--navy-700); }
.card:hover .more { color: var(--candle); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; align-items: center; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 500; color: var(--body); }
.chip small { color: var(--muted); }
.chip:hover { border-color: var(--navy-700); color: var(--navy-700); }
.chip.on { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; color: var(--body); }
.pager a:hover { border-color: var(--navy-700); color: var(--navy-700); }
.pager .on { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

.empty { text-align: center; padding: 50px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.empty i { font-size: 2.2rem; color: var(--navy-100); margin-bottom: 12px; }
.empty p { margin: 0; }

/* ---------- Directory ---------- */
.directory-filter { display: flex; gap: 12px; flex-wrap: wrap; padding: 16px; background: var(--navy-50); border-radius: var(--radius); margin-bottom: 16px; }
.directory-filter .field { position: relative; display: flex; align-items: center; min-width: 200px; }
.directory-filter .field.grow { flex: 1; min-width: 240px; }
.directory-filter .field i { position: absolute; left: 14px; color: var(--muted); }
.directory-filter input, .directory-filter select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.directory-filter .grow input { padding-left: 40px; }
.directory-filter .btn { height: 48px; border-radius: 10px; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.group-title { font-size: 1.35rem; margin: 40px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.group-title::before { content: ""; width: 6px; height: 22px; background: var(--gold); border-radius: 3px; }
.group-title i { color: var(--navy-700); font-size: 1rem; }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.staff-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--body); transition: all .3s; display: flex; flex-direction: column; }
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--body); }
.sc-photo { aspect-ratio: 1/1; overflow: hidden; background: linear-gradient(160deg, var(--navy-50), var(--navy-100)); }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.staff-card:hover .sc-photo img { transform: scale(1.05); }
.sc-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.sc-body h3 { font-size: 1.02rem; margin-bottom: 4px; }
.sc-body .pos { font-size: .86rem; color: var(--candle); font-weight: 600; margin-bottom: 2px; }
.sc-body .dept { font-size: .8rem; color: var(--muted); margin: 0; }
.sc-contact { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 12px; color: var(--navy-700); font-size: .85rem; }
.sc-contact .view { margin-left: auto; font-weight: 600; }

/* ---------- Notices / jobs / docs ---------- */
.notice-list, .job-list, .doc-list, .search-list { display: flex; flex-direction: column; gap: 14px; }
.notice { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); border-left: 5px solid var(--navy-100); background: #fff; color: var(--body); transition: all .25s; }
.notice:hover { box-shadow: var(--shadow); color: var(--body); }
.notice.pri-border-urgent { border-left-color: var(--candle); }
.notice.pri-border-important { border-left-color: var(--gold); }
.notice-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-50); color: var(--navy-700); display: grid; place-items: center; font-size: 1.2rem; }
.pri-border-urgent .notice-ic { background: var(--candle-100); color: var(--candle); }
.pri-border-important .notice-ic { background: var(--gold-100); color: var(--gold-600); }
.notice h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.notice p { margin: 0; font-size: .92rem; }
.notice-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: .8rem; color: var(--muted); }
.intro-box { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--navy-50); margin-bottom: 30px; }
.intro-box i { font-size: 2rem; color: var(--navy-700); }
.intro-box p { margin: 0; }
.job { display: flex; justify-content: space-between; gap: 24px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--body); transition: all .25s; }
.job:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.job h3 { font-size: 1.2rem; margin-bottom: 6px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.job-meta i { color: var(--navy-700); margin-right: 4px; }
.job-main p:last-child { margin: 0; font-size: .92rem; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; flex-shrink: 0; }
.deadline { text-align: right; font-weight: 600; color: var(--ink); font-size: .9rem; display: flex; flex-direction: column; }
.deadline small { color: var(--green); font-weight: 600; }
.deadline.soon small { color: var(--candle); }
.closed-list { list-style: none; padding: 0; }
.closed-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--muted); gap: 12px; }
.muted-title { color: var(--muted); }
.doc { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.doc > i { font-size: 2rem; color: var(--candle); }
.doc > div { flex: 1; }
.doc h3 { font-size: 1.05rem; margin-bottom: 2px; }
.doc p { margin: 0; font-size: .9rem; }
.doc small { color: var(--muted); }
.search-hit { display: block; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--body); }
.search-hit:hover { border-color: var(--navy-700); color: var(--body); }
.search-hit h3 { font-size: 1.05rem; color: var(--navy-700); margin-bottom: 4px; }
.search-hit p { font-size: .9rem; margin: 0; }
.inline-search { display: flex; gap: 10px; max-width: 560px; margin: 24px auto; }
.inline-search.big { max-width: none; margin: 0 0 24px; }
.inline-search input { flex: 1; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; }
.inline-search .btn { height: 52px; }
.err-code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; color: var(--navy-100); }

/* ---------- Colleges list ---------- */
.college-list { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
.college-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.college-row.flip .cr-img { order: 2; }
.cr-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow); }
.cr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cr-img:hover img { transform: scale(1.05); }
.cr-img .cc-icon { position: absolute; left: 20px; bottom: 20px; margin: 0; }
.cr-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 6px; }
.cr-body h2 a { color: var(--navy-900); }
.cr-body .tagline { color: var(--candle); font-weight: 600; }
.cr-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.dean { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.dean img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; }
.dean small { display: block; font-size: .72rem; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.cbox { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--navy-50); }
.cbox i { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--navy-700); color: var(--gold); display: grid; place-items: center; font-size: 1.1rem; }
.cbox h3 { font-size: 1rem; margin-bottom: 2px; }
.cbox p { margin: 0; font-size: .92rem; overflow-wrap: anywhere; }
.form-card { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card .title.sm { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fld span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.fld input, .fld select, .fld textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px var(--navy-100); }
.fld.err input, .fld.err textarea { border-color: var(--candle); }
.fld em { color: var(--candle); font-size: .82rem; font-style: normal; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map { margin-top: 50px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .68); font-size: .92rem; position: relative; }
.footer-candle { height: 5px; background: linear-gradient(90deg, var(--navy-700), var(--gold) 50%, var(--candle)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-top: 70px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: var(--gold); }
.footer-about p { margin: 18px 0; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a { transition: all .2s; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; overflow-wrap: anywhere; }
.footer-contact i { color: var(--gold); margin-top: 5px; width: 14px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: var(--gold); color: var(--navy-950); }
.socials.dark a { background: var(--navy-50); color: var(--navy-700); }
.socials.dark a:hover { background: var(--navy-700); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy-950); box-shadow: var(--shadow); z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-700); color: #fff; }

.modal { position: fixed; inset: 0; z-index: 1001; background: rgba(5, 9, 35, .7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; border-radius: var(--radius); padding: 32px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; position: relative; border-top: 6px solid var(--gold); animation: pop .35s ease; }
.modal-box h3 { margin: 12px 0; font-size: 1.5rem; }
.modal-close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--navy-50); color: var(--navy-800); }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .menu .nav-link { padding: 10px 8px; font-size: .86rem; }
  .brand-text strong { font-size: 1.08rem; }
  .brand-text small { font-size: .64rem; }
  .topbar-info span { display: none; }
}
@media (max-width: 1200px) {
  .college-grid, .staff-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1180px) {
  :root { --header-h: 74px; }
  .burger { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 200;
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: none; }
  .main-nav .nav-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
  .main-nav .nav-head strong { font-family: var(--font-head); color: var(--navy-900); font-size: 1.2rem; }
  .nav-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy-50); color: var(--navy-800); }
  .main-nav .nav-foot { display: block; padding: 18px; margin-top: auto; }
  .main-nav .nav-foot .btn { width: 100%; }
  .menu { flex-direction: column; align-items: stretch; padding: 10px; gap: 0; }
  .menu .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: .98rem; border-radius: 8px; text-align: left; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu .sub, .menu .sub-wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; display: none; padding: 0 0 10px 10px; grid-template-columns: 1fr; }
  .menu > li:hover > .sub { display: none; }
  .menu > li.open > .sub { display: block; }
  .menu > li.open > .nav-link i { transform: rotate(180deg); }
  .menu > li:hover > .nav-link i { transform: none; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(5, 9, 35, .55); z-index: 150; opacity: 0; visibility: hidden; transition: all .3s; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would trap the fixed drawer inside the header */
  .site-header { backdrop-filter: none; background: #fff; }
  body.nav-open .site-header { z-index: 300; }
  .topbar-info span { display: none; }
  .header-inner { justify-content: space-between; }
  .news-layout, .content-layout { grid-template-columns: 1fr; }
  .content-side, .notice-board { position: static; }
  .split, .leader-grid { grid-template-columns: 1fr; gap: 44px; }
  .leader-grid { text-align: center; }
  .leader-photo { max-width: 320px; margin: 0 auto; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-card:nth-child(3) { border-right: 0; }
  .quick-card:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .research-intro, .contact-grid { grid-template-columns: 1fr; }
  .profile-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .college-grid, .card-grid, .staff-grid, .album-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .news-feature { grid-template-columns: 1fr; }
  .news-lead { min-height: 340px; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-mosaic a:nth-child(6) { grid-column: span 1; }
  .college-row, .college-row.flip { grid-template-columns: 1fr; gap: 20px; }
  .college-row.flip .cr-img { order: 0; }
  .event-row { grid-template-columns: 70px 1fr; }
  .event-row img { display: none; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-aside img { max-width: 300px; }
  .event-facts { grid-template-columns: 1fr; }
  .topbar-info { display: none; }
  .topbar-inner { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-nav { bottom: 84px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar-links a:not(.portal) { display: none; }
  .brand img { width: 46px; height: 46px; }
  .brand-text strong { font-size: .98rem; }
  .brand-text small { font-size: .6rem; letter-spacing: .08em; }
  .hero { min-height: 560px; height: 82vh; }
  .hero-content { padding-bottom: 100px; }
  .hero-btns .btn-ghost { display: none; }
  .quick-links { margin-top: -50px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card { padding: 18px 8px; font-size: .82rem; }
  .quick-card:nth-child(3) { border-right: 1px solid var(--line); }
  .quick-card:nth-child(2n) { border-right: 0; }
  .quick-card:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .quick-card i { width: 46px; height: 46px; font-size: 1.2rem; }
  .college-grid, .card-grid, .card-grid.cols-2, .staff-grid, .album-grid, .event-grid, .pub-grid, .mv-grid, .program-list { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sc-body { padding: 12px; }
  .sc-body h3 { font-size: .92rem; }
  .sc-contact .view { display: none; }
  .welcome-media { padding: 0 30px 40px 0; }
  .wm-badge { left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .job { flex-direction: column; }
  .job-side { align-items: flex-start; flex-direction: row; flex-wrap: wrap; width: 100%; justify-content: space-between; }
  .deadline { text-align: left; }
  .research-row { grid-template-columns: 90px 1fr; }
  .research-row img { width: 90px; }
  .pub-card { grid-template-columns: 96px 1fr; }
  .mini { grid-template-columns: 90px 1fr; }
  .mini img { width: 90px; height: 70px; }
  .directory-filter .field, .directory-filter .btn { width: 100%; min-width: 0; }
  .doc { flex-wrap: wrap; }
  .notice { padding: 16px; gap: 12px; }
  .notice-ic { width: 40px; height: 40px; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .inline-search { flex-direction: column; }
  .cta-btns .btn { flex: 1; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry a { margin-bottom: 10px; }
}
